-
1. Re: JSP CLASSPATH
burnsanthony Mar 30, 2002 5:00 PM (in response to aanchalm)I have same exact problem
-
2. Re: JSP CLASSPATH
jules_gosnell Apr 2, 2002 10:37 AM (in response to aanchalm)
2.4.4 or 3.0 ?
Jetty or Tomcat ?
If Tomcat - try Jetty.
If Jetty AND 3.0 - I will fix it.
Jules -
3. Re: JSP CLASSPATH
shivva Jul 16, 2002 5:17 AM (in response to aanchalm)Hi
i also got the same problem.
am using jboss3 with tomcat.
please help
Thanks in advance
shivva -
4. Re: JSP CLASSPATH
randygo Jul 16, 2002 2:28 PM (in response to aanchalm)
Yeah, I reported this problem on this forum a few
weeks ago but got no response. The problem seems
to be with the JBoss 3.0/Tomcat distribution.
JSPs can't see classes that live in JARs packaged
at the EAR level.
Works with Websphere, JBoss 2.0 and every other
app server we've tried.
I'm eagerly awaiting a fix so we can start using JBoss 3.0. -
5. Re: JSP CLASSPATH
wdrai Jul 17, 2002 4:33 AM (in response to aanchalm)I'm also using JBoss 3 with libs at EAR level and I had this problem with the JSP classpath :
You have to add a MANIFEST.MF in the META-INF of your webapp like this :
Class-Path: ./lib/your.jar
Hope this helps -
6. Re: JSP CLASSPATH
randygo Jul 17, 2002 7:36 PM (in response to aanchalm)
We DO have a reference to the library JAR in the
META-INF/MANIFEST.MF of the webapp's WAR file.
In our case the library JAR lives at the root of the EAR,
not in ./lib, so we have declared in the MANIFEST.MF:
Class-Path: x.jar
It does not work with JBoss3.0/Tomcat.
It works with JBoss2.0/Tomcat and Websphere. -
7. Re: JSP CLASSPATH
bbrantley Jul 24, 2002 11:56 PM (in response to aanchalm)Hello,
I'm having all the of the same problems mentioned above, with either Jboss 3.0.0 Tomcat OR Jetty. In either case, if the JSP in the WAR tries to reference any classes I expect to be loaded via the manifest class-path, the compile fails. Is there ANY solution to this on the horizon?
I don't have the option to include every since extension JAR in my WEB-INF/lib directory.
Thanks,
Ben -
8. Re: JSP CLASSPATH
jules Jul 27, 2002 4:19 AM (in response to aanchalm)If you are using the MANIFEST.MF classpath tag, I've heard that if there is no new line at the end, it will not be picked up...
Does that help ?
Jules -
9. Re: JSP CLASSPATH
hyao Jul 31, 2002 10:32 AM (in response to aanchalm)Hi, there.
I saw you post a question about "JSP CLASSPATH", I met a problem here about JSP too. I have a .ear file which consists of one .war file and .jar file. I can deploy successfully my ear file, but when I access my JSP file, it can not find any classes which I did saw in .war file.
Do you know what's wrong? or this is the problem you mentioned.
Please help me.
Thanks,
hongmei