CMP2.0 doc example deployment error!
nickbuus Feb 11, 2002 6:36 AMHello!
I just bought the cmp2.0 documentation, and the example application that came with it has given me the following error when i try to deploy it:
Can someone please help solve this problem.
I built the java source files with ant and there were no errors.
[2002-02-11 12:33:48,170,AutoDeployer,INFO] Auto-deploying file:/C:/jboss-3.0.0/deploy/demoen.jar
[2002-02-11 12:33:48,170,AutoDeployer,INFO] Auto deploy of file:/C:/jboss-3.0.0/deploy/demoen.jar
[2002-02-11 12:33:48,170,J2eeDeployer#Default,INFO] Deploy J2EE application: file:/C:/jboss-3.0.0/deploy/demoen.jar
[2002-02-11 12:33:48,230,J2eeDeployer#Default,INFO] Create application demoen.jar
[2002-02-11 12:33:48,230,J2eeDeployer#Default,INFO] install EJB module demoen.jar
[2002-02-11 12:33:49,330,J2eeDeployer#Default,INFO] about to invoke deploy on jardeployer:JBOSS-SYSTEM:service=ContainerFactory
[2002-02-11 12:33:49,330,ContainerFactory,INFO] got to deploy in ContainerFactory
[2002-02-11 12:33:49,330,ContainerFactory,INFO] Deploying:file:/C:/jboss-3.0.0/deploy/Default/demoen.jar
[2002-02-11 12:33:49,770,ContainerFactory,INFO] Verifying file:/C:/jboss-3.0.0/deploy/Default/demoen.jar/ejb1003.jar
[2002-02-11 12:33:49,820,ContainerFactory,INFO] Deploying UserEJB
[2002-02-11 12:33:50,420,JRMPContainerInvoker,DEBUG] Container Invoker RMI Port='4444'
[2002-02-11 12:33:50,420,JRMPContainerInvoker,DEBUG] Container Invoker Client SocketFactory='Default'
[2002-02-11 12:33:50,420,JRMPContainerInvoker,DEBUG] Container Invoker Server SocketFactory='Default'
[2002-02-11 12:33:50,420,JRMPContainerInvoker,DEBUG] Container Invoker Server SocketAddr='Default'
[2002-02-11 12:33:50,420,JRMPContainerInvoker,DEBUG] Container Invoker Optimize='true'
[2002-02-11 12:33:51,030,ContainerFactory,INFO] Deploying CustomerEJB
[2002-02-11 12:33:51,030,JRMPContainerInvoker,DEBUG] Container Invoker RMI Port='4444'
[2002-02-11 12:33:51,030,JRMPContainerInvoker,DEBUG] Container Invoker Client SocketFactory='Default'
[2002-02-11 12:33:51,030,JRMPContainerInvoker,DEBUG] Container Invoker Server SocketFactory='Default'
[2002-02-11 12:33:51,030,JRMPContainerInvoker,DEBUG] Container Invoker Server SocketAddr='Default'
[2002-02-11 12:33:51,030,JRMPContainerInvoker,DEBUG] Container Invoker Optimize='true'
[2002-02-11 12:33:51,030,ContainerFactory,INFO] Deploying OrderEJB
[2002-02-11 12:33:51,080,ContainerFactory,INFO] Deploying AddressEJB
[2002-02-11 12:33:51,080,ContainerFactory,INFO] Deploying LineItemEJB
[2002-02-11 12:33:51,080,ContainerFactory,INFO] Deploying ProductEJB
[2002-02-11 12:33:51,080,ContainerFactory,INFO] Deploying ProductCategoryEJB
[2002-02-11 12:33:51,140,ContainerFactory,INFO] Deploying EJBTestRunnerEJB
[2002-02-11 12:33:51,190,JRMPContainerInvoker,DEBUG] Container Invoker RMI Port='4444'
[2002-02-11 12:33:51,190,JRMPContainerInvoker,DEBUG] Container Invoker Client SocketFactory='Default'
[2002-02-11 12:33:51,250,JRMPContainerInvoker,DEBUG] Container Invoker Server SocketFactory='Default'
[2002-02-11 12:33:51,250,JRMPContainerInvoker,DEBUG] Container Invoker Server SocketAddr='Default'
[2002-02-11 12:33:51,250,JRMPContainerInvoker,DEBUG] Container Invoker Optimize='true'
[2002-02-11 12:33:51,630,J2eeDeployer#Default,ERROR] Starting demoen.jar failed!
javax.management.RuntimeErrorException: Error thrown in operation deploy
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1642)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:467)
at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:444)
at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:215)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:654)
at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:327)
at java.lang.Thread.run(Thread.java:484)
[2002-02-11 12:33:51,630,J2eeDeployer#Default,INFO] Module demoen.jar is not running
[2002-02-11 12:33:51,690,J2eeDeployer#Default,INFO] Destroying application demoen.jar
[2002-02-11 12:33:51,690,J2eeDeployer#Default,INFO] Destroyed
[2002-02-11 12:33:51,690,AutoDeployer,ERROR] Deployment failed:file:/C:/jboss-3.0.0/deploy/demoen.jar
org.jboss.deployment.J2eeDeploymentException: Error while starting demoen.jar: org/jboss/docs/cmp2/commerce/Address (Bad magic number), Cause: java.lang.ClassFormatError: org/jboss/docs/cmp2/commerce/Address (Bad magic number)
at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:525)
at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:444)
at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:215)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:654)
at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:327)
at java.lang.Thread.run(Thread.java:484)