[
https://issues.jboss.org/browse/AS7-3171?page=com.atlassian.jira.plugin.s...
]
Atul Bansal commented on AS7-3171:
----------------------------------
Hi,
I used a similar system dependency for <path
name="com/sun/org/apache/xerces/internal/jaxp/datatype"/> using the
jboss-deployment-structure.xml described above on latest nightly build. I am still facing
the same ClassNotFoundException which can only be resolved by including the path in
sun.jdk module's xml.
Please provide a solution at the earnest.
Thanks,
Atul
System dependency can not be parsed in jboss-deployment-structure.xml
during deployment
---------------------------------------------------------------------------------------
Key: AS7-3171
URL:
https://issues.jboss.org/browse/AS7-3171
Project: Application Server 7
Issue Type: Bug
Affects Versions: 7.1.0.CR1b
Environment: Java 1.7.0_01 64bit, Windows 7 64bit
Reporter: Gonne Martens
Assignee: jaikiran pai
Fix For: 7.1.0.Final
The system dependency in jboss-deployment-structure.xml can not be parsed during
deployment.
{code:xml}
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<dependencies>
<module name="deployment.system"/>
</dependencies>
</deployment>
<module name="deployment.system">
<dependencies>
<system export="true">
<paths>
<path name="com/sun/net/ssl/internal/ssl"/>
</paths>
</system>
</dependencies>
</module>
</jboss-deployment-structure>
{code}
Error message:
{code}
17:31:03,957 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed
to start service jboss.deployment.unit."merlix-ear.ear".STRUCTURE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."merlix-ear.ear".STRUCTURE: Failed to process phase
STRUCTURE of deployme
nt "merlix-ear.ear"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
[jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[:1.7.0_01]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[:1.7.0_01]
at java.lang.Thread.run(Thread.java:722) [:1.7.0_01]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Error
loading jboss-structure.xml from
D:\jboss\jboss-as-7.1.0.CR1b\standalone\deployments\merlix-ear.ear\META-INF\jboss-deployment-structure.xml
at
org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.parse(DeploymentStructureDescriptorParser.java:265)
[jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at
org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.parse(DeploymentStructureDescriptorParser.java:237)
[jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at
org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.deploy(DeploymentStructureDescriptorParser.java:132)
[jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
[jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
... 5 more
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[9,10]
Message: Unexpected content of type 'element start' named
'{urn:jboss:deployment-structure:1.1}system'
at
org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.unexpectedContent(JBossDeploymentStructureParser11.java:1072)
[jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at
org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.parseDependencies(JBossDeploymentStructureParser11.java:397)
[jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at
org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.parseModuleStructureSpec(JBossDeploymentStructureParser11.java:314)
[jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at
org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.parseModule(JBossDeploymentStructureParser11.java:291)
[jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at
org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.readElement(JBossDeploymentStructureParser11.java:215)
[jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at
org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.readElement(JBossDeploymentStructureParser11.java:44)
[jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)
at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:59)
at
org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.parse(DeploymentStructureDescriptorParser.java:259)
[jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
... 8 more
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira