From: M F (JIRA) <jir...@jb...> - 2005-05-10 17:40:44
|
hibernate-service not deployed in exploded har inside exploded ear ------------------------------------------------------------------ Key: JBAS-1801 URL: http://jira.jboss.com/jira/browse/JBAS-1801 Project: JBoss Application Server Type: Bug Versions: JBossAS-4.0.2 Final Environment: winXP, jdk 1.4.02, jboss 4.0.2 final Reporter: M F 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: - 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 name is not bound. ====================================== <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> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |