Strange Http11AprProtocol ERROR

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

Strange Http11AprProtocol ERROR

euronymous
Hi guys

we're trying to run Ofbiz (from latest svn trunk) on FreeBSD 7.1 AMD64.
We've compiled /usr/ports/java/jdk16 from source and we also installed diablo-jdk-16.

With both of them everything is working well except when starting tomcat and creating socket on port 8443 for HTTPS connections.

Following the weird error:

[....]
2008-11-12 14:49:01,871 (main) [     ServiceEcaUtil.java:115:INFO ] Loaded [0] Service ECA definitions from file:/usr/home/euronymous/ofbiz-trunk/specialpurpose/projectmgr/servicedef/secas.xml
2008-11-12 14:49:01,875 (main) [            UtilXml.java:241:INFO ] XML Read 0.0030s: /usr/home/euronymous/ofbiz-trunk/specialpurpose/mypage/servicedef/secas.xml
2008-11-12 14:49:01,876 (main) [     ServiceEcaUtil.java:115:INFO ] Loaded [2] Service ECA definitions from file:/usr/home/euronymous/ofbiz-trunk/specialpurpose/mypage/servicedef/secas.xml
2008-11-12 14:49:01,877 (main) [  GenericDispatcher.java:129:INFO ] [LocalDispatcher] : Created Dispatcher for: entity-default
2008-11-12 14:49:02,202 (main) [            UtilXml.java:241:INFO ] XML Read 0.0060s: file:/usr/home/euronymous/ofbiz-trunk/framework/catalina/config/mime-type.xml
2008-11-12 14:49:03,037 (main) [             JkMain.java:251:INFO ] Can't find home, jk2.properties not loaded
2008-11-12 14:49:03,041 (main) [  Http11AprProtocol.java:113:INFO ] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
2008-11-12 14:49:03,043 (main) [  Http11AprProtocol.java:109:ERROR] Error initializing endpoint
java.lang.Exception: Invalid Server SSL Protocol
        at org.apache.tomcat.jni.SSLContext.make(Native Method)
        at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:680)
        at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
        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:214)
        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)
org.ofbiz.base.start.StartupException: Cannot init() catalina-container (Protocol handler initialization failed: java.lang.Exception: Invalid Server SSL Protocol)
        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: Protocol handler initialization failed: java.lang.Exception: Invalid Server SSL Protocol
        at org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:216)
        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)
LifecycleException:  Protocol handler initialization failed: java.lang.Exception: Invalid Server SSL Protocol
        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:214)
        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)
org.ofbiz.base.container.ContainerException: Protocol handler initialization failed: java.lang.Exception: Invalid Server SSL Protocol
        at org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:216)
        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)
LifecycleException:  Protocol handler initialization failed: java.lang.Exception: Invalid Server SSL Protocol
        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:214)
        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)
LifecycleException:  Protocol handler initialization failed: java.lang.Exception: Invalid Server SSL Protocol
        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:214)
        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)


We really cannot understand why it's happening.

Well, if you have any suggestions please write them here...


Thank you so much

Michele Orru'