Hello,
i am trying to deploy a war with the following strcutrue. I am using Jboss 6
<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0">
<deployment>
<dependencies>
<module name="javax.api"/>
<module name="org.apache.santuario.xmlsec"/>
<module name="org.apache.xerces" />
<system export="true">
<paths>
<path name="com/sun/net/ssl/internal/ssl"/>
</paths>
</system>
</dependencies>
</deployment>
</jboss-deployment-structure>
But i am getting this error:
{"JBAS014653: Operación compuesta fallida y se deshizo. Pasos que fallaron:" => {"Operación step-2" => {"JBAS014671: Servicios fallidos" => {"jboss.deployment.unit.\"afirma-server-triphase-signer-3.3.2-SNAPSHOT.war\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"afirma-server-triphase-signer-3.3.2-SNAPSHOT.war\".STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment \"afirma-server-triphase-signer-3.3.2-SNAPSHOT.war\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018748: Error al cargar jboss-deployment-structure.xml desde C:\\Users\\D806038\\EAP-6.4.0\\standalone\\tmp\\vfs\\temp\\tempc9a1ebc2e71f4db9\\afirma-server-triphase-signer-3.3.2-SNAPSHOT.war-beae27f0d476d505\\WEB-INF\\jboss-deployment-structure.xml
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[8,9]
Message: JBAS018754: Unexpected content of type 'element start', name is '{urn:jboss:deployment-structure:1.0}system', text is: 'null'"}}}}
Your file is not valid.
Line 8 is
<system export="true">
and there is no system element defined in jboss-deployment-structure-1_0.xsd.