users@glassfish.java.net

Re: Problem starting GlassFish because of SSL port?

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Thu, 28 May 2009 09:46:45 -0700

Maybe because you changed the default port (8181) to 443 and don't have
permissions to bind to that port since it is a privileged port on certain
platforms (e.g. Solaris, Linux). Try changing it to something > 1024.

-Kedar

glassfish_at_javadesktop.org wrote:
> Hello everyone,
>
> I'm using GlassFish v3, which I start from NetBeans.
> It was starting fine in the past, but since I activated http, through the htp-listener-2, I get the following severe error:
>
> Permission denied: 443=com.sun.grizzly.ssl.SSLSelectorThreadHandler_at_1a3e41f
>
> Anyone can tell me what the above means? I cannot start the Admin Console bacuse GlassFish cannot be started.
> The whole log is below:
>
> INFO: Launching GlassFish on Apache Felix OSGi platform
> Welcome to Felix.
> =================
> INFO: Started bundle org.glassfish.common.glassfish-mbeanserver [7]
> no resource bundle found for version, using default GlassFish version
> INFO: Started bundle org.glassfish.core.kernel [96]
> INFO: Started bundle org.glassfish.common.common-util [78]
> INFO: Started bundle GlassFish-Application-Common-Module [64]
> INFO: APIClassLoader = Class Loader for Bundle [GlassFish-Application-Common-Module [64] ]
> INFO: registering service = org.apache.felix.framework.StartLevelImpl_at_3411a, contract = org.osgi.service.startlevel.StartLevel, name = null
> INFO: registering service = org.apache.felix.framework.PackageAdminImpl_at_198cb3d, contract = org.osgi.service.packageadmin.PackageAdmin, name = null
> INFO: Started bundle org.glassfish.branding.branding [29]
> INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
> INFO: Started bundle org.glassfish.common.internal-api [82]
> INFO: Started bundle org.glassfish.admin.config-api [70]
> INFO: Started bundle org.glassfish.registration.glassfish-registration [92]
> INFO: Started bundle org.glassfish.deployment.deployment-autodeploy [57]
> INFO: Started bundle org.glassfish.deployment.deployment-common [88]
> INFO: Started bundle org.glassfish.flashlight.flashlight-framework [91]
> INFO: Listening on port 32023
> INFO: Started bundle org.glassfish.common.container-common [99]
> WARNING: pewebcontainer.all_ssl_ciphers_disabled
> INFO: Started bundle org.glassfish.common.glassfish-naming [84]
> INFO: Started bundle org.glassfish.common.glassfish-api [100]
> INFO: Started bundle org.glassfish.connectors.connectors-runtime [21]
> INFO: Started bundle org.glassfish.transaction.jta [53]
> INFO: Started JMXConnector, JMXService URL = service:jmx:rmi:///jndi/rmi://ks302896.kimsufi.com:32029/jmxrmi
> INFO: Listening on port 443
> INFO: Listening on port 31991
> SEVERE: doSelect exception
> java.net.BindException: Permission denied: 443=com.sun.grizzly.ssl.SSLSelectorThreadHandler_at_1a3e41f
> 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: The Admin Console is already installed, but not yet loaded.
> INFO: GlassFish v3 Prelude startup time : Felix(2280ms) startup services(2280ms) total(4560ms)
> SEVERE: Shutting down v3 due to startup exception : Permission denied: 443=com.sun.grizzly.ssl.SSLSelectorThreadHandler_at_1a3e41f
> INFO: Server shutdown initiated
> INFO: [Thread[GlassFish Kernel Main Thread,5,main]] exiting
> INFO: Stopped bundle = org.glassfish.common.common-util [78]
> INFO: Stopped bundle = org.glassfish.registration.glassfish-registration [92]
> INFO: Stopped bundle = org.glassfish.common.container-common [99]
> INFO: Stopped bundle = org.glassfish.common.glassfish-api [100]
> INFO: Stopped bundle = org.glassfish.admin.config-api [70]
> INFO: Stopped bundle = GlassFish-Application-Common-Module [64]
> INFO: Stopped bundle = org.glassfish.connectors.connectors-runtime [21]
> INFO: Stopped bundle = org.glassfish.common.glassfish-naming [84]
> INFO: Stopped bundle = org.glassfish.branding.branding [29]
> INFO: Stopped bundle = org.glassfish.deployment.deployment-common [88]
> INFO: Stopped bundle = org.glassfish.common.glassfish-mbeanserver [7]
> INFO: Stopped bundle = org.glassfish.common.internal-api [82]
> INFO: Stopped bundle = org.glassfish.deployment.deployment-autodeploy [57]
> INFO: Stopped bundle = org.glassfish.flashlight.flashlight-framework [91]
> INFO: Stopped bundle = org.glassfish.transaction.jta [53]
> INFO: Stopped bundle = org.glassfish.core.kernel [96]
> INFO: Stopped bundle = com.sun.enterprise.osgi-adapter [6]
> [Message sent by forum member 'alecaste' (alecaste)]
>
> http://forums.java.net/jive/thread.jspa?messageID=348137
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>