Sorry, it was a cut paste error. inverse-classloading is inside environment element.
I have a lot of jars included in my war, since I am using a third party framework, it depends on many jars. Some jar's version is different from geronimo repository. If I deploy without inverse-classloading, I have to add many hidden-class entry in geronimo-web.xml and still got Exceptions like ClassCastException or MethodNotFound etc. due to the version conflicts. Thanks On Mon, Dec 15, 2008 at 2:10 PM, Kevan Miller <[email protected]>wrote: > > On Dec 15, 2008, at 2:08 PM, Jazon wrote: > > the geronimo-web.xml is: > > <?xml version="1.0" encoding="UTF-8" standalone="yes"?> > <web:web-app xmlns:conn=" > http://geronimo.apache.org/xml/ns/j2ee/connector-1.2" > xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2" > xmlns:name="http://geronimo.apache.org/xml/ns/naming-1.2" xmlns:ejb=" > http://openejb.apache.org/xml/ns/openejb-jar-2.2" > xmlns:pkgen="http://openejb.apache.org/xml/ns/pkgen-2.1" xmlns:app=" > http://geronimo.apache.org/xml/ns/j2ee/application-2.0" > xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0" xmlns:web=" > http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1" > xmlns:pers="http://java.sun.com/xml/ns/persistence" > xmlns:client=" > http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0"> > <dep:environment> > <dep:moduleId> > <dep:groupId>com.test</dep:groupId> > <dep:artifactId>testwar</dep:artifactId> > <dep:version>1.0</dep:version> > <dep:type>war</dep:type> > </dep:moduleId> > </dep:environment> > <dep:inverse-classloading/> > <web:context-root>/testwar</web:context-root> > </web:web-app> > > > I believe that's a cut and paste error? Your inverse-classloading element > belongs within your environment element... Don't see how that would > deploy... > > What sort of jars are included in your war? Do you really need > inverse-classloading? > > --kevan > >
