You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Guy Katz <gk...@allot.com> on 2004/06/15 17:42:59 UTC

is it possible to bind something under the java:comp/env?

hi;
i am using tomcat 5.0.24
i want to bind an object into the java:comp/env programatically to tomcat
initial context. is this possible.
the  exception i get:
javax.naming.NamingException: Context is read only
	at
org.apache.naming.NamingContext.checkWritable(NamingContext.java:947)
	at org.apache.naming.NamingContext.bind(NamingContext.java:875)
	at org.apache.naming.NamingContext.rebind(NamingContext.java:252)
	at org.apache.naming.NamingContext.rebind(NamingContext.java:267)
	at
org.apache.naming.SelectorContext.rebind(SelectorContext.java:253)
	at javax.naming.InitialContext.rebind(InitialContext.java:363)

how can i make the context writable?
____________________
Guy Katz
Allot Communications
gkatz@allot.com
tel: +972 9 7619288
fax: +972 9 7443626


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