On 7/11/10 23:37, Rickard Öberg wrote:
On 2010-07-10 03.20, hapa li wrote:
Packaging war file with BND is a pain full process. Try Spring DM web
extender.
Yeah, but it seems I'd have to replace "painful" with "impossible".
It's so sad. On paper doing webapps as bundles looks like an awesome
alternative, as we can do jar sharing and functionality plugins easily
through OSGi. In practice, using GlassFish/Felix+BND it has proven to
be very tough, to the point where I'm close to giving up on the whole
thing. GlassFish routinely hangs during deployment so I have to "kill
-9" it,
Just an FYI, certain errors during framework startup can be problematic
when the framework shutdown hook is enabled. You can disable the
shutdown hook with felix.shutdown.hook=true in conf/config.properties.
Not sure if that is what you are seeing, but you can try and see if it
helps you to avoid the hang.
-> richard
and Maven BND cannot package my WAR file, as outlined. So I can't
build it, and I can't run it. Theory - awesome, Practice - hell.
Maybe I just have to wait a couple of years, until theory and practice
are more aligned.
/Rickard
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]