Server start up error in Release 11.04

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Server start up error in Release 11.04

Divesh Dutta
Hello Group,

I took fresh check out of Release 11.04, build it and starting the server, but I am getting following Error:


Jul 8, 2012 11:17:20 PM org.apache.jk.server.JkMain init
INFO: Can't find home, jk2.properties not loaded
Jul 8, 2012 11:17:20 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
2012-07-08 23:17:21,463 (main) [            SSLImpl.java:63 :ERROR]
---- exception report ----------------------------------------------------------
Exception: java.io.IOException
Message: Keystore was tampered with, or password was incorrect
---- cause ---------------------------------------------------------------------
Exception: java.security.UnrecoverableKeyException
Message: Password verification failed
---- stack trace ---------------------------------------------------------------
java.security.UnrecoverableKeyException: Password verification failed
sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:769)
sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)
java.security.KeyStore.load(KeyStore.java:1185)
org.ofbiz.base.util.KeyStoreUtil.getSystemTrustStore(KeyStoreUtil.java:121)
org.ofbiz.base.util.SSLUtil.getTrustManagers(SSLUtil.java:118)
org.ofbiz.catalina.container.SSLImpl$AllowTrustManager.<init>(SSLImpl.java:61)
org.ofbiz.catalina.container.SSLImpl.<init>(SSLImpl.java:46)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
java.lang.Class.newInstance0(Class.java:355)
java.lang.Class.newInstance(Class.java:308)
org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplementation.java:72)
org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:152)
org.apache.catalina.connector.Connector.initialize(Connector.java:1049)
org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:218)
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:182)
org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:95)
org.ofbiz.base.start.Start.initStartLoaders(Start.java:169)
org.ofbiz.base.start.Start.init(Start.java:139)
org.ofbiz.base.start.Start.main(Start.java:69)
--------------------------------------------------------------------------------

Jul 8, 2012 11:17:21 PM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing socket factory
java.lang.ClassNotFoundException: Error loading SSL Implementation org.ofbiz.catalina.container.SSLImpl :java.lang.ClassNotFoundException: Keystore was tampered with, or password was incorrect
        at org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplementation.java:77)
        at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:152)
        at org.apache.catalina.connector.Connector.initialize(Connector.java:1049)
        at org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
        at org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:218)
        at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:182)
        at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:95)
        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:169)
        at org.ofbiz.base.start.Start.init(Start.java:139)
        at org.ofbiz.base.start.Start.main(Start.java:69)
Jul 8, 2012 11:17:21 PM org.apache.catalina.core.StandardService initialize
SEVERE: Failed to initialize connector [Connector[HTTP/1.1-8443]]
LifecycleException:  Protocol handler initialization failed: java.lang.ClassNotFoundException: Error loading SSL Implementation org.ofbiz.catalina.container.SSLImpl :java.lang.ClassNotFoundException: Keystore was tampered with, or password was incorrect
        at org.apache.catalina.connector.Connector.initialize(Connector.java:1051)
        at org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
        at org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:218)
        at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:182)
        at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:95)
        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:169)
        at org.ofbiz.base.start.Start.init(Start.java:139)
        at org.ofbiz.base.start.Start.main(Start.java:69)
2012-07-08 23:17:21,575 (main) [    ContainerLoader.java:224:INFO ] [Startup] Starting containers...
2012-07-08 23:17:21,596 (main) [  GenericDispatcher.java:69 :INFO ] Creating new dispatcher [RMIDispatcher] (main)
org.ofbiz.base.start.StartupException: Cannot start() org.ofbiz.service.rmi.RmiServiceContainer (Unable to start the RMI dispatcher (Listen failed on port: 0; nested exception is:
        java.io.IOException: Keystore was tampered with, or password was incorrect))
        at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:233)
        at org.ofbiz.base.start.Start.startStartLoaders(Start.java:247)
        at org.ofbiz.base.start.Start.start(Start.java:226)
        at org.ofbiz.base.start.Start.main(Start.java:70)
org.ofbiz.base.container.ContainerException: Unable to start the RMI dispatcher (Listen failed on port: 0; nested exception is:
        java.io.IOException: Keystore was tampered with, or password was incorrect)
        at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:134)
        at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:231)
        at org.ofbiz.base.start.Start.startStartLoaders(Start.java:247)
        at org.ofbiz.base.start.Start.start(Start.java:226)
        at org.ofbiz.base.start.Start.main(Start.java:70)
Caused by: java.rmi.server.ExportException: Listen failed on port: 0; nested exception is:
        java.io.IOException: Keystore was tampered with, or password was incorrect
        at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:312)
        at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
        at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
        at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
        at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
        at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:293)
        at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:256)
        at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:155)
        at org.ofbiz.service.rmi.RemoteDispatcherImpl.<init>(RemoteDispatcherImpl.java:46)
        at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:132)
        ... 4 more
Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
        at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:771)
        at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)
        at java.security.KeyStore.load(KeyStore.java:1185)
        at org.ofbiz.base.util.KeyStoreUtil.getSystemTrustStore(KeyStoreUtil.java:121)
        at org.ofbiz.base.util.SSLUtil.getTrustManagers(SSLUtil.java:118)
        at org.ofbiz.base.util.SSLUtil.getSSLServerSocketFactory(SSLUtil.java:191)
        at org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory.createServerSocket(SSLServerSocketFactory.java:96)
        at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:649)
        at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:299)
        ... 13 more


Is any body else facing the same error? Or it may be my machine specific problem.

Thanks
--
Divesh
Reply | Threaded
Open this post in threaded view
|

Re: Server start up error in Release 11.04

Jacques Le Roux
Administrator
I don't reproduce here with a clean install with release11.04-1358737

