RE: Using Struts2 OSGi plugin with GlassFish

2013-01-09 Thread Martin Gainty
d, 9 Jan 2013 09:37:02 +0200 > From: christina.kasko...@eurodyn.com > To: mgai...@hotmail.com > CC: user@struts.apache.org; us...@maven.apache.org > Subject: Re: Using Struts2 OSGi plugin with GlassFish > > Hi Martin. > > In struts2-osgi-plugin.jar there is no .\META-INF\mave

Re: Using Struts2 OSGi plugin with GlassFish

2013-01-09 Thread Lukasz Lenart
2013/1/9 Christina Kaskoura : > Thank you for your input Lukasz. I registered a new issue as you suggested > (https://issues.apache.org/jira/browse/WW-3958) Thanks a lot - we need more user experiences in that area :-) Cheers -- Ɓukasz + 48 606 323 122 http://www.lenart.org.pl/ ---

Re: Using Struts2 OSGi plugin with GlassFish

2013-01-09 Thread Christina Kaskoura
Thank you for your input Lukasz. I registered a new issue as you suggested (https://issues.apache.org/jira/browse/WW-3958) Christina On 09/01/2013 09:59, Lukasz Lenart wrote: 2013/1/9 Christina Kaskoura : Hi Lukasz, Unfortunately the felix.jar contained in GlassFish does not include all the

Re: Using Struts2 OSGi plugin with GlassFish

2013-01-09 Thread Lukasz Lenart
2013/1/9 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

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