At the moment tomcat 4.1.10 is not
compiling any .jsp files.
It is not including the \WEB-INF\classes\ directory and the
directories beneath this path into the classpath.
Jasper seems to think that the path should start at C:\ when
everything is installed on my D:\.
All the other necessary class files which are .jar files are
included in the classpath. These come from the default directories
common\lib, server\lib, and shared\lib.
I have included some of the output when compilation of a jsp
takes place. I increased the debug level for the JspServlet.
Generated servlet error:
Detected Java version: 1.3 in: D:\jdk1.3.1_03\jre Detected OS: Windows 2000 [javac] main_jsp.java added as D:\tomcat-4.1.10\work\Standalone\localhost\equal\main_jsp.class doesn't exist. [javac] Compiling 1 source file [javac] Using modern compiler dropping C:\D from path as it doesn't exist dropping C:\tomcat-4.1.10\webapps\equal\WEB-INF\classes from path as it doesn't exist dropping C:\tomcat-4.1.10\webapps\equal\WEB-INF\lib\activation.jar from path as it doesn't exist [javac] Compilation arguments: [javac] '-classpath' [javac] 'D:\tomcat-4.1.10\bin\bootstrap.jar;D:\tomcat-4.1.10\shared\classes;D:\tomcat-4.1.10\shared\lib\jcommon-0.6.0.jar;D:\tomcat-4.1.10\shared\lib\jdbc.jar;D:\tomcat-4.1.10\shared\lib\jfreechart-0.8.0.jar;D:\tomcat-4.1.10\shared\lib\mail.jar;D:\tomcat-4.1.10\shared\lib\struts.jar;D:\tomcat-4.1.10\common\classes;D:\tomcat-4.1.10\common\endorsed\xercesImpl.jar;D:\tomcat-4.1.10\common\endorsed\xmlParserAPIs.jar;D:\tomcat-4.1.10\common\lib\activation.jar;D:\tomcat-4.1.10\common\lib\ant.jar;D:\tomcat-4.1.10\common\lib\commons-collections.jar;D:\tomcat-4.1.10\common\lib\commons-dbcp.jar;D:\tomcat-4.1.10\common\lib\commons-logging-api.jar;D:\tomcat-4.1.10\common\lib\commons-pool.jar;D:\tomcat-4.1.10\common\lib\jasper-compiler.jar;D:\tomcat-4.1.10\common\lib\jasper-runtime.jar;D:\tomcat-4.1.10\common\lib\jdbc2_0-stdext.jar;D:\tomcat-4.1.10\common\lib\jndi.jar;D:\tomcat-4.1.10\common\lib\jta.jar;D:\tomcat-4.1.10\common\lib\mail.jar;D:\tomcat-4.1.10\common\lib\naming-common.jar;D:\tomcat-4.1.10\common\lib\naming-factory.jar;D:\tomcat-4.1.10\common\lib\naming-resources.jar;D:\tomcat-4.1.10\common\lib\servlet.jar;D:\tomcat-4.1.10\common\lib\tools.jar' [javac] '-sourcepath' [javac] 'D:\tomcat-4.1.10\work\Standalone\localhost\equal' [javac] '-encoding' [javac] 'UTF8' [javac] '-g' [javac] [javac] The ' characters around the executable and arguments are [javac] not part of the command. [javac] File to be compiled: [javac] D:\tomcat-4.1.10\work\Standalone\localhost\equal\main_jsp.java As can be seen above the classpath is created using the
directories starting at D:\ but when trying to include the classes for our web
application Jasper is using C:\.
What the HELL is going on. Does anybody have any insight as to
how I might solve this. Is there some parameter that I have not set for the
Jasper compiler or for Tomcat 4.1.10 itself.
Any help will be greatly appreciated.
Nathan.
|
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>