Jacques

From: "Divesh Dutta" <[hidden email]>

> Hello Group,
>
> I took fresh check out of Release 11.04, build it and starting the server, but I am getting following Error:
>
>
> Jul 8, 2012 11:17:20 PM org.apache.jk.server.JkMain init
> INFO: Can't find home, jk2.properties not loaded
> Jul 8, 2012 11:17:20 PM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
> 2012-07-08 23:17:21,463 (main) [            SSLImpl.java:63 :ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: java.io.IOException
> Message: Keystore was tampered with, or password was incorrect
> ---- cause ---------------------------------------------------------------------
> Exception: java.security.UnrecoverableKeyException
> Message: Password verification failed
> ---- stack trace ---------------------------------------------------------------
> java.security.UnrecoverableKeyException: Password verification failed
> sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:769)
> sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)
> java.security.KeyStore.load(KeyStore.java:1185)
> org.ofbiz.base.util.KeyStoreUtil.getSystemTrustStore(KeyStoreUtil.java:121)
> org.ofbiz.base.util.SSLUtil.getTrustManagers(SSLUtil.java:118)
> org.ofbiz.catalina.container.SSLImpl$AllowTrustManager.<init>(SSLImpl.java:61)
> org.ofbiz.catalina.container.SSLImpl.<init>(SSLImpl.java:46)
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> java.lang.Class.newInstance0(Class.java:355)
> java.lang.Class.newInstance(Class.java:308)
> org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplementation.java:72)
> org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:152)
> org.apache.catalina.connector.Connector.initialize(Connector.java:1049)
> org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
> org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:218)
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:182)
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:95)
> org.ofbiz.base.start.Start.initStartLoaders(Start.java:169)
> org.ofbiz.base.start.Start.init(Start.java:139)
> org.ofbiz.base.start.Start.main(Start.java:69)
> --------------------------------------------------------------------------------
>
> Jul 8, 2012 11:17:21 PM org.apache.coyote.http11.Http11Protocol init
> SEVERE: Error initializing socket factory
> java.lang.ClassNotFoundException: Error loading SSL Implementation org.ofbiz.catalina.container.SSLImpl
> :java.lang.ClassNotFoundException: Keystore was tampered with, or password was incorrect
> at org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplementation.java:77)
> at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:152)
> at org.apache.catalina.connector.Connector.initialize(Connector.java:1049)
> at org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
> at org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:218)
> at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:182)
> at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:95)
> at org.ofbiz.base.start.Start.initStartLoaders(Start.java:169)
> at org.ofbiz.base.start.Start.init(Start.java:139)
> at org.ofbiz.base.start.Start.main(Start.java:69)
> Jul 8, 2012 11:17:21 PM org.apache.catalina.core.StandardService initialize
> SEVERE: Failed to initialize connector [Connector[HTTP/1.1-8443]]
> LifecycleException:  Protocol handler initialization failed: java.lang.ClassNotFoundException: Error loading SSL Implementation
> org.ofbiz.catalina.container.SSLImpl :java.lang.ClassNotFoundException: Keystore was tampered with, or password was incorrect
> at org.apache.catalina.connector.Connector.initialize(Connector.java:1051)
> at org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
> at org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:218)
> at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:182)
> at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:95)
> at org.ofbiz.base.start.Start.initStartLoaders(Start.java:169)
> at org.ofbiz.base.start.Start.init(Start.java:139)
> at org.ofbiz.base.start.Start.main(Start.java:69)
> 2012-07-08 23:17:21,575 (main) [    ContainerLoader.java:224:INFO ] [Startup] Starting containers...
> 2012-07-08 23:17:21,596 (main) [  GenericDispatcher.java:69 :INFO ] Creating new dispatcher [RMIDispatcher] (main)
> org.ofbiz.base.start.StartupException: Cannot start() org.ofbiz.service.rmi.RmiServiceContainer (Unable to start the RMI
> dispatcher (Listen failed on port: 0; nested exception is:
> java.io.IOException: Keystore was tampered with, or password was incorrect))
> at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:233)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:247)
> at org.ofbiz.base.start.Start.start(Start.java:226)
> at org.ofbiz.base.start.Start.main(Start.java:70)
> org.ofbiz.base.container.ContainerException: Unable to start the RMI dispatcher (Listen failed on port: 0; nested exception is:
> java.io.IOException: Keystore was tampered with, or password was incorrect)
> at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:134)
> at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:231)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:247)
> at org.ofbiz.base.start.Start.start(Start.java:226)
> at org.ofbiz.base.start.Start.main(Start.java:70)
> Caused by: java.rmi.server.ExportException: Listen failed on port: 0; nested exception is:
> java.io.IOException: Keystore was tampered with, or password was incorrect
> at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:312)
> at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
> at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
> at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
> at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
> at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:293)
> at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:256)
> at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:155)
> at org.ofbiz.service.rmi.RemoteDispatcherImpl.<init>(RemoteDispatcherImpl.java:46)
> at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:132)
> ... 4 more
> Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
> at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:771)
> at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)
> at java.security.KeyStore.load(KeyStore.java:1185)
> at org.ofbiz.base.util.KeyStoreUtil.getSystemTrustStore(KeyStoreUtil.java:121)
> at org.ofbiz.base.util.SSLUtil.getTrustManagers(SSLUtil.java:118)
> at org.ofbiz.base.util.SSLUtil.getSSLServerSocketFactory(SSLUtil.java:191)
> at org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory.createServerSocket(SSLServerSocketFactory.java:96)
> at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:649)
> at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:299)
> ... 13 more
>
>
> Is any body else facing the same error? Or it may be my machine specific problem.
>
> Thanks
> --
> Divesh