Re: Needing an OSGi expert to help Struts

2008-06-13 Thread Paul Benedict
In a discussions about this, we were looking at what Commons Digester does: http://commons.apache.org/digester/commons-digester-1.8/docs/api/org/apache/commons/digester/Digester.html#getUseContextClassLoader() It appears you can direct Digester to what ClassLoader should be used. We just have to

Re: Needing an OSGi expert to help Struts

2008-06-11 Thread Paul Benedict
Saminda, Here's the code pointed out by Niall: >ClassLoader loader = Thread.currentThread().getContextClassLoader(); >if (loader == null) { >loader = this.getClass().getClassLoader(); >} I wouldn't imagine it would be difficult to refactor such logic into a replaceable method

Re: Needing an OSGi expert to help Struts

2008-06-10 Thread Paul Benedict
Shaoo, Stefano, Thanks for responding. I created a miniature Maven 2 repository holding the snapshots of the libraries. Being a repo, it contains the POM for you to inspect as well: http://people.apache.org/~pbenedict/struts-osgi/ Sources from SVN: http://svn.apache.org/viewvc/struts/struts1/tru

Struts OSGi - help wanted

2008-06-09 Thread Paul Benedict
At the Struts project, we just OSGified our libraries. It's our first attempt at doing this for libraries used in a web container. We need some verification help though. Is anyone on the Felix team familiar enough with Struts to also look at the SNAPSHOT Struts libraries, and maybe load them, or ch

Needing an OSGi expert to help Struts

2008-06-08 Thread Paul Benedict
At the Struts project, we just OSGified our libraries with the maven-bundle-plugin. We need some verification help though. Is anyone on the Felix team familiar enough with Struts to also look at the SNAPSHOT Struts libraries, maybe load them, and check out their MANIFEST? Since these libraries wil