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
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
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
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
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
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
> 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
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
: "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
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
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
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();
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
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
*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
, 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
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.
**
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
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
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
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
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){
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
23 matches
Mail list logo