EJB Deployment
ravi_arrow Sep 30, 2003 11:34 AMI am new bird in using EJBs on Jboss. Having understood the basics, i tried to deploy the example ejb on to jboss server. i did as described in the tutorial. After deploying the interest EJB, the jboss server spews an error message as follows:
20:47:47,015 INFO [MainDeployer] Starting deployment of package: file:/E:/jboss
/server/default/deploy/interest.jar
20:47:47,609 INFO [EJBDeployer]
Bean : Interest
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.
20:47:47,671 INFO [EJBDeployer]
Bean : Interest
Section: 16.2
Warning: The Bean Provider must specify the fully-qualified name of the enterpri
se bean's home interface in the home element.
20:47:47,750 INFO [EJBDeployer]
Bean : Interest
Section: 16.2
Warning: The Bean Provider must specify the fully-qualified name of the enterpri
se bean's remote interface in the remote element.
20:47:47,812 INFO [EjbModule] Creating
20:47:47,890 INFO [EjbModule] Deploying Interest
20:47:48,578 INFO [EjbModule] Remove JSR-77 EJB Module: jboss.management.single
:J2EEApplication= ,J2EEServer=Single,j2eeType=EJBModule,name=interest.jar
20:47:48,578 ERROR [EjbModule] Initialization failed
java.lang.ClassNotFoundException: org.jboss.docs.interest.InterestHome
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at org.jboss.ejb.StatelessSessionContainer.create(StatelessSessionContai
ner.java:155)
and more errors.
i did as explained in the tutorial like compiling the source files and putting the ejb-jar.xml and jboss.xml in the META-INF folder. Jarred the classes and the META-INF folder and deployed on the server. as soon as i deployed the above error is spawned.
Anybody, please help me understanding this error msg and avoid doing the same again and again.
THank U, in advance.