You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Lin Sun <li...@gmail.com> on 2007/01/16 21:08:49 UTC

tried to run jaxws-war-2.0-SNAPSHOT with axis2

Just tried to run the jaxws-war test with axis2 (by disabling the
cxf-deployer in config.xml to force it goes to Axis2builder.).   The name of
the jaxws-war test said cxfPojoservlet which is confusing but you can tell
the 'servlet/?wsdl' request did go to Axis2Builder.  However, I am running
into the following error which probably just starts to appear today.

It turned out that the repo we are using
(http://ws.zones.apache.org/repository/org.apache.ws.commons.axiom/jars/)
just uploaded a newer version of axiom-api-snapshot.jar today and the
org/apache/axiom/om/impl/builder/OMBuilder class (used by Axis2) isn't there
anymore.   I'll have to configure Axis2 builder to use axiom-api-1.2.2.jar
instead before this is resolved by Axis2.

Jan 16, 2007 2:22:42 PM org.apache.geronimo.axis2.builder.Axis2Builder
configure
POJO
INFO: configuring POJO webservice: cxfPojoServlet sei:
org.apache.hello_world_so
ap_http.GreeterImpl
2007-01-16 14:22:48.000::WARN:  Error for /jaxws-war-2.0-SNAPSHOT/servlet
java.lang.NoClassDefFoundError: org/apache/axiom/om/impl/builder/OMBuilder
        at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingO
utputStream(CommonsHTTPTransportSender.java:259)
        at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Com
monsHTTPTransportSender.java:200)
        at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:608)
        at
org.apache.geronimo.axis2.Axis2WebServiceContainer.doService(Axis2Web
ServiceContainer.java:144)
        at
org.apache.geronimo.axis2.Axis2WebServiceContainer.invoke(Axis2WebSer
viceContainer.java:85)
        at
org.apache.geronimo.webservices.WebServiceContainerInvoker.service(We
bServiceContainerInvoker.java:78)
        at
org.apache.geronimo.webservices.POJOWebServiceServlet.service(POJOWeb
ServiceServlet.java:79)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:491
)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
67)
        at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav
a:185)
        at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1
81)
        at
org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(Th
readClassloaderHandler.java:46)
        at
org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(Com
ponentContextHandler.java:47)
        at
org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(Inst
anceContextHandler.java:58)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:6
89)
        at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:391)

        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHand
lerCollection.java:146)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.
java:114)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
39)
        at org.mortbay.jetty.Server.handle(Server.java:285)
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:45
7)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnectio
n.java:765)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:627)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357)
        at
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.
java:217)
        at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool
.java:475)
14:22:53,156 INFO  [DirectoryMonitor] Hot deployer notified that an artifact
was
 removed: CXF/cxfPojoServlet/1.1/car


Re: tried to run jaxws-war-2.0-SNAPSHOT with axis2

Posted by Davanum Srinivas <da...@gmail.com>.
Please remove your ~/.m2/repository/org/apache/ws/commons/axiom
directory and run the geronimo build again. i have cleaned up the bad
jar this morning in apache maven2-snapshots

thanks,
dims

On 1/16/07, Lin Sun <li...@gmail.com> wrote:
> Just tried to run the jaxws-war test with axis2 (by disabling the
> cxf-deployer in config.xml to force it goes to Axis2builder.).   The name of
> the jaxws-war test said cxfPojoservlet which is confusing but you can tell
> the 'servlet/?wsdl' request did go to Axis2Builder.  However, I am running
> into the following error which probably just starts to appear today.
>
> It turned out that the repo we are using
> (http://ws.zones.apache.org/repository/org.apache.ws.commons.axiom/jars/)
> just uploaded a newer version of axiom-api-snapshot.jar today and the
> org/apache/axiom/om/impl/builder/OMBuilder class (used by Axis2) isn't there
> anymore.   I'll have to configure Axis2 builder to use axiom-api-1.2.2.jar
> instead before this is resolved by Axis2.
>
> Jan 16, 2007 2:22:42 PM org.apache.geronimo.axis2.builder.Axis2Builder
> configure
> POJO
> INFO: configuring POJO webservice: cxfPojoServlet sei:
> org.apache.hello_world_so
> ap_http.GreeterImpl
> 2007-01-16 14:22:48.000::WARN:  Error for /jaxws-war-2.0-SNAPSHOT/servlet
> java.lang.NoClassDefFoundError: org/apache/axiom/om/impl/builder/OMBuilder
>         at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingO
> utputStream(CommonsHTTPTransportSender.java:259)
>         at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Com
> monsHTTPTransportSender.java:200)
>         at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:608)
>         at
> org.apache.geronimo.axis2.Axis2WebServiceContainer.doService(Axis2Web
> ServiceContainer.java:144)
>         at
> org.apache.geronimo.axis2.Axis2WebServiceContainer.invoke(Axis2WebSer
> viceContainer.java:85)
>         at
> org.apache.geronimo.webservices.WebServiceContainerInvoker.service(We
> bServiceContainerInvoker.java:78)
>         at
> org.apache.geronimo.webservices.POJOWebServiceServlet.service(POJOWeb
> ServiceServlet.java:79)
>         at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:491
> )
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
> 67)
>         at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav
> a:185)
>         at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1
> 81)
>         at
> org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(Th
> readClassloaderHandler.java:46)
>         at
> org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(Com
> ponentContextHandler.java:47)
>         at
> org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(Inst
> anceContextHandler.java:58)
>         at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:6
> 89)
>         at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:391)
>
>         at
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHand
> lerCollection.java:146)
>         at
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.
> java:114)
>         at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
> 39)
>         at org.mortbay.jetty.Server.handle(Server.java:285)
>         at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:45
> 7)
>         at
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnectio
> n.java:765)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:627)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357)
>         at
> org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.
> java:217)
>         at
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool
> .java:475)
> 14:22:53,156 INFO  [DirectoryMonitor] Hot deployer notified that an artifact
> was
>  removed: CXF/cxfPojoServlet/1.1/car
>
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)