Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 845539

Summary: hsqldb installation errors
Product: Red Hat Enterprise Linux 6 Reporter: Oleg L. Sadov <sadov>
Component: hsqldbAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: ajb, csieh, jcpunk, mizdebsk, toracat
Target Milestone: rcKeywords: EasyFix, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-19 08:39:01 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:
Attachments:
Description Flags
Add missing Requires: java none

Description Oleg L. Sadov 2012-08-03 11:38:04 UTC
Description of problem:
Installation of hsqldb package on system without installed Java environment finished with error messages.

Version-Release number of selected component (if applicable):
hsqldb-1.8.0.10-9.el6.noarch

How reproducible:
Try to install hsqldb package on system without installed Java environment.

Steps to Reproduce:
1. Install system without Java environment.
2. Install hsqldb-1.8.0.10-9.el6.noarch package
3.
  
Actual results:

Error messages:
ln: target `hsqldb.jar' is not a directory
ln: target `servlet.jar' is not a directory
warning: %post(hsqldb-1:1.8.0.10-9.el6.noarch) scriptlet failed, exit

Symbolic links for hsqldb.jar and servlet.jar in /var/lib/hsqldb/lib not formed.

Expected results:
Installtion without error messages. Creating symbolic links for hsqldb.jar and servlet.jar in /var/lib/hsqldb/lib.

Additional info:
Error in postinstall scriptlet is generated by build-classpath shell-script which can't find Java environment:

# build-classpath hsqldb
Can't find java virtual machine, aborting.
# build-classpath apache-tomcat-apis/tomcat-servlet2.5-api
Can't find java virtual machine, aborting.

After installing of java-1.6.0-openjdk package installation of hsqldb package finished successfully.

Possible solution -- add requirements for java to hsqldb or jpackage-utils packages.

Comment 2 Mikolaj Izdebski 2012-08-03 12:38:33 UTC
Created attachment 602127 [details]
Add missing Requires: java

Reproduced on Red Hat Enterprise Linux Server release 6.3 (Santiago).
Patch is attached.

Workaround: install java before installing hsqldb.

Comment 5 Mikolaj Izdebski 2012-09-19 08:39:01 UTC

*** This bug has been marked as a duplicate of bug 827343 ***