Hi there,

We're having trouble hot-deploying our J2EE application which uses Apache
Axis code.

Our setup is as follows:

1) We have a SOAP client talking to a SOAP server. The SOAP client and
server use the Apache Axis libraries to generate the stubs and skeletons,
which are packaged and deployed to the client and the server.
2) The SOAP client and server run on different machines:
  a) The SOAP client runs in Orion Application Server 2.0.2, using Sun's
J2SDK1.4.2.
  b) The SOAP server runs on a separate machine, but also uses Orion and
Sun's JDK.

When we build and hot-deploy our client code, we get a
java.lang.ClassCastException when we call the Axis stub code. (Stack trace
below.)
If we stop Orion, deploy, and restart, then everything works fine.

The library files deployed to the client include: axis.jar,
commons-discovery.jar, jaxrpc.jar, saaj.jar, wsdl4j.jar, and the client-side
stub code that we generate.

The stack trace is as follows:

Error invoking operation:
java.lang.ClassCastException
at org.apache.axis.client.Call.invoke(Call.java:1708)
at
ca.intuit.sso.web.axis.SSOSoapBindingStub.authenticateUser(SSOSoapBindingStu
b.java:369)
at
ca.quicktax.ejb.sso.server.SingleSignonBean.authenticateUser(SingleSignonBea
n.java:100)
... more of our code here

Any ideas on how to fix this? Is this related to the hot-deployment of web
services bug, which is currently listed as
<http://nagoya.apache.org/jira/browse/AXIS-524>?

Thanks,

Mark Kennedy 
Senior Software Engineer 
Intuit Canada Inc. 
E-mail: [EMAIL PROTECTED] 
Tel: +1 (780) 466-9996 x5571 

Reply via email to