ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjeev Gupta <subscr...@sanjeevg.com>
Subject Ofbiz and Apache HTTPD
Date Sat, 18 Aug 2012 09:13:06 GMT
I've configured Apache HTTPD to fronted Ofbiz on port 80 / 433. I see the
following error on the Ofbiz console - suggesting that Ofbiz is unable to
bind to port 80 & 433. That said the  HTTPD server is responding fine as it
is communicating with Ofbiz on AJP port 8009. 
So I'm wondering if this is something that should be fixed or can be
ignored. Please advise .. 


2012-08-17 15:38:06,720 (main) [   AbstractProtocol.java:419:ERROR] Failed
to initialize end point associated with ProtocolHandler
["http-bio-0.0.0.0-80"]
java.net.BindException: Address already in use: JVM_Bind /0.0.0.0:80
        at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:393)
        at
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:566)
        at
org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:417)
        at
org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
        at
org.apache.catalina.connector.Connector.initInternal(Connector.java:956)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at
org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:814)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
        at
org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:238)
        at
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:230)
        at org.ofbiz.base.start.Start.startStartLoaders(Start.java:362)
        at org.ofbiz.base.start.Start.start(Start.java:337)
        at org.ofbiz.base.start.Start.main(Start.java:139)
Caused by: java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
        at java.net.ServerSocket.bind(ServerSocket.java:328)
        at java.net.ServerSocket.<init>(ServerSocket.java:194)
        at
org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:55)
        at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:383)
        ... 15 more
2012-08-17 15:38:06,725 (main) [    StandardService.java:563:ERROR] Failed
to initialize connector [Connector[HTTP/1.1-80]]
org.apache.catalina.LifecycleException: Failed to initialize component
[Connector[HTTP/1.1-80]]
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)
        at
org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:814)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
        at
org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:238)
        at
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:230)
        at org.ofbiz.base.start.Start.startStartLoaders(Start.java:362)
        at org.ofbiz.base.start.Start.start(Start.java:337)
        at org.ofbiz.base.start.Start.main(Start.java:139)
Caused by: org.apache.catalina.LifecycleException: Protocol handler
initialization failed
        at
org.apache.catalina.connector.Connector.initInternal(Connector.java:958)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        ... 10 more
Caused by: java.net.BindException: Address already in use: JVM_Bind
/0.0.0.0:80
        at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:393)
        at
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:566)
        at
org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:417)
        at
org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
        at
org.apache.catalina.connector.Connector.initInternal(Connector.java:956)
        ... 11 more
Caused by: java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
        at java.net.ServerSocket.bind(ServerSocket.java:328)
        at java.net.ServerSocket.<init>(ServerSocket.java:194)
        at
org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:55)
        at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:383)
        ... 15 more
2012-08-17 15:38:06,785 (main) [   AbstractProtocol.java:419:ERROR] Failed
to initialize end point associated with ProtocolHandler
["http-bio-0.0.0.0-443"]
java.net.BindException: Address already in use: JVM_Bind /0.0.0.0:443
        at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:393)
        at
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:566)
        at
org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:417)
        at
org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
        at
org.apache.catalina.connector.Connector.initInternal(Connector.java:956)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at
org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:814)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
        at
org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:238)
        at
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:230)
        at org.ofbiz.base.start.Start.startStartLoaders(Start.java:362)
        at org.ofbiz.base.start.Start.start(Start.java:337)
        at org.ofbiz.base.start.Start.main(Start.java:139)
Caused by: java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
        at java.net.ServerSocket.bind(ServerSocket.java:328)
        at java.net.ServerSocket.<init>(ServerSocket.java:194)
        at javax.net.ssl.SSLServerSocket.<init>(SSLServerSocket.java:106)
        at
com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.<init>(SSLServerSocketImpl.java:108)
        at
com.sun.net.ssl.internal.ssl.SSLServerSocketFactoryImpl.createServerSocket(SSLServerSocketFactoryImpl.java:72)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:170)
        at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:383)
        ... 15 more
2012-08-17 15:38:06,786 (main) [    StandardService.java:563:ERROR] Failed
to initialize connector [Connector[HTTP/1.1-443]]
org.apache.catalina.LifecycleException: Failed to initialize component
[Connector[HTTP/1.1-443]]
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)
        at
org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:814)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
        at
org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:238)
        at
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:230)
        at org.ofbiz.base.start.Start.startStartLoaders(Start.java:362)
        at org.ofbiz.base.start.Start.start(Start.java:337)
        at org.ofbiz.base.start.Start.main(Start.java:139)
Caused by: org.apache.catalina.LifecycleException: Protocol handler
initialization failed
        at
org.apache.catalina.connector.Connector.initInternal(Connector.java:958)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        ... 10 more
Caused by: java.net.BindException: Address already in use: JVM_Bind
/0.0.0.0:443
        at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:393)
        at
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:566)
        at
org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:417)
        at
org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
        at
org.apache.catalina.connector.Connector.initInternal(Connector.java:956)
        ... 11 more
Caused by: java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
        at java.net.ServerSocket.bind(ServerSocket.java:328)
        at java.net.ServerSocket.<init>(ServerSocket.java:194)
        at javax.net.ssl.SSLServerSocket.<init>(SSLServerSocket.java:106)
        at
com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.<init>(SSLServerSocketImpl.java:108)
        at
com.sun.net.ssl.internal.ssl.SSLServerSocketFactoryImpl.createServerSocket(SSLServerSocketFactoryImpl.java:72)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:170)
        at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:383)



-----
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: http://ofbiz.135035.n4.nabble.com/Ofbiz-and-Apache-HTTPD-tp4635813.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Mime
View raw message