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


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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to