3 Replies Latest reply on Oct 1, 2005 12:38 PM by deniz hepsen

    How deploy several HAR files?

    Kirill Trofimov Newbie

      I have deployed HAR file with hibernate-service.xml (use hibernate

      3 and JBOSS 4.x)



      java:/DefaultDS
      org.hibernate.dialect.PostgreSQLDialect
      java:/hibernate/SessionFactory
      org.hibernate.cache.HashtableCacheProvide

      r
      create-drop
      true



      And i want deploy new HAR file. Jboss print error in log:

      org.jboss.deployment.DeploymentException: Trying to install an

      already registered mbean: jboss.har:service=Hibernate

      How i can deploy new har file and use existing SessionFactoryName?
      Thank you.