Re: JNDI question: client talking to EJBs on multiple app servers

2002-04-19 Thread Lachezar Dobrev
Well... "dedicated.connection=true" is not documented :))) Second. There ARE drawbacks. The method you show in the message will lead you to resource leakage. Try reusing contexts for one and the same target. Anyway. The Answer is: YES, it WILL work. However. The classes, for the Home

Re: JNDI question: client talking to EJBs on multiple app servers

2002-04-18 Thread David Moles
Brilliant -- thanks. What I couldn't find was any documentation on what goes in the environment Hashtable. :) What does the dedicated.connection=true property do? If I were to do this: public FooRemote getRemote(String jndiURL) { Hashtable env = new Hashtable(); env.put(Context.PR

RE: JNDI question: client talking to EJBs on multiple app servers

2002-04-18 Thread Greg Davis
} catch(Exception e) {} } return jndiContext; } Hope this helps... Greg -Original Message- From: David Moles [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 4:06 PM To: Orion-Interest Subject: JNDI question: client talking to EJBs on multiple app serv

Re: JNDI question: client talking to EJBs on multiple app servers

2002-04-17 Thread Lachezar Dobrev
Hi. A working model is to create two Initial Context-s for each server. Use a "dedicated.connection=true" property to create the context. The "dedicated.connection" however leads to resource leakage, and if you keep creating more and more of them you will eventualy get "java.lang.OutOfMemo

JNDI question: client talking to EJBs on multiple app servers

2002-04-17 Thread David Moles
I've got the same beans deployed on two different app servers (each backed by a different database). I want my client to talk to both. Say the two app servers are running on machines named Fred and Wilma; I know I can choose which one I talk to by setting java.naming.provider.url=ormi://fred/a

RE: JNDI Question

2001-07-19 Thread Robert Ren
Title: JNDI Question Hi, Joseph: I have a question for you. How can you schedule a program in Orion server? I will have a task like this in the next week. Thanks a lot!   Rob -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Nusairat

JNDI Question

2001-07-19 Thread Nusairat, Joseph F.
Title: JNDI Question Hey I was wondering I am running orion 1.5 and I have a few applications that I need to run in a batch fashion at night. They are basic java classes that get scheduled. However I want to pull from the JNDI some of the configurations. How do I set the environment

RE: JNDI Question

2000-03-27 Thread Alex Paransky
Change deactivated="true" to deactivated="false" in principals.xml. -AP_ -Original Message- From: Frank Apap [mailto:[EMAIL PROTECTED]] Sent: Monday, March 27, 2000 2:21 PM To: Orion-Interest Subject: JNDI Question I am trying to make a program that connects

JNDI Question

2000-03-27 Thread Frank Apap
I am trying to make a program that connects to my database using orion's datasource's . It works fine with jsp, serlvets. But as a standalone application I first got a NoInitialContextException. So then I placed a jndi.properties file in the directory. Now I get an SecurityError that my userna