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) |
Hi Jonathan:
Yes, it is confusing. If you want an explanation about OFBiz versions, please see my website: http://www.myofbiz.com. The answer to your specific question: Java 1.5 is necessary for Release 9.04 and (recent) Release 4.0 versions of OFBiz. If you have downloaded from the trunk (either using the Apache OFBiz download site or SVN) then you will need version Java 1.6. I built (and develop) http://www.myofbiz.com using: Release 9.04 version 809xxx, Java 1.5 on a MAC running 10.4. It is in production on an older MAC workstation that I had laying around running 10.4 and Java 1.5. No problems with SSL or Certs. Hope that helps. Regards, Ruth ---------------------------------------------------- Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" [hidden email] Jonathan Vanasco wrote: > 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) > > |
Jonathan,
To fix this you just need to change the password on the key store. For some reason on OSX it is not the regular default password. To change it do the following in your terminal: sudo keytool -keystore "/System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/Deploy.bundle/Contents/Home/lib/security/cacerts" -storepasswd -new "changeit" Enter password: <your sudo password> Enter password: changeme Thanks, Rob Schapper On Jan 11, 2010, at 10:23 AM, Ruth Hoffman wrote: > Hi Jonathan: > > Yes, it is confusing. If you want an explanation about OFBiz versions, please see my website: http://www.myofbiz.com. > > The answer to your specific question: Java 1.5 is necessary for Release 9.04 and (recent) Release 4.0 versions of OFBiz. If you have downloaded from the trunk (either using the Apache OFBiz download site or SVN) then you will need version Java 1.6. > > I built (and develop) http://www.myofbiz.com using: Release 9.04 version 809xxx, Java 1.5 on a MAC running 10.4. It is in production on an older MAC workstation that I had laying around running 10.4 and Java 1.5. No problems with SSL or Certs. > > Hope that helps. > Regards, > Ruth > ---------------------------------------------------- > Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" > [hidden email] > > Jonathan Vanasco wrote: >> 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) >> >> smime.p7s (5K) Download Attachment |
In reply to this post by Ruth Hoffman-2
Actually, there is indeed a problem with certificates, or more to the point with keystores, in the latest Mac Java. Apple did an annoying thing by changing the default password for their keystore, so you have to either change it to the default used in the rest of the Java world or change the OFBiz configuration for the other password (I haven't tried this approach, and may be much more of a pain but is theoretically possible). There are instructions for changing the password in the default Apple keystore in a message a few weeks ago, and that worked fine for me. I see that Rob Schapper just sent a copy of those instructions... so go for that... thanks Rob! -David On Jan 11, 2010, at 11:23 AM, Ruth Hoffman wrote: > Hi Jonathan: > > Yes, it is confusing. If you want an explanation about OFBiz versions, please see my website: http://www.myofbiz.com. > > The answer to your specific question: Java 1.5 is necessary for Release 9.04 and (recent) Release 4.0 versions of OFBiz. If you have downloaded from the trunk (either using the Apache OFBiz download site or SVN) then you will need version Java 1.6. > > I built (and develop) http://www.myofbiz.com using: Release 9.04 version 809xxx, Java 1.5 on a MAC running 10.4. It is in production on an older MAC workstation that I had laying around running 10.4 and Java 1.5. No problems with SSL or Certs. > > Hope that helps. > Regards, > Ruth > ---------------------------------------------------- > Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" > [hidden email] > > Jonathan Vanasco wrote: >> 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) >> >> |
Hi Jonathan:
Just to repeat myself: You don't need Java 1.6 for current releases. So, if you prefer to use 1.5, then you may feel secure in knowing that OFBiz Release 9.04 does work without problems on a MAC with Java 1.5. Its sounds like to me that you downloaded a trunk version. If that is the case, you may want to reconsider - Java 1.6 not withstanding. And yes, the documentation is confusing. That is why I wrote the piece on http://www.myofbiz.com. Regards, ---------------------------------------------------- Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" [hidden email] David E Jones wrote: > Actually, there is indeed a problem with certificates, or more to the point with keystores, in the latest Mac Java. Apple did an annoying thing by changing the default password for their keystore, so you have to either change it to the default used in the rest of the Java world or change the OFBiz configuration for the other password (I haven't tried this approach, and may be much more of a pain but is theoretically possible). > > There are instructions for changing the password in the default Apple keystore in a message a few weeks ago, and that worked fine for me. > > I see that Rob Schapper just sent a copy of those instructions... so go for that... thanks Rob! > > -David > > > On Jan 11, 2010, at 11:23 AM, Ruth Hoffman wrote: > > >> Hi Jonathan: >> >> Yes, it is confusing. If you want an explanation about OFBiz versions, please see my website: http://www.myofbiz.com. >> >> The answer to your specific question: Java 1.5 is necessary for Release 9.04 and (recent) Release 4.0 versions of OFBiz. If you have downloaded from the trunk (either using the Apache OFBiz download site or SVN) then you will need version Java 1.6. >> >> I built (and develop) http://www.myofbiz.com using: Release 9.04 version 809xxx, Java 1.5 on a MAC running 10.4. It is in production on an older MAC workstation that I had laying around running 10.4 and Java 1.5. No problems with SSL or Certs. >> >> Hope that helps. >> Regards, >> Ruth >> ---------------------------------------------------- >> Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" >> [hidden email] >> >> Jonathan Vanasco wrote: >> >>> 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) >>> >>> >>> > > > |
thanks Ruth, and all.
I am using 9.04, not trunk. On Jan 11, 2010, at 12:51 PM, Ruth Hoffman wrote: > Hi Jonathan: > > Just to repeat myself: You don't need Java 1.6 for current releases. > So, if you prefer to use 1.5, then you may feel secure in knowing > that OFBiz Release 9.04 does work without problems on a MAC with > Java 1.5. > > Its sounds like to me that you downloaded a trunk version. If that > is the case, you may want to reconsider - Java 1.6 not withstanding. > > And yes, the documentation is confusing. That is why I wrote the > piece on http://www.myofbiz.com. > > Regards, > ---------------------------------------------------- > Find me on the web at http://www.myofbiz.com or Google keyword > "myofbiz" > [hidden email] > > David E Jones wrote: >> Actually, there is indeed a problem with certificates, or more to >> the point with keystores, in the latest Mac Java. Apple did an >> annoying thing by changing the default password for their keystore, >> so you have to either change it to the default used in the rest of >> the Java world or change the OFBiz configuration for the other >> password (I haven't tried this approach, and may be much more of a >> pain but is theoretically possible). >> >> There are instructions for changing the password in the default >> Apple keystore in a message a few weeks ago, and that worked fine >> for me. >> >> I see that Rob Schapper just sent a copy of those instructions... >> so go for that... thanks Rob! >> >> -David >> >> >> On Jan 11, 2010, at 11:23 AM, Ruth Hoffman wrote: >> >> >>> Hi Jonathan: >>> >>> Yes, it is confusing. If you want an explanation about OFBiz >>> versions, please see my website: http://www.myofbiz.com. >>> >>> The answer to your specific question: Java 1.5 is necessary for >>> Release 9.04 and (recent) Release 4.0 versions of OFBiz. If you >>> have downloaded from the trunk (either using the Apache OFBiz >>> download site or SVN) then you will need version Java 1.6. >>> >>> I built (and develop) http://www.myofbiz.com using: Release 9.04 >>> version 809xxx, Java 1.5 on a MAC running 10.4. It is in >>> production on an older MAC workstation that I had laying around >>> running 10.4 and Java 1.5. No problems with SSL or Certs. >>> >>> Hope that helps. >>> Regards, >>> Ruth >>> ---------------------------------------------------- >>> Find me on the web at http://www.myofbiz.com or Google keyword >>> "myofbiz" >>> [hidden email] >>> >>> Jonathan Vanasco wrote: >>> >>>> 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) >>>> >>>> >>>> >> >> >> |
Hi Jonathan:
That is interesting. Do you know what version? I ran some tests with Release 9.04 version 885369, which dates from early November of last year and Java 1.5/Mac 10.4 worked fine. Regards, Ruth ---------------------------------------------------- Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" [hidden email] Jonathan Vanasco wrote: > thanks Ruth, and all. > > I am using 9.04, not trunk. > > > On Jan 11, 2010, at 12:51 PM, Ruth Hoffman wrote: > >> Hi Jonathan: >> >> Just to repeat myself: You don't need Java 1.6 for current releases. >> So, if you prefer to use 1.5, then you may feel secure in knowing >> that OFBiz Release 9.04 does work without problems on a MAC with Java >> 1.5. >> >> Its sounds like to me that you downloaded a trunk version. If that is >> the case, you may want to reconsider - Java 1.6 not withstanding. >> >> And yes, the documentation is confusing. That is why I wrote the >> piece on http://www.myofbiz.com. >> >> Regards, >> ---------------------------------------------------- >> Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" >> [hidden email] >> >> David E Jones wrote: >>> Actually, there is indeed a problem with certificates, or more to >>> the point with keystores, in the latest Mac Java. Apple did an >>> annoying thing by changing the default password for their keystore, >>> so you have to either change it to the default used in the rest of >>> the Java world or change the OFBiz configuration for the other >>> password (I haven't tried this approach, and may be much more of a >>> pain but is theoretically possible). >>> >>> There are instructions for changing the password in the default >>> Apple keystore in a message a few weeks ago, and that worked fine >>> for me. >>> >>> I see that Rob Schapper just sent a copy of those instructions... so >>> go for that... thanks Rob! >>> >>> -David >>> >>> >>> On Jan 11, 2010, at 11:23 AM, Ruth Hoffman wrote: >>> >>> >>>> Hi Jonathan: >>>> >>>> Yes, it is confusing. If you want an explanation about OFBiz >>>> versions, please see my website: http://www.myofbiz.com. >>>> >>>> The answer to your specific question: Java 1.5 is necessary for >>>> Release 9.04 and (recent) Release 4.0 versions of OFBiz. If you >>>> have downloaded from the trunk (either using the Apache OFBiz >>>> download site or SVN) then you will need version Java 1.6. >>>> >>>> I built (and develop) http://www.myofbiz.com using: Release 9.04 >>>> version 809xxx, Java 1.5 on a MAC running 10.4. It is in production >>>> on an older MAC workstation that I had laying around running 10.4 >>>> and Java 1.5. No problems with SSL or Certs. >>>> >>>> Hope that helps. >>>> Regards, >>>> Ruth >>>> ---------------------------------------------------- >>>> Find me on the web at http://www.myofbiz.com or Google keyword >>>> "myofbiz" >>>> [hidden email] >>>> >>>> Jonathan Vanasco wrote: >>>> >>>>> 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) >>>>> >>>>> >>>>> >>> >>> >>> > > |
Free forum by Nabble | Edit this page |