Hello,
I don’t know what modification I made but, now, when I deploy an application to Payara (version 2024.7 or 2024.5), the URL used to launch the application contains “DESKTOP-…:8080” instead of the old URL “localhost:8080”. My IDE is IntelliJ IDEA.
Can you help me, please.
Hello Ric,
The plugin tries to find the computer’s name and uses it in the address. But it’s easy to override it – just change it to localhost
in the Run/Debug Configuration (Open Browser/URL):
https://docs.payara.fish/community/docs/documentation/ecosystem/intellij-plugin/payara-server.html
Petr
Thank you Petr for your help.
I think I have found out the reason of my problem: the first time I deployed the application from the admin console of Payara and not by clicking on Run in IntelliJ.
I have just undeployed the application in the admin console of Payara and launched a run from intelliJ, which deploys the application, and it works now: the URL with localhost is used by the application. Oddly enough, the URL with DESKTOP-9R… in the links is still displayed by the admin console of Payara for the application.
Best regards,
Richard
Hello Richard,
Yes, Payara definitely uses computer’s name to create a link. It is useful, when you access Admin UI from a remote computer.
During development, using IDE plugin is definitely far more effective.
Petr