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

EJB lookup over HTTP fails if object is used in the signiture

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 11.0.0.Final
    • EJB, Remoting
    • None
    • Hide

      invoke method with object in the signature using HTTP connection
      Context.PROVIDER_URL, http://localhost:8080/wildfly-services

      use TCP and method will work
      Context.PROVIDER_URL, remote+http://localhost:8080/wildfly-services

      Show
      invoke method with object in the signature using HTTP connection Context.PROVIDER_URL, http://localhost:8080/wildfly-services use TCP and method will work Context.PROVIDER_URL, remote+ http://localhost:8080/wildfly-services

      I have a swing client that makes calls to the EJB tier via RMI the majority of the calls work fine using the workaround from WFLY-9636.

      The following calls was failing when connected over HTTP but was fine when using the original TCP connection

      public EntityList getAllWorkingSetsForCube( ModelRef modelRef, FinanceCubeRef financeCubeRef, int userId, Integer[] allowedStates )

      I worked round this and found that creating a method without the Integer[] as part of the signature works.

              parsharm Parul Sharma (Inactive)
              crazycradd_jira peter craddock (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: