Java – unable to download from NetBeans 8.0 1 start GlassFish 4.1 in the service area

On Windows 7, I from this site https://netbeans.org/downloads/ Downloaded the "NetBeans - 8.0.1 - JavaEE - Windows. Exe" installer The installer installs GlassFish 4.1 and Java 1.8 0_ 20 and NetBeans 8.01 After installation, whenever I try to start the GlassFish server from the NetBeans service area, I get this

"Unable to start GlassFish Server 4.1: http or HTTPS listener port occupied when server is not running"

Wrong So I use

Netstat - ano | find "1527"

Know which process holds this port, and it seems to be the Java Derby database itself just started by the GlassFish process So GlassFish startups are complaining about what they just did Strange I don't know what to do. Does anyone have any ideas?

Already thanks

Solution

Your description is a little strange, because if port 1527 is occupied, the GlassFish server can even start, because the Java Derby database is a separate java process Therefore, one option might be to ignore the message in case the real GlassFish server does start correctly (NetBeans displays the output of GlassFish server and Derby server in different tabs)

However, you can try disabling the Derby server that starts the registration for your GlassFish instance

Make sure the Derby server is turned off, and if you turn off NetBeans, it will still work If you are not sure, kill each java process through the task manager and restart NetBeans

Right click the GlassFish instance in the Services tab and select properties

If the real problem is that port 8080 or 443 (if you activate an HTTPS listener) is in use (which will really prevent GlassFish from starting), you must find out which application is using this port (possibly Tomcat or something similar) and close it

Error message

A little bit in this direction

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>