payara / ecosystem-support

Placeholder repository to handle community requests for the Payara Platform ecosystem tools
3 stars 2 forks source link

Getting payara tools timeout exception when domain has secure admin enabled / FISH-1219 #7

Closed dkechrologos closed 2 years ago

dkechrologos commented 4 years ago

When I use payara tools in eclipse to start the server, the console starts logging messages and I am able to open a browser and login to the admin console. But after a while I get "Timeout while waiting for Payara to start" This happens when the domain has secure admin enabled and i use password in properites page. If the domain doesn't have secure admin enabled and I don't enter any pass, it starts up ok. E.g. when trying default "domain1".

image

In eclipse log I am getting this:

!ENTRY org.eclipse.payara.tools 1 1 2020-02-03 01:52:27.639 !MESSAGE Payara: ServerStatusMonitor for Payara Server 5 (5.194) [dk.domains] location throws exception

jGauravGupta commented 4 years ago

Hi @dkechrologos,

I found a similar opened ticket ECOSYS-33 [Prompt for username/password when credentials incorrect upon Payara startup].

This happens when the domain has secure admin enabled and I use the password in the properties page.

Does timeout happen even a correct credential is entered in the properties page?

dkechrologos commented 4 years ago

Yes, even when correct credentials are entered. Before timeout occures I can open a browser and login to admin consol from there! If I enter incorrect credentials to payara tools, a pop up tells me that wrong username or password enetered and shuts doewn the server.

jGauravGupta commented 4 years ago

Thanks @dkechrologos,

Created ECOSYS-109 to address the issue.

jGauravGupta commented 2 years ago

Closing ticket as no more reproducible with the master branch, verified by @JamesHillyard & @jGauravGupta

Verified in the following environments:

Windows 10
Eclipse Version: 2020-03
Java version "1.8.0_172"
Payara version 5.2020.5 / 5.2021.7
Windows 10
Eclipse Version: 2021-09
Java Version: 1.8.0_281
Payara Version: 5.2021.7
Ubuntu 20.04.2 LTS
Eclipse Version: 2020-12
Java Version: 1.8.0_282 (OpenJDK)
Payara Version: 5.2021.7