[jboss-user] [JBossWS] - Re: java.lang.ClassCastException: javax.naming.Reference whi

2008-07-01 Thread sankarguru
i have same problem can you pls explain what's problem behind this?
i put all the JNDI properties and set sessioncontext also
still i am getting same error?
is there problem in Jar file?
i have included- Jboss-client-all.jar,activation-jar also

can anybody explain what is the problem and solution 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161665#4161665

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161665
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: java.lang.ClassCastException: javax.naming.Reference whi

2008-07-01 Thread sankarguru
Topic:
java.lang.ClassCastException

i have same problem can you pls explain what's problem behind this? 
i put all the JNDI properties and set sessioncontext also 
still i am getting same error? 
is there problem in Jar file? 
i have included- Jboss-client-all.jar,activation-jar also 

can anybody explain what is the problem and solution 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161666#4161666

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161666
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: java.lang.ClassCastException: javax.naming.Reference whi

2007-01-18 Thread atulksh
Finally found my answer. This is a simple classpath issue. The jse client that 
I am running needs the following classes in it's classpath (including the jar 
which contains the service interface on whom methods are to be called)

jbossall-client.jar
jbossws14-client.jar
activation.jar
xml-apis.jar
xercesImpl.jar
mail.jar
jboss-backport-concurrent.jar
jbossretro-rt.jar

It is frustrating that it gives such a vague exception providing no clue as to 
what might be the issue. I got the clue from ExpertsExchange

http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_21317023.html?qid=21317023

Thank you folks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003567#4003567

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003567
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: java.lang.ClassCastException: javax.naming.Reference whi

2007-01-18 Thread atulksh
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
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user