users@glassfish.java.net

Re: RE: Recreating s1as key entry and its role in the keystore

From: <glassfish_at_javadesktop.org>
Date: Thu, 06 Aug 2009 14:29:46 PDT

So I completed all the discussed and restarted the app server but it did not start up. This is the error message in the logs. Perhaps it has something to do with ssl listener config?

[code]
Exception in thread "main" [#|2009-08-06T17:10:32.624-0400|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.stream.err|_ThreadID=10;|java.lang.Error: Untranslated exception
        at sun.nio.ch.Net.translateToSocketException(Net.java:63)
        at sun.nio.ch.Net.translateException(Net.java:79)
        at sun.nio.ch.Net.translateException(Net.java:85)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:61)
        at com.sun.enterprise.server.ss.ASServerSocket.bind(ASServerSocket.java:258)
        at com.sun.enterprise.server.ss.ASServerSocketImpl.listen(ASServerSocketImpl.java:121)
        at java.net.ServerSocket.bind(ServerSocket.java:320)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at javax.net.ssl.SSLServerSocket.<init>(SSLServerSocket.java:106)
        at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.<init>(SSLServerSocketImpl.java:106)
        at com.sun.net.ssl.internal.ssl.SSLServerSocketFactoryImpl.createServerSocket(SSLServerSocketFactoryImpl.java:71)
        at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:98)
        at com.sun.enterprise.web.connector.grizzly.SelectorThread.initEndpoint(SelectorThread.java:548)
        at com.sun.enterprise.web.connector.grizzly.GrizzlyHttpProtocol.init(GrizzlyHttpProtocol.java:188)
        at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1446)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:899)
        at com.sun.enterprise.web.WebContainer.start(WebContainer.java:707)
        at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:507)
        at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:54)
        at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
Caused by: java.net.SocketException: Already bound
        at sun.nio.ch.Net.translateToSocketException(Net.java:49)
        ... 21 more
Caused by: sun.nio.ch.AlreadyBoundException
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:114)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
        ... 18 more
[/code]
[Message sent by forum member 'black_lotus' (black_lotus)]

http://forums.java.net/jive/thread.jspa?messageID=359307