users@glassfish.java.net

Re: Glassfish V3.1 - How to debug OSGI Bundle?

From: CasMeiron <casmeiron_at_gmail.com>
Date: Wed, 28 Jul 2010 11:48:37 -0300

Hi Sahoo,

I accomplished that with a personalized gmaven plugin so I can easily deploy
the new bundle, works perfect!

However, I realized the session is detroyed every time that I make the new
deployment (I just override the file, never used uninstall/install/update
command on felix console, it generates the same result I think). Is it
possible to use some kind of config to maintain the session alive? I have
test case if you want to.

Thanks in advance.

-------------------------------
Paulo Reis




On Wed, Jul 28, 2010 at 9:09 AM, CasMeiron <casmeiron_at_gmail.com> wrote:

> Hi Sahoo,
>
> Let me clarify this. Do you know whether the WTP will ever support WAB? I
> would like to deploy my WAB directly on eclipse and see the
> changes automatically as it works for WAR files with GF V3. Maybe this
> question shouldn't be made directly to you but to the WTP plugin team.
>
> I know I can debug just creating a breakpoint in my bundle but my question
> is more about how to make bundle deployment process more easy. There is any
> plugin (maven) that can do that?
>
> Thanks & Best Regards.
>
> -------------------------------
> Paulo Reis
>
>
>
>
>
> On Wed, Jul 28, 2010 at 1:18 AM, Sanjeeb Sahoo <Sahoo_at_sun.com> wrote:
>
>> You can use any debugger to debug apps/bundles deployed in GlassFish,
>> can't you? What kind of debugging are you referring to? What do you mean by
>> hot-deployment?
>>
>> Thanks,
>> Sahoo
>>
>> On Wednesday 28 July 2010 12:45 AM, CasMeiron wrote:
>>
>>> Hello guys,
>>>
>>> Is there anyway to debug deployed bundles?
>>> I know that I can run felix inside eclipse and debug as normal java
>>> application and then I can deploy my app but I want to debug directly using
>>> some tools like WTP, easy and painless. Is there anyway to accomplish that?
>>>
>>> Also, hot-deployment works on OSGI bundles?
>>>
>>> Thanks in advance.
>>>
>>> -------------------------------
>>> Paulo Reis
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>