quality@glassfish.java.net

Re: deploy apache-archiva on GlassFish V2 got javax.naming.OperationNotSupportedException

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Thu, 10 Jul 2008 23:15:00 -0700

Thanks Mahesh for finding the root cause for this issue. I loged a bug
to keep track. Thanks, Judy



https://glassfish.dev.java.net/issues/show_bug.cgi?id=5296




hesh Kannan wrote:

> 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
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>