0 Replies Latest reply on Nov 12, 2003 4:45 PM by Vidar Vevik

    Hibernate, mbean and loader-repository

    Vidar Vevik Newbie

      I want to deploy hibernate as an .sar file. But when I add a loader-repository tag to the jboss-service.xml file somthing strange is happening. (strange for me) The hibernate can not longer find datasource (java:/MemberDS)

      What are Im doing wrong?

      Here is my jboss-service.xml file:



      jboss.jca:service=RARDeployer
      no/vevik/member/user/value/Role.hbm.xml
      java:/hibernate/HibernateMember
      java:/MemberDS
      net.sf.hibernate.dialect.PostgreSQLDialect
      true
      true
      java:/UserTransaction
      net.sf.hibernate.transaction.JTATransactionFactory
      net.sf.hibernate.transaction.JBossTransactionManagerLookup


      <loader-repository>member.vevik.no:loader=member.ear</loader-repository>