[jboss-user] [JNDI/Naming/Network] - JNDI classCastException

chandrakanth_76 do-not-reply at jboss.com
Mon Aug 20 14:00:48 EDT 2007


When i start the JBOSS server , i am getting the following error:--

------------------------------------------------------------------------------------

[DatasourceConnectionProvider] Using datasource: java:/JDBC/MIB
07:43:21,140 INFO  [TransactionFactoryFactory] Transaction strategy: net.sf.hibernate.transaction.JTATransactionFactory
07:43:21,250 INFO  [NamingHelper] JNDI InitialContext properties:{}
07:43:21,265 INFO  [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: net.sf.hibernate.transactio
n.JBossTransactionManagerLookup
07:43:21,265 INFO  [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
07:43:21,265 INFO  [NamingHelper] JNDI InitialContext properties:{}
07:43:21,281 INFO  [STDOUT] [HR] Exception caught while calling l_hibCfg.buildSessionFactory()
07:43:21,296 INFO  [STDOUT] java.lang.ClassCastException
07:43:21,296 INFO  [STDOUT]     at net.sf.hibernate.transaction.JNDITransactionManagerLookup.getTransactionManager(JNDIT
ransactionManagerLookup.java:23)
07:43:21,296 INFO  [STDOUT]     at net.sf.hibernate.transaction.JTATransactionFactory.configure(JTATransactionFactory.ja
va:48)
07:43:21,312 INFO  [STDOUT]     at net.sf.hibernate.transaction.TransactionFactoryFactory.buildTransactionFactory(Transa
ctionFactoryFactory.java:48)
07:43:21,312 INFO  [STDOUT]     at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:77)
07:43:21,312 INFO  [STDOUT]     at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1172)
07:43:21,328 INFO  [STDOUT]     at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:803)
07:43:21,328 INFO  [STDOUT]     at com.jnc.hibernate.HibernateRegistry.registerFactory(HibernateRegistry.java:225)
07:43:21,343 INFO  [STDOUT]     at com.jnc.hibernate.HibernateRegistry.initializeRegistry(HibernateRegistry.java:80)
07:43:21,343 INFO  [STDOUT]     at com.jnc.hibernate.HibernateRegistry.(HibernateRegistry.java:41)
07:43:21,343 INFO  [STDOUT]     at com.jnc.novell.director.impl.HibernateRegistryManager.resourceSetAvailable(HibernateR
egistryManager.java:110)
07:43:21,343 INFO  [STDOUT]     at com.jnc.novell.director.impl.HibernateResourceListener$BootStaller.run(HibernateResou
rceListener.java:93)
07:43:21,359 INFO  [STDOUT] [HR] path /hibernate/OSTModel.cfg.xml


------------------------------------------------------------------------------------


Could any one please tell me what could be the probem.
I am new to the jboss forums.
If any one feels that the problem is not related to this topic then pls suggest me.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075985#4075985

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075985



More information about the jboss-user mailing list