Hi all.

I'm using a version of Axis that was built from CVS yesterday.  I'm running
in Tomcat 4.0.4.

I'm trying to get a simple Handler going.  I'm subclassing
javax.xml.rpc.handler.GenericHandler.  My deploy.wsdd file contains this:

<handler name="test" type="java:axis.JohnsHandler"/>

and this under the appropriate service:

<requestFlow>
        <handler type="test"/>
</requestFlow>

I'm getting a ClassCastException when the service is first invoked.  For
brevity I'll omit the entire stacktrace, but in a nutshell it's happening
here:

        at
org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeplo
yableItem.java:335)

The message of the CCE is "axis.JohnsHandler", which is my handler.  I'm
familiar with how Tomcat's class loaders work and I've tried putting the
class under webapps/axis/web-inf/classes, classes, and common/classes (not
all at once).  I get the same thing every time.  Without the handler my
service works fine.

Suggestions?

thanks

john


Reply via email to