2 Replies Latest reply on Mar 20, 2005 8:52 AM by Eduardo Elgueta

    ClassCastExceptio on deployment (Tomcat)

    Eduardo Elgueta Newbie

      Hi All,

      I have a web service client that runs fine as a console application, but when I deploy it to JBoss (4.0.0, with Lomboz plugin) I get the following exception:

      at org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:103)
      at com.mytest.TestWSClient.sendSoapRequest(TestWSClient.java:318)
      at com.mytest.TestWSClient.connect(TestWSClient.java:76)
      at com.mytest.ConManager.createWSInstance(ConManager.java:109)
      at com.mytest.ConManager.parseConfig(ConManager.java:90)
      at com.mytest.ConManager.(ConManager.java:63)
      at com.mytest.ConManager.(ConManager.java:391)
      at com.mytest.TestSessionControl.getConManager(TestSessionControl.java:169)
      at org.apache.jsp.test2_jsp._jspService(test2_jsp.java:77)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)

      I tried putting all of the required jars in the lib directory and setting Java2ClassLoadingCompliance to false (UseJBossWebLoader is set to false, too).

      Please let me know if code/config files are needed for a better diagnosis. Any help is very welcomed.