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 - hsqldb installation errors
Summary: hsqldb installation errors
Keywords:
Status: CLOSED DUPLICATE of bug 827343
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: hsqldb
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Mikolaj Izdebski
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-03 11:38 UTC by Oleg L. Sadov
Modified: 2012-09-19 08:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-19 08:39:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Add missing Requires: java (1.16 KB, patch)
2012-08-03 12:38 UTC, Mikolaj Izdebski
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 827343 0 urgent CLOSED HSQLDB should depend on java >= 1:1.6.0 2021-02-22 00:41:40 UTC

Internal Links: 827343

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 ***


Note You need to log in before you can comment on or make changes to this bug.