[
https://issues.apache.org/jira/browse/TUSCANY-1555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ant elder reopened TUSCANY-1555:
--------------------------------
I've been able to reproduce this now by using the tuscany war distribution. The
problem is that the way to bootstrap an sca domain has been completely changed
by the looks of things, so the initContributions method in
HotUpdatableSCADomain doesn't work any more and looking at the Geronimo code it
looks like it has the same problem. The result is the WSDL definition doesn't
get resolved when using interface.wsdl which ends up resulting in the
ClassCaseException.
I've not been able to figure it out yet, hopefully someone will be able to
explain how you do things the new way.
> ClassCastException occurring on
> org.apache.tuscany.sca.binding.axis2.Axis2ServiceProvider.createJavaAxisService(Axis2ServiceProvider.java:205)
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-1555
> URL: https://issues.apache.org/jira/browse/TUSCANY-1555
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Axis Binding Extension
> Affects Versions: Java-SCA-Next
> Environment: All
> Reporter: Manu T George
> Fix For: Java-SCA-Next
>
>
> ClassCastException Occurring on using the
> <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
> in the Axis2Binding
> Stack trace
> Caused by: java.lang.ClassCastException:
> org.apache.tuscany.sca.interfacedef.wsd
> l.impl.WSDLInterfaceImpl
> at
> org.apache.tuscany.sca.binding.axis2.Axis2ServiceProvider.createJavaA
> xisService(Axis2ServiceProvider.java:205)
> at
> org.apache.tuscany.sca.binding.axis2.Axis2ServiceProvider.createAxisS
> ervice(Axis2ServiceProvider.java:190)
> at
> org.apache.tuscany.sca.binding.axis2.Axis2ServiceProvider.start(Axis2
> ServiceProvider.java:106)
> at
> org.apache.tuscany.sca.binding.axis2.Axis2ServiceBindingProvider.star
> t(Axis2ServiceBindingProvider.java:62)
> at
> org.apache.tuscany.sca.core.runtime.CompositeActivatorImpl.start(Comp
> ositeActivatorImpl.java:535)
> at
> org.apache.tuscany.sca.core.runtime.CompositeActivatorImpl.start(Comp
> ositeActivatorImpl.java:512)
> at
> org.apache.geronimo.tuscany.EmbeddedRuntimeGBean.doStart(EmbeddedRunt
> imeGBean.java:97)
> ... 21 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]