1 Reply Latest reply on Mar 1, 2006 4:47 PM by Heiko Braun

    Class Cast Exception

    Thomas Dunki Newbie

      I generated a simple SOAP-Service (with the JDeveloper 10.1.3 Release).
      Trough deploying with JBOSS 4.0.3 I get the following error:

      2006-02-24 10:43:21,671 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/Engine]] Marking servlet testport as unavailable
      2006-02-24 10:43:21,671 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/Engine]] Servlet /Engine threw load() exception
      java.lang.ClassCastException: soap.service.connection.ServicePortal
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
      ...

      The class soap.service.connection.ServicePortal is my Java RMI ServiceEndPoint (mapped name: Engine) with only one invokeable method and no class casts in it.

      What could that be?

      Hope that someone can help me.

      best regards

      Florian