Bug 699504 - Java Exception when starting Derby
Summary: Java Exception when starting Derby
Keywords:
Status: CLOSED DUPLICATE of bug 668828
Alias: None
Product: Fedora
Classification: Fedora
Component: derby
Version: 14
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-25 19:58 UTC by Harm-Jan
Modified: 2011-04-25 20:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-25 20:02:39 UTC
Type: ---


Attachments (Terms of Use)

Description Harm-Jan 2011-04-25 19:58:15 UTC
Description of problem:
Java Exception when starting Derby

Version-Release number of selected component (if applicable):
Derby version 10.6.1.0 installed with yum from standard location.

How reproducible:
In a console start /usr/bin/derby-ij

Steps to Reproduce:
1. Open a console
2. su
3. /usr/bin/derby-ij

Actual results:
Java Exception

Expected results:
Starting database SQL client

Additional info:
There are 5 scripts derby-* in /usr/bin linked into 1 script file.

Last line is the cause:
run "$CLASS" "$@"

To solve:
1. change last line to
MAIN_CLASS="$CLASS"
run "$@"

2. Change in the whole script CLASS to MAIN_CLASS

3. Chnage run function in
   /usr/share/java-utils/java-functions
   to accept arguments; make it more intuitive.

Comment 1 Harm-Jan 2011-04-25 20:02:39 UTC

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


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