Re: [JBoss-user] Accessing DataSource from a client

2001-03-21 Thread Dan Christopherson
when you say BEAN you mean EJB right? ) > > - Original Message - > From: "Kirill Averianov" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, March 21, 2001 6:50 PM > Subject: RE: [JBoss-user] Accessing DataSource from a client

Re: [JBoss-user] Accessing DataSource from a client

2001-03-21 Thread Dan Christopherson
ubcontexts. Getting non-default datasources set up in JBoss seems a bit underdocumented at this point. Sorry about the confustion. > > - Original Message - > From: "danch" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, March 21, 200

RE: [JBoss-user] Accessing DataSource from a client

2001-03-21 Thread Kirill Averianov
To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Accessing DataSource from a client it should still work (when you say BEAN you mean EJB right? ) - Original Message - From: "Kirill Averianov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 21, 2001

Re: [JBoss-user] Accessing DataSource from a client

2001-03-21 Thread Joe
it should still work (when you say BEAN you mean EJB right? ) - Original Message - From: "Kirill Averianov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 21, 2001 6:50 PM Subject: RE: [JBoss-user] Accessing DataSource from a client > Your

Re: [JBoss-user] Accessing DataSource from a client

2001-03-21 Thread Joe
nd you do ? I am still pretty new to EJB and I have been more concerned with my code than deployment; which I seem to have the most trouble with. - Original Message - From: "danch" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 21, 2001 4:32 PM Subject:

RE: [JBoss-user] Accessing DataSource from a client

2001-03-21 Thread Kirill Averianov
2001 11:33 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Accessing DataSource from a client Joe wrote: > your OracleDB is bound to "java:/OracleDB" > your look up should look like this > xads = ( javax.sql.DataSource )jndiCtx.lookup ( "java:/OracleDB" ); N

Re: [JBoss-user] Accessing DataSource from a client

2001-03-21 Thread danch
equire that you either set up OracleDB as your default, or make a couple of mapping entries in jboss.xml. > > - Original Message - > From: "Kirill Averianov" <[EMAIL PROTECTED]> > To: "JBOSS (E-mail)" <[EMAIL PROTECTED]> > Sent: Wednes

Re: [JBoss-user] Accessing DataSource from a client

2001-03-21 Thread Joe
AIL PROTECTED]> Sent: Wednesday, March 21, 2001 3:46 PM Subject: [JBoss-user] Accessing DataSource from a client > > I have a stand alone java client (NOT A BEAN) where I am trying to > get a pointer > to "OracleDB" DataSource using the following code : >

[JBoss-user] Rép. : [JBoss-user] Accessing DataSource from a client

2001-03-21 Thread Thierry Templier
You can access to a datasource only in the jvm of the server but not outside it. You must lookup on java:/OracleDB Templ >>> [EMAIL PROTECTED] 21/03/01 16h46 >>> I have a stand alone java client (NOT A BEAN) where I am trying to get a pointer to "OracleDB" DataSource using the fo

[JBoss-user] Accessing DataSource from a client

2001-03-21 Thread Kirill Averianov
I have a stand alone java client (NOT A BEAN) where I am trying to get a pointer to "OracleDB" DataSource using the following code : xads = ( javax.sql.DataSource )jndiCtx.lookup ( "OracleDB" ); I get : "javax.naming.NameNotFoundException: jdbc not bound"