• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Websphere App Server 7 and EJB 2.0 problem

 
Ranch Hand
Posts: 51
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
tools-ejb.JPG
[Thumbnail for tools-ejb.JPG]
ejb jar eclipse project
 
Debopam Poddar
Ranch Hand
Posts: 51
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check https://coderanch.com/t/515994/Websphere/Websphere-Application-Server-EJB-Error

I solved it that way....problem was it was taking db2 as default.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic