Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5432

Wildfly SOAP webservice causes JVM crash

    XMLWordPrintable

Details

    • Hide

      Deploy the following webservice:

      @WebService
      public class SubmitOrder {

      public SubmitOrder()

      { // TODO Auto-generated constructor stub }

      /**

      • Note: when adding parameters to the method, please remember to add them into WSDL file (see wsdlLocation above),
      • under the 'submitOrder' complext type!
      • Note2: IF yo modify the endpoint methods, you MUST restart wildfly in order for the changes to take effect. If you do not restart,
      • it may hot deploy OK, but the code will still be the old one until a wildfly restart is performed.
      • @param opId
      • @param generator
      • @param originAlias
      • @param grpId
      • @param dad
      • @param serviceName
      • @param serviceClass
      • @param transId
      • @return
        */
        @WebMethod
        public Long submitOrder(@WebParam(name = "opId") String opId,
        @WebParam(name = "generator") String generator, @WebParam(name = "originAlias") String originAlias,
        @WebParam(name = "grpId") String grpId, @WebParam(name = "dad") String dad,
        @WebParam(name = "serviceName") String serviceName
        ,@WebParam(name = "transId") String transId
        ,@WebParam(name = "paramsMap") Map<String, Object> paramsMap
        ,@WebParam(name = "expiresAt") Date expiresAt
        ,@WebParam(name = "sync") Boolean sync
        ) throws Exception { System.out.println("Submitted order request received with transId: <" + transId + ">, opId: <" + opId + ">, ..."); return 0l; }


        }

      as a WAR project.
      Run a SOAP-UI load test calling the above webservice... usually after few minutes (<10/15) you observe the JVM crash.
      My last test was a load test with 10 threads for 900 seconds, and it failed after 1'250'000 requests.

      I've attached a WAR with teh

      Show
      Deploy the following webservice: @WebService public class SubmitOrder { public SubmitOrder() { // TODO Auto-generated constructor stub } /** Note: when adding parameters to the method, please remember to add them into WSDL file (see wsdlLocation above), under the 'submitOrder' complext type! Note2: IF yo modify the endpoint methods, you MUST restart wildfly in order for the changes to take effect. If you do not restart, it may hot deploy OK, but the code will still be the old one until a wildfly restart is performed. @param opId @param generator @param originAlias @param grpId @param dad @param serviceName @param serviceClass @param transId @return */ @WebMethod public Long submitOrder(@WebParam(name = "opId") String opId, @WebParam(name = "generator") String generator, @WebParam(name = "originAlias") String originAlias, @WebParam(name = "grpId") String grpId, @WebParam(name = "dad") String dad, @WebParam(name = "serviceName") String serviceName ,@WebParam(name = "transId") String transId ,@WebParam(name = "paramsMap") Map<String, Object> paramsMap ,@WebParam(name = "expiresAt") Date expiresAt ,@WebParam(name = "sync") Boolean sync ) throws Exception { System.out.println("Submitted order request received with transId: <" + transId + ">, opId: <" + opId + ">, ..."); return 0l; } } as a WAR project. Run a SOAP-UI load test calling the above webservice... usually after few minutes (<10/15) you observe the JVM crash. My last test was a load test with 10 threads for 900 seconds, and it failed after 1'250'000 requests. I've attached a WAR with teh
    • User Experience

    Description

      The JVM crashes with either a sigsegv or sigbus error when performing a SOAP load test.
      The error printed is:

      1. A fatal error has been detected by the Java Runtime Environment:
        #
      2. SIGSEGV (0xb) at pc=0x00007f5da922afb8, pid=75645, tid=140039627204352
        #
      3. JRE version: OpenJDK Runtime Environment (7.0_51-b02) (build 1.7.0_51-mockbuild_2014_01_15_01_39-b00)
      4. Java VM: OpenJDK 64-Bit Server VM (24.45-b08 mixed mode linux-amd64 compressed oops)
      5. Problematic frame:
      6. J org.apache.cxf.message.ExchangeImpl.get(Ljava/lang/Class;)Ljava/lang/Object;
        #
      7. Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
        #

      #

      1. If you would like to submit a bug report, please include
      2. instructions on how to reproduce the bug and visit:
      3. 15:56:03,314 INFO [stdout] (default task-17) Submitted order request received with transId: <XXXXX>, opId: <SCO>, ...
        http://icedtea.classpath.org/bugzilla
        #

      The webservice does nothing, just a System.out.print("xxxxx").

      Attachments

        1. SOAPTest.war
          5 kB
          Davide Marchetti

        Activity

          People

            rhn-support-asoldano Alessio Soldano
            llper16 Davide Marchetti (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: