I found that rebuilding the ejb-jar.xml file from scratch using EJX
fixed most of these problems. Don't know why, exactly but IWFM.

Tom

Phipps Mark writes:
 > Hi all,
 > 
 > I'm having problems. I just cannot seem to deploy any entity beans at all.
 > The only success I've had so far is with the Interest session bean.
 > I've tried "my own" entity beans, the RMH examples and now the CD library
 > examples (both with the correctly downloaded source code), but I get the
 > same error every time:
 > 
 > [Auto deploy] Auto deploy of file:/C:/jboss/deploy/cd.jar
 > [Container factory] Deploying:file:/C:/jboss/deploy/cd.jar
 > [Container factory] Loading ejb-jar.xml :
 > jar:file:/C:/TEMP/tmpejbjar11895.jar!/META-INF/ejb-jar.xml
 > [Auto deploy] Deployment failed:file:/C:/jboss/deploy/cd.jar
 > [Auto deploy] org.jboss.ejb.DeploymentException: Could not deploy
 > file:/C:/TEMP/tmpejbjar11895.jar
 > [Auto deploy]   at
 > org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:565)
 > [Auto deploy]   at
 > org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:193)
 > [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.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)
 > 
 > This error message is not very helpful, not giving any specific pointer to
 > what's going wrong. I'm using the binary download of jBoss, so I haven't
 > narrowed down where this Exception is coming from.
 > I hope someone out there has experience of this and can point out the way to
 > get it working?????
 > 
 > Cheers
 > 
 > Mark Phipps
 > 
 > 
 > +----------------------------------------------------------------+
 > This message and any files transmitted with it are confidential
 > and intended solely for the use of the individual or entity to 
 > whom they are addressed.  If you have received this message in 
 > error please delete it and any files transmitted with it, after
 > notifying [EMAIL PROTECTED]
 > 
 > Any opinions expressed in this message may be those of the author
 > and not necessarily those of the Company.  The Company accepts no
 > responsibility for the accuracy or completeness of any information
 > contained herein.  This message is not intended to create legal 
 > relations between the Company and the recipient.
 > 
 > Recipients should please note that messages sent via the internet
 > may be intercepted and that caution should therefore be exercised
 > before despatching to the Company any confidential or sensitive
 > information.
 > +----------------------------------------------------------------+
 > 
 > 
 > --
 > --------------------------------------------------------------
 > To subscribe:        [EMAIL PROTECTED]
 > To unsubscribe:      [EMAIL PROTECTED]
 > Problems?:           [EMAIL PROTECTED]
 > 


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

Reply via email to