patrick wrote:
>strange. i'm running jBoss 2.1 (cvs from last week or so...) but it cannot
>find the classes. could i have forgotten something else?
To let your servlet find your EJBs, you need something like this in your
application.xml file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<application>
<display-name>cdClient_EAR</display-name>
<module>
<web>
<web-uri>cdClient_EAR-web.war</web-uri>
<context-root>/cdClient</context-root>
</web>
</module>
<module>
<ejb>cdClient_EAR-ejb.jar</ejb>
</module>
</application>
So the Web archive, cdClient_EAR-web.war, will show up in Tomcat as
something like
http://localhost:8080/cdClient/
and your Tomcat servlets should be able to access the EJB defined in module
cdClient_EAR-ejb.jar.
(As far as I can see, <display-name>cdClient_EAR</display-name> isn't used
in jBoss and can be left out.)
-- Ken Jenks, http://abiblion.com/
Tools for reading.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user