Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Oracle Connection error in Hibernate


Level 4


We've just installed ES2 on a WebSphere Cluster (on Linux) with an Oracle 10g database

Everything appears to be running fine, but we've noticed a lot of errors in the log like this:

[14/12/09 12:26:00:149 EST] 0000003b ErrorLogger   E org.quartz.core.ErrorLogger schedulerError Job (QUARTZ_JOBGROUP_IDP.DIRSYNC_FINISHER_JOB threw an exception.
                                 org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: nested exception is: org.hibernate.HibernateException: unknown Oracle major version [0]]
    at org.quartz.simpl.SimpleThreadPool$
Caused by: nested exception is: org.hibernate.HibernateException: unknown Oracle major version [0]
    at org.hibernate.dialect.DialectFactory$1.getDialectClass(
    at org.hibernate.dialect.DialectFactory.determineDialect(
    at org.hibernate.dialect.DialectFactory.buildDialect(
    at org.hibernate.cfg.SettingsFactory.determineDialect(
    at org.hibernate.cfg.SettingsFactory.buildSettings(
    at org.hibernate.cfg.Configuration.buildSettings(
    at org.hibernate.cfg.Configuration.buildSessionFactory(
    at Source)
    ... 1 more
Caused by: org.hibernate.HibernateException: unknown Oracle major version [0]
    ... 15 more

This link appears to show some that this can occur with hibernate:

This link appears to describe similar issues:

Any thoughts on whether we should apply specific patches?


0 Replies


Level 7

I think it wants you to tell Hibernate (LiveCycle Content Services ES uses it) what DB dialect to use.  Please see this for more details (see last sentence):

Adding the following Generic JVM argument might help:


See this:

If you don't plan to use Content Services ES, you can also undeploy it.


Level 4

Have you tried the 2nd option referred in the post you referred to. I mean checking for classes12.jar being used?


Level 7

Please ignore my previous post - totally wrong.  I didn't realize on first read that the exception was coming from the Quartz Scheduler.


Level 1

I'll was thinking bumping this instead was better than creating a new thread about this because I have the exact same problem. I've tried to use the HibernateDialect JVM argument, but this still gives me errors, different errors though, something about acquireClusterLock(UnknownSource).

Anybody have a solution for this? Any help here is very appreciated.