tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aditya Anand <adi...@yahoo.com>
Subject what's wrong here?
Date Tue, 17 Jul 2001 12:27:20 GMT
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/

Mime
View raw message