2 Replies Latest reply on Mar 3, 2004 8:01 AM by Chris Searle

    3.0.7->3.2.3 (Jetty) and compilation stops working

    Chris Searle Newbie


      I had a long-running 3.0.7 install running OK (but running as root - debian linux).

      Have just upgraded to jboss-3.2.3_jetty-4.2.14 - a plain vanilla install - no changes - apart from running as an own jboss user.

      Currently using jdk1.4.2_03.

      Now - opening jmx-console gives:

      2004-03-03 12:57:09,288 INFO [org.jboss.jetty] Error compiling file: /tmp/Jetty_0_0_0_0_8080__jmx-console/index_jsp.java

      and lower down

      Exception compiling Error creating temporary file

      2004-03-03 12:57:09,369 WARN [org.jboss.jetty] WARNING: Exception:
      Error creating temporary file
      at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:433)
      at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:81)

      which has a nested exception:

      --- Nested Exception ---
      java.io.FileNotFoundException: /files432760591 (Permission denied)
      at java.io.FileOutputStream.open(Native Method)

      It looks to me as if it's trying to use a file in the / directory???? No way is it supposed to be writing files to /

      The tmp directories all look OK (correct permissions etc).

      Further testing gives the same error for all JSPs.

      Is this a config issue? Is there a setting somewhere that isn't set?