Hi,
finally I managed to deploy my hibernate application in the new jboss4.0.0. and the related stuff without deployment errors. But there is one remaining problem:
If I try, to acess persistence like:
tx = hibernateSession.beginTransaction(); Item item = new Item(); item.setValue(33d); hibernateSession.save(item);
<?xml version="1.0" encoding="UTF-8"?> <server> <mbean code="org.jboss.hibernate.jmx.Hibernate" name="jboss.har:service=Hibernate"> <attribute name="DatasourceName">java:/MysqlDS</attribute> <attribute name="SessionFactoryName">java:/hibernate/SessionFactory</attribute> <attribute name="Dialect">net.sf.hibernate.dialect.MySQLDialect</attribute> <attribute name="CacheProviderClass">net.sf.hibernate.cache.TreeCacheProvider</attribute> <attribute name="Hbm2ddlAuto">create-drop</attribute> </mbean> </server>