0

I'm migrating an axis 1.2.1 application between two app servers I get the following class cast exception.

Caused by: java.lang.ClassCastException: org.apache.axis.transport.http.HTTPSender cannot be cast to org.apache.axis.Handler

Has anyone seen this before? What am I doing wrong?

Max Charas
  • 4,980
  • 3
  • 20
  • 40

1 Answers1

2

I have the same problem and for what i see it's seems to be when you use axis in a jar in the root of the deploy dir and a jar in the ear/war module. The classloader instance twice the axis lib, so that generate the problem.

One solution is to move the calling of the axis from the jar in the root of the deploy to a module (like an ear or some like that). I hope this can help you.

Regards

Enrique San Martín
  • 2,202
  • 7
  • 30
  • 51