Actually, a simple scenario has finally occurred to me.
I believe on Linux, the Servlet/JSP APIs are packaged separately
from the Tomcat package.  Installing Tomcat on the first
system probably installed an updated version of the Servlet/JSP
APIs.  By copying instead of installing on second system, you
are using whatever Servlet/JSP API that happens to be
installed.  Apparently, this is an older version.  It would be
better if you installed the three apps on the second system and
only copied your configuration changes, provided my assumptions
are correct.

Cheers,
Larry

> -----Original Message-----
> From: Larry Isaacs [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 31, 2006 2:33 PM
> To: Tomcat Users List; [EMAIL PROTECTED]
> Subject: RE: JSP Compilation Errors - Tomcat 5.5.17
> 
> This implies you are picking up older Servlet 2.2/JSP 1.1 API 
> classes somehow, which is overriding the desired Servlet 
> 2.4/JSP 2.0 API classes.  The API classes are backward 
> compatible, but not forward compatible as this case 
> illustrates.  I don't know enough about Fedora to say how 
> this could come about with what you are copying to the second 
> system.  It does imply the "classpath" isn't what you are 
> assuming it to be.  Check around for j2ee.jar or servlet.jar 
> somehow getting into the picture.  HTH.
> 
> Cheers,
> Larry
> 
> > -----Original Message-----
> > From: AC [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, May 31, 2006 1:48 PM
> > To: users@tomcat.apache.org
> > Subject: JSP Compilation Errors - Tomcat 5.5.17
> > 
> > Hi,
> > 
> > I'm working on setting up a couple of new webservers -- Fedora with 
> > Apache 2.2.2, jdk 1.5.0_06 and tomcat 5.5.17.  I successfully got 
> > everything working on the first, and then tar'd up the entire setup 
> > (all 3 apps are on a dedicated
> > filesystem) and copied it over to the second machine.  When 
> I untar'd 
> > it and it started up, it's unable to compile any jsp 
> pages...gives the
> > 
> > org.apache.jasper.JasperException: Unable to compile class for JSP
> > 
> > Generated servlet error:
> > The method handlePageException(Exception) in the type 
> PageContext is 
> > not applicable for the arguments (Throwable)
> > 
> > error.
> > 
> > I've tried reinstalling the O/S to no avail, as well as the 
> > apache/java/tomcat, but it just doesn't seem to want to work.
> > 
> > Any ideas?
> > 
> > Thanks
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org To 
> unsubscribe, 
> > e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org To 
> unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to