2 Replies Latest reply on Dec 1, 2009 1:54 PM by Christian Longberg

    jboss adds

    Christian Longberg Newbie

      JBoss is looking for tmp files in the "wrong" directory. For example, in our case the tmp files are created in:

      tmp/deploy/tmp6516248728899508581OurApp_Ear.ear-contents/OurApp_Web-exp.war/WEB-INF/jsp/


      but jboss is looking for them in (note the extra "localhost" in path):

      tmp/deploy/tmp6516248728899508581OurApp_Ear.ear-contents/OurApp_Web-exp.war/localhost/WEB-INF/jsp


      wich results in:
       stat("/usr/local/jboss-4.2.2.GA/server/OurApp-node0/tmp/deploy/tmp6516248728899508581OurApp_Ear.ear-contents/OurApp_Web-exp.war/localhost/WEB-INF/jsp/something.jsp", 0x7f8c84bf3060) = -1 ENOENT (No such file or directory)
      


      I.e. file not found and bad performance because JBoss will compile the jsp on every request.

      How can we resolve this issue?