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: com/sap/mw/jco/IRepository
My site just had some parameters to a class that does the rest. But when I use the same class under Forte for Java 4, CE the whole thing works just perfect. Both Tomcat and Forte are using the same jre. What is it? Is it my Tomcat? I'm using 4.1. Should I reinstall it?
Using JCo in a Tomcat Web application can be a little tricky. Make sure that you have a copy of sapjco.jar in the tomcat/common/lib directory or the tomcat/shared/lib directory (depending on Tomcat version). Also, make sure that no other pointers to sapjco.jar exist in your Tomcat startup classpath. Finally, ensure that you are using the latest version of JCo (2.0.8 or higher). If the error message indicates that you are using jco.jar, thenyou are on an older release of JCo which may explain the problems you are having in Tomcat.
Dig Deeper on SAP Java and J2EE
Related Q&A from Austin Sincock
How to provide an SAP R/3 4.5B application server with a Web service interface Continue Reading
A reader wants to know how to consume a Web service from an SAP 4.6c R/3 application server. Continue Reading
Are you a Java/J2EE developer interested in SAP? This expert tip lists the most relevant SAP modules and technologies for you. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.