1 Reply Latest reply on Oct 28, 2006 7:35 PM by gk gk

    deploy war file with hibernate classes

    gk gk Newbie

      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..