Do you see a problem, when putting Grizzly 2.0 binaries first on
classpath?
Alexey.
On Mar 2, 2010, at 11:50 , Ken--_at_newsgroupstats.hk wrote:
>
> 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.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>