Hi,

I'm able to identify the problem reported by TUSCANY-1986. Basically there are two issues.

1) When a Tuscany webapp with binding.ws (Axis2) is deployed to Geronimo, the Geronimo server magically adds the axis2 plugin as a dependency to this web module.

2) By default, Geronimo uses parent-first classloading strategy. As a result, the axis2 related jars packahed in the WAR are not effective. Instead, the Geronimo axis2 plugin will take precedance. I believe there is a bug in the axis2 plugin dependency declaration which misses the apche-commons-fileupload. When the Tuscany code tries to load up the axis2 configuration, it fails with NoClassDefFoundError as FileUploadException class cannot be resolved by the axis2 plugin classloader. (Both Geronimo 2.0.1 and 2.0.2 have the same issue.)

To fix the problem, we will have to create a WEB-INF/geronimo-web.xml which contains a <inverse-classloading> element which tells the geronimo server to load classed from the WAR first. I attached the file in the JIRA.

I'm not sure what's the best way to get the problem fixed in 1.1 release. Maybe we have to document it instead of adding code to generate the Geronimo-specifc geronimo-web.xml for each webapp samples.

Thanks,
Raymond

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to