users@glassfish.java.net

Re: stuck for good

From: measwel <marek_karczewski_at_yahoo.com.au>
Date: Sat, 5 Sep 2009 01:24:17 -0700 (PDT)

In despair I reinstalled glassfish, but now when starting the server, I get:

INFO: Launching GlassFish on Apache Felix OSGi platform
Welcome to Felix.
=================
INFO: Started bundle org.glassfish.core.kernel [73]
no resource bundle found for version, using default GlassFish version
INFO: Started bundle org.glassfish.common.glassfish-mbeanserver [12]
INFO: Started bundle org.glassfish.common.common-util [90]
INFO: Started bundle GlassFish-Application-Common-Module [13]
INFO: APIClassLoader = Class Loader for Bundle
[GlassFish-Application-Common-Module [13] ]
INFO: registering service = org.apache.felix.framework.StartLevelImpl_at_84850,
contract = org.osgi.service.startlevel.StartLevel, name = null
INFO: registering service =
org.apache.felix.framework.PackageAdminImpl_at_523ca2, contract =
org.osgi.service.packageadmin.PackageAdmin, name = null
INFO: Started bundle org.glassfish.branding.branding [92]
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
INFO: Started bundle org.glassfish.admin.config-api [81]
INFO: Started bundle org.glassfish.common.internal-api [31]
INFO: Started bundle org.glassfish.deployment.deployment-common [102]
INFO: Started bundle org.glassfish.deployment.deployment-autodeploy [39]
INFO: Started bundle org.glassfish.registration.glassfish-registration [79]
INFO: Started bundle org.glassfish.flashlight.flashlight-framework [105]
WARNING: Cannot start JMX connector: JmxConnector config: { name = system,
Protocol = rmi_jrmp, Address = 0.0.0.0, Port = 8686, AcceptAll = false,
AuthRealmName = admin-realm, SecurityEnabled = false}:
java.lang.RuntimeException: Port 8686 is not available for the internal rmi
registry. This means that a call was made with the same port, without
closing earlier registry instance. This has to do with the system jmx
connector configuration in admin-service element of the configuration
associated with this instance
INFO: Listening on port 8080
INFO: Network listener http-listener-2 on port 8181 disabled per domain.xml
INFO: Listening on port 4848
INFO: Started bundle org.glassfish.common.container-common [35]
INFO: The Admin Console Web Application has been downloaded.
SEVERE: doSelect exception
java.net.BindException: Address already in use:
8080=com.sun.grizzly.http.SelectorThreadHandler_at_991ccf
        at
com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:356)
        at com.sun.grizzly.Controller.doSelect(Controller.java:367)
        at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:82)
        at
com.sun.grizzly.Controller.startSelectorHandlerRunner(Controller.java:1136)
        at com.sun.grizzly.Controller.start(Controller.java:943)
        at
com.sun.grizzly.http.SelectorThread.startListener(SelectorThread.java:1178)
        at com.sun.grizzly.http.SelectorThread.run(SelectorThread.java:1045)
        at
com.sun.grizzly.http.SelectorThread.startEndpoint(SelectorThread.java:1110)
        at
com.sun.enterprise.v3.services.impl.GrizzlyServiceListener.start(GrizzlyServiceListener.java:91)
        at
com.sun.enterprise.v3.services.impl.GrizzlyProxy$1.run(GrizzlyProxy.java:222)
SEVERE: doSelect exception
java.net.BindException: Address already in use:
4848=com.sun.grizzly.http.SelectorThreadHandler_at_9a534a
        at
com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:356)
        at com.sun.grizzly.Controller.doSelect(Controller.java:367)
        at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:82)
        at
com.sun.grizzly.Controller.startSelectorHandlerRunner(Controller.java:1136)
        at com.sun.grizzly.Controller.start(Controller.java:943)
        at
com.sun.grizzly.http.SelectorThread.startListener(SelectorThread.java:1178)
        at com.sun.grizzly.http.SelectorThread.run(SelectorThread.java:1045)
        at
com.sun.grizzly.http.SelectorThread.startEndpoint(SelectorThread.java:1110)
        at
com.sun.enterprise.v3.services.impl.GrizzlyServiceListener.start(GrizzlyServiceListener.java:91)
        at
com.sun.enterprise.v3.services.impl.GrizzlyProxy$1.run(GrizzlyProxy.java:222)
INFO: GlassFish v3 Prelude startup time : Felix(1897ms) startup
services(844ms) total(2741ms)
SEVERE: Shutting down v3 due to startup exception : Address already in use:
8080=com.sun.grizzly.http.SelectorThreadHandler_at_991ccf
INFO: Server shutdown initiated
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] exiting
INFO: Stopped bundle = org.glassfish.branding.branding [92]
INFO: Stopped bundle = org.glassfish.flashlight.flashlight-framework [105]
INFO: Stopped bundle = org.glassfish.core.kernel [73]
INFO: Stopped bundle = org.glassfish.deployment.deployment-autodeploy [39]
INFO: Stopped bundle = org.glassfish.common.container-common [35]
INFO: Stopped bundle = org.glassfish.registration.glassfish-registration
[79]
INFO: Stopped bundle = org.glassfish.admin.config-api [81]
INFO: Stopped bundle = org.glassfish.common.common-util [90]
INFO: Stopped bundle = org.glassfish.common.glassfish-mbeanserver [12]
INFO: Stopped bundle = org.glassfish.common.internal-api [31]
INFO: Stopped bundle = GlassFish-Application-Common-Module [13]
INFO: Stopped bundle = org.glassfish.deployment.deployment-common [102]
INFO: Stopped bundle = com.sun.enterprise.osgi-adapter [6]

Please advice.

-- 
View this message in context: http://www.nabble.com/stuck-for-good-tp25303504p25306075.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.