Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-798

ClassCastException on SOAP calls upon redeployment

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • JBossAS-3.2.6 Final
    • Web Services
    • None

    Description

      SourceForge Submitter: stephane_nicoll .
      OS: Redhat linux 9
      Java: SUN VM 1.4.1_02

      The bug is reproductible with both JBoss 3.2.2 and
      3.2.3RC1

      We have an application, packaged as an EAR and
      containing mainly:

      • an EJB module JAR containing SessionBeans, Entity
        Beans and MDB
      • an WSR module JARr containing a web service
        declaration
      • Some librairies

      The WSR module defines a web service that use a
      SessionBean to process incoming SOAP calls

      Eveything runs fine but when we hot-redeploy the EAR,
      we have a ClassCastException and the web service does
      not work anymore (we need to restart JBoss to fix this).

      My guesses is that this is an Axis bug but I already
      opened a bug @t apache without any feedback. We
      discussed this issue in the JBoss-user mailing list see the
      thread:

      JBossNET hot deployment problem (ClassCastException)

      This shows the classes / interfaces are OK after un
      hotdeploy (see the thread for test output suggested by
      Adrian)

      What we have after the hot-redeploy at server side is
      the following:

      2003-11-24 08:40:57,873 INFO
      [org.apache.axis.utils.bytecode.ParamNameExtractor]
      AXIS error:java.io.IOException: Unable to load bytecode
      for
      class "com.kiala.kserver.driver.nodesynch.NodeSyncherLo
      cal"

      AxisFault
      faultCode:

      {http://schemas.xmlsoap.org/soap/envelope/}

      Server.userException
      faultSubcode:
      faultString: java.lang.ClassCastException
      faultActor:
      faultNode:
      faultDetail:

      {http://xml.apache.org/axis/}

      stackTrace:
      java.lang.ClassCastException
      at
      com.sun.corba.se.internal.javax.rmi.PortableRemoteObjec
      t.narrow(PortableRemoteObject.java:293)
      at javax.rmi.PortableRemoteObject.narrow
      (PortableRemoteObject.java:134)
      at
      org.apache.axis.providers.java.EJBProvider.createRemote
      EJB(EJBProvider.java:168)
      at
      org.apache.axis.providers.java.EJBProvider.makeNewServi
      ceObject(EJBProvider.java:147)
      at
      org.apache.axis.providers.java.JavaProvider.getNewServi
      ceObject(JavaProvider.java:261)
      at
      org.apache.axis.providers.java.JavaProvider.getServiceOb
      ject(JavaProvider.java:138)
      at
      org.apache.axis.providers.java.JavaProvider.invoke
      (JavaProvider.java:313)
      at
      org.apache.axis.strategies.InvocationStrategy.visit
      (InvocationStrategy.java:71)
      at org.apache.axis.SimpleChain.doVisiting
      (SimpleChain.java:150)
      at org.apache.axis.SimpleChain.invoke
      (SimpleChain.java:120)
      at
      org.apache.axis.handlers.soap.SOAPService.invoke
      (SOAPService.java:481)
      at org.apache.axis.server.AxisServer.invoke
      (AxisServer.java:323)
      at
      org.apache.axis.transport.http.AxisServlet.doPost
      (AxisServlet.java:854)
      at javax.servlet.http.HttpServlet.service
      (HttpServlet.java:760)
      at
      org.apache.axis.transport.http.AxisServletBase.service
      (AxisServletBase.java:339)

      Should you need further info, let me know.

      Regards,

      Stephane Nicoll

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            sourceforge-user SourceForge legacy user (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: