Re: Using Struts2 OSGi plugin with GlassFish

2013-01-08 Thread Christina Kaskoura
Hi Martin. In struts2-osgi-plugin.jar there is no .\META-INF\maven\plugin.xml file. I assume you mean the .\struts-plugin.xml file? Also if I understand correctly there is no existing implementation of the PackageProvider which can work with GlassFish, I will just have to implement my own, is

Re: Using Struts2 OSGi plugin with GlassFish

2013-01-08 Thread Christina Kaskoura
Hi Lukasz, Unfortunately the felix.jar contained in GlassFish does not include all the classes included in the felix-related jars declared as dependencies of the OSGi plugin. So if I exclude the felix main jar as you suggest I get the following error during deployment: java.lang.Exception: j

Re: Using Struts2 OSGi plugin with GlassFish

2013-01-08 Thread Lukasz Lenart
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 nu

RE: Using Struts2 OSGi plugin with GlassFish

2013-01-08 Thread Martin Gainty
The beauty of implementing a maven-plugin is that all attributes of the plugin are configurable open struts2-osgi-plugin.jar edit .\META-INF\maven\plugin.xml look for as long as your com.opensymphony.xwork2.config.PackageProvider (felix provider) implements interfacescom.opensymphony.xwork2.co

Using Struts2 OSGi plugin with GlassFish

2013-01-08 Thread Christina Kaskoura
Hello. 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 un