The EJB jars represent J2EE application components and they are deployed
independently or as part of an EAR. There is no reason to duplicate
those classes in WEB-INF/classes. The EJB jar has a jboss.xml and
jbosscmp-jdbc.xml plus ejb-jar.xml under META-INF. The web application
gets jboss-web.xml plus web.xml under WEB-INF. Sounds like you're mixing
EJB component descriptors and webapp component descriptors. Can't do
that. You can combine them in an EAR but get your loose components
working first. 
 

-----Original Message-----
From: xingxing [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 27, 2004 6:42 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] [EJB/JBoss] - Can not find my EJB.jar!


I deployed my ejb.jar with Jbuilder9 in the default directory
(../deploy/ejb.jar) of Jboss3. but my file of JSP can not find it. i
think i must have not understood the procedure of deployment.

Now my JSP files have been put into the folder of  "../deploy/myWeb.war"
, which has the folder of "classes" and "jboss.xml" and "web.xml", well,
I put my EJB's class files into the folder of "classes" and register the
infomation of EJB in the file "jboss.xml" and "web.xml", then should my
JSP file access my EJB?

I need your help.thank you!

View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823365#3823365

Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=382336
5


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to