Juergen, I copied you on this reply since you ran into the same this 
(bandwidth conservation!)

The issue you're running into is that the Jasper JSP implementation 
doesn't provide a way for us to extend the classpath that it launches 
the javac compiler with. Try pre-compiling your JSPs so that you can 
give it a classpath extending outside of the .war file it's in (advice I 
haven't tried! - i access EJBs through taglibs and (normal) beans so 
only run into this in quick-and-dirty testing code).

I _believe_ (but haven't tested!) that this is fixed in Tomcat 4.0.

hope this helped,
-danch

Bruyn, Bill wrote:

> rtfm, I know.
> 
> I've read the documentation at
> http://www.jboss.org/online-manual/HTML/ch13s78.html, and I thought I
> understood it, but I'm not able to get elements of my webapp to recognize
> elements of the ejb module.  Specifically, I have a JSP (bundled in a WAR)
> that is unable to import some classes bundled in a JAR from the same EAR.  I
> was hoping someone could point out the obvious...
> 
> I've tried a few different mutations (I've been guessing a little) but
> here's what I should work, based on my understanding of the doc.  BTW, I
> already know this is often considered a poor design choice.  :o]
> 
> TIA,
> 
> Bill Bruyn
> 
> application.xml
> ----------------------------------
> <module>
>   <web>
>     <web-uri>compliance.war</web-uri>
>     <context-root>csg/depts/legal/compliance/tracking</context-root>
>   </web>
> </module>
> <module>
>   <ejb>compliance.jar</ejb>
> </module>
> 
> 
> EAR contents:
> ----------------------------------
> META-INF/
> META-INF/MANIFEST.MF
> compliance.war
> compliance.jar
> META-INF/application.xml
> 
> WAR contents:
> ----------------------------------
> META-INF/
> META-INF/MANIFEST.MF (having the "Class-Path: ./compliance.jar" entry)
> WEB-INF/
> WEB-INF/jboss-web.xml
> WEB-INF/web.xml
> 
> JAR contents:
> ----------------------------------
> META-INF/
> META-INF/MANIFEST.MF
> com/
> com/avnet/
> com/avnet/csg/
> com/avnet/csg/compliance/
> com/avnet/csg/compliance/Incident.class
> com/avnet/csg/compliance/IncidentBean.class
> com/avnet/csg/compliance/IncidentHome.class
> META-INF/jaws.xml
> META-INF/jboss.xml
> META-INF/ejb-jar.xml
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 



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

Reply via email to