Cannot run LAS due to JdbcSQLSyntaxErrorException #35
-
Hello, I have tried multiple times to install LAS9, I have tried it in different machines and different versions of Java/Python/PyFerret, however, I am not being able to make it work. I followed the tutorial from the video strictly, just adapting it to my own paths/environments, but both las and las#thredds are not activated by Tomcat. They show on my admin page, but the server pages are 404. This is the error currently showing on my prodDb.trace.db file:
It seems to be a database query issue but since I am not familiar with SQL queries I would like to know what changes should I make to solve the SQL syntax errors? Any help would be appreciated, thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
What is the setting for your datasource?
Particularly the dbCreate. Can remove your prodDB* files and start it once with: dbCreate: create-drop If it runs successfully after that you can go back to: dbCreate: update |
Beta Was this translation helpful? Give feedback.
-
Sorry for the delay and sorry that this issue came up because in the end it was my fault. I made a mistake with the release files. Some of the configuration moved to the application.yml file in recent Grails upgrade. There are a few lines of configuration missing in the application.yml file that was originally released with 9.7.2. If you add these lines to the top of the application.yml file:
then your installation should work. N.B. The errors in the db trace are spurious and will not affect the running of the application. They will likely still be there after this change. I also updated the application.yml file in release 9.7.2 to include the necessary changes. |
Beta Was this translation helpful? Give feedback.
Sorry for the delay and sorry that this issue came up because in the end it was my fault. I made a mistake with the release files. Some of the configuration moved to the application.yml file in recent Grails upgrade. There are a few lines of configuration missing in the application.yml file that was originally released with 9.7.2. If you add these lines to the top of the application.yml file:
then your installation should work. N.B. The errors in the db trace are spurious and will not affect the running of the application. They will likely still be there after this change.
I also updated the app…