struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <>
Subject Re: Using Struts2 OSGi plugin with GlassFish
Date Wed, 09 Jan 2013 06:37:51 GMT
2013/1/8 Christina Kaskoura <>:
> I am trying to use the Struts2 OSGi plugin and have tried creating a web
> application containing the struts2-osgi-demo-bundle. All goes well when
> deploying the application on Tomcat, however when I try deploying on
> GlassFish (which has Felix included) I get a number of errors which I
> understand are due to the fact that the plugin starts a new Felix instance
> while another one is already running on GlassFish and that certain Felix
> classes are present more than one times in the classpath (one from the Felix
> jars included in the application as dependencies of the plugin and one from
> the felix.jar already included in GlassFish). More details on the actual
> errors are available in this stackoverflow post -
> My question is: is there any specific configuration I should make in order
> to use the OSGi plugin in GlassFish (or any other container including Felix
> for that matter)?

As I understand, GlassFish already contains Felix container, if so
simple exclude Felix dependency from the Struts2 OSGi plugin, when
used with Maven it can be solved by:


+ 48 606 323 122

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message