tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Remijan <remi...@ncsa.uiuc.edu>
Subject JNDI context read only ??.
Date Wed, 08 Oct 2003 19:14:37 GMT
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


Mime
View raw message