Bug 907407
Summary: | RHQ master build fails starting - Failed to load module: deployment.rhq.ear.rhq-enterprise-server-ejb3.jar:main | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Libor Zoubek <lzoubek> |
Component: | Core Server | Assignee: | Jay Shaughnessy <jshaughn> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 4.5 | CC: | hrupp, jkremser, jshaughn, theute |
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-08-31 09:56:31 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
Libor Zoubek
2013-02-04 10:13:22 UTC
master commit bef0cee698306aa8732b7fed719746742fe72783 Author: Jay Shaughnessy <jshaughn> Date: Tue Feb 5 11:55:49 2013 -0500 Server JAR has a dependency on the OJDBC driver because Quartz sometimes needs to load a BLOB class from the driver. Postgres installs will not have (and don't need) the Oracle driver, so we declared the dependency "optional" in jboss-deployment-structure.xml. But "optional" just means AS7 will ignore the fact that the module may not exist at all. Our build and install process is simplified by always creating the oracle driver module structure. But "optional" will not ignore the fact that the module directory is empty (no jar file). So, this commit ensures an empty/mock OJDBC driver jar will be placed in the module directory if the driver is not available at build time. The JAR has a readme file inside describing the process of how to install a real driver (by providing a wiki link). We felt it was easier to provide the whole structure and just let users drop in the real driver as opposed to not providing the module structure at all, and making them build it. For users following the Oracle setup/prerequiste docs the steps are unchanged. For postgres installs these changes should just make things work. master commit 885fdf4e857f1a97220b4636abf15dad0d3b1cfa Author: Jay Shaughnessy <jshaughn> Date: Wed Feb 6 11:08:14 2013 -0500 A fix to the original fix master http://git.fedorahosted.org/cgit/rhq/rhq.git/diff/?id=520ffcbc8 time: Wed Feb 6 18:58:15 2013 +0100 commit: 520ffcbc8072c485be0ccf6011ff81928dbe22a5 author: Jirka Kremser - jkremser message: [Bug 907407 - RHQ master build fails starting - Failed to load module: deployment.rhq.ear.rhq-enterprise-server-ejb3] The dummy oracle driver was created by 7zip, now it is plain old .zip renamed to .jar verified on Version: 4.6.0-SNAPSHOT Build Number: 61c60d0 |