Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Release Notes

- Previous: Using the AMX API, removing a J2EE application reference from a server removes the application, but the application is still accessible. (ID 6173248)
- Next: Performance degradation on multi-CPU machines. (ID 6194026)

#### Solution

Set the JSP compilation switch `fork` to `false`.

This can be done either of two ways:

- Globally, by setting the `fork init` parameter of the `JspServlet` in `${S1AS_HOME}/domains/domain1/config/default-web.xml` to `false`:

      <servlet\> <servlet-name\>jsp</servlet-name\> <servlet-class\>org.apache.
      jasper.servlet.JspServlet</servlet-class\> .... <init-param\> <param-name\>
      fork</param-name\> <param-value\>false</param-value\> </init-param\> ....
      </servlet\>

- On a per-web application basis, by setting the `fork` JSP configuration property in `sun-web.xml` to `false`:

      <sun-web-app\> <jsp-config\> <property name="fork" value="false" /\>
      </jsp-config\> </sun-web-app\>

  Either setting will prevent `ant` from spawning a new process for `javac` compilation.

- Previous: Using the AMX API, removing a J2EE application reference from a server removes the application, but the application is still accessible. (ID 6173248)
- Next: Performance degradation on multi-CPU machines. (ID 6194026)

- © 2010, Oracle Corporation and/or its affiliates