Uploaded image for project: 'EJB Client Library (AS7+)'
  1. EJB Client Library (AS7+)
  2. EJBCLIENT-346

CONF0005: Unexpected element "interceptor" in namespace "urn:jboss:wildfly-client-ejb:3.1"

    Details

      Description

      Namespace urn:jboss:wildfly-client-ejb:3.1 fails to parse global-interceptors with:

           [java] Caused by: org.wildfly.client.config.ConfigXMLParseException: CONF0005: Unexpected element "interceptor" in namespace "urn:jboss:wildfly-client-ejb:3.1" encountered
           [java] 	at file://home/jboss/ejb-client.jar/META-INF/wildfly-config.xml:9:7
           [java] 	at org.wildfly.client.config.ConfigurationXMLStreamReader.unexpectedElement(ConfigurationXMLStreamReader.java:291)
           [java] 	at org.jboss.ejb.client.ConfigurationBasedEJBClientContextSelector.parseInterceptorsType(ConfigurationBasedEJBClientContextSelector.java:183)
           [java] 	at org.jboss.ejb.client.ConfigurationBasedEJBClientContextSelector.parseEJBClientType(ConfigurationBasedEJBClientContextSelector.java:122)
           [java] 	at org.jboss.ejb.client.ConfigurationBasedEJBClientContextSelector.parseEJBClientConfiguration(ConfigurationBasedEJBClientContextSelector.java:92)
           [java] 	at org.jboss.ejb.client.ConfigurationBasedEJBClientContextSelector.loadConfiguration(ConfigurationBasedEJBClientContextSelector.java:72)
           [java] 	... 9 more
      

      Example wildfly-config.xml fails with 3.1, works with 3.0

      <?xml version="1.0" encoding="UTF-8"?>
      <configuration>
        <jboss-ejb-client xmlns="urn:jboss:wildfly-client-ejb:3.1">
          <global-interceptors>
            <interceptor class="com.jboss.examples.ejb.ClientSecurityInterceptor"/>
          </global-interceptors>
        </jboss-ejb-client>
      </configuration>
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bmaxwell Brad Maxwell
                  Reporter:
                  bmaxwell Brad Maxwell
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: