[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer
david.lloyd@jboss.com
do-not-reply at jboss.com
Wed Apr 2 11:07:57 EDT 2008
Glad I'm not the only one.
Here's the remoting-deployer-beans.xml: http://pastebin.stonekeep.com/1825
Here's RemotingMetaData.java: http://pastebin.stonekeep.com/1826
The jboss-remoting.xml that it fails to deploy is:
<remoting xmlns="urn:jboss:remoting:3.0"/>
The exception is:
Exception in thread "main" java.lang.RuntimeException: Deployment failed
| at org.jboss.cx.remoting.jrpp.EmbeddedBootstrap.deploy(EmbeddedBootstrap.java:23)
| at org.jboss.cx.remoting.jrpp.Test2.main(Test2.java:12)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
| Caused by: java.lang.ClassCastException: org.jboss.cx.remoting.metadata.RemotingMetaData
| at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:147)
| at org.jboss.cx.remoting.jrpp.EmbeddedBootstrap.deploy(EmbeddedBootstrap.java:21)
| ... 6 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4141017#4141017
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4141017
More information about the jboss-user
mailing list