Chandrakanth Belde

Greenhorn
+ Follow
since Dec 01, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Chandrakanth Belde

Hi Marx,

I am planning to write SCJA, would you please send me ur study material to bchandrakanth@gmail.com

Thanks,
Chandrakanth Belde
15 years ago
One more thing I want to add is we cannot declare constructors in an interface
Hi,

Thanks for the reply. I am using BeanManaged Transactions(BMT) and a single data resource i.e., Oracle 9i.

I have seen a tag regarding Global Transactions in Application Extension file will it help in any context to my case.
-->globalTransaction xmi:id="GlobalTransaction_1101294020343" componentTransactionTimeout="100"
16 years ago
localTransaction xmi:id="LocalTransaction_1106378940859" unresolvedAction="Commit" resolver="Application"
16 years ago
I am using LocalTransaction settings. I have specified it in Application Extension file like this.

<ejbExtensions xmi:type="ejbext:SessionExtension" xmi:id="Session_1106378940859" activitySessionType="Bean">
<enterpriseBean xmi:type="ejb:Session" href="META-INF/ejb-jar.xml#Session_1106378940859"/>
<beanCache xmi:id="BeanCache_1106378940859" activateAt="TRANSACTION" loadAt="TRANSACTION"/>
<localTransaction xmi:id="LocalTransaction_1106378940859" unresolvedAction="Commit" resolver="Application"/>
</ejbExtensions>
16 years ago
where could i get Rational Application Developer version 6
16 years ago
Hi,

I am working on task of making my product to deploy and run on websphere app server version 6. I am getting this following exception while calling conn.preparedStatement(sqlstr). This is in latest Trail version of Websphere 6 . in earlier version of this(i.e., in Developer version it has not came).
[1/21/05 19:36:20:812 IST] 00000058 MCWrapper E J2CA0081E: Method cleanup failed while trying to execute method cleanup on ManagedConnection WSRdbManagedConnectionImpl@1cc2c726 from resource jdbc/BBEDataSource. Caught exception: com.ibm.ws.exception.WsException: DSRA0080E: An exception was received by the Data Store Adapter. See original exception message: Cannot call 'cleanup' on a ManagedConnection while it is still in a transaction..
at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStor eAdapterException.java:224)
at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStor eAdapterException.java:175)
at com.ibm.ws.rsadapter.AdapterUtil.createDataStoreAdapterException(AdapterUtil.ja va:232)
at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.cleanupTransactions(WSRdbMa nagedConnectionImpl.java:3262)
at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.cleanup(WSRdbManagedConnect ionImpl.java:2902)
at com.ibm.ejs.j2c.MCWrapper.cleanup(MCWrapper.java:1331)
at com.ibm.ejs.j2c.poolmanager.FreePool.cleanupAndDestroyMCWrapper(FreePool.java:6 18)
at com.ibm.ejs.j2c.poolmanager.FreePool.returnToFreePool(FreePool.java:427)
at com.ibm.ejs.j2c.poolmanager.PoolManager.release(PoolManager.java:1471)
at com.ibm.ejs.j2c.MCWrapper.releaseToPoolManager(MCWrapper.java:1860)
at com.ibm.ejs.j2c.LocalTransactionWrapper.enlist(LocalTransactionWrapper.java:662 )
at com.ibm.ejs.j2c.ConnectionEventListener.localTransactionStarted(ConnectionEvent Listener.java:574)
at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.processLocalTransactionStar tedEvent(WSRdbManagedConnectionImpl.java:1660)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginLocalTransactionIfNecessary(WSJ dbcConnection.java:447)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginTransactionIfNecessary(WSJdbcCo nnection.java:608)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.ja va:1827)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.ja va:1782)
at com.stc.eindex.ops.ObjectPersistenceService.getStatement(ObjectPersistenceServi ce.java:74)
at com.stc.eindex.ops.EnterpriseDB.get(EnterpriseDB.java:108)
at com.stc.eindex.ejb.ops.TransactionMgrBean.getEnterpriseObject(TransactionMgrBea n.java:112)
at com.stc.eindex.ejb.ops.EJSLocalStatelessTransactionMgrEJB_a5d56077.getEnterpris eObject(Unknown Source)
at com.stc.eindex.ejb.master.MasterControllerEJB.getEnterpriseObject(MasterControl lerEJB.java:298)
at com.stc.eindex.ejb.master.EJSRemoteStatelessMasterController_c7831b90.getEnterp riseObject(Unknown Source)
at com.stc.eindex.ejb.master._MasterController_Stub.getEnterpriseObject(_MasterCon troller_Stub.java:608)
at com.stc.eindex.qws.forms.EOViewEditForm.setEuid(EOViewEditForm.java:767)
at com.stc.eindex.qws.forms.EOViewEditForm.processAction(EOViewEditForm.java:984)
at com.stc.eindex.qws.actions.LeaveEOViewEditAction.doPerform(LeaveEOViewEditActio n.java:94)
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:1212 )
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.jav a:629)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletW rapper.java:80)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpI nboundLink.java:421)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpI nboundLink.java:367)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCa llback.java:94)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.j ava:548)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:60 1)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:93 4)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1 021)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)

[1/21/05 19:36:20:875 IST] 00000058 LocalTransact E J2CA0030E: Method enlist caught java.lang.IllegalStateException: Cannot enlist Resource for cleanup. A Global transaction is active. at com.ibm.ws.LocalTransaction.LocalTranCoordImpl.enlistForCleanup(LocalTranCoordI mpl.java:489)
at com.ibm.ejs.j2c.LocalTransactionWrapper.enlist(LocalTransactionWrapper.java:646 )
at com.ibm.ejs.j2c.ConnectionEventListener.localTransactionStarted(ConnectionEvent Listener.java:574)
at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.processLocalTransactionStar tedEvent(WSRdbManagedConnectionImpl.java:1660)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginLocalTransactionIfNecessary(WSJ dbcConnection.java:447)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginTransactionIfNecessary(WSJdbcCo nnection.java:608)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.ja va:1827)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.ja va:1782)
at com.stc.eindex.ops.ObjectPersistenceService.getStatement(ObjectPersistenceServi ce.java:74)
at com.stc.eindex.ops.EnterpriseDB.get(EnterpriseDB.java:108)
at com.stc.eindex.ejb.ops.TransactionMgrBean.getEnterpriseObject(TransactionMgrBea n.java:112)
at com.stc.eindex.ejb.ops.EJSLocalStatelessTransactionMgrEJB_a5d56077.getEnterpris eObject(Unknown Source)
at com.stc.eindex.ejb.master.MasterControllerEJB.getEnterpriseObject(MasterControl lerEJB.java:298)
at com.stc.eindex.ejb.master.EJSRemoteStatelessMasterController_c7831b90.getEnterp riseObject(Unknown Source)
at com.stc.eindex.ejb.master._MasterController_Stub.getEnterpriseObject(_MasterCon troller_Stub.java:608)
at com.stc.eindex.qws.forms.EOViewEditForm.setEuid(EOViewEditForm.java:767)
at com.stc.eindex.qws.forms.EOViewEditForm.processAction(EOViewEditForm.java:984)
at com.stc.eindex.qws.actions.LeaveEOViewEditAction.doPerform(LeaveEOViewEditActio n.java:94)
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:1212 )
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.jav a:629)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletW rapper.java:80)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpI nboundLink.java:421)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpI nboundLink.java:367)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCa llback.java:94)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.j ava:548)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:60 1)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:93 4)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1 021)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
while trying to enlist resources from datasource jdbc/BBEDataSource with the Transaction Manager for the current transaction, and threw a Exception.
[1/21/05 19:36:20:938 IST] 00000058 ConnectionEve E J2CA0074E: Unable to enlist connection from resource jdbc/BBEDataSource with current transaction in method localTransactionStarted due to exception. Initiating destruction of connection. Exception is: javax.resource.ResourceException: enlist: caught Exception
at com.ibm.ejs.j2c.LocalTransactionWrapper.enlist(LocalTransactionWrapper.java:666 )
at com.ibm.ejs.j2c.ConnectionEventListener.localTransactionStarted(ConnectionEvent Listener.java:574)
at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.processLocalTransactionStar tedEvent(WSRdbManagedConnectionImpl.java:1660)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginLocalTransactionIfNecessary(WSJ dbcConnection.java:447)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginTransactionIfNecessary(WSJdbcCo nnection.java:608)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.ja va:1827)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.ja va:1782)
at com.stc.eindex.ops.ObjectPersistenceService.getStatement(ObjectPersistenceServi ce.java:74)
at com.stc.eindex.ops.EnterpriseDB.get(EnterpriseDB.java:108)
at com.stc.eindex.ejb.ops.TransactionMgrBean.getEnterpriseObject(TransactionMgrBea n.java:112)
at com.stc.eindex.ejb.ops.EJSLocalStatelessTransactionMgrEJB_a5d56077.getEnterpris eObject(Unknown Source)
at com.stc.eindex.ejb.master.MasterControllerEJB.getEnterpriseObject(MasterControl lerEJB.java:298)
at com.stc.eindex.ejb.master.EJSRemoteStatelessMasterController_c7831b90.getEnterp riseObject(Unknown Source)
at com.stc.eindex.ejb.master._MasterController_Stub.getEnterpriseObject(_MasterCon troller_Stub.java:608)
at com.stc.eindex.qws.forms.EOViewEditForm.setEuid(EOViewEditForm.java:767)
at com.stc.eindex.qws.forms.EOViewEditForm.processAction(EOViewEditForm.java:984)
at com.stc.eindex.qws.actions.LeaveEOViewEditAction.doPerform(LeaveEOViewEditActio n.java:94)
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:1212 )
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.jav a:629)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletW rapper.java:80)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpI nboundLink.java:421)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpI nboundLink.java:367)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCa llback.java:94)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.j ava:548)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:60 1)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:93 4)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1 021)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
Caused by: java.lang.IllegalStateException: Cannot enlist Resource for cleanup. A Global transaction is active.
at com.ibm.ws.LocalTransaction.LocalTranCoordImpl.enlistForCleanup(LocalTranCoordI mpl.java:489)
at com.ibm.ejs.j2c.LocalTransactionWrapper.enlist(LocalTransactionWrapper.java:646 )
... 36 more

