I'm using websphere v 5.1 and the application is working when I run it on the local
test server but when it's runs on the production boxes these errors are showing up. The data is coming from the as 400 and the server is running on a win box. If it matters the application first valid user login information with active directory. Then it check the as 400 for the current employee record and display the data.
The error is list below with the code:
[5 20 08 14:49:32:135 MST] 17d6cdf5 SystemOut O TDM: Start Emp BeanTDM: End Emp Bean
[5 20 08 14:49:33:353 MST] 17d6cdf5 WebGroup E SRVE0026E: [
Servlet Error]-[Unable to compile class for
JSP C:\WebSphere\AppServer\temp\websphere\server1\CCHREAR\CCHR.war\_EmployeeInfo.java:3: '.' expected
import EmployeeInfoBean;
^
C:\WebSphere\AppServer\temp\websphere\server1\CCHREAR\CCHR.war\_EmployeeInfo.java:5: '.' expected
import EmployeeInfoBean;
^
An error occurred between lines: 63 and 79 in the jsp file: EmployeeInfo.jsp
Generated servlet error:
C:\WebSphere\AppServer\temp\websphere\server1\CCHREAR\CCHR.war\_EmployeeInfo.java:89: cannot resolve symbol
symbol : class EmployeeInfoBean
location: class org.apache.jsp._EmployeeInfo
EmployeeInfoBean bean =(EmployeeInfoBean) request.getAttribute("empBean");
^
An error occurred between lines: 63 and 79 in the jsp file: EmployeeInfo.jsp
Generated servlet error:
C:\WebSphere\AppServer\temp\websphere\server1\CCHREAR\CCHR.war\_EmployeeInfo.java:89: cannot resolve symbol
symbol : class EmployeeInfoBean
location: class org.apache.jsp._EmployeeInfo
EmployeeInfoBean bean =(EmployeeInfoBean) request.getAttribute("empBean");
^
4 errors
]: org.apache.jasper.JasperException: Unable to compile class for JSP
C:\WebSphere\AppServer\temp\websphere\server1\CCHREAR\CCHR.war\_EmployeeInfo.java:3: '.' expected
import EmployeeInfoBean;
^
C:\WebSphere\AppServer\temp\websphere\server1\CCHREAR\CCHR.war\_EmployeeInfo.java:5: '.' expected
import EmployeeInfoBean;
^
An error occurred between lines: 63 and 79 in the jsp file: EmployeeInfo.jsp
Generated servlet error:
C:\WebSphere\AppServer\temp\websphere\server1\CCHREAR\CCHR.war\_EmployeeInfo.java:89: cannot resolve symbol
symbol : class EmployeeInfoBean
location: class org.apache.jsp._EmployeeInfo
EmployeeInfoBean bean =(EmployeeInfoBean) request.getAttribute("empBean");
^
An error occurred between lines: 63 and 79 in the jsp file: EmployeeInfo.jsp
Generated servlet error:
C:\WebSphere\AppServer\temp\websphere\server1\CCHREAR\CCHR.war\_EmployeeInfo.java:89: cannot resolve symbol
symbol : class EmployeeInfoBean
location: class org.apache.jsp._EmployeeInfo
EmployeeInfoBean bean =(EmployeeInfoBean) request.getAttribute("empBean");
^
4 errors
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.loadJSP(JspServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))
at EmployeeInfoServlet.performTask(EmployeeInfoServlet.java:164)
at EmployeeInfoServlet.doGet(EmployeeInfoServlet.java:65)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.InvokerServlet.service(InvokerServlet.java:255)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java(Compiled Code))
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled Code))
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled Code))
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled Code))
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled Code))
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java(Compiled Code))
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Compiled Code))
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
The code
!DOCTYPE HTML PUBLIC "- W3C DTD HTML 4.01 Transitional EN"
HTML
HEAD
TITLE Employee Information TITLE
HEAD
BODY
%@ page import="java.util.*" %
%@ page import="EmployeeInfoBean" %
%@ page errorPage = "Error.jsp" %
div align="center"
center
TABLE width="750"
TBODY
TR
TD width="750" colspan="4"
style="border-style: solid; border-width: 1; border-color: black" TD
TR
TR
TD colspan="4" rowspan="3" class="TDClass"
FORM name="EmpDetail" method="post"
TABLE width="750" border="0"
TBODY
TR
TD align="left" class="Heading" colspan="2" B FONT size="3"
color="#bb0102" Employee Information FONT B TD
TR
TR
TD align="left" class="Heading" colspan="2" bgcolor="#bb0102" TD
TR
TR
TD align="left" class="Heading" colspan="2" %
EmployeeInfoBean bean =(EmployeeInfoBean) request.getAttribute("empBean");
String strEmpCod = "",
strEmpNum = "",
strEmpType = "",
strEmpLName = "",
strEmpFName = "";
int x = 0, pl = 0;
strEmpCod = bean.getEmcCod(x);
strEmpNum = bean.getEmEmp(x);
strEmpType = bean.getEmType(x);
strEmpLName = bean.getEmLnam(x);
strEmpFName = bean.getEmFnam(x);
The second errors happen some times but the JSP can't find the theme, images or
java scripts for the ErrorMsg.jsp. Example: when I first login I use a invalid password and the ErrorMsg.jsp will display with no errors but when it hit the above error it can't load anything. Why is it calling theme, images and js as servlet?
[5 20 08 14:49:33:353 MST] 17d6cdf5 WebGroup I SRVE0180I: [CCHR] [ CCHR] [Servlet.LOG]: ErrorMsg.jsp: init
[5 20 08 14:49:33:385 MST] 17ddcdf5 WebGroup E SRVE0020E: [Servlet Error]-[GCMFunctions.js]: Failed to load servlet: java.lang.ClassNotFoundException: GCMFunctions.js
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.beans.Beans.instantiate(Beans.java:201)
at java.beans.Beans.instantiate(Beans.java:62)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:188)
at com.ibm.ws.webcontainer.webapp.WebApp.addServlet(WebApp.java:729)
at com.ibm.ws.webcontainer.webapp.WebAppServletRegistry.addServlet(WebAppServletRegistry.java:48)
at com.ibm.ws.webcontainer.servlet.InvokerServlet.service(InvokerServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java(Compiled Code))
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled Code))
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled Code))
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled Code))
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled Code))
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java(Compiled Code))
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Compiled Code))
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
!DOCTYPE HTML PUBLIC "- W3C DTD HTML 4.0 Transitional EN"
HTML
HEAD
meta http-equiv="Content-Type" content="text html; charset=iso-8859-1"
META name="GENERATOR"
content="IBM WebSphere Page Designer V4.0 for Windows"
LINK href="theme Master.css" rel="stylesheet" type="text css"
TITLE Error Page TITLE
SCRIPT LANGUAGE="JavaScript" SRC="GCMFunctions.js" SCRIPT
SCRIPT LANGUAGE="JavaScript"
Thanks for any help or input.