Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

JSPs not compiled under different instances of Tomcat

Marco CAMPIGLIO

2004-04-23

Replies:

Hi all!
I'm running two instances of Tomcat 4.1.30 on a Windows 2000 machine. The two instances listen to port 8080 and 7001 (ok I'd like BEA...).
With both I'm having problems compiling JSP pages. For example, as soon as I try to access to the examples folder and try to compile one JSP, here it comes:


org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null


Generated servlet error:
  [javac] Compiling 1 source file



 at org.apache.jasper.compiler.DefaultErrorHandler.javacError (DefaultErrorHandler.java:130)
 at org.apache.jasper.compiler.ErrorDispatcher.javacError (ErrorDispatcher.java:293)
 at org.apache.jasper.compiler.Compiler.generateClass (Compiler.java:353)
 at org.apache.jasper.compiler.Compiler.compile (Compiler.java:370)
          ...

The same if I try to access to the Admin application, for example.
The procedure I followed to have multiple instances is the usual: two folders under which I put conf, logs, webapps, work and temp. Then configuration of server.xml for both changing ports. Then I created two Windows services for starting/stopping the instances.

Obviously if I use the single original instance under the installation folder of Tomcat everything runs well.

Any tip??


Thanks,
MarcoC


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.