I've compiled jbossweb-tomcat50.sar and copied it to 
/var/lib/jboss/<server-name>/deploy directory instead of jbossweb-tomcat41.sar

When I'm requesting some jsp from the server, I get:

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

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:558)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:853)


root cause

java.io.FileNotFoundException: 
/usr/share/jboss/server/<server-name>/work/jboss.web/localhost/skynet/org/apache/jsp/explorer_jsp.java
 (No such file or directory)
        java.io.FileOutputStream.open(Native Method)
        java.io.FileOutputStream.(FileOutputStream.java:176)
        java.io.FileOutputStream.(FileOutputStream.java:70)
        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:223)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
--------------------------------------------------

Service tomcat41 have taken such files from /var/tmp/work/MainEngine/localhost

Does anybody know, where can I change the directory? 

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826950#3826950";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826950>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to