Bug 906500
Summary: | quartz throwing NoClassDefFoundError: oracle/sql/BLOB | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | John Mazzitelli <mazz> |
Component: | Core Server | Assignee: | Jay Shaughnessy <jshaughn> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | high | Docs Contact: | |
Priority: | urgent | ||
Version: | 4.5 | CC: | hrupp, jshaughn, mfoley |
Target Milestone: | --- | ||
Target Release: | RHQ 4.6 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-03 14:46:23 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
John Mazzitelli
2013-01-31 17:52:39 UTC
According to: svn.terracotta.org/svn/quartz/trunk/quartz-oracle/src/main/java/org/quartz/impl/jdbcjobstore/oracle/OracleDelegate.java the source there in line 622+ should be changed e.g. try { Class blobClass = Class.forName("oracle.sql.BLOB"); if(blobClass.isInstance(blob){ // then use reflection to put/trim } }.... this avoids dependecy to legacy oracle.sql.BLOB import. Of course additional implementation for current ojdbc driver is needed also. master commit bdcd5f13b9943fae99c35749bec4710c8c08f16a Author: Jay Shaughnessy <jshaughn> Date: Fri Feb 1 10:48:06 2013 -0500 I believe this is fixed. I added an optional module dependency on the Oracle driver, for the server jar. Our datasources had no problem, they are defined correctly to find/use the oracle driver, but since Quartz wants to perform a test directly against a driver class, we had to ensure the driver jar was accessible to the classloader. *** Bug 911385 has been marked as a duplicate of this bug. *** Bulk closing of issues in old RHQ releases that are in production for a while now. Please open a new issue when running into an issue. |