I am totally confused regarding java:comp/env .

Is there any good doc on this. I'm using VAJava 3.5 for development and
deploying on WebSphere 3.5 and 4.0.

Thanks

Anthony Catalfano
Information Technology Analyst
Deere & Company
309-748-5201


-----Original Message-----
From: Raymond Blum [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001 8:50 AM
To: [EMAIL PROTECTED]
Subject: Re: context java:comp/env is read only


Thanks. I inherited this code which was developed for the J2EE RI, I guess
that the RI did not conform to this portion of the spec (?)

> -----Original Message-----
> From: Victor Langelo [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, November 19, 2001 10:25 PM
> To:   Raymond Blum
> Cc:   [EMAIL PROTECTED]
> Subject:      Re: context java:comp/env is read only
>
> It's mandated by the EJB spec. See section 20.2.4 of the EJB 2.0 spec.
>
> --Victor
>
> Raymond Blum wrote:
>
> > Hi there
> >   I'm using WebLogic 6.1 and and having problems trying to bind values
> to
> > the context "java:comp/env"
> > I look up that context through my initial context, retrieve values from
> it
> > that were coded in my <env-entry>, but when I then try to bind some
> names
> > and values to the context I get an "OperationNotSupportedException" with
> the
> > message "bind not allowed in a ReadOnlyContext"
> >
> > Is this a security policy issue? Can anyone help?
> >
> > Thanks
> > ---Raymond

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to