Hi what is wrong with this code?
ic = new InitialContext();
Object myObj = new MyObject();
ic.rebind("java:comp/env/my_object", myObj);
// I even tried "java:/comp/env/my_obj"
ic.close();
I get a NamingException saying the context is
readonly.
I am using Tomcat 4.0 beta5 on NT / JVM 1.3.0_02
any suggestion?
Adi
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
- Re: what's wrong here? Aditya Anand
- Re: what's wrong here? Craig R. McClanahan
