• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

local Jndi bindings

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello EveryBody,

I am trying to deploy and run an application in Websphere6 In this process one of the EJB is referring to another EJB's method which is locally binded.I am getting this following exception

SEVERE: Find match failed
com.stc.eindex.matching.MatchingException: Failed to retrieve candidate(s) from database. DSRA9110E: ResultSet is closed.
at com.stc.eindex.matching.adapter.SbmeMatcherAdapter.findWeights(SbmeMatcherAdapter.java:278)
at com.stc.eindex.ejb.matching.MatcherEJB.findWeights(MatcherEJB.java:171)
at com.stc.eindex.ejb.matching.EJSLocalStatelessMatcher_db85528f.findWeights(Unknown Source)
at com.stc.eindex.ejb.matching.MatchEngineControllerEJB.findMatch(MatchEngineControllerEJB.java:277)
at com.stc.eindex.ejb.matching.EJSLocalStatelessMatchEngineController_c0c09421.findMatch(Unknown Source)
at com.stc.eindex.ejb.master.MasterControllerEJB.searchEnterpriseObject(MasterControllerEJB.java:2402)
at com.stc.eindex.ejb.master.EJSRemoteStatelessMasterController_c7831b90.searchEnterpriseObject(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at com.ibm.rmi.util.ProxyUtil$2.run(ProxyUtil.java:630)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.rmi.util.ProxyUtil.invokeWithPrivilege(ProxyUtil.java:626)
at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1079)
at $Proxy9.searchEnterpriseObject(Unknown Source)
at com.stc.eindex.ejb.master._MasterController_Stub.searchEnterpriseObject(_MasterController_Stub.java:500)
at com.stc.eindex.qws.forms.EOSearchSimpleForm.searchEnterpriseObject(EOSearchSimpleForm.java:729)
at com.stc.eindex.qws.forms.EOSearchSimpleForm.search(EOSearchSimpleForm.java:533)
at com.stc.eindex.qws.actions.LeaveEOSearchSimpleAction.doPerform(LeaveEOSearchSimpleAction.java:139)
at com.stc.eindex.qws.actions.QwsBaseAction.execute(QwsBaseAction.java:123)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:446)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1360)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:610)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3016)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:215)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:192)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:899)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:51)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:644)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:473)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
Caused by: com.stc.eindex.ejb.query.QMException: DSRA9110E: ResultSet is closed.
at com.stc.eindex.ejb.query.TupleAssemblerEngine.hasNext(TupleAssemblerEngine.java:123)
at com.stc.eindex.ejb.query.QMIterator.hasNext(QMIterator.java:100)
at com.stc.eindex.matching.adapter.SbmeMatcherAdapter.findWeights(SbmeMatcherAdapter.java:131)
... 36 more


I have traced the source through Remote Debugging,then i found that the object before returning is having rsetImpl class as OracleResultSetImpl but after returning from the method the value is becoming null. I think call by reference is not working here .

I though it is treating it as a remote jndi look so it is not resolving but i found that it is treating it has Local binding only.

plz help me. Thanks in advance
 
Remember to always leap before you look. But always take the time to smell the tiny ads:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic