[jboss-user] [Microcontainer] - Re: Does the Microcontainer register MBeans that it deploys
alesj
do-not-reply at jboss.com
Tue Dec 16 13:48:35 EST 2008
"Gary Marsh" wrote : OK I deserved that one.
;-)
"Gary Marsh" wrote :
| But I still get a parser error due to the inability to find the schema....
|
| org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/C:/NichPro/MicrocontainerDirectoryScanner/src/META-INF/nichpro-service.xml at 2,9
| | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:177)
| | at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:147)
| | at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:147)
| | at com.nichpro.jmx.bootstrap.Main.deploy(Main.java:123)
| |
BasicXMLDeployer only understands pre-configured JBossXB schemas
in SingletonSchemaResolver and expects an KernelDeployment outcome.
It's the SARDeployer that understands -service.xml,
meaning you should deploy that file into sandbox only when this deployer is present.
Use explicit dependencies to get the right deployment order.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196953#4196953
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196953
More information about the jboss-user
mailing list