From: Ken E. <EH...@ci...> - 2004-01-20 19:40:16
|
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.... >>> ad...@jb... 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=20 (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.... >=20 > 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...=20 >=20 > 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: >=20 > INFO [org.jboss.resource.connectionmanager.NoTxConnectionManager] = Unregistered handle that was not registered! null for managedConnection: = com.ibm.vse.connector.VSEConnection@1a37fac >=20 > 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..... >=20 > Here are the console messages when I deploy my *-ds.xml >=20 > 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=3DManagedConnectionFactory,name=3Deis/VSEConnector > INFO [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] = Started jboss.jca:service=3DManagedConnectionPool,name=3Deis/VSEConnector > DEBUG [com.ibm.vse.connector.VSEManagedConnectionFactory.eis/VSEConnector= ] Binding object 'com.ibm.vse.connector.VSEConnectionFactory@11a700a' 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=3DNoTxCM,name=3Deis/VSEConnector to JNDI name 'java:/eis= /VSEConnector' > INFO [org.jboss.resource.connectionmanager.NoTxConnectionManager] = Started jboss.jca:service=3DNoTxCM,name=3Deis/VSEConnector > INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/jbos= s-3.2.3/server/default/deploy/vse-ds.xml >=20 > Any enlightenment would be appreciated..... >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > 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=3Dclick=20 > _______________________________________________ > JBoss-user mailing list > JBo...@li...=20 > https://lists.sourceforge.net/lists/listinfo/jboss-user=20 --=20 xxxxxxxxxxxxxxxxxxxxxxxx=20 Adrian Brock Director of Support Back Office JBoss Group, LLC=20 xxxxxxxxxxxxxxxxxxxxxxxx=20 ------------------------------------------------------- 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=3D1278&alloc_id=3D3371&op=3Dclick=20 _______________________________________________ JBoss-user mailing list JBo...@li...=20 https://lists.sourceforge.net/lists/listinfo/jboss-user |