The spec doesn't prohibit the client from doing a Ctx.close(). The
JavaEE spec only prohibits the apps from mutating the JNDI env. Looks
like the code has been like for a while. We need to fix this. The
NamingManager.close() shouldn't throw OperationNotSupportedException.
Checked with Ken also.
Thanks,
--Mahesh
Judy Tang wrote:
> Following is a translated community post. I can ask for the app if we
> need it to diagnose.
>
> Thanks,
> Judy
>
> --------
>
> "In glassfish V2, when I deploy apache-archiva, I got
> javax.naming.OperationNotSupportedException: close() not implemented.
>
> When I looked GglassFish code
> com.sun.enterprise.naming.NamingManagerImpl,I found
> error occurred at
> public void close() throws NamingException {
> throw new OperationNotSupportedException("close() not implemented");
> }
>
> Would you please let me know why I am getting this error."
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>