Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Initial configuration needed
- Deleting active database
- Unzipping database from demodatabase.zip
- Resetting connection.password to 'test'
- Attempting to load properties file in current directory: openmrs-standalone-runtime.properties
- Using runtime properties file: openmrs-standalone-runtime.properties
- Attempting to load properties file in current directory: openmrs-standalone-runtime.properties
- Using runtime properties file: openmrs-standalone-runtime.properties
- Working directory is C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\.
- Opening MySQL connection to create openmrs/test users
- [C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\database\bin\mysqld.exe][--no-defaults][--console][--basedir=C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\database][--max_allowed_packet=96M][--port=3316][--datadir=C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\database\data][--character-set-server=utf8][--socket=mysql.sock][--collation-server=utf8_general_ci][--pid-file=C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\database\data\MysqldResource.pid]
- [MysqldResource] launching mysqld (driver_launched_mysqld_1)
- [MysqldResource] mysqld running as process: 3548
- closed MySQL connection
- [MysqldResource] stopping mysqld (process: 3548)
- [MysqldResource] shutdown complete
- Attempting to load properties file in current directory: openmrs-standalone-runtime.properties
- Using runtime properties file: openmrs-standalone-runtime.properties
- [C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\database\bin\mysqld.exe][--no-defaults][--console][--basedir=C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\database][--max_allowed_packet=96M][--port=3316][--datadir=C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\database\data][--character-set-server=utf8][--socket=mysql.sock][--collation-server=utf8_general_ci][--pid-file=C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\database\data\MysqldResource.pid]
- [MysqldResource] launching mysqld (driver_launched_mysqld_2)
- [MysqldResource] mysqld running as process: 12232
- [MysqldResource] stopping mysqld (process: 12232)
- [MysqldResource] shutdown complete
- Attempting to load properties file in current directory: openmrs-standalone-runtime.properties
- Using runtime properties file: openmrs-standalone-runtime.properties
- Jul 03, 2020 4:05:15 PM org.apache.coyote.AbstractProtocol init
- INFO: Initializing ProtocolHandler ["http-bio-8081"]
- Jul 03, 2020 4:05:15 PM org.apache.catalina.startup.Embedded startInternal
- INFO: Starting tomcat server
- Jul 03, 2020 4:05:15 PM org.apache.catalina.core.StandardEngine startInternal
- INFO: Starting Servlet Engine: Apache Tomcat/7.0.100
- Jul 03, 2020 4:05:17 PM org.apache.catalina.deploy.WebXml setVersion
- WARNING: Unknown version string [4.0]. Default version will be used.
- Jul 03, 2020 4:05:20 PM org.apache.catalina.startup.TldConfig execute
- INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
- Jul 03, 2020 4:05:20 PM org.apache.catalina.core.ApplicationContext log
- INFO: Initializing log4j from [classpath:log4j.xml]
- INFO - Listener.contextInitialized(173) |2020-07-03 16:05:20,780| Using runtime properties file: openmrs-standalone-runtime.properties
- ERROR - MarkerIgnoringBase.error(159) |2020-07-03 16:05:25,054| Failed to obtain JDBC connection
- 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:630)
- at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:587)
- at org.openmrs.util.DatabaseUpdater.updatesRequired(DatabaseUpdater.java:252)
- at org.openmrs.web.Listener.setupNeeded(Listener.java:217)
- at org.openmrs.web.Listener.contextInitialized(Listener.java:179)
- at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5197)
- at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5720)
- at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
- at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1705)
- at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1695)
- at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
- at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
- at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
- at java.base/java.lang.Thread.run(Thread.java:832)
- 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:361)
- at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:615)
- ... 13 more
- Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
- at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
- at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
- at com.mysql.jdbc.Util.getInstance(Util.java:408)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
- at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2094)
- at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2019)
- at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:776)
- at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
- at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
- at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
- at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)
- at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
- at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)
- at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:228)
- at org.openmrs.util.DatabaseUpdater.getConnection(DatabaseUpdater.java:423)
- at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:358)
- ... 14 more
- Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create socket factory 'com.mysql.management.driverlaunched.ServerLauncherSocketFactory' due to underlying exception:
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
- at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
- at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
- at com.mysql.jdbc.Util.getInstance(Util.java:408)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
- at com.mysql.jdbc.MysqlIO.createSocketFactory(MysqlIO.java:3330)
- at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:296)
- at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2186)
- at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2035)
- ... 29 more
- Caused by: java.lang.ClassCastException: class com.mysql.management.driverlaunched.ServerLauncherSocketFactory cannot be cast to class com.mysql.jdbc.SocketFactory (com.mysql.management.driverlaunched.ServerLauncherSocketFactory is in unnamed module of loader 'app'; com.mysql.jdbc.SocketFactory is in unnamed module of loader org.apache.catalina.loader.WebappClassLoader @66fcd51)
- at com.mysql.jdbc.MysqlIO.createSocketFactory(MysqlIO.java:3328)
- ... 32 more
- Jul 03, 2020 4:05:29 PM org.apache.coyote.AbstractProtocol start
- INFO: Starting ProtocolHandler ["http-bio-8081"]
- ERROR - CommonsLogLogChute.log(96) |2020-07-03 16:05:30,896| #parse() null argument
- ERROR - CommonsLogLogChute.log(96) |2020-07-03 16:05:30,908| #parse() null argument
- Jul 03, 2020 4:05:40 PM org.apache.coyote.AbstractProtocol stop
- INFO: Stopping ProtocolHandler ["http-bio-8081"]
- ERROR - Context.getServiceContext(273) |2020-07-03 16:05:40,973| serviceContext is null. Creating new ServiceContext()
- WARN - LocaleUtility.getDefaultLocale(73) |2020-07-03 16:05:41,003| Unable to get locale global property value. Service not found: interface org.openmrs.api.AdministrationService
- Jul 03, 2020 4:05:41 PM org.apache.catalina.core.StandardContext listenerStop
- SEVERE: Exception sending context destroyed event to listener instance of class [org.openmrs.web.Listener]
- org.openmrs.api.APIException: contextDAO is null
- at org.openmrs.api.context.Context.getContextDAO(Context.java:167)
- at org.openmrs.api.context.Context.closeSession(Context.java:783)
- at org.openmrs.web.Listener.contextDestroyed(Listener.java:560)
- at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5244)
- at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5933)
- at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
- at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1721)
- at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1710)
- at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
- at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
- at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
- at java.base/java.lang.Thread.run(Thread.java:832)
- Jul 03, 2020 4:05:41 PM org.apache.catalina.core.ApplicationContext log
- INFO: Shutting down log4j
- Jul 03, 2020 4:05:41 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
- SEVERE: The web application [/openmrs-standalone] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
- Jul 03, 2020 4:05:41 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
- SEVERE: The web application [/openmrs-standalone] appears to have started a thread named [FileWatchdog] but has failed to stop it. This is very likely to create a memory leak.
- Jul 03, 2020 4:05:41 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
- SEVERE: The web application [/openmrs-standalone] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.
- [MysqldResource] Mysqld not running. No file: C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\database\data\MysqldResource.pid
- Jul 03, 2020 4:05:45 PM org.apache.catalina.loader.WebappClassLoaderBase findResourceInternal
- INFO: Illegal access: this web application instance has been stopped already. Could not load []. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
- Attempting to load properties file in current directory: openmrs-standalone-runtime.properties
- Using runtime properties file: openmrs-standalone-runtime.properties
- Jul 03, 2020 4:08:32 PM org.apache.coyote.AbstractProtocol init
- INFO: Initializing ProtocolHandler ["http-bio-8081"]
- Jul 03, 2020 4:08:32 PM org.apache.catalina.startup.Embedded startInternal
- INFO: Starting tomcat server
- Jul 03, 2020 4:08:32 PM org.apache.catalina.core.StandardEngine startInternal
- INFO: Starting Servlet Engine: Apache Tomcat/7.0.100
- Jul 03, 2020 4:08:33 PM org.apache.catalina.deploy.WebXml setVersion
- WARNING: Unknown version string [4.0]. Default version will be used.
- Jul 03, 2020 4:08:35 PM org.apache.catalina.startup.TldConfig execute
- INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
- Jul 03, 2020 4:08:36 PM org.apache.catalina.core.ApplicationContext log
- INFO: Initializing log4j from [classpath:log4j.xml]
- INFO - Listener.contextInitialized(173) |2020-07-03 16:08:36,405| Using runtime properties file: openmrs-standalone-runtime.properties
- ERROR - MarkerIgnoringBase.error(159) |2020-07-03 16:08:40,715| Failed to obtain JDBC connection
- 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:630)
- at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:587)
- at org.openmrs.util.DatabaseUpdater.updatesRequired(DatabaseUpdater.java:252)
- at org.openmrs.web.Listener.setupNeeded(Listener.java:217)
- at org.openmrs.web.Listener.contextInitialized(Listener.java:179)
- at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5197)
- at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5720)
- at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
- at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1705)
- at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1695)
- at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
- at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
- at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
- at java.base/java.lang.Thread.run(Thread.java:832)
- 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:361)
- at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:615)
- ... 13 more
- Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
- at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
- at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
- at com.mysql.jdbc.Util.getInstance(Util.java:408)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
- at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2094)
- at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2019)
- at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:776)
- at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
- at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
- at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
- at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)
- at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
- at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)
- at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:228)
- at org.openmrs.util.DatabaseUpdater.getConnection(DatabaseUpdater.java:423)
- at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:358)
- ... 14 more
- Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create socket factory 'com.mysql.management.driverlaunched.ServerLauncherSocketFactory' due to underlying exception:
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
- at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
- at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
- at com.mysql.jdbc.Util.getInstance(Util.java:408)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
- at com.mysql.jdbc.MysqlIO.createSocketFactory(MysqlIO.java:3330)
- at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:296)
- at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2186)
- at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2035)
- ... 29 more
- Caused by: java.lang.ClassCastException: class com.mysql.management.driverlaunched.ServerLauncherSocketFactory cannot be cast to class com.mysql.jdbc.SocketFactory (com.mysql.management.driverlaunched.ServerLauncherSocketFactory is in unnamed module of loader 'app'; com.mysql.jdbc.SocketFactory is in unnamed module of loader org.apache.catalina.loader.WebappClassLoader @29a4f4f5)
- at com.mysql.jdbc.MysqlIO.createSocketFactory(MysqlIO.java:3328)
- ... 32 more
- Jul 03, 2020 4:08:45 PM org.apache.coyote.AbstractProtocol start
- INFO: Starting ProtocolHandler ["http-bio-8081"]
- ERROR - CommonsLogLogChute.log(96) |2020-07-03 16:08:46,732| #parse() null argument
- ERROR - CommonsLogLogChute.log(96) |2020-07-03 16:08:46,753| #parse() null argument
- Jul 03, 2020 4:08:59 PM org.apache.coyote.AbstractProtocol stop
- INFO: Stopping ProtocolHandler ["http-bio-8081"]
- ERROR - Context.getServiceContext(273) |2020-07-03 16:09:00,002| serviceContext is null. Creating new ServiceContext()
- WARN - LocaleUtility.getDefaultLocale(73) |2020-07-03 16:09:00,042| Unable to get locale global property value. Service not found: interface org.openmrs.api.AdministrationService
- Jul 03, 2020 4:09:00 PM org.apache.catalina.core.StandardContext listenerStop
- SEVERE: Exception sending context destroyed event to listener instance of class [org.openmrs.web.Listener]
- org.openmrs.api.APIException: contextDAO is null
- at org.openmrs.api.context.Context.getContextDAO(Context.java:167)
- at org.openmrs.api.context.Context.closeSession(Context.java:783)
- at org.openmrs.web.Listener.contextDestroyed(Listener.java:560)
- at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5244)
- at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5933)
- at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
- at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1721)
- at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1710)
- at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
- at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
- at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
- at java.base/java.lang.Thread.run(Thread.java:832)
- Jul 03, 2020 4:09:00 PM org.apache.catalina.core.ApplicationContext log
- INFO: Shutting down log4j
- Jul 03, 2020 4:09:00 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
- SEVERE: The web application [/openmrs-standalone] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
- Jul 03, 2020 4:09:00 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
- SEVERE: The web application [/openmrs-standalone] registered the JDBC driver [com.mysql.fabric.jdbc.FabricMySQLDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
- Jul 03, 2020 4:09:00 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
- SEVERE: The web application [/openmrs-standalone] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
- Jul 03, 2020 4:09:00 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
- SEVERE: The web application [/openmrs-standalone] appears to have started a thread named [FileWatchdog] but has failed to stop it. This is very likely to create a memory leak.
- Jul 03, 2020 4:09:00 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
- SEVERE: The web application [/openmrs-standalone] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.
- [MysqldResource] Mysqld not running. No file: C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\database\data\MysqldResource.pid
- Jul 03, 2020 4:09:01 PM org.apache.catalina.loader.WebappClassLoaderBase findResourceInternal
- INFO: Illegal access: this web application instance has been stopped already. Could not load []. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
- Attempting to load properties file in current directory: openmrs-standalone-runtime.properties
- Using runtime properties file: openmrs-standalone-runtime.properties
- Jul 03, 2020 4:09:45 PM org.apache.coyote.AbstractProtocol init
- INFO: Initializing ProtocolHandler ["http-bio-8082"]
- Jul 03, 2020 4:09:45 PM org.apache.catalina.startup.Embedded startInternal
- INFO: Starting tomcat server
- Jul 03, 2020 4:09:45 PM org.apache.catalina.core.StandardEngine startInternal
- INFO: Starting Servlet Engine: Apache Tomcat/7.0.100
- Jul 03, 2020 4:09:46 PM org.apache.catalina.deploy.WebXml setVersion
- WARNING: Unknown version string [4.0]. Default version will be used.
- Jul 03, 2020 4:09:48 PM org.apache.catalina.startup.TldConfig execute
- INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
- Jul 03, 2020 4:09:49 PM org.apache.catalina.core.ApplicationContext log
- INFO: Initializing log4j from [classpath:log4j.xml]
- INFO - Listener.contextInitialized(173) |2020-07-03 16:09:49,497| Using runtime properties file: openmrs-standalone-runtime.properties
- ERROR - MarkerIgnoringBase.error(159) |2020-07-03 16:09:53,819| Failed to obtain JDBC connection
- 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:630)
- at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:587)
- at org.openmrs.util.DatabaseUpdater.updatesRequired(DatabaseUpdater.java:252)
- at org.openmrs.web.Listener.setupNeeded(Listener.java:217)
- at org.openmrs.web.Listener.contextInitialized(Listener.java:179)
- at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5197)
- at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5720)
- at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
- at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1705)
- at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1695)
- at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
- at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
- at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
- at java.base/java.lang.Thread.run(Thread.java:832)
- 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:361)
- at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:615)
- ... 13 more
- Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
- at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
- at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
- at com.mysql.jdbc.Util.getInstance(Util.java:408)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
- at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2094)
- at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2019)
- at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:776)
- at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
- at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
- at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
- at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)
- at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
- at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)
- at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:228)
- at org.openmrs.util.DatabaseUpdater.getConnection(DatabaseUpdater.java:423)
- at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:358)
- ... 14 more
- Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create socket factory 'com.mysql.management.driverlaunched.ServerLauncherSocketFactory' due to underlying exception:
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
- at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
- at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
- at com.mysql.jdbc.Util.getInstance(Util.java:408)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
- at com.mysql.jdbc.MysqlIO.createSocketFactory(MysqlIO.java:3330)
- at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:296)
- at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2186)
- at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2035)
- ... 29 more
- Caused by: java.lang.ClassCastException: class com.mysql.management.driverlaunched.ServerLauncherSocketFactory cannot be cast to class com.mysql.jdbc.SocketFactory (com.mysql.management.driverlaunched.ServerLauncherSocketFactory is in unnamed module of loader 'app'; com.mysql.jdbc.SocketFactory is in unnamed module of loader org.apache.catalina.loader.WebappClassLoader @dc41bc3)
- at com.mysql.jdbc.MysqlIO.createSocketFactory(MysqlIO.java:3328)
- ... 32 more
- Jul 03, 2020 4:09:58 PM org.apache.coyote.AbstractProtocol start
- INFO: Starting ProtocolHandler ["http-bio-8082"]
- ERROR - CommonsLogLogChute.log(96) |2020-07-03 16:09:59,439| #parse() null argument
- ERROR - CommonsLogLogChute.log(96) |2020-07-03 16:09:59,453| #parse() null argument
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement