Getting error "unknown Oracle major version" when running EPP 4.3.x with Oracle 11g.

Solution Unverified - Updated -

Issue

  • Running JBoss Portal application on jboss-epp-4.3.GA_CP0X with Oracle 11g throws below error -
2013-05-23 12:57:16,887 ERROR [org.jbpm.job.executor.JobExecutorThread] exception in job executor thread. waiting 5000 milliseconds
org.hibernate.HibernateException: unknown Oracle major version [11]
    at org.hibernate.dialect.DialectFactory$1.getDialectClass(DialectFactory.java:135)
    at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:65)
    at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39)
    at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:431)
    at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:128)
    at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2063)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1298)
    at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:105)
    at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:95)
    at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:99)
    at org.jbpm.persistence.db.DbPersistenceService.getJobSession(DbPersistenceService.java:373)
    at org.jbpm.JbpmContext.getJobSession(JbpmContext.java:630)
    at org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:106)
    at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:54)
...
...

Environment

  • JBoss Enterprise Portal Platform (EPP)
    • 4.3.GA_CP0X
  • Oracla Database Version : 11g Release

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content