Hi Everyone,

This is my first email to axis-user. We are using axis.jar V1.0 in order to
access a 3rd-party software. Our system is running fine in production until
a few days later, we got the following error:

java.lang.ClassCastException: org.apache.axis.attachments.AttachmentsImpl:
AxisFault
 faultCode: {http://xml.apache.org/axis/}Server.generalException
 faultString: Error invoking operation:
java.lang.ClassCastException: org.apache.axis.attachments.AttachmentsImpl
 faultActor: null
 faultDetail:
      stackTrace: AxisFault
 faultCode: {http://xml.apache.org/axis/}Server.generalException
 faultString: Error invoking operation:
java.lang.ClassCastException: org.apache.axis.attachments.AttachmentsImpl
 faultActor: null
 faultDetail:

Error invoking operation:
java.lang.ClassCastException: org.apache.axis.attachments.AttachmentsImpl
      at org.apache.axis.client.Call.invoke(Call.java:1329)
      at com.actuate.schemas.ActuateSoapBindingStub.login(Unknown Source)
      at com.ibm.sis.util.ActuateHelper.getProxyForUser(Unknown Source)
...

I downloaded the source code for Axis v1.0 and the line 1329 of Call.java
is "return this.invoke(params);" in method "public Object invoke(QName
operationName, Object[] params)"

1324    public Object invoke(QName operationName, Object[] params)
1325      throws java.rmi.RemoteException {
1326        QName origOpName = this.operationName;
1327        this.operationName = operationName;
1328        try {
1329            return this.invoke(params);
1330        }
1331        catch (java.rmi.RemoteException re) {
1332            this.operationName = origOpName;
1333            throw re;
1334        }
1335        catch (RuntimeException re) {
1336            this.operationName = origOpName;
1337            throw re;
1338        }
1339        catch (Error e) {
1340            this.operationName = origOpName;
1341            throw e;
1342        }
1343    } // invoke

Can anyone please give me a hand on why this is happening? The interesting
thing is everything runs okay in development and test systems. The
ClassCastException only happens in production system after it has been
running for a few day. To recover from the problem, we have to restart the
app server.

Best regards,

Tony Chen

SUN Certified Java 2 Programmer
IBM Certified Enterprise Developer - WebSphere V4.0 & V5.0
Canadian Securities Course (CSC) Certification

Securities Industry Services, IBM Global Services
phone: 416-478-5852
e-mail: [EMAIL PROTECTED]

Reply via email to