[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - deploy war file with hibernate classes

gk2006 do-not-reply at jboss.com
Sat Oct 28 19:32:09 EDT 2006


hello everyone...

i'm developing a j2ee1.4 web app with hibernate support
i use jboss 4.0.4

under WEB-INF i use the following hibernate-service.xml

    
        java:/jdbc/ds
        org.hibernate.dialect.MySQLDialect
        java:/hibernate/SessionFactory
        
            org.hibernate.cache.HashtableCacheProvider
        
        create-drop
        true
    


also under WEB-INF is the jboss-web.xml
<jboss-web>
    
        hibernate-service.xml
    
</jboss-web>

when i try to access pages that save data to databases jboss responds with
....  hibernate not bound ......

i think, jboss doesn't read the hibernate-service.xml when i deploy the app

what i'm i doing wrong?

thanx in advance..

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

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



More information about the jboss-user mailing list