Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1801

hibernate-service not deployed in exploded har inside exploded ear

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: JBossAS-4.0.2 Final
    • Fix Version/s: JBossAS-4.0.3 Final
    • Component/s: Deployers
    • Labels:
      None
    • Environment:

      winXP, jdk 1.4.02, jboss 4.0.2 final

    • Affects:
      Compatibility/Configuration

      Description

      works in 4.0.1 sp1, but not in 4.0.2.

      THis is the way I replicate the issue. Create exploded directories as follows (see test.ear.zip attached). And put the exploded test.ear directory in the server deploy directory.

      • test.ear
          • meta-inf
              • application.xml
              • jboss-app.xml
        • test.har
          • meta-inf
              • hibernate-service.xml

      I didn't include hibernate classes/mappings to simplify the case.
      In 4.0.1sp1, hibernate-service.xml is deployed because java:/hibernate/SessionFactory is bound in jmx-console. In 4.0.2 version, sessionfactory jndi is not bound - and I suspect hibernate-service.xml is not deployed.

      ======================================

      <application>
      <display-name>My Application</display-name>
      </application>

      <mbean code="org.jboss.hibernate.jmx.Hibernate"
      name="jboss.har:service=Hibernate">
      <attribute name="DatasourceName">java:/DefaultDS</attribute>
      <attribute name="Dialect">org.hibernate.dialect.HSQLDialect</attribute>
      <attribute name="SessionFactoryName">java:/hibernate/SessionFactory</attribute>
      </mbean>

      <jboss-app>
      <module>
      <har>test.har</har>
      </module>
      </jboss-app>

        Gliffy Diagrams

          Attachments

          1. test.ear.zip
            1 kB
          2. test.har
            0.8 kB

            Activity

              People

              • Assignee:
                starksm64 Scott Stark
                Reporter:
                mf915 M F
              • Votes:
                3 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: