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

atulksh do-not-reply at jboss.com
Thu Jan 18 18:49:20 EST 2007


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



More information about the jboss-user mailing list