Ads from Google

Wednesday, September 19, 2007

500 Internal Server Error in Portal/Java stack

Old - SAP Error: 500   Internal Server Error
Web Dynpro Container/SAP J2EE Engine/7.00
Web Dynpro Container/SAP J2EE Engine/6.40
Failed to process request. Please contact your system administrator.

System: Portal, Netweaver, Java, ESS/MSS, CRM

Error Summary

While processing the current request, an exception occured which could not be handled by the application or the framework.

If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).




Root Cause
The initial exception that caused the request to fail, was:


500, internal server error, javax.ejb.EJBException in the object EJBIuclidDispatcherBean.

Error 500- Internal Server Error
java.rmi.RemoteException: Error in ejbCreate:;nested exception is: javax.ejb.EJBException: nested exception is: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.jts.wipPool' Resolved jdbc.jts;remianing name 'wipPool'

   java.lang.NullPointerException

    at com.testsystem.abcd.ess.basicsalary.fc.FcBasicSalary.onInit(FcBasicSalary.java:222)
    at com.testsystem.abcd.ess.basicsalary.fc.wdp.InternalFcBasicSalary.onInit(InternalFcBasicSalary.java:339)
    at com.testsystem.abcd.ess.basicsalary.fc.FcBasicSalaryInterface.onInit(FcBasicSalaryInterface.java:125)
    at com.testsystem.abcd.ess.basicsalary.fc.wdp.InternalFcBasicSalaryInterface.onInit(InternalFcBasicSalaryInterface.java:242)
    at com.testsystem.abcd.ess.basicsalary.fc.wdp.InternalFcBasicSalaryInterface$External.onInit(InternalFcBasicSalaryInterface.java:298)




Web Dynpro Code Generation Infos
testsystem.com/abcd~basicsalary

Analysis:
- program error, if already identified by SAP the correction and solution will be contained in newer version of SCA archive
- error in business package
- not correct DB server URL can cause this error
- caused by problem when connecting to database, caused by database driver
- accessing incorrect URL inside the iview

Solution:
- Download the latest version of the following SCA archive from SAP Service Marketplace and install it on the Java server
- some cases can use SAP Note tool SNOTE, sometimes not possible to use SNOTE, manual correction needed to implement adjustment
- checking database connection, update database driver

new material is here

No comments: