Thank Guy.
I have download open source DBDatabaseBroker which have connection
pooling yesterday.
BTW , you have stated that JBoss have connection pooling called
minerva.
How to setup MINERVA and call it ??
Thanks .
Guy Rouillier wrote:
>
> If you read the javadocs for javax.sql, you'll see that all the interfaces
> there (except the event classes for some odd reason) are abstract. So
> javax.sql doesn't provide a connection pooling ** implementation ** - it
> defines only an interface.
>
> The pooling implementation shipped with JBoss is called minerva. You can
> use this outside of JBoss (uses the JBoss hierarchy, so you will need the
> JBoss classes, but you won't need JBoss running.) Also, there are several
> open source database connection pool libraries available if you can't get
> minerva to work for you.
>
> ----- Original Message -----
> From: "Russell" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, April 26, 2001 2:22 AM
> Subject: Re: [JBoss-user] Get Database connection from Jndi
>
> >
> > Thanks Guy for your info.
> >
> > I know this out of scope .... I would like to create connection pool
> > in my servlet.
> > The new jdbc2.0 have new classes javax.sql.* which can create
> > connection pooling.
> >
> > Do you know how to do it ? I am using postgresql7.0.1 database.
> >
> > Thanks
> >
> > Guy Rouillier wrote:
> > >
> > > Assuming when you say "outside of JBoss" you mean in a different JVM,
> no.
> > >
> > > ----- Original Message -----
> > > From: "Russell" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Thursday, April 26, 2001 12:30 AM
> > > Subject: Re: [JBoss-user] Get Database connection from Jndi
> > >
> > > > Hi Guy ,
> > > >
> > > > I am trying to access dbconnection from jboss connection pool
> outside
> > > > of
> > > > JBoss.
> > > >
> > > > Can it be done ??
> > > >
> > > > Thanks
> > > >
> > > >
> > > > Guy Rouillier wrote:
> > > > >
> > > > > What do you mean by "Can we accessed jndi that binding in jboss
> outside
> > > ejb
> > > > > bean ??" There have been numerous discussions on this list over the
> > > last
> > > > > two weeks concerning the use of a DB connection from a JBoss
> connection
> > > pool
> > > > > outside of JBoss (can't be done.) But your message sounds like you
> are
> > > > > doing something else (in jboss outside ejb). Explain what you are
> > > trying to
> > > > > do.
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Russell" <[EMAIL PROTECTED]>
> > > > > To: <[EMAIL PROTECTED]>
> > > > > Sent: Wednesday, April 25, 2001 10:09 PM
> > > > > Subject: [JBoss-user] Get Database connection from Jndi
> > > > >
> > > > > >
> > > > > >
> > > > > > Hi all ,
> > > > > >
> > > > > > I am using RedHat6.1 , jdk1.3 and jboss2.1.
> > > > > > Recently i have been trying to access database connection from
> > > > > > binding datasource in jboss.
> > > > > > The error is "NamingNotFoundException error"
> > > > > >
> > > > > > Can we accessed jndi that binding in jboss outside ejb bean ??
> > > Thanks
> > > > > > wt
> > > > > >
> > > > > > below is my code :
> > > > > >
> > > > > > public static void main(String [] args){
> > > > > >
> > > > > >
> > > > >
> > > > > > Properties props = new Properties();
> > > > > > props.put(Context.INITIAL_CONTEXT_FACTORY,
> > > > > > "org.jnp.interfaces.NamingContextFactory");
> > > > > > props.put(Context.PROVIDER_URL, "localhost:1099");
> > > > > > Context ctx = new InitialContext();
> > > > > >
> > > > > > ds =
> (DataSource)ctx.lookup("java:comp/env/jdbc/PostgresDS");
> > > > > > }
> > > > > > catch(Exception e){}
> > > > > >
> > > > > > }
> > > > > >
> > > > > > _______________________________________________
> > > > > > JBoss-user mailing list
> > > > > > [EMAIL PROTECTED]
> > > > > > http://lists.sourceforge.net/lists/listinfo/jboss-user
> > > > > >
> > > > >
> > > > > _______________________________________________
> > > > > JBoss-user mailing list
> > > > > [EMAIL PROTECTED]
> > > > > http://lists.sourceforge.net/lists/listinfo/jboss-user
> > > >
> > > > _______________________________________________
> > > > JBoss-user mailing list
> > > > [EMAIL PROTECTED]
> > > > http://lists.sourceforge.net/lists/listinfo/jboss-user
> > > >
> > >
> > > _______________________________________________
> > > JBoss-user mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user