Monday, November 10, 2014

javax.servlet.ServletException: Filter [LikeMindsFilter]: could not be loaded

In server startup I am getting following log :

AbstractEJBRu E   WSVR0068E:
Attempt to start EnterpriseBean
<bean name> failed with exception:
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.Deploy
mentDescriptorLoadException: META-INF/ejb-jar.xml
Stack Trace:
com.ibm.ws.webcontainer.webapp.WebAppErrorReport: javax.servlet.ServletException: Filter LikeMindsFilter: could not be loaded at com.ibm.ws.webcontainer.servlet.ServletWrapper.constructErrorReport(ServletWrapper.java:1101) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:940) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3622) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:927) at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1566) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:175) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384) at



Resolution :

Add/Remove WC from server and publish  : Mostly it resolve the issue.
This issue comes due to db2 datasource is not configured properly. mainly the DB2 JAR file is not registered.

Make sure below files pointing to correct DB :


WC/META-INF/<some more folders>/security.xml
variables.xml
deployment.xml

wc-server.xml

No comments:

Post a Comment