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

exclude-local-receiver and local-receiver-pass-by-value not in ejb3 subsystem schema

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 23.0.0.Final
    • None
    • EJB
    • None

    Description

      The current profile element is defined as:

      <xs:complexType name="profileType">
              <xs:sequence>
                  <xs:element name="remoting-ejb-receiver" type="remoting-ejb-receiverType" minOccurs="0" maxOccurs="unbounded"/>
                  <xs:element name="remote-http-connection" type="remote-http-connectionType" minOccurs="0" maxOccurs="unbounded"/>
                  <xs:element name="static-ejb-discovery" type="static-ejb-discoveryType" minOccurs="0" maxOccurs="1"/>
              </xs:sequence>
              <xs:attribute name="name" type="xs:string" use="required"/>
          </xs:complexType>
      

      2 attributes: exclude-local-receiver and local-receiver-pass-by-value are not defined. These 2 attributes are present in ejb3 resource model:

      WildFly Full 22 Model Reference: https://docs.wildfly.org/22/wildscribe/subsystem/ejb3/remoting-profile/index.html

      So xml like the following is valid representation of the resources, but is not backed by the schema:

      <profiles>
            <profile name="p" exclude-local-receiver="false" local-receiver-pass-by-value="true">
                  <static-ejb-discovery>
                        <module uri="http://localhost:8180/wildfly-services" app-name="bar" module-name="foo"/>
                  </static-ejb-discovery>
            </profile>
      </profiles>
      
      /subsystem=ejb3/remoting-profile=p:add(exclude-local-receiver=false, local-receiver-pass-by-value=true, static-ejb-discovery=[{app-name=bar, module-name=foo, uri="http://localhost:8180/wildfly-services"}])
      {"outcome" => "success"}
      

      Attachments

        Activity

          People

            cfang@redhat.com Cheng Fang
            cfang@redhat.com Cheng Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: