From: M F (JIRA) <jir...@jb...> - 2005-05-10 17:48:33
|
[ http://jira.jboss.com/jira/browse/JBAS-1801?page=history ] M F updated JBAS-1801: ---------------------- 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): - 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> was: 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> > 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 > Attachments: test.ear.zip, test.har > > > 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): > - 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 |