JBoss Community

SSL Service Startup Problem

created by Bill Rosenberg in JBoss AS 7 Development - View the full discussion

I am trying to add SSL to my web app and have the follwoing configuration in standalone.xml with this error:

 

<subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false">

            <configuration>

                <jsp-configuration development="true" smap="false"/>

            </configuration>

            <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>

           

             <connector name="https" protocol="HTTP/1.1" socket-binding="https" scheme="https" secure="true">

                <ssl name="https" password="myPassword" certificate-key-file="../standalone/configuration/lskeystore.jks"/>

               

            </connector>

           

            <virtual-server name="default-host" enable-welcome-root="false">

                <alias name="localhost"/>

                <alias name="example.com"/>

            </virtual-server>

        </subsystem>

 

 

09:12:31,581 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.web.connector.https: org.jboss.msc.service.StartException in service jboss.web.connector.https: JBAS018007: Error starting web connector

    at org.jboss.as.web.WebConnectorService.start(WebConnectorService.java:271)

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

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

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0]

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0]

    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0]

Caused by: LifecycleException:  Protocol handler initialization failed: java.io.IOException: Alias name jboss does not identify a key entry

    at org.apache.catalina.connector.Connector.init(Connector.java:985)

    at org.jboss.as.web.WebConnectorService.start(WebConnectorService.java:267)

    ... 5 more

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community