Re: [JBoss-user] JBoss 2.4.8+ BUG in XAConnection Pool
Hi. I know i'm using the same connection because i print it every time i get one from the pool [simply System.err.println(connection)] And the usage is multithreaded because i use JMeter with 20 simultaneous requests running forever. But you can do this: 1. unzip JBoss 2.4.9 2. run it 3. you will read a warning when it tries to create the pool for the example datasource. My examples test running on Jboss 2.4.4 (20 sim threads forever) always get a different connection It seems that JBoss doesn't start automatically a Container Transaction at startup time. Tx for answer. Giorgio - Original Message - From: David Jencks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 07, 2002 4:47 AM Subject: Re: [JBoss-user] JBoss 2.4.8+ BUG in XAConnection Pool How do you know you are always getting the same connection? Is your useage multithreaded so you have 30 simultaneous transactions? If you have only one thread at a time, using only one connection is entirely appropriate. david jencks On 2002.11.06 12:53:10 -0500 Giorgio Ponza wrote: I'd like to ignore the message but i tell u this. If i use Jboss 2.4.4 with a ConnectionPool of 30, if i run JMeter for a test, it uses different connections. If i use JBoss 2.4.9 with a ConnectionPool of 30, it always returns the first and only connection created during startup, ignoring the others 29. The bad is that JBoss gets effectively all the connection needed (in this case 30), but in effect the connectionPool contains only 1, the first in the warning startup message. Tx for answer Giorgio - Original Message - From: David Jencks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 06, 2002 6:16 PM Subject: Re: [JBoss-user] JBoss 2.4.8+ BUG in XAConnection Pool You can probably ignore this message without ill effects. david jencks On 2002.11.06 09:33:44 -0500 Giorgio Ponza wrote: Hi all. I've posted weeks ago explaining my problem, but got no response. My problem is that when i start JBoss 2.4.8 and 2.4.9 WITHOUT doing any configuration changes, it says WARN,XAConnectionFactory] XAConnectionImpl: org.jboss.pool.jdbc.xa.wrapper.XAConnectionImpl@53c375 has no current tx! when he tries to create a pool for the example DB Hypersonic I've tried to configure my own datasource, but when i try to get a new connection from the pool, it always returns the same connection, also if i've set the MaxSize to 30 (and MinSize to 0). The problem is solved if i use my JBoss 2.4.4 server. I've read all the config files, but them are perfectly EQUALS, so i think i can't do more to solve my problem. Is this a BUG in JBoss 2.4.8+ or not? and if yes, is there any possibilities it can be solved? Someone has a workaround. Maybe you can say use JBoss 3.0+. OK, but where can i find some informations about the migration? i know it's not simple. Tx all Giorgio Ponza --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss 2.4.8+ BUG in XAConnection Pool
You can probably ignore this message without ill effects. david jencks On 2002.11.06 09:33:44 -0500 Giorgio Ponza wrote: Hi all. I've posted weeks ago explaining my problem, but got no response. My problem is that when i start JBoss 2.4.8 and 2.4.9 WITHOUT doing any configuration changes, it says WARN,XAConnectionFactory] XAConnectionImpl: org.jboss.pool.jdbc.xa.wrapper.XAConnectionImpl@53c375 has no current tx! when he tries to create a pool for the example DB Hypersonic I've tried to configure my own datasource, but when i try to get a new connection from the pool, it always returns the same connection, also if i've set the MaxSize to 30 (and MinSize to 0). The problem is solved if i use my JBoss 2.4.4 server. I've read all the config files, but them are perfectly EQUALS, so i think i can't do more to solve my problem. Is this a BUG in JBoss 2.4.8+ or not? and if yes, is there any possibilities it can be solved? Someone has a workaround. Maybe you can say use JBoss 3.0+. OK, but where can i find some informations about the migration? i know it's not simple. Tx all Giorgio Ponza --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss 2.4.8+ BUG in XAConnection Pool
I'd like to ignore the message but i tell u this. If i use Jboss 2.4.4 with a ConnectionPool of 30, if i run JMeter for a test, it uses different connections. If i use JBoss 2.4.9 with a ConnectionPool of 30, it always returns the first and only connection created during startup, ignoring the others 29. The bad is that JBoss gets effectively all the connection needed (in this case 30), but in effect the connectionPool contains only 1, the first in the warning startup message. Tx for answer Giorgio - Original Message - From: David Jencks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 06, 2002 6:16 PM Subject: Re: [JBoss-user] JBoss 2.4.8+ BUG in XAConnection Pool You can probably ignore this message without ill effects. david jencks On 2002.11.06 09:33:44 -0500 Giorgio Ponza wrote: Hi all. I've posted weeks ago explaining my problem, but got no response. My problem is that when i start JBoss 2.4.8 and 2.4.9 WITHOUT doing any configuration changes, it says WARN,XAConnectionFactory] XAConnectionImpl: org.jboss.pool.jdbc.xa.wrapper.XAConnectionImpl@53c375 has no current tx! when he tries to create a pool for the example DB Hypersonic I've tried to configure my own datasource, but when i try to get a new connection from the pool, it always returns the same connection, also if i've set the MaxSize to 30 (and MinSize to 0). The problem is solved if i use my JBoss 2.4.4 server. I've read all the config files, but them are perfectly EQUALS, so i think i can't do more to solve my problem. Is this a BUG in JBoss 2.4.8+ or not? and if yes, is there any possibilities it can be solved? Someone has a workaround. Maybe you can say use JBoss 3.0+. OK, but where can i find some informations about the migration? i know it's not simple. Tx all Giorgio Ponza --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss 2.4.8+ BUG in XAConnection Pool
How do you know you are always getting the same connection? Is your useage multithreaded so you have 30 simultaneous transactions? If you have only one thread at a time, using only one connection is entirely appropriate. david jencks On 2002.11.06 12:53:10 -0500 Giorgio Ponza wrote: I'd like to ignore the message but i tell u this. If i use Jboss 2.4.4 with a ConnectionPool of 30, if i run JMeter for a test, it uses different connections. If i use JBoss 2.4.9 with a ConnectionPool of 30, it always returns the first and only connection created during startup, ignoring the others 29. The bad is that JBoss gets effectively all the connection needed (in this case 30), but in effect the connectionPool contains only 1, the first in the warning startup message. Tx for answer Giorgio - Original Message - From: David Jencks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 06, 2002 6:16 PM Subject: Re: [JBoss-user] JBoss 2.4.8+ BUG in XAConnection Pool You can probably ignore this message without ill effects. david jencks On 2002.11.06 09:33:44 -0500 Giorgio Ponza wrote: Hi all. I've posted weeks ago explaining my problem, but got no response. My problem is that when i start JBoss 2.4.8 and 2.4.9 WITHOUT doing any configuration changes, it says WARN,XAConnectionFactory] XAConnectionImpl: org.jboss.pool.jdbc.xa.wrapper.XAConnectionImpl@53c375 has no current tx! when he tries to create a pool for the example DB Hypersonic I've tried to configure my own datasource, but when i try to get a new connection from the pool, it always returns the same connection, also if i've set the MaxSize to 30 (and MinSize to 0). The problem is solved if i use my JBoss 2.4.4 server. I've read all the config files, but them are perfectly EQUALS, so i think i can't do more to solve my problem. Is this a BUG in JBoss 2.4.8+ or not? and if yes, is there any possibilities it can be solved? Someone has a workaround. Maybe you can say use JBoss 3.0+. OK, but where can i find some informations about the migration? i know it's not simple. Tx all Giorgio Ponza --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user