Actually (oddly enough) it really does ignore the META-INF/hibernate-service.xml file (aside from verifying that it is there. But this is what the deployer has always done.
The reason is a quirk in the JBoss deployer hierarchy where only SARDeployer knows how to process service descriptor files. So instead, what HARDeployer does it to tell the MainDeployer that the META-INF/hibernate-service.xml file is a sub-deployable. The MainDeployer will then delegate processing the hibernate-service.xml file to the SARDeployer.
You need to show far more of the log for me to be able to determine what (if anything) went wrong.
Quote:
I can't see the smsbidservice.har in jmx-console jndi tree
Which? jmx-console and jndi-tree are two completely different things. And in neither would you "see" smsbidservice.har. In the jmx-console you'd see "jboss.har:service=Hibernate"; in the jndi-tree you'd see "java:/hibernate/SmsFactory".
Quote:
When I try to execute tests with Cactus it reports me that such classess aren't exist
What do you mean by "such classess aren't exist"? The classes are obviously available on the classpath, or else you'd never even see the log messages from HARDeployer. How about posting that exception, as well as the code with which you try to access the session factory.