0 Replies Latest reply on Sep 19, 2013 10:31 AM by B M

    jboss.home.dir not expanding to path for ssl connector xml 7.1.1.Final

    B M Newbie

      Hi,

       

      I get the below stack trace starting my server.  I expected jboss.home.dir to be expanded to the path to $JBOSS_HOME but this did not happen

       

      Is there a reason for this/way around this? I can't give the absolute path in my scenario.

      [Server:server-two] 11:29:32,381 ERROR [org.apache.tomcat.util.net.jsse.JSSESocketFactory] (MSC service thread 1-8) Failed to load keystore type JKS with path ${jboss.home.dir}/domain/configuration/cacerts.jks due to ${jboss.home.dir}/domain/configuration/cacerts.jks (No such file or directory): java.io.FileNotFoundException: ${jboss.home.dir}/domain/configuration/cacerts.jks (No such file or directory)

      [Server:server-two]     at java.io.FileInputStream.open(Native Method) [rt.jar:1.6.0_37]

      [Server:server-two]     at java.io.FileInputStream.<init>(FileInputStream.java:120) [rt.jar:1.6.0_37]

      [Server:server-two]     at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:374) [jbossweb-7.0.13.Final.jar:]

      [Server:server-two]     at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getTrustStore(JSSESocketFactory.java:347) [jbossweb-7.0.13.Final.jar:]

      [Server:server-two]     at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getTrustManagers(JSSESocketFactory.java:546) [jbossweb-7.0.13.Final.jar:]

      [Server:server-two]     at org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:452) [jbossweb-7.0.13.Final.jar:]

      [Server:server-two]     at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:168) [jbossweb-7.0.13.Final.jar:]

      [Server:server-two]     at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:977) [jbossweb-7.0.13.Final.jar:]

      [Server:server-two]     at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:190) [jbossweb-7.0.13.Final.jar:]

      [Server:server-two]     at org.apache.catalina.connector.Connector.init(Connector.java:983) [jbossweb-7.0.13.Final.jar:]

      [Server:server-two]     at org.jboss.as.web.WebConnectorService.start(WebConnectorService.java:267) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

      [Server:server-two]     at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

      [Server:server-two]     at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

      [Server:server-two]     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_37]

      [Server:server-two]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_37]

      [Server:server-two]     at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_37]

      [Server:server-two]