Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-6379

jboss-app.xml should be ignored if packaged in jar or non ear deployment

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Minor
    • TBD EAP 5
    • EAP_EWP 5.1.0
    • System
    • None
    • Hide

      Remove the jboss-app.xml from the non ear deployment

      Show
      Remove the jboss-app.xml from the non ear deployment
    • Hide
      CAUSE

      CONSEQUENCE

      FIX

      RESULT
      Show
      CAUSE CONSEQUENCE FIX RESULT
    • Not Yet Documented
    • NEW

    Description

      If a jboss-app.xml is packaged in a jar file and specifies a loader repository as shown below, then JBoss is isolating the ejb. The jboss-app.xml should only be valid for an ear file. jboss.xml should be used for an ejb. JBoss should ignore the jboss-app.xml and log a warning or exception that jboss-app.xml shouldn't be in a jar file.

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE jboss-app PUBLIC "-//JBoss//DTD J2EE Application 1.4//EN"
      "http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd">
      <jboss-app>
      <loader-repository>
      com.jboss.examples:loader=example-ejb.jar
      <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
      </loader-repository>
      </jboss-app>

      Attachments

        Activity

          People

            jgreene@redhat.com Jason Greene
            rhn-support-bmaxwell Brad Maxwell
            Eva Kopalova Eva Kopalova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: