Solved

Connection Error

Posted on 2004-04-26
4
17,743 Views
Last Modified: 2013-12-10
Hi,
  I am writing an application using the following :

Tools : WSAD 5.0
App Server : WAS 5.0 (base)
Database : DB2 7.2

  I have this message display in my WSAD console eventhough the transaction succeed.

"73e2485c SharedPool    I J2CA0086W: Shareable connection MCWrapper id 1a68085c  Managed connection com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl@da5885c  State:STATE_TRAN_WRAPPER_INUSE from resource jdbc/icisdw was used within a local transaction containment boundary."
 
  In my application, I created a superclass where I set the auto commit to true. This superclass will also handles all the connection stuff. All my bean inherit from this superclass.

  I have a bean which will add "row A" into database. Before it add, it will call another method in another bean to verify the info entered. This is how the above message thrown.

  Can anyone tell me what is this message about or will it harm my application in the future?  if possible, how to get rid of it.

  Thank you.

0
Comment
Question by:lay
4 Comments
 
LVL 23

Expert Comment

by:rama_krishna580
ID: 10949793
Try setting connection.setAutoCommit(false). It might work.

http://java.sun.com/j2ee/javaserverfaces/docs/Deployment_Guide.html

R.K
0
 
LVL 9

Accepted Solution

by:
mmuruganandam earned 500 total points
ID: 11067013
>>"73e2485c SharedPool    I J2CA0086W: Shareable connection MCWrapper id 1a68085c  Managed connection
>>com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl@da5885c  State:STATE_TRAN_WRAPPER_INUSE from resource
>>jdbc/icisdw was used within a local transaction containment boundary."

This message will not harm your application anyway.  We have the application running with this same message which is in production now.


When a connection is shared between two resources, this warning will be printed out.

Here is the proper explanation of the problem.... and how to solve that too..
http://www-1.ibm.com/support/docview.wss?uid=swg21121449


I am also using WSAD and WAS... so you don't need to worry about this...  Increase your connections limit a bit.

0
 

Expert Comment

by:rahuljain1978
ID: 11509118
Hi,

I am facing this problem in my application and its harming us a lot. Whats happening is that we keep getting these messages but a long time and my application code does not get executed. As a result of that my transaction time out occurs and the application crashes. I cant increase the transaction timeout time for my application beyond 120 seconds.

We have our propreitary Connection class through which we are getting a connection from the pool. Is there a way I can set some connection property while retrieving the connection from the pool to resolve this error.I found 'DISABLE_AUTO_CONN_CLEANUP' to be one, but I think Websphere sets it correctly to 'false'.

Also, I even tried increasing my number of connections from 10 to 25 but it still fails.

Kindly help,
0
 

Expert Comment

by:baskar_j2ee
ID: 21573733
Hi anyone has solution for this. My  app is hanging and the below message I getting in WAS 6.1 console.

[5/15/08 9:12:32:028 EDT] 00000028 LocalTranCoor W   WLTC0032W: One or more local transaction resources were rolled back during the cleanup of a LocalTransactionContainment.
[5/15/08 9:15:16:089 EDT] 00000026 SharedPool    I   J2CA0086W: Shareable connection MCWrapper id 65566556  Managed connection WSRdbManagedConnectionImpl@2d402d4  State:STATE_TRAN_WRAPPER_INUSE
 from resource jdbc/**** was used within a local transaction containment boundary.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now