Confiuration of jboss when using hibernate
dittup Jul 15, 2004 2:53 PMI get the following error when I try to start jboss server 3.2.3. after this message the server starts normally.
-------------------------------------------------------------------
[ObjectName: jboss.jca:service=HibernateFactory, name=HibernateFactory state: CONFIGURED I Depend On: jboss.jca:service=RARDeployer jboss.jca:service=LocalTxCM, name=MySqlDS Depends On Me: ] at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1135) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:2 ) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291) at org.jboss.Main.boot(Main.java:150) at org.jboss.Main$1.run(Main.java:395) at java.lang.Thread.run(Thread.java:534)
-------------------------------------------------------------------------
In the jboss-service.xml file which is present in the conf directory of my deault folder I have the following
---------------------------------------------------------------
<!-- <mbean code="net.sf.hibernate.jmx.HibernateService" name="jboss.jca:service=HibernateFactory, name=HibernateFactory"> <depends>jboss.jca:service=RARDeployer</depends> <depends>jboss.jca:service=LocalTxCM, name=MySqlDS</depends> <attribute name="MapResources"> mappings/Address.hbm.xml, mappings/Contact.hbm.xml </attribute> <attribute name="JndiName"> java:/hibernate/HibernateFactory </attribute> <attribute name="Datasource"> MySqlDS </attribute> <attribute name="Dialect"> net.sf.hibernate.dialect.MySQLDialect </attribute> <attribute name="TransactionStrategy"> net.sf.hibernate.transaction.JTATransactionFactory </attribute> <attribute name="TransactionManagerLookupStrategy"> net.sf.hibernate.transaction.JBossTransactionManagerLookup </attribute> <attribute name="UserTransactionName"> java:/UserTransaction </attribute> </mbean> -->
---------------------------------------------------------------
Thanks
aditya