Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-1551

ejb-jar.xml should be optional.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.4
    • 4.5.0
    • examples
    • Executed using maven

    Description

      Expected: ejb-jar.xml file should be optional

      Found: ejb-jar.xml file was required.

      When run without the file, it looks like the ejbs are not deployed. The logs don't show JNDI bindings. And the client was not able to look up by the JNDI names,

      How to reproduce: In the simple-stateless example project, delete the src/main/resources/META-INF/ejb-jar.xml and then do
      mvn clean install

      Logs don't show the JNDI name bindings.
      The test fails, with javax,naming.NameNotFoundException

      Attachments

        Activity

          People

            Unassigned Unassigned
            stratwine Vishwanath
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 504h
                504h
                Remaining:
                Remaining Estimate - 504h
                504h
                Logged:
                Time Spent - Not Specified
                Not Specified