Skip to Content
0
Aug 08, 2005 at 07:41 PM

Execution Error NW SP11.

23 Views

Hi,

I have the following strange error after an upgrade to SP11.

I have a Constant.java file which contains all the constants of my application.

The constants are refered in the my JSP file, I'm using a lot of constants in the same page, some of them are reconized but not theses three. (see below) .

When I create another Constant2.java and I put these three constants (I modify the JSP to refer to theses constants) every thing is OK.

- I don't have any problem at compilation phase.

- My Ear file is deployable in another web server (SP6).

- Our nightly build is also deployable on my localhost but I got the same error.

Is there someone who can help, I tried many combinations, many version of the JAVA without success ?

Thanks in advance.

Malika.

Here the trace file:

Aug 8, 2005 3:18:31 PM [Error ] Error while processing the request admin

com.sap.engine.services.servlets_jsp.server.jsp.exceptions.CompilingException: Error while executing the compilation process: C:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/sap.com/scem50/servlet_jsp/scem50/work/jsp_scem_admin1123528710712.java:582: cannot resolve symbol

symbol : variable ADMIN_ERROR_MESSAGE

location: class com.sap.scem.util.Constant

jspxth_scem_admin_1.setTagMethodName(Constant.ADMIN_ERROR_MESSAGE);

^

C:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/sap.com/scem50/servlet_jsp/scem50/work/jsp_scem_admin1123528710712.java:722: cannot resolve symbol

symbol : variable ADMIN_SAVE_AS_DEFAULT

location: class com.sap.scem.util.Constant

out.print(Constant.ADMIN_SAVE_AS_DEFAULT);

^

C:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/sap.com/scem50/servlet_jsp/scem50/work/jsp_scem_admin1123528710712.java:750: cannot resolve symbol

symbol : variable ADMIN_RESTORE_PROPERTIES

location: class com.sap.scem.util.Constant

out.print(Constant.ADMIN_RESTORE_PROPERTIES);

^

3 errors

.

at com.sap.engine.services.servlets_jsp.server.jsp.JavaCompiler.compileExternal(JavaCompiler.java:137)

at com.sap.engine.services.servlets_jsp.server.jsp.JavaCompiler.compile(JavaCompiler.java:256)

at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.generateJavaFile(JSPParser.java:367)

at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:106)

at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.getClassName(JSPServlet.java:238)

at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.compileAndGetClassName(JSPServlet.java:428)

at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:169)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:290)

at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:346)

at com.sap.scem.servlet.ScemServlet.displayJsp(ScemServlet.java:746)

at com.sap.scem.servlet.ScemServlet.processRequest(ScemServlet.java:706)

at com.sap.scem.servlet.ScemServlet.performTask(ScemServlet.java:476)

at com.sap.scem.servlet.ScemServlet.doGet(ScemServlet.java:348)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:391)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)