It could simply ignore the "null" connection handle and treat it
as a request to return the managed connection to the pool.

But this would break if there are two connection handles for the same
managed connection. In most circumstances there will be a one to one
correspondance.

Regards,
Adrian

On Tue, 2004-01-20 at 19:37, Ken Ehmann wrote:
> I cannot get any satisfaction from IBM regarding a fix for this RAR.
> But I downloaded an eval copy of Websphere and the connections seem to be managed 
> properly...however I prefer a JBOSS implementation since we're a municipal 
> government with a tight budget....
> 
> Did you mean it when you said that you could provide a "hack" into the connection 
> manager to get it to work with JBOSS?
> Please advise....
> 
> >>> [EMAIL PROTECTED] 01/01/04 09:59AM >>>
> This is a known bug with some of IBM's RARs.
> 
> They send connectionClosed events with a null handle.
> Do you know a mechanism where JBoss can *guess* what it is
> supposed to do?
> 
> I could put an almighty hack into the connection manager
> where if it gets a null handle it removes an association 
> (either at random or LRU).
> 
> This is unsatisfactory, but would fix your problem in 90% of use cases
> and totally break in the other 10%.
> 
> Regards,
> Adrian
> 
> On Wed, 2003-12-31 at 17:47, Ken Ehmann wrote:
> > Happy New Year....
> > 
> > I've taken on a project to implement servlets on JBOSS that are documented to run 
> > in WebSphere....
> > I made changes in the source code to satisfy the JBOSS JNDI prefix (java:).
> > I deployed a *-ds.xml without errors as described in Chapter 7 of JBOSS Admin.
> > I deployed the IBM provided RAR file without errors... 
> > 
> > The servlets work but JBOSS does not manage the connections..it keeps creating new 
> > connections instead of using existing ones...
> > I get this message on the console:
> > 
> > INFO  [org.jboss.resource.connectionmanager.NoTxConnectionManager] Unregistered 
> > handle that was not registered! null for managedConnection: [EMAIL PROTECTED]
> > 
> > This message appears for every iteration of the business logic until the 
> > AvailableConnectionCount value is reached and I get the error :
> > "No Managed Connections Available"....
> > I can flush the existing connections from the jmx-console and start over but 
> > obviously thats not practical.....
> > 
> > Here are the console messages when I deploy my *-ds.xml
> > 
> > INFO  [org.jboss.deployment.MainDeployer] Starting deployment of package: 
> > file:/C:/jboss-3.2.3/server/default/deploy/vse-ds.xml
> > INFO  [org.jboss.resource.connectionmanager.RARDeployment] Started 
> > jboss.jca:service=ManagedConnectionFactory,name=eis/VSEConnector
> > INFO  [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Started 
> > jboss.jca:service=ManagedConnectionPool,name=eis/VSEConnector
> > DEBUG [com.ibm.vse.connector.VSEManagedConnectionFactory.eis/VSEConnector] Binding 
> > object '[EMAIL PROTECTED]' into JNDI at 'java:/eis/VSEConnector'
> > INFO  [com.ibm.vse.connector.VSEManagedConnectionFactory.eis/VSEConnector] Bound 
> > connection factory for resource adapter for ConnectionManager 
> > 'jboss.jca:service=NoTxCM,name=eis/VSEConnector to JNDI name 
> > 'java:/eis/VSEConnector'
> > INFO  [org.jboss.resource.connectionmanager.NoTxConnectionManager] Started 
> > jboss.jca:service=NoTxCM,name=eis/VSEConnector
> > INFO  [org.jboss.deployment.MainDeployer] Deployed package: 
> > file:/C:/jboss-3.2.3/server/default/deploy/vse-ds.xml
> > 
> > Any enlightenment would be appreciated.....
> > 
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by: IBM Linux Tutorials.
> > Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> > Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> > Click now! http://ads.osdn.com/?ad_id?78&alloc_id371&op=click
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED] 
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
-- 
xxxxxxxxxxxxxxxxxxxxxxxx 
Adrian Brock
Director of Support
Back Office
JBoss Group, LLC 
xxxxxxxxxxxxxxxxxxxxxxxx 



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to