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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...