Custom application containing 'jbpm-gwt-core-5.3.1.BRMS.jar' complains "Failed to resolve schema nsURI= location=web-fragment" while deployment

Solution Unverified - Updated -

Issue

  • We have an application (*.ear) which contains a SAR containing Drools and jBPM5 lib dependencies. Deploying this EAR into the JBoss EAP 5.1.2 server with JBoss Enterprise Platform BRMS 5.3.0 worked fine, however deploying it into the JBoss EAP 5.2.0 with JBoss Enterprise BRMS Platform 5.3.1 fails with the following exception:
ERROR [AbstractKernelController] Error installing to Parse: name=vfszip:/opt/brms5.3.1/brms-standalone-5.3.1/jboss-as/server/default/deploy/TestApp.ear/ state=PreParse mode=Manual requiredState=Parse
org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/opt/brms5.3.1/brms-standalone-5.3.1/jboss-as/server/default/deploy/TestApp.ear/TestSar.sar/jbpm-gwt-core-5.3.1.BRMS.jar/
    at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
    at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:362)
    at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:322)
    at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:294)
    at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:234)
    ...
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to resolve schema nsURI= location=web-fragment
    at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
    at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)
    at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:189)
    at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:166)
    at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:137)
    ...
Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to resolve schema nsURI= location=web-fragment
    at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:281)
    at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:401)
    at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
    ...
  • It looks like the problem is with the deployment descriptor web.xml included inside the jar jbpm-gwt-core-5.3.1.BRMS.jar . Can you please advice how to solve this problem?

Environment

  • JBoss Enterprise Business Rules Management System Platform (BRMS)
    • 5.3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content