Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OpenJDK 64-Bit Server VM warning: ignoring option PermSize=192m; support was removed in 8.0
- OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=768m; support was removed in 8.0
- Dec 14, 2021 7:31:49 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
- WARNING: Problem with directory [/usr/share/tomcat7/common/classes], exists: [false], isDirectory: [false], canRead: [false]
- Dec 14, 2021 7:31:49 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
- WARNING: Problem with directory [/usr/share/tomcat7/common], exists: [false], isDirectory: [false], canRead: [false]
- Dec 14, 2021 7:31:49 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
- WARNING: Problem with directory [/usr/share/tomcat7/server/classes], exists: [false], isDirectory: [false], canRead: [false]
- Dec 14, 2021 7:31:49 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
- WARNING: Problem with directory [/usr/share/tomcat7/server], exists: [false], isDirectory: [false], canRead: [false]
- Dec 14, 2021 7:31:49 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
- WARNING: Problem with directory [/usr/share/tomcat7/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
- Dec 14, 2021 7:31:49 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
- WARNING: Problem with directory [/usr/share/tomcat7/shared], exists: [false], isDirectory: [false], canRead: [false]
- Dec 14, 2021 7:31:49 PM org.apache.coyote.AbstractProtocol init
- INFO: Initializing ProtocolHandler ["http-bio-8080"]
- Dec 14, 2021 7:31:49 PM org.apache.catalina.startup.Catalina load
- INFO: Initialization processed in 214 ms
- Dec 14, 2021 7:31:49 PM org.apache.catalina.core.StandardService startInternal
- INFO: Starting service Catalina
- Dec 14, 2021 7:31:49 PM org.apache.catalina.core.StandardEngine startInternal
- INFO: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu)
- Dec 14, 2021 7:31:49 PM org.apache.catalina.startup.HostConfig deployDescriptor
- INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/docs.xml
- Dec 14, 2021 7:31:49 PM org.apache.catalina.startup.HostConfig deployDescriptor
- INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/manager.xml
- Dec 14, 2021 7:31:49 PM org.apache.catalina.startup.HostConfig deployDescriptor
- INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/host-manager.xml
- Dec 14, 2021 7:31:49 PM org.apache.catalina.startup.HostConfig deployWAR
- INFO: Deploying web application archive /var/lib/tomcat7/webapps/openmrs.war
- WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2113) |2021-12-14 19:31:52,930| Unable to find a runtime properties file at /var/lib/tomcat7/openmrs-runtime.properties
- WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2113) |2021-12-14 19:31:52,935| Unable to find a runtime properties file at /var/lib/tomcat7/openmrs-runtime.properties
- INFO - Listener.contextInitialized(174) |2021-12-14 19:31:52,935| Using runtime properties file: /usr/share/tomcat7/.OpenMRS/openmrs-runtime.properties
- ERROR - Listener.contextInitialized(205) |2021-12-14 19:31:57,101| Got exception while starting up:
- java.lang.RuntimeException: Error occurred while trying to get the updates needed for the database. Unable to get a connection to the database. Please check your openmrs runtime properties file and make sure you have the correct connection.username and connection.password set
- at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:627)
- at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:583)
- at org.openmrs.util.DatabaseUpdater.updatesRequired(DatabaseUpdater.java:249)
- at org.openmrs.web.Listener.setupNeeded(Listener.java:222)
- at org.openmrs.web.Listener.contextInitialized(Listener.java:180)
- at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5019)
- at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5513)
- at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
- at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
- at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
- at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
- at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
- at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
- at java.lang.Thread.run(Thread.java:748)
- Caused by: java.lang.Exception: Unable to get a connection to the database. Please check your openmrs runtime properties file and make sure you have the correct connection.username and connection.password set
- at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:358)
- at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:612)
- ... 17 more
- Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
- at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
- at com.mysql.jdbc.Util.getInstance(Util.java:386)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:975)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:920)
- at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2395)
- at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2316)
- at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
- at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
- at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
- at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
- at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)
- at java.sql.DriverManager.getConnection(DriverManager.java:664)
- at java.sql.DriverManager.getConnection(DriverManager.java:247)
- at org.openmrs.util.DatabaseUpdater.getConnection(DatabaseUpdater.java:420)
- at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:355)
- ... 18 more
- Caused by: java.sql.SQLException: Access denied for user 'openmrs_user'@'localhost' (using password: YES)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1086)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:928)
- at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1750)
- at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1290)
- at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2493)
- at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2334)
- ... 32 more
- WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2113) |2021-12-14 19:31:57,294| Unable to find a runtime properties file at /var/lib/tomcat7/openmrs-runtime.properties
- Dec 14, 2021 7:32:01 PM org.apache.catalina.startup.HostConfig deployDirectory
- INFO: Deploying web application directory /var/lib/tomcat7/webapps/ROOT
- Dec 14, 2021 7:32:01 PM org.apache.coyote.AbstractProtocol start
- INFO: Starting ProtocolHandler ["http-bio-8080"]
- Dec 14, 2021 7:32:01 PM org.apache.catalina.startup.Catalina start
- INFO: Server startup in 11702 ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement