tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: JNDI context read only ??.
Date Wed, 08 Oct 2003 19:35:02 GMT

Howdy,
The environment context is read-only to apps.  You can search the
archives for more information as this question has been posted several
times.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Michael Remijan [mailto:remijan@ncsa.uiuc.edu]
>Sent: Wednesday, October 08, 2003 3:15 PM
>To: Tomcat Users List; wchandler@redesetgrow.com
>Subject: JNDI context read only ??.
>
>Hi,
>
>I want to put an object into the JNDI context, but I get an exception
that
>says the context is read only.  Is there a way to make it writable?
>
>Context ctx = (Context) new InitialContext().lookup("java:comp/env");
>ctx = ctx.createSubcontext("glqso");
>ctx.bind("ResourceManager", _rm);
>
>thanks,
>Mike
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message