Advertisement
Guest User

Untitled

a guest
Jul 17th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. Kurt --
  2.  
  3. Looking at the code, I suspect you haven't set the defaults on the
  4. new machine.
  5. Running "java -jar cityrecord.jar -?" will print all the available
  6. commands. The ones you (might) need to set are:
  7.  
  8. -databaseUrl (default is "jdbc:odbc:dln")
  9. -databaseUser (default is "cb")
  10. -databasePassword (default is "cb")
  11.  
  12. The "dln" in the url tells it to look for a data source named dln
  13. in the ODBC drivers. You can either create a data source by that name
  14. pointing to the correct database, or run "java -jar cityrecord.jar
  15. -databaseUrl jdbc:odbc:someothername" with the correct name. The "cb"
  16. user and "cb" password will be used to log into the database, you can
  17. change them (if necessary) by running "java -jar cityrecord.jar
  18. -databaseUser otherusername" or "java -jar cityrecord.jar
  19. -databasePassword otherpassword".
  20. Once you've run these commands once they'll be saved in the
  21. registry, so you won't need to run it again unless these settings
  22. change. I'll check in tomorrow after you've had a chance to try this
  23. out, to see if it worked. Good luck!
  24.  
  25. -- Chris
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement