We are migrating our applicatin to WebSphere App Server 5 to 7. But still we are using
EJB 2.0
When our application tries to access EJBs it is getting following error
[11/2/10 17:40:52:998 PDT] 0000001c FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident em
itted on /websphere/AppServer/profiles/logs/ffdc/server1_27c4c54d_10.11.02_17.40.52.6021454924967577386301.txt com.ibm.ejs.co
ntainer.EJSHome.createBeanO 1023
[11/2/10 17:40:53:010 PDT] 0000001c RemoteExcepti E CNTR0019E: EJB threw an unexpected (non-declared) exception during invo
cation of method "findAllSessions". Exception data: com.ibm.ejs.container.ContainerEJBException: EJB failed to initialize. ;
nested exception is: com.ibm.ws.exception.WsEJBException: nested exception is: com.ibm.ws.ejbpersistence.utilpm.PersistenceMa
nagerException: PMGR1012E: The current backend id DB2UDBNT_V82_1, does not match the data source connected to. at com.ibm.ejs.container.ContainerManaged2_0BeanO.<init>(ContainerManaged2_0BeanO.java:168)
at com.ibm.ejs.container.ContainerManaged2_0BeanOFactory.create(ContainerManaged2_0BeanOFactory.java:44)
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:1031)
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:1177)
at com.ibm.ejs.container.EJSHome.getFinderEntityBeanO(EJSHome.java:3293)
at com.incentivesystems.util.server.core.session.EJSCMPSessionEntityHomeBean_6deb3818.findAllSessions(Unknown Source)
at com.incentivesystems.util.server.core.session.EJSRemoteCMPSessionEntityHome_6deb3818.findAllSessions(Unknown Sourc
e)
at com.incentivesystems.util.server.core.session._EJSRemoteCMPSessionEntityHome_6deb3818_Stub.findAllSessions(Unknown
Source)
at com.incentivesystems.util.server.core.session.SessionCleanup.cleanupExpiredSessions(Unknown Source)
at com.incentivesystems.tools.server.core.soap.StatelessEJBProvider.doLogin(Unknown Source)
at com.incentivesystems.tools.server.core.soap.StatelessEJBProvider.invoke(Unknown Source)
at org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:354)
at com.incentivesystems.util.server.soap.ConfiguredRPCRouterServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1661)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:937)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:500)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
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 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:272)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback
.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:557)
But we are using Oracle 9i as our database. I built this application using
ant script and server generated the stubs while deploying the applcation. Application structure in Eclipse is attached