[jbossws-users] [JBossWS] - Re: java.lang.ClassCastException: javax.naming.Reference whi
atulksh
do-not-reply at jboss.com
Thu Jan 18 15:22:07 EST 2007
Hi,
I have still not figured the problem. I tried to run all jboss-ws 1.0.4 samples which use a standard java client (JSE client) and use jndi to access a web-service deployed on the server - the samples are -
samples/jaxrpc/rpcstyle
samples/jaxrpc/jsr109pojo
Both give the same exact response
[junit] javax.naming.NamingException: Could not dereference object [Root exception is java.lang.ClassCastException: org.jboss.webservice.metadata.serviceref.ServiceRefMetaData]
[junit] at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure
(NamingContext.java:1150)
[junit] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:70
5)
[junit] at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java135)
[junit] at $Proxy1.lookup(Unknown Source)
[junit] at javax.naming.InitialContext.lookup(InitialContext.java:351)
[junit] at org.jboss.test.ws.jaxrpc.samples.rpcstyle.TrivialServiceRpcTestCase.setUp(TrivialServiceRpcTestCase.java:64)
[junit] at junit.framework.TestCase.runBare(TestCase.java:125)
Can anybody help please? Thanks a lot!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003515#4003515
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003515
More information about the jbossws-users
mailing list