Uploaded image for project: 'Confluence Server'
  1. Confluence Server
  2. CONFSERVER-19306

Broken Webservice when redeploying RPC Plugin Module

    XMLWordPrintable

    Details

      Description

      Steps to reproduce:

      1. Install an RPC plugin http://confluence.atlassian.com/display/CONFDEV/RPC+Module
      2. Use the service (remote client)
      3. Redeploy/upgrade the RPC plugin
      4. Upon next usage, Confluence returns IllegalArgumentException:
      AxisFault
       faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
       faultSubcode: 
       faultString: Tried to invoke method public abstract java.lang.String atlassian.confluence.extra.helloworldrpc.HelloWorldPublic.helloWorld() with arguments .  The arguments do not match the signature.; nested exception is: 
      	java.lang.IllegalArgumentException: object is not an instance of declaring class
       faultActor: 
       faultNode: 
       faultDetail: 
      	{}faultData:null
      	{http://xml.apache.org/axis/}hostname:azwandidesktop
      
      Tried to invoke method public abstract java.lang.String atlassian.confluence.extra.helloworldrpc.HelloWorldPublic.helloWorld() with arguments .  The arguments do not match the signature.; nested exception is: 
      	java.lang.IllegalArgumentException: object is not an instance of declaring class
      	at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
      	at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
      	at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
      	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
      	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1774)
      	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2930)
      	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
      	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
      	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
      	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
      	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
      	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
      	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
      	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
      	at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
      	at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
      	at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
      	at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
      	at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
      	at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
      	at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
      	at org.apache.axis.client.Call.invoke(Call.java:2767)
      	at org.apache.axis.client.Call.invoke(Call.java:2443)
      	at org.apache.axis.client.Call.invoke(Call.java:2366)
      	at org.apache.axis.client.Call.invoke(Call.java:1812)
      	at localhost.confluence.rpc.soap_axis.helloworld.HelloworldSoapBindingStub.helloWorld(HelloworldSoapBindingStub.java:101)
      	at com.azwandi.app.ConnectConfluence.main(ConnectConfluence.java:29)
      Disconnected from the target VM, address: '127.0.0.1:65299', transport: 'socket'
      
      Process finished with exit code 0
      

      Flushing Confluence caches is not sufficient. A Confluence restart is required to get rid of the problem.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            amohdaris Azwandi Mohd Aris (Inactive)
            Votes:
            13 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated: