geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor" <jga...@gmail.com>
Subject Re: Axis2 Service Deployment Question
Date Tue, 16 Sep 2008 14:29:48 GMT
Try adding one more hidden-classes filter:
<dep:filter>org.apache.axiom</dep:filter>.

Jarek

On Tue, Sep 16, 2008 at 10:18 AM, jcaristi <jcaristi@whisolutions.com> wrote:
>
> I needed to filter some additional classes and I am getting close, but I'm
> still having problems deploying the Axis2.war to Geronimo:
>
> 1. I set the JAVA_OPTS as follows:
>
> set JAVA_OPTS= -Dorg.apache.geronimo.jaxws.builder.useSimpleFinder=true
>
> 2. My deployment plan includes this:
>
> <dep:hidden-classes>
>      <dep:filter>org.apache.commons</dep:filter>
>        <dep:filter>org.jdom</dep:filter>
>        <dep:filter>org.apache.axis2</dep:filter>
> </dep:hidden-classes>
>
>
> 3. The deployment works, but when I try the validate page of the Axis
> application or try to get the wsdl for the Version service, I get errors.  I
> have attached the log and copied an error here:
>
> http://www.nabble.com/file/p19512852/geronimo.log geronimo.log
>
> 10:07:50,718 ERROR [AxisServlet]
> org.apache.axiom.soap.SOAPEnvelope.hasFault()Z
> java.lang.NoSuchMethodError: org.apache.axiom.soap.SOAPEnvelope.hasFault()Z
>        at
> org.apache.axis2.context.MessageContext.isFault(MessageContext.java:4050)
>        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:151)
>        at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
>        at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>        at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>        at
> org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:56)
>        at
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:406)
>        at
> org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
>        at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>        at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>        at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>        at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
>        at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>        at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>        at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>        at java.lang.Thread.run(Thread.java:595)
>
>
>
>
>
> Hi,
>
> I was able to deploy the Axis2.war file onto G 1.1 quite long time ago.
>
> You can create a geronimo-web.xml file for you Axis2.war to hide the
> conflict org.apache.commons classes (G server probably uses a
> different version than what your Axis2.war contains).
>
> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1">
>
>  <dep:environment
> xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1">
>    <dep:moduleId>
>      <dep:groupId>mygroup</dep:groupId>
>      <dep:artifactId>axis2</dep:artifactId>
>      <dep:version>1.0</dep:version>
>      <dep:type>war</dep:type>
>    </dep:moduleId>
>
>    <dep:hidden-classes>
>      <dep:filter>org.apache.commons</dep:filter>
>    </dep:hidden-classes>
>  </dep:environment>
>
>
> --
> View this message in context: http://www.nabble.com/Axis2-Service-Deployment-Question-tp19390975s134p19512852.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>

Mime
View raw message