Re: [JBoss-user] Connection Pooling Jboss 3.0

2002-08-14 Thread Burkhard Vogel
h" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 14, 2002 1:03 AM Subject: [JBoss-user] Connection Pooling Jboss 3.0 > Hi, > > I am using Jboss 3.0 with Castor JDO. Struts -> Stateless Session > Bean --> Castor JDO > > I am using c

[JBoss-user] Connection Pooling Jboss 3.0

2002-08-13 Thread Arijit Ghosh
Hi, I am using Jboss 3.0 with Castor JDO. Struts -> Stateless Session Bean --> Castor JDO I am using container managed transaction and trying to impement connection pooling. I have included the oracle-service.xml file. Everytime I am connecting to the database, a new conneciton is being creat

RE: [JBoss-user] connection pooling and jboss.jcml

2002-02-27 Thread Alex Loubyansky
t; Kotamraju, Srinivas, BmS- NY1540 > Sent: Wednesday, February 27, 2002 7:10 PM > To: '[EMAIL PROTECTED]' > Subject: [JBoss-user] connection pooling and jboss.jcml > > > hi all, > I am trying to configure jboss.jcml to create a connection > pool and work > with my post

Re: [JBoss-user] connection pooling and jboss.jcml

2002-02-27 Thread geoff
Hi there, given that particular configuration using: ConnectionPoolDataSource cpds = (ConnectionPoolDataSource)ctx.lookup("java:/PostgresDS"); should obtaining a connection to your database. To find out what is bound where, you can connect to port 8082 on the host running JBoss to acc

RE: [JBoss-user] connection pooling and jboss.jcml

2002-02-27 Thread Lucas McGregor
x27;[EMAIL PROTECTED]' Subject: [JBoss-user] connection pooling and jboss.jcml hi all, I am trying to configure jboss.jcml to create a connection pool and work with my postgres database.. my question is what will be the context.lookup JNDI Name for the connection? ConnectionPool

[JBoss-user] connection pooling and jboss.jcml

2002-02-27 Thread Kotamraju, Srinivas, BmS- NY1540
hi all, I am trying to configure jboss.jcml to create a connection pool and work with my postgres database.. my question is what will be the context.lookup JNDI Name for the connection? ConnectionPoolDataSource cpds = (ConnectionPoolDataSource)ctx.lookup("??"); or, If this is not the procedur

RE: [JBoss-user] connection pooling JBOSS-mySQL

