users@grizzly.java.net

Re: grizzly 2.0 + glassfish v3 embedded

From: Ken--_at_newsgroupstats.hk <dragonken_at_gmail.com>
Date: Tue, 2 Mar 2010 02:50:45 -0800 (PST)

just a simple client server by Grizzly 2.0 and embed glassfish v3
(glassfish-embedded-web-3.0.jar) for a web administration interface, I just
need a standard servlet container that can deploy basic war file.

I got this error when import both grizzly 2.0 M3 and glassfish v3 embedded:

Exception in thread "main" java.lang.NoSuchFieldError: SERVER_ACCEPT
        at com.sun.grizzly.utils.IOEventMask.<clinit>(IOEventMask.java:83)
        at
com.sun.grizzly.filterchain.AbstractFilterChain.<init>(AbstractFilterChain.java:64)
        at
com.sun.grizzly.filterchain.ListFacadeFilterChain.<init>(ListFacadeFilterChain.java:63)
        at
com.sun.grizzly.filterchain.DefaultFilterChain.<init>(DefaultFilterChain.java:167)
        at
com.sun.grizzly.nio.transport.TCPNIOTransport.<init>(TCPNIOTransport.java:190)
        at
com.sun.grizzly.nio.transport.TCPNIOTransport.<init>(TCPNIOTransport.java:169)
        at
com.sun.grizzly.nio.DefaultNIOTransportFactory.createTCPTransport(DefaultNIOTransportFactory.java:53)



Oleksiy Stashok wrote:
>
> Hi Ken,
>
>> Can my app import both grizzly 2.0 + glassfish embedded (by grizzly
>> 1.9)? I
>> can see some classes have same package name.
> Hmm, I think it could be solved using OSGi.
> Can you pls. provide more details on type of application you have?
>
> WBR,
> Alexey.
>
>>
>> Regards,
>> Ken
>> --
>> View this message in context:
>> http://old.nabble.com/grizzly-2.0-%2B-glassfish-v3-embedded-tp27754145p27754145.html
>> Sent from the Grizzly - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>
>

-- 
View this message in context: http://old.nabble.com/grizzly-2.0-%2B-glassfish-v3-embedded-tp27754145p27754454.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.