[JBoss-user] JNDI question; remote access

2004-03-05 Thread ian
Hello! I'm trying to configure Hibernate to work with JBoss 3.2.3 as a SAR. Everything is working but when I try to get access to this service remotely, it says it is not bound. I have ensured that it is being bound to that, and double checked in the JNDI view that it is bound in the java names

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
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret KumlerSent: Tuesday, January 13, 2004 4:51 PMTo: JbossSubject: [JBoss-user] JNDI question I was wonder, with the default installation of JBOSS, what is the jndi factory lookup for a datasource, the url, usernam

RE: [JBoss-user] JNDI question

2004-01-13 Thread Rod Macpherson
r [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 1:51 PMTo: JbossSubject: [JBoss-user] JNDI question I was wonder, with the default installation of JBOSS, what is the jndi factory lookup for a datasource, the url, username and the password.       E.G. for Webl

[JBoss-user] JNDI question

2004-01-13 Thread Bret Kumler
I was wonder, with the default installation of JBOSS, what is the jndi factory lookup for a datasource, the url, username and the password.       E.G. for Weblogic:    private Context getInitialContext(){      Properties properties = null;   Context ctx =null;    String weblogic_url="t3:/

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
ECTED]' Subject: [JBoss-user] jndi question why does ctx.lookup("something") give me one result from within the JBoss JVM and a different result outside the JBoss JMV. thanks, frank ___ Don't miss the 20

[JBoss-user] jndi question

2002-06-03 Thread Starsinic, Frank
Title: jndi question why does ctx.lookup("something") give me one result from within the JBoss JVM and a different result outside the JBoss JMV.  thanks, frank

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

[JBoss-user] JNDI question

2001-09-12 Thread ALex Loubyansky
Hello! 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.NamingContextFactory"