2001-07-04 Thread Kevin O'Neill
> Given that the SQL that was echoed had the table name in lowercase and > the error message was uppercase (and nobody complained about case > sensitive breakage with mySQL in 2.4 beta when I squashed case!) I don't > think that it's a case problem. (for the record, you're right, > relational data

Re: [JBoss-user] connection pooling JBOSS-mySQL

2001-07-04 Thread Rakesh Shankar Shringi
hi, i am using mysql with JBOSS. i figured out that i was connecting to hypersonic instead of connectiong to mysql. for that i changed DefaultDs to mysql database. but i want to know that is it required to change DefaultDS Why i am not being able to connect to mysql without going through def

Re: [JBoss-user] connection pooling JBOSS-mySQL

2001-07-03 Thread Rakesh Shankar Shringi
: "danch (Dan Christopherson)" <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Date: Tue, 03 Jul 2001 11:32:42 -0500 > Subject: Re: [JBoss-user] connection pooling JBOSS-mySQL > Reply-To: [EMAIL PROTECTED] > > Given that the SQL that was echoed had the table name in lower

Re: [JBoss-user] connection pooling JBOSS-mySQL

2001-07-03 Thread danch (Dan Christopherson)
Given that the SQL that was echoed had the table name in lowercase and the error message was uppercase (and nobody complained about case sensitive breakage with mySQL in 2.4 beta when I squashed case!) I don't think that it's a case problem. (for the record, you're right, relational databases

[JBoss-user] connection pooling JBOSS-mySQL

2001-07-03 Thread Rakesh Shankar Shringi
hi, I am using the connection pool for that I have made the following changes in jboss.jcml : org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl mySQLFlirtDS jdbc:mysql://baba9.websoft.com/flirtshow2 w3server I a

Re: [JBoss-user] Connection Pooling

2001-05-24 Thread Michael Davis
In an EJB or anything that needs a connection you need to look up the connection. Something like the following: ... private Connection dbCon = null; private Connection getConnection() { if( dbCon == null ) { try { InitialContext ic = new InitialContext();

Re: [JBoss-user] Connection Pooling

2001-05-24 Thread Darius Davidavicius
in JBoss.xml I define: oraclePool oraclePool in the java source code you can do like: protected Connection getConnection() throws SQLException { InitialContext initCtx = null; String aOraclePoolName = "java:comp/env/jdbc/oraclePool"; t

Re: [JBoss-user] Connection Pooling

2001-05-24 Thread Toby Allsopp
Lan Nguyen wrote: > *This message was transferred with a trial version of CommuniGate(tm) Pro* That's nice. > Hi Everyone; > > After you modify the jboss.jcml to include ... > how do you access this connection pool in the client program?? Define "client program". Connection pools are for

[JBoss-user] Connection Pooling

2001-05-23 Thread Lan Nguyen
*This message was transferred with a trial version of CommuniGate(tm) Pro* Hi Everyone; After you modify the jboss.jcml to include OracleDS org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp l jdbc:oracle:thin:@serverhostname:1521:ORCL scott tiger how do you access this connection pool

Re: [JBoss-user] Connection Pooling and JNDI (fails to find )

2001-04-24 Thread Nguyen Thanh Phong
, 2001 3:49 PM Subject: [JBoss-user] Connection Pooling and JNDI (fails to find ) Hi I am using SQLServer and i have switched on the connection pooling . I have done everything according to JBOSS site docs. But i am facing the problem when i try to look up the name. Actually I am writing a

[JBoss-user] Connection Pooling and JNDI (fails to find )

2001-04-24 Thread prateeks saxena
Hi I am using SQLServer and i have switched on the connection pooling . I have done everything according to JBOSS site docs. But i am facing the problem when i try to look up the name. Actually I am writing a BMP and i am trying to get the connection object from there. **

Re: [JBoss-user] Connection pooling

2001-04-17 Thread Toby Allsopp
Russell wrote: > Hi Toby , > >Yes I am after some negative remarks from you . :) just kidding. > >BTW , I have another question . >I need to accessed the Connection pooling from servlet/jsp , can i do > that ?? > >Can i code like below : > > InitialContext ctx = new In

Re: [JBoss-user] Connection pooling

2001-04-17 Thread Russell
Hi Toby , Yes I am after some negative remarks from you . :) just kidding. BTW , I have another question . I need to accessed the Connection pooling from servlet/jsp , can i do that ?? Can i code like below : InitialContext ctx = new InitialContext(); DataSource ds = (D

Re: [JBoss-user] Connection pooling

2001-04-17 Thread Guy Rouillier
Depends how your datasource is set up in jboss.jcml. - Original Message - From: "Russell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 18, 2001 12:08 AM Subject: [JBoss-user] Connection pooling > > Hi all , i am using RedHat6.1

Re: [JBoss-user] Connection pooling

2001-04-17 Thread Toby Allsopp
On Wed, Apr 18, 2001 at 12:08:29PM +0800, Russell wrote: > > Hi all , i am using RedHat6.1 ,jdk1.3,postgresql7.0.1 and jboss2.1. Hi. Good to see you have the hang of the Linux/RedHat naming thing, now :-) Oh, BTW, please upgrade to JBoss 2.2 at your earliest convenience. > I need some advi

[JBoss-user] Connection pooling

2001-04-17 Thread Russell
Hi all , i am using RedHat6.1 ,jdk1.3,postgresql7.0.1 and jboss2.1. I need some advice regarding the code below which in stateless session bean : My question is that if the connection below created are pooled ??? Thanks wt. // code public int executeSQLStatement(String sqlstr){

[JBoss-user] Connection pooling with getConnection(userid, password)

2001-03-20 Thread Guy Rouillier
If I use a userid and password in my bean code to get a pooled connection like so Connection connection = ((DataSource)new InitialContext().lookup("java:comp/env/jdbc/OracleDB")).getConnection(userid , password); how are such connections shared? Say I execute the above the first time with us