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

defaultInitCtx: javax.naming.Context = [EMAIL PROTECTED]

Howevern, when running inside Tomcat,
Context context = new InitialContext(); returns

defaultInitCtx: javax.naming.Context = [EMAIL PROTECTED]

this later Context has of course no knowledge of
JMS Administrated Objects (Topic and ConnectionFactory).

Is there a way

Jyrki



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to