Hi:

I am working through the examples in the JBoss Manual. Everything has worked
fine until Chapter 5: Customizing Jaws.
I successfully ran "ant cmp-jaws-compile", but when I drop
"documentation-example/build-examples/cmp-jaws/ejb/class.jar" into the
deploy directory I get the following error. How do I fix this? Thanks.

[J2EE Deployer Default] Starting class.jar failed!
[Auto deploy] org.jboss.ejb.DeploymentException: Could not deploy
file:/D:/JBoss
-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/class.jar,
Cause:org.jboss.ejb.Depl
oymentException: Error in jaws.xml for Entity ClassBean: cmp-field
lesson.subjec
t is not a field in ejb class org.jboss.docs.cmp.jaws.bean.ClassBean
[Auto deploy]   at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:3
65)
[Auto deploy]   at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:2
75)
[Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
[Auto deploy]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[Auto deploy]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[Auto deploy]   at
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeploy
er.java:415)
[Auto deploy]   at
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:17
8)
[Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
[Auto deploy]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[Auto deploy]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[Auto deploy]   at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358)
[Auto deploy]   at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)
[Auto deploy]   at java.lang.Thread.run(Unknown Source)
[J2EE Deployer Default] Module class.jar is not running
[J2EE Deployer Default] Destroying application class.jar
[Auto deploy] Deployment
failed:file:/D:/JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy/c
lass.jar
[Auto deploy] org.jboss.deployment.J2eeDeploymentException: Error while
starting
 class.jar: Could not deploy
file:/D:/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/
Default/class.jar
[Auto deploy]   at
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeploy
er.java:442)
[Auto deploy]   at
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:17
8)
[Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
[Auto deploy]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[Auto deploy]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[Auto deploy]   at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358)
[Auto deploy]   at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)
[Auto deploy]   at java.lang.Thread.run(Unknown Source)

Laurel

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to