[1/21/05 19:36:21:000 IST] 00000058 ConnectionEve A J2CA0056I: The Connection Manager received a fatal connection error from the Resource Adaptor for resource jdbc/BBEDataSource. The exception which was received is null

I am using session beans with bean managed persistance. I have specified Local transaction element for every session bean in Application Extension file.
If i am not giving this element in ext file i am CSITransaction Rollback Exception..
Please help!!.
16 years ago
Hi friendz,

Any body having idea about the classloading in WEBSPHERE APPLICATION SERVER 6.0.0.1. Because even though the utility jar is present in the ear file some of them are not detected I have specified the entry's in manifest.mf also...


Thanks in advance.
16 years ago
Hi,

I have used CachedRowSetImpl class of JDK1.5 But while retrieving elements in the CachedRowSetImpl using next method. it is giving following exception
Caused by: java.sql.SQLException: Invalid cursor position
at com.sun.rowset.CachedRowSetImpl.checkCursor(Unknown Source)
at com.sun.rowset.CachedRowSetImpl.getObject(Unknown Source)
at com.stc.eindex.ejb.query.AttributesData.get(AttributesData.java:80)
at com.stc.eindex.ejb.query.ObjectNodeAssembler.createRoot(ObjectNodeAssembler.java:134)
... 39 more

even though there are values in the cachedrowsetimpl object i am getting this exception. could any one help me
Jeanne Boyarsky ,

It is not coming when it returned from the other EJB it is closed. Now I am trying with com.sun.rowset.CachedRowSetImpl class which is in J2SE 1.5

But I am thinking about regreesion issue as i have to change the code if Websphere is selected insisted of other AppServer.
16 years ago
Jeanne Boyarsky,

Thanks for your reply.I am doing porting work of our product onto WAS 6.0.0.1. In the code it is returning the resultset back and then in the rest of the code it is been used directly.

I have checked after you have suggested to use any util class to handle the resultset but after checking the rest of the logic I got to know that resultset is being used directly in the rest of the code. Now, i am scared of the regression issue to alter the data structure as it is working fine in the rest of the servers like SunOne App Server.

I request you to provide me any other alternative specific to websphere as it is concerned to websphere issue.

Thanks in advance..
16 years ago
Hi,
I want to know whether it is possible to pass ResultSet from one EJB to another EJB through local EJB call only.
16 years ago
I am trying to port an Application from SunOne App server to WebsphereApplicationServer 6.0.0.1. I am facing a critical problem i.e., I am calling a method from one EJB Session Bean say ASession to another Session Bean say BSession which returns a object called QResults Object.This QResults Object consists 4 properties They are

1. Connection Object reference
2. Statement[]- Array of Statement Interface
3. QueryOption(it is int)
4. ResultSet[] - Array of ResultSet Interface


Before returning from the called BSession method the values of the QResults Object are as follows
1. Connection - WSJdbcConnection
a) connImpl - OracleConnection
b) cm - ConnectionManager
c) autoCommit - false
d) mcf - WSManagedConnectionFactoryImpl
e) state - 0
2. Statement[0] - WSJdbcStatement
a) childWrapper - WSJdbcResultSet
b) parentWrapper - WSJdbcConnection
c) stmtImp - OracleStatement
d) state - 0
3. QueryOption - 1
4. ResultSet[0] - WSJdbcResultSet
a) childWrapper - null
b) parentWrapper - WSJdbcStatement
c) pmi - J2CModule
d) rsetImpl - OracleResultSetImpl
e) state - 0

=> means the connection, statement and resultSet are active

