Thank you for your quick reply. Again, "putting support classes for jsp in a package" is rather cryptic. The test JSPs (jsp-examples) run just fine. Are you saying that for a JSP application all the required classes/jars MUST be in the local webapp's WEB-INF directory? The Classloader Howto seems to indicate that this is the default search path for classes/jars:
* Bootstrap classes of your JVM * System class loader classses (described above) * /WEB-INF/classes of your web application * /WEB-INF/lib/*.jar of your web application * $CATALINA_HOME/common/classes * $CATALINA_HOME/common/endorsed/*.jar * $CATALINA_HOME/common/i18n/*.jar * $CATALINA_HOME/common/lib/*.jar * $CATALINA_BASE/shared/classes * $CATALINA_BASE/shared/lib/*.jar The local classes needed by the webapp are in the local WEB-INF. Shared have been placed in /shared/lib as documented on the Tomcat site. My thoughts as of now are these: 1. Is there a .sh script that needs to be edited to set the appropriate class path at a system level? 2. Is there an XML file or tag that needs to be created/edited for my JSPs to compile correctly? 3. Most of my JSPs have an @import statement at the beginning, could the path of that itself be a problem? -----Original Message----- From: sven morales [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 12:26 PM To: Tomcat Users List Subject: Re: Several configuration issues with Tomcat 5.5.7/Apache2 compiling JSPs Hi, One of the things you have to do is put support classes for jsp in a package. I dont recall when those requirements has changed. aka_sergio --- Sam Halicke <[EMAIL PROTECTED]> wrote: > Hi all, first time posting to the list. > > I'm having several problems migrating JSPs and > class/jar files to Tomcat > 5.5.7 from Tomcat 3. I understand this is a big > move, but I'm trying to > avoid any rewrite of the JSPs themselves. > Documentation for tomcat 5.5.x is > rather sparse and terribly cryptic. > > Each webapp is using its own local classes (which I > have copied into the > local WEB-INF directory in /classes /lib etc.), as > well as some common > classes/jars which have been copied into the > /tomcat/common/ directory tree. > Should I be using the /tomcat/shared/ tree? This > does not seem to matter as > jasper will consistently throw me errors from > compiling the JSPs. > > Here is the root cause of one such error: > > HTTP 500 - Internal Server Error > > ROOT CAUSE > java.lang.NullPointerException > > biz.shipflex.Configuration.getConfiguration(Configuration.java:51) > > org.apache.jsp.ShipFlex.Website.MainPage_jsp._jspService(org.apache.jsp.Ship > Flex.Website.MainPage_jsp:52) > > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3 > 25) > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > My basic setup is as follows: > > Apache 2.x /usr/local/apache > Tomcat 5.5.7 /usr/local/tomcat > > [EMAIL PROTECTED] tomcat]# echo $CLASSPATH > /usr/local/tomcat/webapps/Common/Classes/:/usr/local/tomcat/webapps/Shipping > /Classes/:/usr/local/tomcat/webapps/scripts/Classes/:/usr/java/jdk1.5.0_01/l > ib/ > > I have a feeling its something with my CLASSPATH, > again, this is a touchy > migration. > > I'll gladly copy any portions of web.xml and/or > server.xml, etc to an > additional message if needed. Any help or > suggestions on things/files to > look at would be most appreciated. > > TIA > ******************************************** > Sam Halicke > Systems Administrator > IMSure Network, Inc. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]