Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GlassFish 5.0 exception and port 4848 not responding

Yesterday i downloaded GlassFish 5.0 and JDK9. When I'm trying to run server with asadmin start-domain GlassFish send to me exception

When I try to use "asadmin start-domainAfter" I got respond: "Remote server does not listen request on [localhost 4848]. Is the serwer up?"

Any can help me with this? I looked for solution at google, I tried kill process using port 4848, change port 4848 in domain.xml on another one, nothing helps.

It's my firts time with glassfish I don't know what to do. Anyone can help me?

I'm working at windows 7, InteliJ Ultimate 2017.2.4, JRE 1.8 and JDK 9.

like image 287
Kimoki Avatar asked Sep 25 '17 05:09

Kimoki


People also ask

How do I reset my GlassFish server?

Right-click the GlassFish Server instance and select Start. To stop the GlassFish Server using NetBeans IDE, right-click the GlassFish Server instance and select Stop.

What port does GlassFish use?

The GlassFish Server port number: The default is 8080. The administration server's port number: The default is 4848. An administration user name and password: The default user name is admin , and by default no password is required.

How can I tell if GlassFish is running on Windows?

In the Services window, expand the Servers node.If a green arrow icon appears on the GlassFish V2 node, the server is running.

How do I enable secure admin in GlassFish?

Use the change-admin-password command or the admin console to create non-empty passwords for admin accounts. Command enable-secure-admin failed. > You must restart all running servers for the change in secure admin to take effect. >


1 Answers

GlassFish 5.0 not starting on JDK 9 is a known issue.

GlassFish 5.0 is certified only on JDK 8 (u144) as stated in the release notes: https://javaee.github.io/glassfish/doc/5.0/release-notes.pdf

like image 67
Yamini K B Avatar answered Nov 25 '22 20:11

Yamini K B