[ https://issues.apache.org/jira/browse/AXIS2-5607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13774408#comment-13774408 ]
Jürgen Weber commented on AXIS2-5607: ------------------------------------- The IDL is taken from the sample http://wso2.com/library/2807/ I have changed nothing in service.xml, I have taken the 1.6.2 zip file. To reproduce you should follow the sample. Maybe it would be easier to change the Corba module to just use JDK Orb instead of Yoko by default. > FVDCodeBaseImpl cannot be cast to CodeBase > ------------------------------------------ > > Key: AXIS2-5607 > URL: https://issues.apache.org/jira/browse/AXIS2-5607 > Project: Axis2 > Issue Type: Bug > Components: corba > Affects Versions: 1.6.2 > Environment: Java 7 > Reporter: Jürgen Weber > Priority: Minor > > I tried the Exposing CORBA Services as Web Services - Introduction to the > Axis2 CORBA Module > sample from http://wso2.com/library/2807/ using Yoko 1.3 > There seems to be an incompatibility between Yoko 1.3 and the Java 1.7 Orb, > the client shows the stack trace below. > I configured the corba module to use the sun orb, too, then the sample works: > <parameter name="orbClass">com.sun.corba.se.impl.orb.ORBImpl</parameter> > <parameter > name="orbSingletonClass">com.sun.corba.se.impl.orb.ORBSingleton</parameter> > Exception in thread "main" org.apache.axis2.AxisFault: > com.sun.corba.se.impl.io.FVDCodeBaseImpl cannot be cast to > org.omg.SendingContext.CodeBase > at > org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531) > at > org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375) > at > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421) > at > org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) > at > org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) > at test.MycorbaserverStub.concat(MycorbaserverStub.java:209) > at test.Client.main(Client.java:18) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org