2 Replies Latest reply on Mar 14, 2006 11:00 PM by alexeit

    ClassCastException while using JWSDP 1.6 and jbossall-clint.

      Hi Folks,

      I have Web service client application, compiled using JWSDP 1.6.
      the client applcaion is a servlet to use webservice.
      I got
      java.lang.ClassCastException: org.jboss.axis.Message
      80-Processor25:) at com.sun.xml.rpc.client.dii.CallInvokerImpl._postSendingHook(CallInvokerImpl.java:305)


      But I have fixed this issue after removing jbossall-client.jar from client classpath. it works fine.

      Also thanks for this link


      http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3920500




      But this jar has org.jboss.logging.Logger class . I need this class to log some info.
      How can I solve this conflict? I tried to use log4j.jar, seems not working well.

      Please help.


        • 1. Re: ClassCastException while using JWSDP 1.6 and jbossall-cl
          jason.greene

          Why not use our client stack instead of the jwsdp, just because you use wscompile does not mean you need to use the sun ws stack.

          -Jason

          • 2. Re: ClassCastException while using JWSDP 1.6 and jbossall-cl
            alexeit

             

            "chwang" wrote:

            But I have fixed this issue after removing jbossall-client.jar from client classpath. it works fine.

            I have the same exception while developing web based client using JWSDP 2.0.
            Could you please explain how to remove jbossall-client.jar from the client classpath?

            Do you mean build classpath or run-time (execution) classpath?

            I am developing using Eclipse with JbossIDE and can't find the jbossall-client.jar in build classpath.

            Besides, I don't understand how to remove a jar from run time classpath which, to my mind, is supplied by Jboss by default.

            Thanks in advance,
            Alexei