[jboss-user] [EJB 3.0] - [JBoss 5.0.0.Beta4] JBossXBException: Failed to parse source

mathiasarens3 do-not-reply at jboss.com
Mon Mar 17 11:13:22 EDT 2008


I am trying to deploy an ejb3 application to JBoss 5.0.0.Beta4.

One of my ejb3 jars has a META-INF/jboss.xml with the following root tag:


  | <?xml version="1.0" encoding="UTF-8"?>
  | <jboss xmlns="http://java.sun.com/xml/ns/javaee"
  |        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |        xsi:schemaLocation="http://www.jboss.org/j2ee/schema
  |        http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"
  |        version="5.0">
  | 

If I deploy the ear I get the following error:

anonymous wrote : 
  | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Element {http://java.sun.com/xml/ns/javaee}jboss is not bound as a global element.
  |         at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:193)
  |         at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:153)
  |         at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:120)
  |         at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:86)
  | 
Trying to remove the xml namespace attributes from the jboss tag didn't help. Then I get a similar resource-ref exception.

I tried to modify the conf/jax-ws-catalog.xml but it didn't find a solution so far. Or is there a way to disable xml validation?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137095#4137095

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137095



More information about the jboss-user mailing list