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

    jboss adds

      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?

        • 1. Re: jboss adds
          jaikiran

          Please post the entire exception stacktrace. Also post the version of JBoss and Java you use. And which OS? What command do you use to start the server?

          • 2. Re: jboss adds

            We are using jboss 4.2.2
            OS Ubuntu v9.10
            Java version 1.6.0_17 x64
            Using "strace" to get the error message

            starting jboss with arguments:
            -Dfile.encoding=ISO-8859-1 -Xms1024m -Xmx2048m -XX:MaxPermSize=256m