Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-6013

Liferay 5.2.3 fails to start with Oracle 11.1

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 5.2.3
    • Fix Version/s: 6.0.5 GA
    • Component/s: None
    • Labels:
      None
    • Environment:
      Liferay Tomcat Bundle 6.0/5.2.3
      Oracle 11.1
      Java 1.6
      Oracle 11

      Description

      When trying to start Liferay using Oracle 11, startup fails with the following error message:

      11:42:33,706 ERROR [DialectDetector:114] org.hibernate.HibernateException: unknown Oracle major version [11]
      org.hibernate.HibernateException: unknown Oracle major version [11]
      at org.hibernate.dialect.DialectFactory$1.getDialectClass(DialectFactory.java:173)
      at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:88)
      at com.liferay.portal.spring.hibernate.DialectDetector.determineDialect(DialectDetector.java:90)
      at com.liferay.portal.spring.hibernate.PortalHibernateConfiguration.determineDialect(PortalHibernateConfiguration.java:48)
      at com.liferay.portal.spring.hibernate.PortalHibernateConfiguration.newConfiguration(PortalHibernateConfiguration.java:85)
      at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:517)
      at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)

      Given the fact that Oracle 11 was release more than 2 years ago, this is quite embarrassing

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 14 weeks, 4 days ago

                Packages

                Version Package
                6.0.5 GA