APAR status
Closed as program error.
Error description
The OSGi Applications feature pack has a servlet filter that prevents resources in the OSGI-INF and OSGI-OPT directories to be displayed out of a Web application bundle (WAB). This filter was written with the assumption that all servlet requests coming into a WAB are HTTP requests. This assumption results in a ClassCastException out of OsgiDirectoryProtectionFilter#doFilter when the request is not a HTTP request. Customer found this problem in the special case of SIP requests coming into a WAB.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users deploying OSGi applications with the * * IBM WebSphere Application Server V7 * * Feature Pack for OSGi Applications and * * Java Persistence API 2.0 * **************************************************************** * PROBLEM DESCRIPTION: A ClassCastException occurs when an * * OSGi Applications contains a * * WAB that is receiving SIP requests * * rather than HTTP requests * **************************************************************** * RECOMMENDATION: * **************************************************************** The OSGi Servlet filter incorrectly assumed that all servlet request was a HTTP request. In this scenerio it was a SIP request. The exception seen is: [6/30/10 15:54:14:078 EDT] 00000028 webapp E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[SimpleProxy]: java.lang.ClassCastException: com.ibm.ws.sip.container.servlets.IncomingSipServletRequest incompatible with javax.servlet.http.HttpServletRequest at om.ibm.ws.osgi.web.extender.OsgiDirectoryProtectionFilter.doFil ter(OsgiDirectoryProtectionFilter.java:66) at om.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(Fi lterInstanceWrapper.java:188)
Problem conclusion
The fix for this APAR is currently targeted for inclusion in fixpack 1.0.0.1 of the Feature Pack for OSGi Applications and Java Persistence API 2.0
Temporary fix
Comments
APAR Information
APAR number
PM19307
Reported component name
JPA OSGI FEATUR
Reported component ID
5724J0857
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-07-27
Closed date
2010-09-10
Last modified date
2010-09-10
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
JPA OSGI FEATUR
Fixed component ID
5724J0857
Applicable component levels
R700 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
29 September 2020