Hello All,
We are using EH&S Web interface to display the generated Safety Data Sheet on the web.
The web interface servers are used to host the application.
We are having Apache Tomcat application.
To give you a brief about our solution in place:
We are using Tomcat Application to host the web interface. The SDS are generated at ECC end. We have separate web interface servers to host this application.
SDS generated at SAP end, are available on the website of our customer via this web interface.
We dont have PLM in our case. The SDS are generated at SAP end via WWI server, Stored/Kept via DMS and then displayed on Website.
Things were working fine and customers were able to get the SDS via website until we restarted the web interface server.
After restart of one of our web interface server we are getting this error - Could not initialize class com.sap.mw.jco.JCO
The complete details of the error are as mentioned below:
HTTP Status 500 -
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initialize class com.sap.mw.jco.JCO org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:532) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:440) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
root cause
javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initialize class com.sap.mw.jco.JCO org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:915) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:844) org.apache.jsp.XXXXXXXXX.search.search_005findex_jsp._jspService(search_005findex_jsp.java:164) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
root cause
java.lang.NoClassDefFoundError: Could not initialize class com.sap.mw.jco.JCO COM.td.ehswww.ehsconnection.GenericEhsAccess.establishConnection(GenericEhsAccess.java:194) COM.td.ehswww.ehsconnection.GenericEhsAccess.validateUser(GenericEhsAccess.java:619) COM.td.ehswww.jsp.ServiceBean.authent(ServiceBean.java:923) org.apache.jsp.XXXXXXXXX.search.search_005findex_jsp._jspService(search_005findex_jsp.java:107) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
noteThe full stack trace of the root cause is available in the Apache Tomcat/7.0.8 logs.
Can anyone guide me on how to check JCO configuration in Apache.?
What all things I can check in order to verify JCO configuration.?
Our version would also be quite old so is it possible to upgrade it.?
We have tried a lot to solve this error at our end, but we could not resolve this error.
Best Regards,
Aarohi