Hi,

 

I am trying to call a Remote EJB from my Web Service, do I have to
switch the classloader from the thread default to the Axis classloader
to be able to call it? It gives me this error:

 

java.lang.ClassCastException

        at
services.query.ejb.QueryService_9wwn56_HomeImpl_812_WLStub.create(Unknow
n Source)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:324)

        at
org.springframework.ejb.access.AbstractSlsbInvokerInterceptor.create(Abs
tractSlsbInvokerInterceptor.java:177)

        at
org.springframework.ejb.access.AbstractRemoteSlsbInvokerInterceptor.newS
essionBeanInstance(AbstractRemoteSlsbInvokerInterceptor.java:205)

        at
org.springframework.ejb.access.SimpleRemoteSlsbInvokerInterceptor.getSes
sionBeanInstance(SimpleRemoteSlsbInvokerInterceptor.java:108)

        at
org.springframework.ejb.access.SimpleRemoteSlsbInvokerInterceptor.doInvo
ke(SimpleRemoteSlsbInvokerInterceptor.java:74)

        at
org.springframework.ejb.access.AbstractRemoteSlsbInvokerInterceptor.invo
ke(AbstractRemoteSlsbInvokerInterceptor.java:119)

        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Ref
lectiveMethodInvocation.java:185)

        at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAo
pProxy.java:209)

 

Roshan Punnoose

Phone: 301-497-6039

 

BEGIN:VCARD
VERSION:2.1
N:Punnoose;Roshan
FN:Punnoose, Roshan
ADR;WORK:;2115
LABEL;WORK:2115
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20050413T183207Z
END:VCARD
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to