5 Replies Latest reply on May 7, 2014 3:55 PM by Jorge Morales

    Serialization error on SY service redeployment

    Jorge Morales Master

      Hi, I have an scenario where I have deployed several switchyard services that are called among them via SCA.

      It happens that when I redeploy (hot redeploy) the services, it seems that SCA calls are not made.

      I have the following stacktrace:

      Slot=1399454256346, resources=..., failed=false, errorCode=null, status=IN_PROGRESS}, targetValue=ACTIVE}
      09:17:36,428 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/switchyard-remote].[SwitchYardRemotingServlet]] (http-/0.0.0.0:8084-2) JBWEB000236: Servlet.service() for servlet SwitchYardRemotingServlet threw exception: java.lang.IllegalArgumentException: argument type mismatch
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
      at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
      at org.switchyard.common.type.reflect.BeanAccess.write(BeanAccess.java:101) [switchyard-common-1.1.1-p5-redhat-1.jar:1.1.1-p5-redhat-1]
      at org.switchyard.serial.graph.node.AccessNode$1.run(AccessNode.java:155) [switchyard-serial-1.1.1-p5-redhat-1.jar:1.1.1-p5-redhat-1]
      at org.switchyard.serial.graph.Graph.decomposeRoot(Graph.java:135) [switchyard-serial-1.1.1-p5-redhat-1.jar:1.1.1-p5-redhat-1]
      at org.switchyard.serial.graph.GraphSerializer.deserialize(GraphSerializer.java:61) [switchyard-serial-1.1.1-p5-redhat-1.jar:1.1.1-p5-redhat-1]
      at org.switchyard.component.sca.SwitchYardRemotingServlet.doPost(SwitchYardRemotingServlet.java:78) [switchyard-component-sca-1.1.1-p5-redhat-1.jar:1.1.1-p5-redhat-1]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)
      at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
      

       

      While I can reproduce it, I do not have a reproducer that can be provided.