Bug 4990 - Corrupt derby.jar during install of GridShib 0.5.1 onto Shib 1.3c
: Corrupt derby.jar during install of GridShib 0.5.1 onto Shib 1.3c
Status: NEW
: GridShib
Shibboleth IdP Plugin
: 0.5.1
: PC Linux
: P3 normal
: beta
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2007-02-05 12:41 by
Modified: 2008-04-25 21:11 (History)


Attachments


Note

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


Description From 2007-02-05 12:41:08
Similar to bug 4955 (http://bugzilla.globus.org/globus/show_bug.cgi?id=4955),
but the problematic IdP version is 1.3c instead.

gridshib-db-test runs normally and exits after completing its task with no
errors.  However, the Certificate Registry can not be accessed.  Instead of the
appropriate page, a Shibboleth error page displays with the message "Database
error."

shib-error.log gives the following error:

2007-01-24 13:31:34,975 ERROR - Unable to obtain a new connection for
jdbc:derby:/usr/local/shibboleth-idp/etc/gridshib-idp/certificate-registry-db:
No suitable driver
2007-01-24 13:31:34,976 ERROR - Database error: No suitable driver

The problem in this case is in derby.jar.  Instead of getting the full
derby.jar, an empty derby.jar is getting installed instead.

The workaround in this case is to delete the derby.jar in
$SHIB_DIST$/custom/lib and to then to run "./ant install" again.  If the WAR
does not automatically get expanded into the webapps/ directory, get rid of the
shibboleth-idp/ webapp directory and restart tomcat.