Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Kurt --
- Looking at the code, I suspect you haven't set the defaults on the
- new machine.
- Running "java -jar cityrecord.jar -?" will print all the available
- commands. The ones you (might) need to set are:
- -databaseUrl (default is "jdbc:odbc:dln")
- -databaseUser (default is "cb")
- -databasePassword (default is "cb")
- The "dln" in the url tells it to look for a data source named dln
- in the ODBC drivers. You can either create a data source by that name
- pointing to the correct database, or run "java -jar cityrecord.jar
- -databaseUrl jdbc:odbc:someothername" with the correct name. The "cb"
- user and "cb" password will be used to log into the database, you can
- change them (if necessary) by running "java -jar cityrecord.jar
- -databaseUser otherusername" or "java -jar cityrecord.jar
- -databasePassword otherpassword".
- Once you've run these commands once they'll be saved in the
- registry, so you won't need to run it again unless these settings
- change. I'll check in tomorrow after you've had a chance to try this
- out, to see if it worked. Good luck!
- -- Chris
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement