geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ant elder (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-4343) Tuscany Geronimo plugin bring up
Date Wed, 08 Oct 2008 12:38:44 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-4343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637902#action_12637902
] 

ant elder commented on GERONIMO-4343:
-------------------------------------

With that latest patch (GeronimoServletHost2.diff) the plugin works installing an sca contribution
that uses the Tuscany Web Service binding, well the contribution install works and you can
access the service wsdl but actually invoking the service fails witha classloader issue.

There's a test contribution jar at: http://people.apache.org/~antelder/temp/sample-helloworld-ws-service.jar

Install the plugin to Geronimo, then install that jar with the regular Geronimo "deploy application"
portal, then you can go to http://localhost:8080/tuscany/HelloWorldService?wsdl and the WSDL
for the service will be displayed.

Trying to invoke the service, eg with the Tuscany helloworld-ws-reference sample,(or something
like the Eclipse WTP WS invoker utility) cause the service to fail with: 

08-Oct-2008 13:30:18 org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceInOutSyncMessageReceiver
invokeBusinessLogic
SEVERE: java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(I)V
org.osoa.sca.ServiceRuntimeException: java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(I)V
        at org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(RuntimeWireInvoker.java:119)
        at org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(RuntimeWireInvoker.java:85)
        at org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(RuntimeWireInvoker.java:79)
        at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.invoke(RuntimeWireImpl.java:138)
        at org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider.invokeTarget(Axis2ServiceProvider.java:693)
        at org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceInOutSyncMessageReceiver.invokeBusinessLogic(Axis2Service
InOutSyncMessageReceiver.java:68)
        at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusinessLogic(AbstractInOutSyncMessageRecei
ver.java:42)
        at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
        at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
        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:191)
        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:845)
        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)
Caused by: java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(I)V
        at org.apache.tuscany.sca.interfacedef.java.jaxws.BaseBeanGenerator.generate(BaseBeanGenerator.java:314)
        at org.apache.tuscany.sca.interfacedef.java.jaxws.WrapperBeanGenerator.generateRequestWrapper(WrapperBeanGenerat
or.java:74)
        at org.apache.tuscany.sca.interfacedef.java.jaxws.GeneratedDataTypeImpl.getPhysical(GeneratedDataTypeImpl.java:9
9)
        at org.apache.tuscany.sca.databinding.jaxb.JAXBContextHelper.findClasses(JAXBContextHelper.java:228)
        at org.apache.tuscany.sca.databinding.jaxb.JAXBContextHelper.createJAXBContext(JAXBContextHelper.java:208)
        at org.apache.tuscany.sca.databinding.jaxb.JAXBContextHelper.createJAXBContext(JAXBContextHelper.java:95)
        at org.apache.tuscany.sca.databinding.jaxb.XMLStreamReader2JAXB.transform(XMLStreamReader2JAXB.java:46)
        at org.apache.tuscany.sca.databinding.jaxb.XMLStreamReader2JAXB.transform(XMLStreamReader2JAXB.java:34)
        at org.apache.tuscany.sca.databinding.DefaultTransformerExtensionPoint$LazyPullTransformer.transform(DefaultTran
sformerExtensionPoint.java:199)
        at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(MediatorImpl.java:81)
        at org.apache.tuscany.sca.core.databinding.transformers.Input2InputTransformer.transform(Input2InputTransformer.
java:238)
        at org.apache.tuscany.sca.core.databinding.transformers.Input2InputTransformer.transform(Input2InputTransformer.
java:45)
        at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(MediatorImpl.java:81)
        at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.transform(DataTransformationInterc
eptor.java:186)
        at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationIntercept
or.java:76)
        at org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(RuntimeWireInvoker.java:110)
        ... 25 more

That looks like its picking up the wrong release of ASM.
 


> Tuscany Geronimo plugin bring up
> --------------------------------
>
>                 Key: GERONIMO-4343
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4343
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>            Reporter: ant elder
>         Attachments: GeronimoServletHost1.diff, GeronimoServletHost2.diff, tuscany-core-1.3.jar,
tuscany-xsd-dependency.diff, wsdlgen-depenency.diff
>
>
> JIRA to cover getting the Tuscany Geronimo Plugin working again with the latest releases
of Tuscany and Geronimo. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message