#963 closed defect (fixed)
Shorter URL path to usersDB
Reported by: | anupama | Owned by: | nobody |
---|---|---|---|
Priority: | moderate | Milestone: | Greenstone 3 catch-up |
Component: | Greenstone3 Runtime | Severity: | major |
Keywords: | usersDB | Cc: |
Description
Task description: get the Networked Derby Driver to use the shorter URL to the usersDB of the form jdbc:derby://derbyserver:derbyport/usersDB, instead of the full path to usersDB after the protocol.
It needed setting derby.system.home JAVA_OPT when starting up the derby server in build.xml, then the tomcat greenstone3.xml file needed to refer to the shorter URL. Then classes that used to pass the full path need to pass the shorter form. And those classes called from the command line with full usersDB path, like ModifyUsersDB, needed to now pass the shorter path. So build.xml needed further updating when calling ModifyUsersDB. The full path still works (for example, you can connect to both the original jdbc:derby URL and the shorter URL now from Squirrel SQL Client now), but the code now uses the shorter path.
Change History (3)
comment:1 by , 8 weeks ago
comment:2 by , 8 weeks ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Changesets: https://trac.greenstone.org/changeset/38769