users@grizzly.java.net

Re: grizzly 2.0 + glassfish v3 embedded

From: Ken--_at_newsgroupstats.hk <dragonken_at_gmail.com>
Date: Thu, 4 Mar 2010 00:20:18 -0800 (PST)

Ok. I will switch it back once glassfish upgrade to grizzly 2.0.


Oleksiy Stashok wrote:
>
>> My first solution is switch to other embed server like Tomcat / Jetty.
> Fair enough.
> Ken, can I just ask you to file an issue?
>
> Thanks.
>
> WBR,
> Alexey.
>
>
>>
>> Ken
>>
>>
>> Oleksiy Stashok wrote:
>>>
>>> I guess OSGi may help here. It's some additional work for sure, but
>>> alternative is to deal with ClassLoaders, which seems more
>>> complicated
>>> and some side effects may appear.
>>>
>>> May be others may suggest some solution here?
>>>
>>> WBR,
>>> Alexey.
>>> On Mar 2, 2010, at 13:36 , Ken--_at_newsgroupstats.hk wrote:
>>>
>>>>
>>>> Hi Alexey,
>>>>
>>>> not work.
>>>>
>>>> Config Listener notification got interruped
>>>> java.util.concurrent.ExecutionException:
>>>> java.lang.IncompatibleClassChangeError: Implementing class
>>>> at
>>>> java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232)
>>>> at java.util.concurrent.FutureTask.get(FutureTask.java:91)
>>>>
>>>> It seems that 1.9 and 2.0 are conflict to each other.
>>>>
>>>> Regards,
>>>> Ken
>>>>
>>>>
>>>>
>>>> Oleksiy Stashok wrote:
>>>>>
>>>>> 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
>>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> 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-tp27754145p27755338.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-tp27754145p27763349.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-tp27754145p27777958.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.