Hi All-

I have a SLSB running in 3.2.6.

It attempts to modify it's ENC (java:comp/env environment) and succeeds. I.e. 
the following succeeds:

InitialContext ic = new InitialContext();  
Context envCtx = (Context)new InitialContext().lookup("java:comp/env");
envCtx.bind("foo", "bar");
log.debug("Worked!!");

According to the EJB 2.0 spec  (Sec.  20.2.4) an entity beans's environment 
should be read-only.

Can anyone tell me is there something I have to do (perhaps in Jboss config.) 
to make the ENC read-only?



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863679#3863679

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863679


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to