Accessibility
Adobe
Sign in My orders My Adobe

Title

Precompiled JSP files for deployment in JRun 4Products affected

Issue

In JRun 4, when you compile a JSP using the JSPC off-line compiler, three different types of files are generated, .class, .ct, and .dep files.

If you try to deploy only the .class file, without the .ct and .dep files for the JSP, the following error will be thrown:

 java.lang.NoClassDefFoundError at jrun.jsp.runtime.ConstantTable.load(ConstantTable.java:51) ... 

Reason

The .ct and .dep files are required, along with .class files, for pre-compiled JSP files.

The .ct file is a repository of all the string literals used in the page. This is useful in reducing the size of thejspservice method. The .dep file stores the page dependencies, all the files on which the page is dependent. So, whenever one of the dependencies is changed, for example, an included JSP page, the JSP is recompiled and reloaded.

Solution

To workaround this issue, all three files must be deployed together.


Doc ID
(3d56f35c)

Last updated
2006-02-08

Products affected

Contacting Adobe Support

Still need help?
Find out about all your support options.
Contact support