JSP files not compiling correctly

I am using iAS 6.0 sp2 running on a solaris 2.8. After deploying our application using an ear file, I've noticed this sporadic problem:

When a jsp is accessed for the first time, it fails to compile correctly. Meaning that the java file is created but the class file is not.

To work around this problem, I have removed the java file created by the jsp and restarted the iAS server or have manually compiled the java file.

This is a stack trace from the kjs_1_CCS0 log file:

[29/Jan/2003 16:14:18:6] error: Exception: SERVLET-compile_failed: Failed in compiling template: /ARC/ARC/arcoffline/ARCOfflineMain.jsp, javac error: /app2/netscape/appserver/ias/APPS/ARC/ARC/WEB-INF/compiled_jsp/jsp/APPS/ARC/ARC /arcoffline/ARCOfflineMain.java:574: Method getMainRequestURL(javax.servlet.http.HttpServletRequest) not found in class com.pcsi.db.Ut.

String hostURL = Ut.getMainRequestURL(request);

^

Note: /app2/netscape/appserver/ias/APPS/ARC/ARC/WEB-INF/compiled_jsp/jsp/APPS/ARC/ARC /arcoffline/ARCOfflineMain.java uses or overrides a deprecated API. Recompile with "-deprecation" for details.

1 error, 1 warning

Exception Stack Trace:

java.lang.Exception: javac error: /app2/netscape/appserver/ias/APPS/ARC/ARC/WEB-INF/compiled_jsp/jsp/APPS/ARC/ARC /arcoffline/ARCOfflineMain.java:574: Method getMainRequestURL(javax.servlet.http.HttpServletRequest) not found in class com.pcsi.db.Ut.

String hostURL = Ut.getMainRequestURL(request);

^

Note: /app2/netscape/appserver/ias/APPS/ARC/ARC/WEB-INF/compiled_jsp/jsp/APPS/ARC/ARC /arcoffline/ARCOfflineMain.java uses or overrides a deprecated API. Recompile with "-deprecation" for details.

1 error, 1 warning

at java.lang.Throwable.fillInStackTrace(Native Method)

at java.lang.Throwable.fillInStackTrace(Compiled Code)

at java.lang.Throwable.<init>(Compiled Code)

at java.lang.Exception.<init>(Compiled Code)

at com.netscape.server.servlet.jsp.JSPCompiler.compileJSP(Compiled Code)

at com.netscape.server.servlet.jsp.JSPCompiler.compileOrLoadJSP(Compiled Code)

at com.netscape.server.servlet.jsp.JSPCompiler.compileInstance(Compiled Code)

at com.netscape.server.servlet.jsp.JSPCompiler.compileInstance(Compiled Code)

at com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callJspCom piler(Compiled Code)

at com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callUri(Co mpiled Code)

at com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callUriRes trictOutput(Compiled Code)

at com.netscape.server.servlet.platformhttp.PlatformRequestDispatcher.forward(Comp iled Code)

at arc.web.offline.ARCOffline.doGet(Compiled Code)

at javax.servlet.http.HttpServlet.service(Compiled Code)

at javax.servlet.http.HttpServlet.service(Compiled Code)

at com.netscape.server.servlet.servletrunner.ServletInfo.service(Compiled Code)

at com.netscape.server.servlet.servletrunner.ServletRunner.execute(Compiled Code)

at com.kivasoft.applogic.AppLogic.execute(Compiled Code)

at com.kivasoft.applogic.AppLogic.execute(Compiled Code)

at com.kivasoft.thread.ThreadBasic.run(Native Method)

at com.kivasoft.thread.ThreadBasic.run(Native Method)

at com.kivasoft.thread.ThreadBasic.run(Native Method)

at com.kivasoft.thread.ThreadBasic.run(Native Method)

at com.kivasoft.thread.ThreadBasic.run(Compiled Code)

at java.lang.Thread.run(Compiled Code)

Any thoughts or suggestions would be greatly appreaciated.

Thanks in advance.

[3673 byte] By [705589] at [2008-1-27]