I've tried to get Glassfish to run via the installer, and the zip. When I try
to start it via eclipse, I get the following error: SEVERE: Shutting down v3
due to startup exception : Permission denied: listen:
8080=com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler_at_
The list-domains command via asadmin shows domain1 as not running, so I tried
to start it and got this error: asadmin> start-domain domain1 Waiting for
domain1 to start ...Error starting domain domain1. The server exited
prematurely with exit code 0. Before it died, it produced the following
output: Launching GlassFish on Felix platform
[#|2012-12-20T17:54:59.842+0100|INFO|glassfish3.1.2|com.sun.enterprise.server.logging.GFFileHandler|_ThreadID=1;_ThreadName=main;|Running
GlassFish Version: GlassFish Server Open Source Edition 3.1.2.2 (build 5)|#]
[#|2012-12-20T17:54:59.906+0100|INFO|glassfish3.1.2|org.glassfish.ha.store.spi.BackingStoreFactoryRegistry|_ThreadID=1;_ThreadName=main;|Registered
org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for
persistence-type = replicated in BackingStoreFactoryRegistry|#]
[#|2012-12-20T17:55:00.075+0100|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=Grizzly-kernel-thread(1);|Grizzly
Framework 1.9.50 started in: 19ms - bound to [0.0.0.0:8181]|#]
[#|2012-12-20T17:55:00.075+0100|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=30;_ThreadName=Grizzly-kernel-thread(1);|Grizzly
Framework 1.9.50 started in: 8ms - bound to [0.0.0.0:3700]|#]
[#|2012-12-20T17:55:00.075+0100|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=27;_ThreadName=Grizzly-kernel-thread(1);|Grizzly
Framework 1.9.50 started in: 33ms - bound to [0.0.0.0:8080]|#]
[#|2012-12-20T17:55:00.075+0100|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=33;_ThreadName=Grizzly-kernel-thread(1);|Grizzly
Framework 1.9.50 started in: 3ms - bound to [0.0.0.0:7676]|#]
[#|2012-12-20T17:55:00.201+0100|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName=main;|GlassFish
Server Open Source Edition 3.1.2.2 (5) startup time : Felix (1,250ms),
startup services(548ms), total(1,798ms)|#]
[#|2012-12-20T17:55:00.201+0100|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName=main;|Shutting
down v3 due to startup exception : Permission denied: listen:
4848=com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler_at_|#]
[#|2012-12-20T17:55:00.218+0100|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin|_ThreadID=38;_ThreadName=Thread-21;|Server
shutdown initiated|#]
[#|2012-12-20T17:55:00.218+0100|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=38;_ThreadName=Thread-21;|Already
stopped, so just returning|#] Exception: java.lang.NullPointerException
thrown from the UncaughtExceptionHandler in thread "FelixStartLevel"
Exception: java.lang.NullPointerException thrown from the
UncaughtExceptionHandler in thread "Grizzly-kernel-thread(1)" Exception:
java.lang.NullPointerException thrown from the UncaughtExceptionHandler in
thread "Grizzly-kernel-thread(1)" Command start-domain failed. Glassfish
version: 3.1.2.2 Java: JDK 7u10 Any help is appreciated, thanks.
--
[Message sent by forum member 'vision810']
View Post: http://forums.java.net/node/893370