Bookmark Topic Watch Topic
  • New Topic

Servlet Filter not working in JDK1.3.1

 
Srinivas Rao Marri
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

I have an authorization filter which was deployed in WebSphere5.0 which is configured under datasource5(oracle thin driver) with jndi.

observed facts
===============
WebSphere 5.0 comes with jdk1.3.1. and supports datasource 4/5.0
datasource 5.0 will support servlet2.3.
Servlet 2.3 depends on jdk1.2.

Problem
========
When i am trying execute my filter in websphere its giving the below given error:

IntranetAuthorizationFilter was found, but is missing another required class.
]: java.lang.NoClassDefFoundError: java/lang/CharSequence
at java.lang.Class.newInstance2(Native Method)
at java.lang.Class.newInstance1(Class.java(Compiled Code))
at java.beans.Beans.instantiate(Beans.java(Compiled Code))
at java.beans.Beans.instantiate(Beans.java:77)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:292)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:161)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:208)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1044)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:588)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:206)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:80)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:214)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)

My filter is not using java/lang/CharSequence anywhere.
Can someone figureout why this problem is coming.

Regards
Srinivas
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please don't post the same question in multiple forums, it creates duplicate conversations.

Anyone who would like to help should see the other copy in the Websphere forum.

Dave.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!