Skip to Content
avatar image
Former Member

EH&S Web Interface Issue

Hello All,

We are using EH&S Web interface to display the generated SDS on the web.

We were required to restart the web interface server due to some issue.

However, after the restart, the links to web interface servers are not working.

We are getting java dump which is as mentioned below:

HTTP Status 500 -


type Exception report

message

description The 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) 

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.8 logs.

Can anyone please guide here.?

We have tried a lot to solve this error at our end, but we could not resolve this error.

Best Regards,

Aarohi

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Jun 01, 2015 at 05:07 PM

    Hi Aarohi,

    I have checked the mentioned errors and it doesn't seem to be an error with Web interface application but an issue with JCO connector used.

    Since this is not an EHS problem it's hard for me to give a precise help, but could say that you should check your JCO configuration in Apache.

    For this you could use as source of information following notes:

    1274700 - SAP Role Import error: com/sap/mw/jco/JCO$Function

    https://css.wdf.sap.corp/sap/support/notes/1274700

    and

    1292144 - JCO error when Importing SAP Roles in CMC

    https://css.wdf.sap.corp/sap/support/notes/1292144

    Hope this can help you, if not i suggest you to check for JCO foruns also.

    Best regards,

    Raphael

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 01, 2015 at 05:10 PM

    Dear Aarohi

    which EHS web interface are you using? e.g. something as: or as

    Even is not providing "clear" guidance. We can only "assume" that you use a "tomcat" server approach; but not clear which one.

    or somethig different? C.B.

    Similar threads exists as well:

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Raphael, Hello Christoph,


      Thank you for your inputs.

      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

      As Raphael has suggested that there should be some problem with Java connector.

      Can you 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.?


      Thank you again for your help.


      Best Regards,


      Aarohi