RE: [JBoss-user] JNDI question

2004-01-14 Thread Bret Kumler
9 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [JBoss-user] JNDI question Which part don't you understand? In jboss you cannot access a datasource over the network, even if it is local sockets to a process on the same server. Your use of the provider url in the jndi settings makes

RE: [JBoss-user] JNDI question

2004-01-14 Thread Adrian Brock
--- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Adrian Brock > Sent: Tuesday, January 13, 2004 5:41 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] JNDI question > > > If you are trying to use the DataSource on the server, > you should

RE: [JBoss-user] JNDI question

2004-01-13 Thread Adrian Brock
; URL=localhost:1099 > TC_DATASOURCE=MYDATASOURCE > JNDI_FACTORY=org.jnp.interfaces.NamingContextFactory > PKG_PREFIXES=org.jboss.naming > > > > It can not find the connection pool name > > > Thanks for the help > > > &g

RE: [JBoss-user] JNDI question

2004-01-13 Thread Bret Kumler
    It can not find the connection pool name     Thanks for the help            -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Jae GangemiSent: Tuesday, January 13, 2004 2:44 PMTo: [EMAIL PROTECTED]Subject: RE: [JBoss-user] JNDI quest

RE: [JBoss-user] JNDI question

2004-01-13 Thread Jae Gangemi
Title: Message if i'm understanding your question properly, you define all the database information in a datasource file which is then placed in the your deployment directory. (see docs/examples/jca for example data sources)   when jboss starts up, it reads the datasource and builds the app

RE: [JBoss-user] JNDI question

2004-01-13 Thread Rod Macpherson
Title: Message You can use localhost as you're doing with your weblogic stuff but better to use the configurable hostname: jboss.bind.address   try {    properties = new Properties();    properties.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");     properti

RE: [JBoss-user] JNDI question

2002-06-12 Thread Starsinic, Frank
Title: RE: [JBoss-user] JNDI question I've asked this one before but have not gotten around the problem so i'm re-asking. forgive me. I start up JBOSS and things get loaded into JNDI (just strings) Jboss uses them and they work just fine doing a ctx.lookup("name");

RE: [JBoss-user] jndi question

2002-06-03 Thread Starsinic, Frank
Title: RE: [JBoss-user] jndi question oh. i did not think my posts were going through. yes, i'm using initialContext. the jndi.properties always points to my own machine. the problem presents itself when i do a rebind("object", "newvalue"); whichever jvm doe

Re: [JBoss-user] jndi question

2002-06-03 Thread Dan Christopherson
Well, it depends on what context the code inside the JBoss JVM is executing in and on what the 'something' is. If it's in a J2EE component (servlet, JSP, EJB) JBoss will give it an Environment Naming Context (ENC) which contains JNDI entries that are mapped into the components environment by w

RE: [JBoss-user] jndi question

2002-06-03 Thread Lucas McGregor
do they both have the same ctx? Are you using IntialContext? Does one method have a different jndi.properties higher in the classpath than the other? -l -Original Message- From: Starsinic, Frank [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 1:42 PM To: '[EMAIL PROTECTED]' S

Re: [JBoss-user] JNDI question

2001-09-12 Thread Lachezar Dobrev
> Hello! Hello to you too. > I have a problem accessing JNDI from standalone application. I run Jboss. > And on the same machine I am trying to run my application. In the > application: > Hashtable props = new Hashtable(); > props.put("Context.INITIAL_CONTEXT_FACTORY", "org.jnp.interfaces.Nami