Skip to main content

Feature request: Start Glassfish using Equinox or other OSGi than Felix

No replies
ssamayoa
Offline
Joined: 2005-02-22
Points: 0

Hi.

I been working on application of mine which now requires reporting so I decided for Birt. Instead of copying the JARS from runtime to WEB-INF/lib I put them in my domain's lib folder because:

1. any application which needs birt can use them with the benefit of less resource use.

2. reduced the size war file so I can upload and redeploy in my server quickly than if I included full birt in the application. By the way, I didn't tested if Birt works that way.

So I added the web files of the Birt´s web viewer examples and launched the report but birt could not initialize because Felix is the default OSGi platform.

I googled arround and found the way (easy I must admit) to start GF using equinox and do my test outside eclipse and worked very well.

But I need to start GF from eclipse using Equinox insted of Felix but after unsuccessful attemps (setting environment for example) I have no option but look for the plugin sources and see whats going on.

I hardcoded in the enviroment used for process creation the key "GlassFish_Platform" and replaced in the plugin jar the modified classes files.

For now I solved my problem but iw would be nice if we can set the OSGi platform to use in the server's configuration page.

Regards.

BTW: The most consuming time wasn't change the source but finding the repository.