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 "Vikram Rajan (JIRA)" <ax...@ws.apache.org> on 2005/02/18 22:56:48 UTC
[jira] Commented: (AXIS-1824) java.lang.ClassCastException at EJB invoke on Orion
[ http://issues.apache.org/jira/browse/AXIS-1824?page=comments#action_59410 ]
Vikram Rajan commented on AXIS-1824:
------------------------------------
I mistyped the version. The versions are 1.2rc2 and 1.1
> java.lang.ClassCastException at EJB invoke on Orion
> ---------------------------------------------------
>
> Key: AXIS-1824
> URL: http://issues.apache.org/jira/browse/AXIS-1824
> Project: Axis
> Type: Bug
> Versions: 1.0-rc2, 1.1
> Environment: Windows XP & Orion App server
> Reporter: Vikram Rajan
>
> We are trying to access a stateless session bean on our orion server. The wsdl is fine. We get this following error using Axis. We have used a wsdd with the Java:EJB as the provider. It always breaks at the EJB invoke step. Following is the wsdd and the stack trace is pasted below that.
> Thanks
> <?xml version="1.0" encoding="UTF-8"?>
> <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
> <service name="MyWebService" provider="java:EJB">
> <parameter name="beanJndiName" value="WebServiceBroker"/>
> <parameter name="allowedMethods" value="*"/>
> <parameter name="remoteInterfaceName" value="net.medfusion.encounter.session.ejb.interfaces.WebServiceBroker"/>
> <parameter name="homeInterfaceName" value="net.medfusion.encounter.session.ejb.interfaces.WebServiceBrokerHome"/>
> <parameter name="jndiURL" value="rmi://localhost/encounter" />
> <parameter name="jndiContextClass" value="com.evermind.server.rmi.RMIInitialContextFactory" />
> <parameter name="jndiUser" value="admin" />
> <parameter name="jndiPassword" value="dilbert" />
> </service>
> </deployment>
> faultString: java.lang.ClassCastException
> faultActor:
> faultNode:
> faultDetail:
> {http://xml.apache.org/axis/}stackTrace:java.lang.ClassCastException
> at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(Unknown Source)
> at javax.rmi.PortableRemoteObject.narrow(Unknown Source)
> at org.apache.axis.providers.java.EJBProvider.createRemoteEJB(EJBProvider.java:129)
> at org.apache.axis.providers.java.EJBProvider.makeNewServiceObject(EJBProvider.java:108)
> at org.apache.axis.providers.java.JavaProvider.getNewServiceObject(JavaProvider.java:233)
> at org.apache.axis.providers.java.JavaProvider.getServiceObject(JavaProvider.java:89)
> at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:285)
> at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:450)
> at org.apache.axis.server.AxisServer.invoke(AxisServer.java:285)
> at org.apache.axis.transport.http.QSMethodHandler.invokeEndpointFromGet(QSMethodHandler.java:130)
> at org.apache.axis.transport.http.QSMethodHandler.invoke(QSMethodHandler.java:95)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.java:1132)
> at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:233)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:195)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
> at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:301)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
> at com.evermind._cub._pod(.:521)
> at com.evermind._cub._bmc(.:177)
> at com.evermind._ax._ltc(.:666)
> at com.evermind._ax._uab(.:191)
> at com.evermind._bf.run(.:62)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira