You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Jürgen Weber (JIRA)" <ji...@apache.org> on 2013/09/20 15:30:51 UTC

[jira] [Created] (AXIS2-5607) FVDCodeBaseImpl cannot be cast to CodeBase

Jürgen Weber created AXIS2-5607:
-----------------------------------

             Summary: 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-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org