JNDI InitialContext problem

2005-01-12 Thread Jyrki Saarinen
Hello, I'm using Java Message Service (JMS) in a webapp. My standalone JMS test programs works as it should, but the same code fails when run under Tomcat. The problem is what new InitialContext() returns. In standalone JMS test program, Context context = new InitialContext(); returns

Re: JNDI InitialContext problem

2005-01-12 Thread Arto Pastinen
Define jndi provider url. Artsi On Wed, 2005-01-12 at 12:42, Jyrki Saarinen wrote: Hello, I'm using Java Message Service (JMS) in a webapp. My standalone JMS test programs works as it should, but the same code fails when run under Tomcat. The problem is what new InitialContext() returns.