0 Replies Latest reply on Jul 10, 2003 5:37 PM by Reza Akhavan

    One installation, multiple deployment

    Reza Akhavan Newbie

      I would like to install JBOSS on a read-only file system and have multiple deployment (one per host) of the same installation on Unix environment.

      we have a restriction that we do not have access to local file systems except for /tmp and /var/tmp

      I had lots of success already. However, I am having difficulties with compiling JSPs.

      This is what I did:

      I installed jboss-3.2.1_tomcat-4.1.24 on a read-only file system and modified jboss-3.2.1_tomcat-4.1.24/server/default to be a link to /var/tmp. i.e.,
      /readonly/jboss-3.2.1_tomcat-4.1.24/server/default ->

      This way, every JBOSS instance can have its own writable area to expand WAR/EAR files and to write log files. And, all instances can share the read only part of the installation.

      This worked very well for WAR file expansion and writing log files.

      However, it did not work when trying to compile JSPs. Java file for JSP is actually created and written to:


      But, it could not create the class file. I get following error when JSP is invoked:
      org.apache.jasper.JasperException: Unable to compile class for JSP

      An error occurred at line: -1 in the jsp file: null

      Generated servlet error:
      [javac] Compiling 1 source file

      Does anyone know why?
      Or, can anyone suggest another way to have one installation, multiple deployment?
      Is there a configuration file where I can specify where to write deployment related files to?