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_id78&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 



-------------------------------------------------------
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=1278&alloc_id=3371&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to