...My error...
I have an EAR containing:-
/lib/support.jar
/MyStruts.war
MyStruts.war uses a manifest.mf to reference the support.jar
JBoss correctly adds the /lib/support.jar onto the common classpath when the
WAR is deployed....however....When a JSP is compiled it does not find any
JARS in the WEB-INF/lib or any classes in the WEB-INF/classes...(Except
taglibs for some reason!!??)
This is only a problem when the WAR is in an EAR...If I move the support.jar
into the WAR and deploy in webapps (not deploy) everything is ok.
The EAR only works when the *HACK* is applied.
Somewhere there is a posting saying that there is a classpath problem
between Tomcat and Jasper...
Lewis
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Scott M
Stark
Sent: 24 June 2001 04:59
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Tomcat/Jakarta Struts
There are tests of a JSP page accessing classes from WEB-INF/lib/jars
and WEB-INF/classes in the jbosstest module and these work. What
is the use case you have that does not work? Your workaround is not
valid in my opinion. Many people have struts working correctly using
JBoss/Tomcat so one usage problem isn't a valid reason for this hack.
The general way of submitting patches is through the sourceforge patches
page: http://sourceforge.net/tracker/?group_id=22866&atid=376687
----- Original Message -----
From: "Lewis Henderson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 22, 2001 2:13 AM
Subject: RE: [JBoss-user] Tomcat/Jakarta Struts
> There is a problem between JBoss & Tomcat embedded which means that the
full
> classpath is not being handed on to the JSP's. I have a HACK!!! which adds
> the WEB-INF/classes and WEB-INF/lib/*.jar onto the 'common classpath'. I
am
> not sure if this is a valid thing to do! I have attached the hack...
>
> If anyone can tell me if this is/is not the correct thing to do...please
> either point me in the direction of the REAL bug so that I can go fix
it!!!
>
> Lewis
>
> P.S. Is there a 'recommended' way of offering patches?
>
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user