dev@glassfish.java.net

Re: OperationNotSupportedException "close() not implemented"

From: Vassil Iordanov <vassil.iordanov_at_gmail.com>
Date: Tue, 6 May 2008 12:10:57 -0700 (PDT)

Hello,
I get the same exception trying to run Apache's Archiva with Glassfish
"9.1_01" (packaged for Ubuntu).
Any insight will be greatly appreciated.
Thanks,
V


Richard Bair-2 wrote:
>
> I'm trying to get a webapp running on glassfish that uses Turbine/
> Velocity/etc. This application is throwing an exception during its
> configuration stage due to the fact that
> com.sun.enterprise.nameing.NamePairsEnum#close() throws the
> OperationNotSupportedException. This is with Glassfish "9.1_01".
>
> Is there any reason why this has to throw an exception? I read the
> class documentation for NamingEnumeration in the JNDI 1.2 spec and
> don't see a reason why this method couldn't simply be a no-op. I
> suspect somebody used code to auto-insert methods to comply with the
> 1.2 spec, but that's just a guess.
>
> Thanks
> Richard
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>
>

-- 
View this message in context: http://www.nabble.com/OperationNotSupportedException-%22close%28%29-not-implemented%22-tp16760985p17090202.html
Sent from the java.net - glassfish dev mailing list archive at Nabble.com.