升级 Artifactory Pro 后 404
404 after upgrading Artifactory Pro
我当前的 Artifactory Pro 6.5.2 版本。我可以从 6.5.2 逐步升级到 6.5.9 再到 6.0.0。如果我尝试升级到 6.0.0 以上版本,我在尝试访问 Artifactory 时会收到 404 错误。
HTTP Status 404 – Not Found
Type Status Report
Message /artifactory/webapp/
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Apache Tomcat/8.5.32
我在 /var/opt/jfrog/artifactory/logs/catalina/catalina.out
中看到以下错误
Failed to ensure db table 'master_key_status' exists
Error creating bean with name 'accessJdbcHelperImpl': Invocation of init method failed; nested exception is java.lang.IllegalStateException: Could not initialize database: Not supported
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/access]]
我使用的数据库是MySQL
mysql Ver 15.1 Distrib 5.5.60-MariaDB, for Linux (x86_64) using readline 5.1
有没有升级Artficatory Pro遇到过类似的问题?
谢谢
只是记下答案。
问题出在 Maria DB 的 JDBC 驱动程序版本上。
您完成的另一项更新是添加时区值。
我当前的 Artifactory Pro 6.5.2 版本。我可以从 6.5.2 逐步升级到 6.5.9 再到 6.0.0。如果我尝试升级到 6.0.0 以上版本,我在尝试访问 Artifactory 时会收到 404 错误。
HTTP Status 404 – Not Found
Type Status Report
Message /artifactory/webapp/
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Apache Tomcat/8.5.32
我在 /var/opt/jfrog/artifactory/logs/catalina/catalina.out
Failed to ensure db table 'master_key_status' exists
Error creating bean with name 'accessJdbcHelperImpl': Invocation of init method failed; nested exception is java.lang.IllegalStateException: Could not initialize database: Not supported
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/access]]
我使用的数据库是MySQL
mysql Ver 15.1 Distrib 5.5.60-MariaDB, for Linux (x86_64) using readline 5.1
有没有升级Artficatory Pro遇到过类似的问题?
谢谢
只是记下答案。
问题出在 Maria DB 的 JDBC 驱动程序版本上。
您完成的另一项更新是添加时区值。