1 Reply Latest reply on Apr 17, 2013 1:41 AM by Nicklas Karlsson

    What is the proper way to include the Sun SSL module for 7.1.1?

    D. Alvarado Newbie

      Hi,

       

      I'm using JBoss 7.1.1 AS and trying to deploy a WAR file.  How do I include the Sun SSL module in my deployment (for the purposes of making HTTPS connections)?  I uncovered this answer through searching the forums and included this in my WEB-INF/jboss-deployment-structure.xml file:

       

      [code]

      <module name="deployment.system">

              <dependencies>

                  <system export="true">

                      <paths>

                          <path name="com/sun/net/ssl/internal/ssl"/>

                      </paths>

                  </system>

              </dependencies>

          </module>

      [/code]

       

      but deploying the WAR file results in this error …

       

      [code]

      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[10,9]

      Message: Unexpected content of type 'element start' named '{urn:jboss:deployment-structure:1.0}dependencies'

                at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser10.unexpectedContent(JBossDeploymentStructureParser10.java:854) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser10.parseModuleDependency(JBossDeploymentStructureParser10.java:423) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser10.parseDependencies(JBossDeploymentStructureParser10.java:336) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser10.parseModuleStructureSpec(JBossDeploymentStructureParser10.java:301) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser10.parseDeployment(JBossDeploymentStructureParser10.java:219) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser10.readElement(JBossDeploymentStructureParser10.java:195) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser10.readElement(JBossDeploymentStructureParser10.java:37) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

                at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

                at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.parse(DeploymentStructureDescriptorParser.java:271) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                ... 8 more

      [/code]

       

      Thanks for any insight, - Dave