this is my hibernate-sdervice.xml file
jboss.jca:service=LocalTxCM,name=jdbc/JbpmDS
java:/hibernate/IclaimsFactory
java:/jdbc/JbpmDS
net.sf.hibernate.dialect.Oracle9Dialect
net.sf.hibernate.cache.HashtableCacheProvider
update
when i acces it in my servlet (test) through lookup
System.out.println(ctx.lookup("java:/hibernate/IclaimsFactory"));
SOMETIMES it finds that sometime it gives ClassCastException
please tell where i am wrong.
rgards