Metviewer 4.1.0 - webapp not communicating with the data base after initial installation #2009
-
We are installing a local instance of METviewer and have run into an issue. OS is RHEL 7.9, database is Mariadb 10.3.35, and a Python 3.6.3 environment has been created. The following is observed in the Catalina.out logs, and I CAN get to the database by CLI using mysql -u user -p. I believe I have modified all the files where the hostname, user, and password information are necessary for this connection to be established, yet I get the following: 2023-01-13 09:02 edu.ucar.metviewer.MVServlet.init(Unknown Source) -1 init - METviewer app being placed into service by the servlet container. Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 23 replies
-
Message "get connection for database Select databases" is expected because when the user opens a page there is no selected databases yet.
|
Beta Was this translation helpful? Give feedback.
-
Hello, The mv_mysql.sql is the one that was used to load/create the db schema. I verified this by line count, file size, and contents (from the link you provided). We don't have a good sample set (data,xml,etc) to test the new version. That being said, the following is displayed in the catalina.out log when selecting the database in the web gui: bash-4.2# tail -f catalina.out not sure how to get around this. -Rey |
Beta Was this translation helpful? Give feedback.
-
I am surprised that GitHub rejected your .txt file - TXT is a supported format: It would be helpful to see it. Instead of loading the old XML could you reload the page and configure and run the job using GUI? Any success? |
Beta Was this translation helpful? Give feedback.
Message "get connection for database Select databases" is expected because when the user opens a page there is no selected databases yet.
Can you see your database(s) in the drop-down menu?
How/when did you create a database? Did you create it before upgrading/installing METviewer 4.1? Which mv_mysql.sql did you use to add the schema? Do you have data in your database?
METviewer 4.1 works only with databases that:
or
and
contain data