Seems impossible. When I was trying to connect to a Datasource that I saw was bound to 
java:/instantDB by JBoss at the startup in my servlet.
But the following error was reported:

Connection error:javax.naming.NameNotFoundException: InstandDB not bound 

Does this mean that?

Edward

----- Original Message ----- 
From: "Dexter Legaspi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 07, 2001 9:57 PM
Subject: Re: [JBoss-user] Lookup Datasource from Javabeans. Possible?


> 
> yes!
> 
> --- Tim Yates <[EMAIL PROTECTED]> wrote:
> > Is it possible to lookup the Datasource from my
> > JavaBeans?
> > 
> > I use direct SQL to improve performance in several
> > methods, and wondered if
> > I could use the connection pool from my BMP beans...
> > 
> > Cheers.
> > 
> > Tim.
> > 
> > 
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> >
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35 
> a year!  http://personal.mail.yahoo.com/
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
A.j)b    bA.lqzm+-.ǟ+-bا~n,ǫ

Reply via email to