After returing to the calling (A)SessionBean method the values of the QResults are
1. Connection - WSJdbcConnection
a) connImpl - null
b) cm - null
c) autoCommit - false
d) mcf - WSManagedConnectionFacotryImpl
e) state - 1
2. Statement[0] - WSJdbcStatement
a) childWrapper - null
b) parentWrapper - null
c) stmtImp - null
d) state - 2
3. QueryOption - 1
4. ResultSet[0] - WSJdbcResultSet
a) childWrapper - null
b) parentWrapper - null
c) rsetImpl - null
d) state -2

=> means the values of the connection, statement, resultset are visible but the values of the respective connection, statement, resultset are missing.

(These all values I am able to see through Remote Debugging). The state value represents the state of the respective objects and state 2 means it is closed. My concern is even though the two EJB's are in the same JVM the values are not returning to the called method.This part of the code is
working fine in other App Servers, I am looking the EJB's local EJB's only.


The stack trace I am getting is :-

[12/31/04 15:42:10:859 IST] 0000003c SystemErr R com.stc.eindex.matching.MatchingException: Failed to retrieve candidate(s) from database. com.ibm.websphere.ce.cm.ObjectClosedException: DSRA9110E: ResultSet is closed.

Caused by: com.stc.eindex.matching.MatchingException: Failed to retrieve candidate(s) from database. com.ibm.websphere.ce.cm.ObjectClosedException: DSRA9110E: ResultSet is closed.

Caused by: com.ibm.websphere.ce.cm.ObjectClosedException: DSRA9110E: ResultSet is closed.
at com.ibm.ws.rsadapter.jdbc.WSJdbcResultSet.runtimeXIfNotClosed(WSJdbcResultSet.java:2642)
at com.ibm.ws.rsadapter.jdbc.WSJdbcResultSet.next(WSJdbcResultSet.java:2429)
at com.stc.eindex.ejb.query.QueryResults.assemble(QueryResults.java:129)
... 31 more

If any Websphere Juru helps me I will be very very thankful to him and I am sorry for my poor english grammer.

Thanks in advance
16 years ago
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
16 years ago
Hi,

I am trying to connect Websphere 6 with Oracle 9.I am using JDBC type 4 thin driver.I am able to connect to Database. But giving an exception

30a665fc LocalTranCoor E WLTC0033E: Resource jdbc/CompanyDataSource rolled back in cleanup of unresolved LocalTransactionContainment.
30a665fc LocalTranCoor E WLTC0032E: One or more resources rolled back. An unresolved LocalTransactionContainment had an unresolved action of rollback.

We are using Bean Managed Persistance to connect.This is the trace I am getting.


SEVERE: Error occurs:
javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLEDBACK 0x0 No; nested exception is:
org.omg.CORBA.TRANSACTION_ROLLEDBACK: javax.transaction.TransactionRolledbackException: ; nested exception is:
com.ibm.websphere.csi.CSITransactionRolledbackException: vmcid: 0x0 minor code: 0 completed: No
at com.ibm.CORBA.iiop.UtilDelegateImpl.mapSystemException(UtilDelegateImpl.java:208)
at com.ibm.CORBA.iiop.UtilDelegateImpl.wrapException(UtilDelegateImpl.java:684)
at javax.rmi.CORBA.Util.wrapException(Util.java:295)
at com.stc.eindex.ejb.master._MasterController_Stub.getMergeHistory(_MasterController_Stub.java:295)
at com.stc.eindex.qws.forms.XASideBySideForm.setupMergeImage(XASideBySideForm.java:486)
at com.stc.eindex.qws.actions.EnterXACompareAction.doPerform(EnterXACompareAction.java:186)
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.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:175)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1014)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:417)
at org.apache.struts.action.RequestProcessor.processActionForward(RequestProcessor.java:390)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:271)
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.servlet.ServletWrapper.handleRequest(ServletWrapper.java:1857)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:53)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:882)
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:469)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
Caused by: org.omg.CORBA.TRANSACTION_ROLLEDBACK: javax.transaction.TransactionRolledbackException: ; nested exception is:
com.ibm.websphere.csi.CSITransactionRolledbackException: vmcid: 0x0 minor code: 0 completed: No
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:79)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:43)
at java.lang.reflect.Constructor.newInstance(Constructor.java:313)
at com.ibm.rmi.util.ProxyUtil.copyObject(ProxyUtil.java:320)
at com.ibm.CORBA.iiop.UtilDelegateImpl.copyObject(UtilDelegateImpl.java:789)
at javax.rmi.CORBA.Util.copyObject(Util.java:332)
at com.stc.eindex.ejb.master._MasterController_Stub.getMergeHistory(_MasterController_Stub.java:288)
... 29 more
16 years ago