Advertisement
Guest User

Untitled

a guest
Feb 5th, 2018
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. Thanks Michal,
  2.  
  3. I'm using MS SQL Server (2008 Express).
  4.  
  5. My sync.properties file:
  6. ======================
  7. DB_ENGINE = mssql
  8. DBURL = jdbc:sqlserver:// xxxxxx.ddns.net:1433;DatabaseName= xxxxxx
  9. DBUSER = xxxxxx
  10. DBPASS = xxxxxx
  11. DBDRIVER = com.microsoft.sqlserver.jdbc.SQLServerDriver
  12. DATE_FORMAT = dd-MM-yyyy HH:mm:ss
  13. HISTORY_DAYS = 7
  14. LOG_LEVEL = 4
  15.  
  16.  
  17. My web.xml file
  18. ======================
  19. ......
  20. <env-entry>
  21. <env-entry-name>working-dir</env-entry-name>
  22. <env-entry-type>java.lang.String</env-entry-type>
  23. <env-entry-value> /opt/tomcat/webapps/SqliteSync_315/logtempconfig</env-entry-value>
  24. </env-entry>
  25.  
  26.  
  27. logtempconfig folder was created by me.
  28.  
  29. The subfolder config where I put the sync.properties inside to
  30. /opt/tomcat/webapps/SqliteSync_315/logtempconfig/ config
  31. /opt/tomcat/webapps/SqliteSync_315/logtempconfig / config /sync.properties
  32.  
  33. I also run
  34. sudo chgrp tomcat /opt/tomcat/webapps/SqliteSync_315/logtempconfig
  35. sudo chmod g+rw /opt/tomcat/webapps/SqliteSync_315/logtempconfig
  36.  
  37. I have installed tomcat 8 in the digitalocean.com server following this tutorial:
  38.  
  39.  
  40. Still having the same problem:
  41.  
  42. API[3.1.5] SQLite-Sync.COM is working correctly! Error creating database connection.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement