Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] Equinox Aspects in RAP Tomcat Deployment

Hi Martin,
Sounds interesting...i won't be able to look at it until tonight...will let you know how it goes.
thanks a million,
dara.

On Wed, Jul 8, 2009 at 10:56 AM, Martin Lippert <lippert@xxxxxxx> wrote:
Hi Dara!

I think putting the property in config.ini is fine, you should not do the
"dirty" tricks with bootdelegation and so on. The real problem is this:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=279215

Not yet solved, but you could try the attached patch.

HTH,
Martin


> Hi Martin,
> thanks for the response.
> yes, the servletbridge.jar is deployed in the eclipse lib folder.
> dara.
>
>
> On Wed, Jul 8, 2009 at 9:37 AM, Martin Lippert <lippert@xxxxxxx> wrote:
>
>> Hi!
>>
>> Do you refer to a deployment using the equinoxo servlet bridge here?
>>
>> -Martin
>>
>>
>> > so i setup my config.ini accordingly (ensuring that the weaving
>> service
>> > was
>> > started etc) and when launched, OSGI was not starting the service as
>> it
>> > was
>> > reporting NoClassDefError on IWeavingService. I read a similar post on
>> the
>> > equinox dev list (about starting aspects from the command line) and so
>> > added
>> > the following to the tomcat startup.bat
>> > -Dosgi.compatibility.bootdelegation=true and added the osgi/weaving
>> hook
>> > bundles to the classpath. This seemed to overcome the first problem
>> and
>> > the
>> > bundles are activated however the i do not see the weaver actually
>> kicking
>> > in (like i do in the debug version). any ideas would be greatly
>> > appreciated.
>> > Regards,
>> > Dara
>> > _______________________________________________
>> > aspectj-dev mailing list
>> > aspectj-dev@xxxxxxxxxxx
>> > https://dev.eclipse.org/mailman/listinfo/aspectj-dev
>> >
>>
>> _______________________________________________
>> aspectj-dev mailing list
>> aspectj-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/aspectj-dev
>>
> _______________________________________________
> aspectj-dev mailing list
> aspectj-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-dev
>

_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-dev


Back to the top