Funny, but that seem to forgot to put that class into the .jar file... Each
deployed .jar file should have all required classes, or they should be in
the JBoss bootstrap classpath...

You have to resolve that manually...

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Freitag, 4. Mai 2001 11:17
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Deployment problem.
> 
> 
> This eMail was already checked for viruses by TrendMicro InterScan!!!
> Hi,
> 
> i installed jBoss 2.2.1 on a windows NT 4 box. I use the default
> configuration that came with the archiv.
> 
> i want to try the examples that come with "Enterprise Java Beans" from
> Richard Monson Haefel (O'Reilly).
> 
> After some modifications to the batchfiles managed to create 
> the jar files.
> 
> The entity beans deploed ok as far as i can tell.
> ...
> [Auto deploy] Auto deploy of 
> file:/D:/Programme/jboss/deploy/customer.jar
> [J2EE Deployer Default] Module customer.jar is not running
> [J2EE Deployer Default] Destroying application customer.jar
> [J2EE Deployer Default] Deploy J2EE application:
> file:/D:/Programme/jboss/deploy/customer.jar
> [J2EE Deployer Default] Create application customer.jar
> [J2EE Deployer Default] install module customer.jar
> [Container factory]
> Deploying:file:/D:/Programme/jboss/tmp/deploy/Default/customer.jar
> [Verifier] Verifying
> file:/D:/Programme/jboss/tmp/deploy/Default/customer.jar/ejb1003.jar
> [Verifier] CustomerBean: Verified.
> [Container factory] Deploying CustomerBean
> [Container factory] Container Invoker RMI Port='4444'
> [Container factory] Container Invoker Client SocketFactory='Default'
> [Container factory] Container Invoker Server SocketFactory='Default'
> [Container factory] Container Invoker Optimize='true'
> [Container factory] JRMP 1.2.2 CI initialized
> [JAWS] Initializing JAWS plugin for CustomerBean
> [JAWS] Loading standardjaws.xml :
> file:/D:/Programme/jboss/conf/default/standardjaws.xml
> [JAWS] Table 'CustomerBean' already exists
> [Container factory] Bound CustomerBean to CustomerBean
> [Container factory] Deployed application:
> file:/D:/Programme/jboss/tmp/deploy/Default/customer.jar
> [J2EE Deployer Default] J2EE application:
> file:/D:/Programme/jboss/deploy/customer.jar is deployed.
> ...
> 
> But if i deploy the session beans i got an exception that the 
> bean isn't
> there.
> 
> ...
> [Auto deploy] Auto deploy of
> file:/D:/Programme/jboss/deploy/reservation.jar
> [J2EE Deployer Default] Deploy J2EE application:
> file:/D:/Programme/jboss/deploy/reservation.jar
> [J2EE Deployer Default] Create application reservation.jar
> [J2EE Deployer Default] install module reservation.jar
> [Container factory]
> Deploying:file:/D:/Programme/jboss/tmp/deploy/Default/reservation.jar
> [Verifier] Verifying
> file:/D:/Programme/jboss/tmp/deploy/Default/reservation.jar/ej
> b1004.jar
> [Verifier] java.lang.NoClassDefFoundError: com/titan/customer/Customer
> [Verifier]      at java.lang.Class.getMethods0(Native Method)
> [Verifier]      at java.lang.Class.getMethods(Unknown Source)
> [Verifier]      at
> org.jboss.verifier.strategy.AbstractVerifier.hasEJBCreateMetho
> d(AbstractVerifier.java,
> 
> Compiled Code)
> [Verifier]      at
> org.jboss.verifier.strategy.EJBVerifier11.verifyEntityBean(EJB
Verifier11.java,
> 
> Compiled Code)
> [Verifier]      at
> org.jboss.verifier.strategy.EJBVerifier11.checkEntity(EJBVerif
ier11.java:119)
> [Verifier]      at
> org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java, 
> Compiled Code)
> [Verifier]      at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java, 
> Compiled Code)
> [Verifier]      at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java, 
> Compiled Code)
> [Verifier]      at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java, 
> Compiled Code)
> [Verifier]      at java.lang.reflect.Method.invoke(Native Method)
> [Verifier]      at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java,
> Compiled Code)
> [Verifier]      at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.
java:1523)
> [Verifier]      at
> org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java,
> Compiled Code)
> [Verifier]      at
> org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178)
> [Verifier]      at java.lang.reflect.Method.invoke(Native Method)
> [Verifier]      at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java,
> Compiled Code)
> [Verifier]      at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.
java:1523)
> [Verifier]      at 
> org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358)
> [Verifier]      at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java,
> Compiled Code)
> [Verifier]      at java.lang.Thread.run(Unknown Source)
> [Container factory] Deploying ReservationBean
> [Container factory] Container Invoker RMI Port='4444'
> [Container factory] Container Invoker Client SocketFactory='Default'
> [Container factory] Container Invoker Server SocketFactory='Default'
> [Container factory] Container Invoker Optimize='true'
> [J2EE Deployer Default] Starting reservation.jar failed!
> [Auto deploy] java.lang.NoClassDefFoundError: 
> com/titan/customer/Customer
> [Auto deploy]   at java.lang.Class.getMethods0(Native Method)
> [Auto deploy]   at java.lang.Class.getMethods(Unknown Source)
> [Auto deploy]   at
> org.jboss.ejb.EntityContainer.setupHomeMapping(EntityContainer.java,
> Compiled Code)
> [Auto deploy]   at 
> org.jboss.ejb.EntityContainer.init(EntityContainer.java,
> Compiled Code)
> [Auto deploy]   at org.jboss.ejb.Application.init(Application.java,
> Compiled Code)
> [Auto deploy]   at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java, 
> Compiled Code)
> [Auto deploy]   at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java, 
> Compiled Code)
> [Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
> [Auto deploy]   at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java,
> Compiled Code)
> [Auto deploy]   at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.
java:1523)
> [Auto deploy]   at
> org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java,
> Compiled Code)
> [Auto deploy]   at
> org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178)
> [Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
> [Auto deploy]   at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java,
> Compiled Code)
> [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,
> Compiled Code)
> [Auto deploy]   at java.lang.Thread.run(Unknown Source)
> [J2EE Deployer Default] Module reservation.jar is not running
> [J2EE Deployer Default] Destroying application reservation.jar
> [Auto deploy] Deployment
> failed:file:/D:/Programme/jboss/deploy/reservation.jar
> [Auto deploy] org.jboss.deployment.J2eeDeploymentException: 
> Error while
> starting reservation.jar: com/titan/customer/Customer
> [Auto deploy]   at
> org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java,
> Compiled Code)
> [Auto deploy]   at
> org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178)
> [Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
> [Auto deploy]   at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java,
> Compiled Code)
> [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,
> Compiled Code)
> [Auto deploy]   at java.lang.Thread.run(Unknown Source)
> 
> 
> The full source is available at 
> http://www.oreilly.de/catalog/entjbeans2.
> Any ideas what might be the problem?
> 
> Thanks
>                Haug
> 
> 
> 
> 
> (See attached file: server.log)
> 

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

Reply via email to