Hi.
I'm a little confused...
I followed the "Out of the Box" instructions for the demo, but I'm
getting an error about SSL certs when trying to run ofbiz that – when
looking in the archives – suggests I need to run Java 1.6 to fix.
Some other posts suggest 1.6 is needed as well. However the ofbiz
documentation that i've found , suggests that i need Java 1.5 or
higher . I tried both versions, and no luck with either.
Which leads me to this posting...
The correct documentation is , honestly , really hard to track down.
There are tons of broken links into the new confluence system, and
pages seem to conflict with some information.
I'm hoping someone can set me on the right path.
- Exactly which version of Java is needed ?
and
- Which Mac OSX versions are known to work ?
I'm running 10.5.x locally , and get an ssl error on both 1.5 and 1.6
they both seem to be the same error ( see below )
java.lang.ClassNotFoundException: Error loading SSL Implementation
org
.ofbiz.catalina.container.SSLImpl :java.lang.ClassNotFoundException:
Keystore was tampered with, or password was incorrect
According to the list archives, this has been solved by running 1.6
instead of 1.5 – but that's not working for me.
Can anyone offer some pointers ?
------------------
1.5 error
2010-01-11 12:07:43,946 (main) [ Http11Protocol.java:161:ERROR]
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:
80)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:
152)
at org.apache.catalina.connector.Connector.initialize(Connector.java:
1058)
at
org
.apache.catalina.core.StandardService.initialize(StandardService.java:
677)
at
org
.ofbiz
.catalina.container.CatalinaContainer.init(CatalinaContainer.java:215)
at
org
.ofbiz
.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:
66)
at org.ofbiz.base.start.Start.initStartLoaders(Start.java:250)
at org.ofbiz.base.start.Start.init(Start.java:89)
at
org
.ofbiz.base.start.Start.main(Staorg.ofbiz.base.start.StartupException:
Cannot init() catalina-container (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 (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
.ofbiz
.base.container.ContainerLoader.loadContainer(ContainerLoader.java:192)
at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:
66)
at org.ofbiz.base.start.Start.initStartLoaders(Start.java:250)
at org.ofbiz.base.start.Start.init(Start.java:89)
at org.ofbiz.base.start.Start.main(Start.java:398)
org.ofbiz.base.container.ContainerException: 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 (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
.ofbiz
.catalina.container.CatalinaContainer.init(CatalinaContainer.java:217)
at
org
.ofbiz
.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:
66)
at org.ofbiz.base.start.Start.initStartLoaders(Start.java:250)
at org.ofbiz.base.start.Start.init(Start.java:89)
at org.ofbiz.base.start.Start.main(Start.java:398)
Caused by: 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:
1060)
at
org
.apache.catalina.core.StandardService.initialize(StandardService.java:
677)
at
org
.ofbiz
.catalina.container.CatalinaContainer.init(CatalinaContainer.java:215)
... 5 more
org.ofbiz.base.container.ContainerException: 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 (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
.ofbiz
.catalina.container.CatalinaContainer.init(CatalinaContainer.java:217)
at
org
.ofbiz
.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:
66)
at org.ofbiz.base.start.Start.initStartLoaders(Start.java:250)
at org.ofbiz.base.start.Start.init(Start.java:89)
at org.ofbiz.base.start.Start.main(Start.java:398)
Caused by: 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:
1060)
at
org
.apache.catalina.core.StandardService.initialize(StandardService.java:
677)
at
org
.ofbiz
.catalina.container.CatalinaContainer.init(CatalinaContainer.java:215)
... 5 more
rt.java:398)
------------------
1.6 error
org.ofbiz.base.start.StartupException: Cannot init() catalina-
container (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 (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
.ofbiz
.base.container.ContainerLoader.loadContainer(ContainerLoader.java:192)
at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:
66)
at org.ofbiz.base.start.Start.initStartLoaders(Start.java:250)
at org.ofbiz.base.start.Start.init(Start.java:89)
at org.ofbiz.base.start.Start.main(Start.java:398)
org.ofbiz.base.container.ContainerException: 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 (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
.ofbiz
.catalina.container.CatalinaContainer.init(CatalinaContainer.java:217)
at
org
.ofbiz
.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:
66)
at org.ofbiz.base.start.Start.initStartLoaders(Start.java:250)
at org.ofbiz.base.start.Start.init(Start.java:89)
at org.ofbiz.base.start.Start.main(Start.java:398)
Caused by: 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:
1060)
at
org
.apache.catalina.core.StandardService.initialize(StandardService.java:
677)
at
org
.ofbiz
.catalina.container.CatalinaContainer.init(CatalinaContainer.java:215)
... 5 more
org.ofbiz.base.container.ContainerException: 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 (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
.ofbiz
.catalina.container.CatalinaContainer.init(CatalinaContainer.java:217)
at
org
.ofbiz
.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:
66)
at org.ofbiz.base.start.Start.initStartLoaders(Start.java:250)
at org.ofbiz.base.start.Start.init(Start.java:89)
at org.ofbiz.base.start.Start.main(Start.java:398)
Caused by: 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:
1060)
at
org
.apache.catalina.core.StandardService.initialize(StandardService.java:
677)
at
org
.ofbiz
.catalina.container.CatalinaContainer.init(CatalinaContainer.java:215)
... 5 more
2010-01-10 20:47:30,958 (main) [ Http11Protocol.java:161:ERROR]
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:
80)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:
152)
at org.apache.catalina.connector.Connector.initialize(Connector.java:
1058)
at
org
.apache.catalina.core.StandardService.initialize(StandardService.java:
677)
at
org
.ofbiz
.catalina.container.CatalinaContainer.init(CatalinaContainer.java:215)
at
org
.ofbiz
.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:
66)
at org.ofbiz.base.start.Start.initStartLoaders(Start.java:250)
at org.ofbiz.base.start.Start.init(Start.java:89)
at org.ofbiz.base.start.Start.main(Start.java:398)