I think we should better understand what is causing this change in behavior in Geronimo and not assume this change should be the concrete fix.
It would be bad to require our users to create these hidden classes list when deploying their web app in geronimo, it would require too much understanding of the Tuscany internals, and SCA is all about simplicity. This thread in geronimo-dev [1] should give us more information on the subject. [1] http://www.mail-archive.com/[EMAIL PROTECTED]/msg65191.html On Mon, Sep 29, 2008 at 7:29 AM, <[EMAIL PROTECTED]> wrote: > Author: antelder > Date: Mon Sep 29 07:29:42 2008 > New Revision: 700138 > > URL: http://svn.apache.org/viewvc?rev=700138&view=rev > Log: > TUSCANY-2622: Apply patch from Kevan Miller to Fix geronimo runtime errors > caused by inverse-classloading in alert-aggregator-webapp demo > > Modified: > > tuscany/java/sca/demos/alert-aggregator-webapp/src/main/webapp/WEB-INF/geronimo-web.xml > > Modified: > tuscany/java/sca/demos/alert-aggregator-webapp/src/main/webapp/WEB-INF/geronimo-web.xml > URL: > http://svn.apache.org/viewvc/tuscany/java/sca/demos/alert-aggregator-webapp/src/main/webapp/WEB-INF/geronimo-web.xml?rev=700138&r1=700137&r2=700138&view=diff > ============================================================================== > --- > tuscany/java/sca/demos/alert-aggregator-webapp/src/main/webapp/WEB-INF/geronimo-web.xml > (original) > +++ > tuscany/java/sca/demos/alert-aggregator-webapp/src/main/webapp/WEB-INF/geronimo-web.xml > Mon Sep 29 07:29:42 2008 > @@ -26,7 +26,12 @@ > <d:version>1.4-SNAPSHOT</d:version> > <d:type>war</d:type> > </d:moduleId> > - <!-- TUSCANY-1986 --> > - <d:inverse-classloading /> > + <!-- TUSCANY-2622 --> > + <d:hidden-classes> > + <d:filter>org.apache.axiom</d:filter> > + <d:filter>org.apache.axis2</d:filter> > + <d:filter>org.apache.commons</d:filter> > + <d:filter>org.jdom</d:filter> > + </d:hidden-classes> > </d:environment> > </web-app> > > > -- Luciano Resende Apache Tuscany, Apache PhotArk http://people.apache.org/~lresende http://lresende.blogspot.com/
