Hi. When correct deployed, hibernate jndi name shouldn't appear in jmx-console - >JNDIView ? My jboss-service.xml listed below:
<!-- Required services -->
jboss.jca:service=RARDeployer
jboss.jca:service=LocalTxCM,name=CyberWMS
<!-- Bind the Hibernate service to JNDI -->
CyberWMSSessionFactory
<!-- Datasource settings -->
java:CyberWMS
org.hibernate.dialect.FirebirdDialect
<!--attribute name="Hbm2ddlAuto">create</attribute-->
<!-- Transaction integration -->
org.hibernate.transaction.CMTTransactionFactory
org.hibernate.transaction.JBossTransactionManagerLookup
true
true
<!-- Fetching options -->
5
<!-- Second-level caching -->
true
org.hibernate.cache.EhCacheProvider
true
<!-- Logging -->
true
Attached failed.... But, other relative question: Why SessionFactoryName doesn't work? Only JndiName? I using JBoss 4.03SP1...