Actually, the problem is that a periodic Linux cron job cleans the /tmp directory and 
the embedded Jetty places the compiled JSP classes in this directory. Deleting these 
means that the compiled JSP code can no longer be run - hence no web application.

Create another directory to which Jetty can write its compiled JSP classes.
e.g. Create a directory /jetty to which JBoss server has permission to write.

Add to JBOSS_HOME/bin/run.conf the following or append to the JAVA_OPTS definition if 
it already exists in the file:
JAVA_OPTS="-Djava.io.tmpdir=/jetty"

Jetty will now write its compiled JSP classes into that directory. You can check this 
by running the http://localhost:8080/jmx-console application and then going to the 
Linux command line and listing the contents of /jetty. You should see some directories 
and some Java classes in those directories.

Hope that helps.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831409#3831409

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831409


-------------------------------------------------------
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-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to