tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Low Han Ming" <low_hanm...@yahoo.com.sg>
Subject Help : Tomcat having problem compilng _jsp.java to \work\Standalone\localhost
Date Thu, 19 Jan 2006 15:02:41 GMT
Hi all,

I'm having a problem with tomcat compiling the *_jsp.java file to
\work\Standalone\localhost\mywebapp

Tomcat does produce the *_jsp.java correctly, but could not produce the
*_jsp.class.

I think Tomcat is trying to output to a temporary file to a write restricted
directory, I'm having error running the application as the directory is
shown in the log as attached at the end of the mail.
As shown in the last line of log
/sbcimp/run/pd/jakarta-tomcat/4.1.27/bin/ is a read only directory.

Is there any way I can direct tomcat to produce the temporary file to other
directory.
Is CATALINA_TMPDIR the directory I should set?

I really really appreciate any possible advice.

Thanks a million in advance.


Han Ming








2006-01-19 10:07:03 JspEngine --> /login.jsp
2006-01-19 10:07:03 	     ServletPath: /login.jsp
2006-01-19 10:07:03 	        PathInfo: null
2006-01-19 10:07:03 	        RealPath:
/sbclocal/web/dyn/data/ussc/struts/struts-app/login.jsp
2006-01-19 10:07:03 	      RequestURI: /ussc/login.jsp
2006-01-19 10:07:03 	     QueryString: null
2006-01-19 10:07:03 	  Request Params:
2006-01-19 10:07:13 Error compiling file:
/sbclocal/web/dyn/data/ussc/work/Standalone/localhost/ussc/login_jsp.java
Project base dir set to: /sbcimp/run/pd/jakarta-tomcat/4.1.27
Detected Java version: 1.3 in: /sbcimp/run/tp/sun/jre/v1.3.1_09
Detected OS: SunOS
    [javac] login_jsp.java added as
/sbclocal/web/dyn/data/ussc/work/Standalone/localhost/ussc/login_jsp.class
doesn't exist.
    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compiling 1 source file
    [javac] Using external javac compiler
    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compilation arguments:
    [javac] '-classpath'
    [javac]
'/sbcimp/run/pd/jakarta-tomcat/4.1.27/bin/bootstrap.jar:/sbclocal/web/dyn/da
ta/ussc/struts/struts-app/WEB-INF/classes:
......   a series of jars here
:/sbcimp/run/pd/jakarta-tomcat/4.1.27/common/lib/servlet.jar'
    [javac] '-sourcepath'
    [javac] '/sbclocal/web/dyn/data/ussc/work/Standalone/localhost/ussc'
    [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]
/sbclocal/web/dyn/data/ussc/work/Standalone/localhost/ussc/login_jsp.java


2006-01-19 10:07:13 Info: Compile:
javaFileName=/sbclocal/web/dyn/data/ussc/work/Standalone/localhost/ussc/logi
n_jsp.java
    classpath=/sbclocal/web/dyn/data/ussc/struts/struts-app/WEB-INF/classes/
:
......   a series of jars here
     cp=/sbcimp/run/pd/jakarta-tomcat/4.1.27/common/lib/servlet.jar
     work dir=/sbclocal/web/dyn/data/ussc/work/Standalone/localhost/ussc
    srcDir=/sbclocal/web/dyn/data/ussc/work/Standalone/localhost/ussc
    include=login_jsp.java
Exception compiling Error creating temporary file

2006-01-19 10:07:13 Exception:
Error creating temporary file
	at
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExtern
alCompile(DefaultCompilerAdapter.java:433)
	at
org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.
java:81)
	at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:840)
	at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
	at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:317)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
	at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4
73)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1
90)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:684)
	at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:432)
	at
org.apache.catalina.core.ApplicationDispatcher.access$0(ApplicationDispatche
r.java:360)
	at
org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(Applica
tionDispatcher.java:131)
	at java.security.AccessController.doPrivileged(Native Method)
	at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:348)
	at
com.basicelement.struts.filter.LoginFilter.doFilter(LoginFilter.java:100)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:213)
	at
org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterCh
ain.java:197)
	at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain
.java:176)
	at java.security.AccessController.doPrivileged(Native Method)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:172)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
com.ubsib.inet.valves.ubs_RequestFilterValve.process(ubs_RequestFilterValve.
java:339)
	at
com.ubsib.inet.valves.ubs_ApacheHostValve.invoke(ubs_ApacheHostValve.java:95
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:466)
	at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:585)
	at java.lang.Thread.run(Thread.java:479)
--- Nested Exception ---
java.io.FileNotFoundException:
/sbcimp/run/pd/jakarta-tomcat/4.1.27/bin/files1284638917 (Read-only file
system)

Send instant messages to your online friends http://asia.messenger.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message