Hi,
We had just migrate our application from VAJ 3.5 to WSAD. Following are few important points related to appln architecture.
- We have 90 EJBs (which are ported in
EJB Project)
- Around 3000 classes (which are ported in Application Client project)
- 200 JSPs (which are ported in Web Project).
- All the above project are in one Enterprise Application Project.
After porting the code to WSAD we got some EJB 1.1 specification issues which we had already resolved. Now there are no errors in project, but still there are some warnings related to
JSP specification (only related to session.putvalue() method).
When we are trying to access our first jsp it gives following error :
Error Message: com/citigroup/cepaac/arch/crypto/SecurityException
Error Code: 500
Target
Servlet: null
Error Stack:
java.lang.Exception: com/citigroup/cepaac/arch/crypto/SecurityException
at arch.FirstPage_jsp_3._jspService(FirstPage.jsp :101)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:139)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:286)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:415)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:544)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:159)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:286)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:106)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:499)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:278)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:105)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:67)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:123)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:122)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:313)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:242)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
Error Page Exception:
Error Message: JSPG0113E: JSP file "D:\Program Files\IBM\Application Developer\workspace\CePACWeb\webApplication\error.jsp (The system cannot find the file specified)" not found
Error Code: 404
Target Servlet: JSP 1.1 Processor
Error Stack:
com.ibm.servlet.engine.webapp.WebAppErrorReport: JSPG0113E: JSP file "D:\Program Files\IBM\Application Developer\workspace\CePACWeb\webApplication\error.jsp (The system cannot find the file specified)" not found
at com.ibm.servlet.engine.webapp.WebAppDispatcherResponse.sendError(WebAppDispatcherResponse.java:97)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:296)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:415)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:544)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:159)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:286)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:106)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:499)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:278)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:111)
at com.ibm.servlet.engine.webapp.WebApp.sendError(WebApp.java:620)
at com.ibm.servlet.engine.webapp.WebApp.sendError(WebApp.java:546)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:92)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:123)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:122)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:313)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:242)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
When i had tried to debug then found out that it throws error after executing of following sequence of code :
- Jsp calls a method
java bean (which is in Application Client Project) and from this method we are accessing static variable of a class (which is also in Application client project and also in same package as of java bean). At this point system throws error and comes out. it seems that as if static variables are not loaded as
Test Environment goes up.
Following is the console log of server. There is no line which says that initialising Application Client PRoject.
*** Starting the server ***
IBM WebSphere Application Server, Release 4.0.1
Advanced Single Server Edition for Multiplatforms
Copyright IBM Corp., 1997-2001
************ Start Display Current Environment ************
WebSphere AEs 4.0.1 a0131.07 running with process name localhost/Default Server and process id 245
Host Operating System is Windows NT, version 4.0
Java version = J2RE 1.3.0 IBM build cn130-20010609 (JIT disabled), Java Compiler =
server.root = D:/Program Files/IBM/Application Developer/plugins/com.ibm.etools.websphere.runtime
Java Home = D:\Program Files\IBM\Application Developer\plugins\com.ibm.etools.server.jdk\jre
ws.ext.dirs = D:/Program Files/IBM/Application Developer/plugins/com.ibm.etools.server.jdk/lib;D:/Program Files/IBM/Application Developer/plugins/com.ibm.etools.websphere.runtime/classes;D:/Program Files/IBM/Application Developer/plugins/com.ibm.etools.websphere.runtime/lib;D:/Program Files/IBM/Application Developer/plugins/com.ibm.etools.websphere.runtime/lib/ext;D:/Program Files/IBM/Application Developer/plugins/com.ibm.etools.websphere.runtime/web/help;D:/Program Files/IBM/Application Developer/plugins/com.ibm.etools.websphere.tools/runtime/wasListener.jar;D:/Program Files/IBM/Application Developer/plugins/com.ibm.etools.webservice/runtime/worf.jar
Classpath = D:/Program Files/IBM/Application Developer/plugins/com.ibm.etools.websphere.runtime/properties;D:/Program Files/IBM/Application Developer/plugins/com.ibm.etools.websphere.runtime/lib/bootstrap.jar;D:/Program Files/IBM/Application Developer/plugins/com.ibm.etools.websphere.tools/runtime/wteServers.jar;D:/Program Files/IBM/Application Developer/plugins/com.ibm.etools.websphere.tools/runtime/wasTools.jar
Java Library path = D:/Program Files/IBM/Application Developer/plugins/com.ibm.etools.websphere.runtime/bin;D:\Program Files\IBM\Application Developer\jre\bin;.;C:\WINNT\System32;C:\WINNT;C:\Oracle\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\IBM Connectors\Encina\bin;C:\WINNT\system32;C:\WINNT;C:\Fujitsu\iflow\bin;C:\Fujitsu\iflow\jre\bin;C:\Fujitsu\iflow\jre\bin\classic;C:\Fujitsu\iflow\win32\lib;C:\Fujitsu\iflow\vrt\Bin;C:\Fujitsu\iflow\jrt\bin;C:\Sybase\DLL;C:\Sybase\BIN;C:\sybtools\WIN32;C:\sybtools\ASEP;d:\Program Files\jdk1.3.0_02\bin;d:\WebSphere\AppServer\bin;D:\Program Files\Rational\common;D:\Program Files\Rational\ClearCase\bin;;C:\PROGRA~1\E!PC;
Current trace specification =
************* End Display Current Environment *************
[02.09.06 13:38:38:986 GMT+08:00] 42d85e9e Server U Version : 4.0.1
[02.09.06 13:38:39:226 GMT+08:00] 42d85e9e Server U Edition: Advanced Single Server Edition for Multiplatforms
[02.09.06 13:38:39:226 GMT+08:00] 42d85e9e Server U Build date: Thu Aug 09 00:00:00 GMT+08:00 2001
[02.09.06 13:38:39:236 GMT+08:00] 42d85e9e Server U Build number: a0131.07
[02.09.06 13:38:54:488 GMT+08:00] 42d85e9e DrAdminServer I WSVR0053I: DrAdmin available on port 7000
[02.09.06 13:38:55:209 GMT+08:00] 42d85e9e ResourceBinde I WSVR0049I: Binding Session Persistence datasource as jdbc/Session
[02.09.06 13:38:55:920 GMT+08:00] 42d85e9e ResourceBinde I WSVR0049I: Binding CePACAPP as ApplicationDB
[02.09.06 13:39:10:571 GMT+08:00] 42d85e9e EJBEngine I WSVR0037I: Starting EJB jar: CePACEJB
[02.09.06 13:40:48:142 GMT+08:00] 42d85e9e ServletEngine A SRVE0161I: IBM WebSphere Application Server - Web Container. Copyright IBM Corp. 1998-2001
[02.09.06 13:40:49:223 GMT+08:00] 42d85e9e ServletEngine A SRVE0162I: Servlet Specification Level: 2.2
[02.09.06 13:40:49:233 GMT+08:00] 42d85e9e ServletEngine A SRVE0163I: Supported JSP Specification Level: 1.1
[02.09.06 13:40:52:418 GMT+08:00] 42d85e9e ServletEngine A SRVE0167I: Session Manager is Configured - Initializing...
[02.09.06 13:40:55:682 GMT+08:00] 42d85e9e CacheManager A DYNA0011E: Servlet cache file dynacache.xml not found; caching is disabled
[02.09.06 13:40:56:113 GMT+08:00] 42d85e9e ServletEngine A SRVE0169I: Loading Web Module: UTC.
[02.09.06 13:40:56:824 GMT+08:00] 42d85e9e SystemOut U Getting tempdir: D:\Program Files\IBM\Application Developer\workspace\.metadata\.plugins\com.ibm.etools.server.tools\tmp1\cache\localhost\Default Server\IBMUTC\UTC.war
[02.09.06 13:40:57:966 GMT+08:00] 42d85e9e WebGroup I SRVE0091I: [Servlet LOG]: JSP 1.1 Processor: init
[02.09.06 13:40:58:186 GMT+08:00] 42d85e9e WebGroup I SRVE0091I: [Servlet LOG]: SimpleFileServlet: init
[02.09.06 13:40:58:316 GMT+08:00] 42d85e9e ServletEngine A SRVE0169I: Loading Web Module: CePACWeb.
[02.09.06 13:40:58:366 GMT+08:00] 42d85e9e SystemOut U Getting tempdir: D:\Program Files\IBM\Application Developer\workspace\.metadata\.plugins\com.ibm.etools.server.tools\tmp1\cache\localhost\Default Server\CePAC\CePACWeb.war
[02.09.06 13:40:58:787 GMT+08:00] 42d85e9e WebGroup I SRVE0091I: [Servlet LOG]: JSP 1.1 Processor: init
[02.09.06 13:40:58:827 GMT+08:00] 42d85e9e WebGroup I SRVE0091I: [Servlet LOG]: SimpleFileServlet: init
[02.09.06 13:40:58:887 GMT+08:00] 42d85e9e WebGroup I SRVE0091I: [Servlet LOG]: InvokerServlet: init
[02.09.06 13:40:59:638 GMT+08:00] 42d85e9e HttpTransport A SRVE0171I: Transport http is listening on port 8,080.
[02.09.06 13:41:00:089 GMT+08:00] 42d85e9e Server A WSVR0023I: Server Default Server open for e-business
Anybody, pls. help me on this issue as i'm not able to find out a solution from last 3 days.
Thanks & regards,
Tarun