0 Replies Latest reply on Nov 25, 2005 7:31 AM by Marcel Dullaart

    CMS using MaxDB (or SapDB)

    Marcel Dullaart Newbie

      Hi I am trying to connect JBossPortal 2.0.1RC3 on JBossAS 4.0.3SP1 to a MaxDB database.
      When using JBP2.0 on JBAS 4.0.2, I configured the hibernate dialect in jboss-portal.sar/conf/hibernate/hibernate.cfg.xml, which worked.
      So I did the same thing for the earlier stated configuration, but now the following stack trace pops-up:

      2005-11-25 13:08:40,005 INFO [org.hibernate.cfg.SettingsFactory] RDBMS: SAP DB, version: Kernel 7.5.0 Build 026-123-094-430
      2005-11-25 13:08:40,005 INFO [org.hibernate.cfg.SettingsFactory] JDBC driver: SAP DB, version: package com.sap.dbtech.jdbc, MaxDB JDBC Driver, MySQL MaxDB, 7.6.0 Build 000-000-003-247
      2005-11-25 13:08:40,005 ERROR [org.apache.slide.common.Domain] org.hibernate.HibernateException: Hibernate Dialect must be explicitly set for database: SAP DB
      2005-11-25 13:08:40,005 ERROR [org.apache.slide.common.Domain] Domain initialization error
      2005-11-25 13:08:40,005 WARN [org.jboss.system.ServiceController] Problem starting service portal:service=CMS
      org.apache.slide.common.DomainInitializationFailedError: Domain initialization error
      

      And the portal does not work.
      I can use the file system, but is it also possible to use the hibernate store using a MaxDB (or SapDB)?

      Cheers,
      Marcel