[JBoss-user] [EJB/JBoss] - Re: A problem on SLSB which contains a database connection

2004-04-14 Thread [EMAIL PROTECTED]
You would also need to mark the resource-ref as Unshareable.
You are also missing a close in your passivate so you would very quickly run
out of connections.

What you are doing is an anti-pattern that is only intended for BMT SFSBs driven
by a client (which is highly unscalable). One connection per SLSB is a waste.
You should open and close connections as you need them (jboss pools them behind the 
scenes).

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830617#3830617

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830617


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: A problem on SLSB which contains a database connection

2004-04-14 Thread triathlon98
In transaction-service.xml set spec-compliant to true.

Joachim

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830576#3830576

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830576


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user