-
1. Re: JBOSS 5.0 with APR
jfclere Jun 10, 2009 4:27 AM (in response to mmuthu)That looks like a configuration error.
-
2. Re: JBOSS 5.0 with APR
mmuthu Jun 10, 2009 5:41 AM (in response to mmuthu)Do you know what is the configuration error?
-
3. Re: JBOSS 5.0 with APR
mmuthu Jun 10, 2009 5:44 AM (in response to mmuthu)Sorry the server.xml is like below,
-
4. Re: JBOSS 5.0 with APR
mmuthu Jun 10, 2009 5:50 AM (in response to mmuthu)I think i'm not myself now...please find the connector configuration below,
<Connector protocol="org.apache.coyote.http11.Http11AprProtocol" port="8443" address="${jboss.bind.address}" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" disableUploadTimeout="true" acceptCount="100" scheme="https" secure="true" SSLEnabled="true" SSLCertificateFile="../../conf/server.crt" SSLCertificateKeyFile="../../conf/server.key"/>
-
5. Re: JBOSS 5.0 with APR
mmuthu Jun 10, 2009 9:51 AM (in response to mmuthu)I was using "2.0.6-linux2-x86-ssl" native libraries earlier. Now i tried using 2.0.4 and it fails with different exception like below. I have not altered anything in thing from configuration point of view. Any help would be appreciated.
19:22:16,971 ERROR [Http11AprProtocol] Error initializing endpoint
java.lang.Exception: Socket bind failed: [22] Invalid argument
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:610)
at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1029)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:683)
at org.apache.catalina.core.StandardService.init(StandardService.java:695)
at org.apache.catalina.core.StandardService.start(StandardService.java:510)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:736)
at org.apache.catalina.startup.Catalina.start(Catalina.java:572)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585) -
6. Re: JBOSS 5.0 with APR
nagy Aug 6, 2010 2:58 AM (in response to mmuthu)please check, that the user jboss (with the same group that installed the AS), have
read-permissions on the certificates, and if not solved, then
try to use absolute-path (not nice, but probably a resolve problem), here:
SSLCertificateFile="../../conf/server.crt"
try this:SSLCertificateFile="/opt/jboss/ssl/conf/server.crt" (wherever it can be found)