Petstore deployment - ClassNotFoundException but the class i
kk37 May 20, 2002 10:47 AMHello
I am running JBoss-2.4.4_Tomcat-4.0.1 with
J2SE1.3.1_03 amd J2EE SDK 1.3.1. I ran
run_with_catalina.sh and it started with no error.
I have downloaded jps-1_1_2.zip, extracted it and patched with jps112-01.zip (provided by JBoss). When petstore was deployed, I got the following error:
[08:46:25,921,J2eeDeployer] install EJB module petstore.ear
[08:46:26,108,ContainerFactory] Deploying:file:/project/iotdev/JBoss-2.4.4_Tomca
t-4.0.1/jboss/tmp/deploy/Default/petstore.ear
[08:46:26,844,ContainerFactory] Verifying file:/project/iotdev/JBoss-2.4.4_Tomca
t-4.0.1/jboss/tmp/deploy/Default/petstore.ear/ejb1001.jar
[08:46:26,931,ContainerFactory]
Bean : TheShoppingClientController
Section: 16.2
Warning: The Bean Provider must specify the fully-qualified name of the Java cla
ss that implements the enterprise bean's business methods.
[08:46:26,945,ContainerFactory]
Bean : TheShoppingClientController
Section: 16.2
Warning: The Bean Provider must specify the fully-qualified name of the enterprse bean's remote interface in the remote element.
[08:46:26,971,ContainerFactory] Deploying TheShoppingClientController
[08:46:27,217,JRMPContainerInvoker] Container Invoker RMI Port='4444'
[08:46:27,218,JRMPContainerInvoker] Container Invoker Client SocketFactory='Defa
ult'
[08:46:27,218,JRMPContainerInvoker] Container Invoker Server SocketFactory='Defa
ult'
[08:46:27,218,JRMPContainerInvoker] Container Invoker Server SocketAddr='Default
'
[08:46:27,219,JRMPContainerInvoker] Container Invoker Server sslDomain='Default'
[08:46:27,219,JRMPContainerInvoker] Container Invoker Optimize='true'
[08:46:27,390,StatefulSessionInstancePool] config - MaximumSize=30, strictMaximu
mSize=false, feederPolicy=null
[08:46:27,469,ContainerFactory] DeploymentError
java.lang.ClassNotFoundException: com.sun.j2ee.blueprints.petstore.control.ejb.S
hoppingClientControllerHome
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at org.jboss.ejb.StatefulSessionContainer.init(StatefulSessionContainer.
java:175)
at org.jboss.ejb.Application.init(Application.java:202)
at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:372)
at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:306)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
28)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:487)
at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:
459)
at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
28)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
:
:
:
more error msgs
I will appreciate if somebody could give me some hints as
to what I have done wrong.
Thanks.