Hi all,

On PR4 I get the following exception deploying the CabinBean example
from Enterprise JavaBeans by Richard Monson-Haefel Chapter 4. It deploys
fine with the previous release (I assume PR3 but nothing in the release
seems to tell me exactly which version it is).

I am running on Redhat Linux 6.2 and am starting from the command line,
i.e. java -jar run.jar which is why it seems different from Jeremiah
Johnson's RuntimeMBeanException.

BTW, shouldn't we see the actual exception that was thrown, not the
RuntimeMBeanException?

I am using the code and ejb-jar.xml from the book's website.

Can anyone help please?

Matty.

P.S. My first attempt to post this got bounced - is the mailserver OK?

[Auto deployer] Starting
[Auto deploy] Auto deploy of file:/home/matty/jboss2/deploy/travelex/
[Container factory] Deploying:file:/home/matty/jboss2/deploy/travelex/
[Container factory] Loading ejb-jar.xml :
file:/home/matty/jboss2/deploy/travelex/META-INF/ejb-jar.xml
[Container factory] Loading standardjboss.xml :
jar:file:/home/matty/jboss2/lib/ext/jboss.jar!/org/jboss/metadata/standardjboss.xml
[Container factory] Deploying CabinBean
[Auto deploy] Deployment failed:file:/home/matty/jboss2/deploy/travelex/
[Auto deploy] javax.management.RuntimeMBeanException: RuntimeException
thrown in operation deploy
[Auto deploy]   at
javax.management.MBeanServer.invoke(MBeanServer.java:1647)
[Auto deploy]   at
javax.management.MBeanServer.invoke(MBeanServer.java:1501)
[Auto deploy]   at
org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:285)
[Auto deploy]   at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)
[Auto deploy]   at
org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:264)
[Auto deploy]   at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:89)
[Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
[Auto deploy]   at
javax.management.MBeanServer.invoke(MBeanServer.java:1635)
[Auto deploy]   at
javax.management.MBeanServer.invoke(MBeanServer.java:1501)
[Auto deploy]   at org.jboss.Main.<init>(Main.java:155)
[Auto deploy]   at org.jboss.Main.<init>(Main.java:86)
[Auto deploy]   at org.jboss.Main$1.run(Main.java:76)
[Auto deploy]   at java.security.AccessController.doPrivileged(Native
Method)
[Auto deploy]   at org.jboss.Main.main(Main.java:67)
[


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to