Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Microsoft Windows [Version 10.0.10586]
- (c) 2015 Microsoft Corporation. All rights reserved.
- C:\Windows\system32>g:
- G:\>cd G:\openmrs\basicexample
- G:\openmrs\basicexample>mvn clean install openmrs-sdk:run
- [INFO] Scanning for projects...
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Build Order:
- [INFO]
- [INFO] Basicexample [pom]
- [INFO] Basicexample API [jar]
- [INFO] Basicexample OMOD [jar]
- Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
- Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
- Downloaded from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml (1.1 kB at 43 B/s)
- Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.pom
- Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.pom
- [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
- Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.jar
- Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.jar
- [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Could not find artifact org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public)
- Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-metadata.xml
- Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/maven-metadata.xml
- Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/apache/maven/plugins/maven-metadata.xml
- Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/maven/plugins/maven-metadata.xml
- Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/codehaus/mojo/maven-metadata.xml
- Downloaded from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/maven-metadata.xml (432 B at 46 B/s)
- Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/codehaus/mojo/maven-metadata.xml
- Downloaded from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/maven/plugins/maven-metadata.xml (906 B at 54 B/s)
- Downloaded from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/codehaus/mojo/maven-metadata.xml (27 kB at 1.2 kB/s)
- Downloaded from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-metadata.xml (19 kB at 684 B/s)
- Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml
- Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml
- Downloaded from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml (1.5 kB at 315 B/s)
- Downloaded from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml (1.8 kB at 287 B/s)
- [INFO]
- [INFO] ------------------< org.openmrs.module:basicexample >-------------------
- [INFO] Building Basicexample 1.0.0-SNAPSHOT [1/3]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ basicexample ---
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ basicexample ---
- [INFO] Checking for local modifications: skipped.
- [INFO] Updating project files from SCM: skipped.
- [INFO] ShortRevision tag detected. The value is '6'.
- [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
- [INFO] Working directory: G:\openmrs\basicexample
- [INFO] Storing buildNumber: 0 at timestamp: 1557038618880
- [INFO] ShortRevision tag detected. The value is '6'.
- [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
- [INFO] Working directory: G:\openmrs\basicexample
- [INFO] Storing buildScmBranch: UNKNOWN_BRANCH
- [INFO]
- [INFO] --- maven-java-formatter-plugin:0.4:format (default) @ basicexample ---
- [INFO] Using 'UTF-8' encoding to format source files.
- [INFO] Number of files to be formatted: 0
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ basicexample ---
- [INFO] Installing G:\openmrs\basicexample\pom.xml to C:\Users\DE-PRINCE LAPTOPS\.m2\repository\org\openmrs\module\basicexample\1.0.0-SNAPSHOT\basicexample-1.0.0-SNAPSHOT.pom
- [INFO]
- [INFO] ----------------< org.openmrs.module:basicexample-api >-----------------
- [INFO] Building Basicexample API 1.0.0-SNAPSHOT [2/3]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ basicexample-api ---
- [INFO] Deleting G:\openmrs\basicexample\api\target
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ basicexample-api ---
- [INFO]
- [INFO] --- maven-java-formatter-plugin:0.4:format (default) @ basicexample-api ---
- [INFO] Using 'UTF-8' encoding to format source files.
- [INFO] Number of files to be formatted: 8
- [INFO] Successfully formatted: 0 file(s)
- [INFO] Fail to format : 0 file(s)
- [INFO] Skipped : 8 file(s)
- [INFO] Approximate time taken: 1s
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ basicexample-api ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 5 resources
- [INFO] Copying 0 resource
- [INFO] skip non existing resourceDirectory G:\openmrs\basicexample\api\src\main\webapp
- [INFO] skip non existing resourceDirectory G:\openmrs\basicexample\api\src\main\webapp
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ basicexample-api ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 6 source files to G:\openmrs\basicexample\api\target\classes
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ basicexample-api ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory G:\openmrs\basicexample\api\src\test\resources
- [INFO] skip non existing resourceDirectory G:\openmrs\basicexample\api\src\test\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ basicexample-api ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 2 source files to G:\openmrs\basicexample\api\target\test-classes
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ basicexample-api ---
- [INFO] Surefire report directory: G:\openmrs\basicexample\api\target\surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Running org.openmrs.module.basicexample.api.BasicexampleServiceTest
- Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.936 sec
- Running org.openmrs.module.basicexample.api.dao.BasicexampleDaoTest
- Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.108 sec
- Results :
- Tests run: 2, Failures: 0, Errors: 0, Skipped: 1
- [INFO]
- [INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ basicexample-api ---
- [INFO] Building jar: G:\openmrs\basicexample\api\target\basicexample-api-1.0.0-SNAPSHOT.jar
- [INFO]
- [INFO] --- maven-jar-plugin:2.5:test-jar (default) @ basicexample-api ---
- [INFO] Building jar: G:\openmrs\basicexample\api\target\basicexample-api-1.0.0-SNAPSHOT-tests.jar
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ basicexample-api ---
- [INFO] Installing G:\openmrs\basicexample\api\target\basicexample-api-1.0.0-SNAPSHOT.jar to C:\Users\DE-PRINCE LAPTOPS\.m2\repository\org\openmrs\module\basicexample-api\1.0.0-SNAPSHOT\basicexample-api-1.0.0-SNAPSHOT.jar
- [INFO] Installing G:\openmrs\basicexample\api\pom.xml to C:\Users\DE-PRINCE LAPTOPS\.m2\repository\org\openmrs\module\basicexample-api\1.0.0-SNAPSHOT\basicexample-api-1.0.0-SNAPSHOT.pom
- [INFO] Installing G:\openmrs\basicexample\api\target\basicexample-api-1.0.0-SNAPSHOT-tests.jar to C:\Users\DE-PRINCE LAPTOPS\.m2\repository\org\openmrs\module\basicexample-api\1.0.0-SNAPSHOT\basicexample-api-1.0.0-SNAPSHOT-tests.jar
- [INFO]
- [INFO] ----------------< org.openmrs.module:basicexample-omod >----------------
- [INFO] Building Basicexample OMOD 1.0.0-SNAPSHOT [3/3]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ basicexample-omod ---
- [INFO] Deleting G:\openmrs\basicexample\omod\target
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ basicexample-omod ---
- [INFO]
- [INFO] --- maven-java-formatter-plugin:0.4:format (default) @ basicexample-omod ---
- [INFO] Using 'UTF-8' encoding to format source files.
- [INFO] Number of files to be formatted: 4
- [INFO] Successfully formatted: 0 file(s)
- [INFO] Fail to format : 0 file(s)
- [INFO] Skipped : 4 file(s)
- [INFO] Approximate time taken: 0s
- [INFO]
- [INFO] --- maven-dependency-plugin:2.8:unpack-dependencies (Expand resources) @ basicexample-omod ---
- [INFO] Unpacking G:\openmrs\basicexample\api\target\basicexample-api-1.0.0-SNAPSHOT.jar to G:\openmrs\basicexample\omod\target\classes with includes "*.xml,*.properties" and excludes ""
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ basicexample-omod ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 2 resources
- [INFO] Copying 0 resource
- [INFO] Copying 0 resource to web/module
- [INFO] Copying 3 resources to web/module
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ basicexample-omod ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 3 source files to G:\openmrs\basicexample\omod\target\classes
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ basicexample-omod ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory G:\openmrs\basicexample\omod\src\test\resources
- [INFO] skip non existing resourceDirectory G:\openmrs\basicexample\omod\src\test\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ basicexample-omod ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 1 source file to G:\openmrs\basicexample\omod\target\test-classes
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ basicexample-omod ---
- [INFO] Surefire report directory: G:\openmrs\basicexample\omod\target\surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Running org.openmrs.module.basicexample.AdminListExtensionTest
- Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.776 sec
- Results :
- Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
- [INFO]
- [INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ basicexample-omod ---
- [INFO] Building jar: G:\openmrs\basicexample\omod\target\basicexample-1.0.0-SNAPSHOT.jar
- [INFO]
- [INFO] --- maven-openmrs-plugin:1.0.1:package-module (pack) @ basicexample-omod ---
- [INFO] Packaging OpenMRS module
- [INFO] Building jar: G:\openmrs\basicexample\omod\target\basicexample-1.0.0-SNAPSHOT.omod
- [INFO]
- [INFO] --- maven-jar-plugin:2.5:test-jar (default) @ basicexample-omod ---
- [INFO] Building jar: G:\openmrs\basicexample\omod\target\basicexample-1.0.0-SNAPSHOT-tests.jar
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ basicexample-omod ---
- [INFO] Installing G:\openmrs\basicexample\omod\target\basicexample-1.0.0-SNAPSHOT.omod to C:\Users\DE-PRINCE LAPTOPS\.m2\repository\org\openmrs\module\basicexample-omod\1.0.0-SNAPSHOT\basicexample-omod-1.0.0-SNAPSHOT.jar
- [INFO] Installing G:\openmrs\basicexample\omod\pom.xml to C:\Users\DE-PRINCE LAPTOPS\.m2\repository\org\openmrs\module\basicexample-omod\1.0.0-SNAPSHOT\basicexample-omod-1.0.0-SNAPSHOT.pom
- [INFO] Installing G:\openmrs\basicexample\omod\target\basicexample-1.0.0-SNAPSHOT-tests.jar to C:\Users\DE-PRINCE LAPTOPS\.m2\repository\org\openmrs\module\basicexample-omod\1.0.0-SNAPSHOT\basicexample-omod-1.0.0-SNAPSHOT-tests.jar
- [INFO]
- [INFO] ------------------< org.openmrs.module:basicexample >-------------------
- [INFO] Building Basicexample 1.0.0-SNAPSHOT [4/3]
- [INFO] --------------------------------[ pom ]---------------------------------
- [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
- [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in http://mavenrepo.openmrs.org/nexus/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of openmrs-repo has elapsed or updates are forced
- [INFO]
- [INFO] --- openmrs-sdk-maven-plugin:3.13.2:run (default-cli) @ basicexample ---
- You have the following servers::
- 1) server1
- 2) server3
- Which one do you choose? [1/2]: 2
- Checking if port 8080 is in use... [free]
- [INFO] OpenMRS module detected, installing before run...
- [INFO] artifact org.openmrs.module:basicexample-omod: checking for updates from openmrs-repo
- [INFO] artifact org.openmrs.module:basicexample-omod: checking for updates from openmrs-repo-thirdparty
- [INFO] artifact org.openmrs.module:basicexample-omod: checking for updates from openmrs-bintray-repo
- [INFO] artifact org.openmrs.module:basicexample-omod: checking for updates from central
- [INFO] Configured Artifact: org.openmrs.module:basicexample-omod:1.0.0-SNAPSHOT:jar
- [INFO] Copying basicexample-1.0.0-SNAPSHOT.omod to C:\Users\DE-PRINCE LAPTOPS\openmrs\server3\modules\basicexample-1.0.0-SNAPSHOT.omod
- [info] Module 'basicexample' was updated to version '1.0.0-SNAPSHOT'
- Connect remote debugger with port 1044
- Forking a new process... (use -Dfork=false to prevent forking)
- Listening for transport dt_socket at address: 1044
- Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T21:41:47+03:00)
- Maven home: G:\sw\java\apache-maven-3.6.0\bin\..
- Java version: 1.8.0_202, vendor: Oracle Corporation, runtime: C:\Program Files\java\jdk1.8.0_202\jre
- Default locale: en_US, platform encoding: Cp1252
- OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
- [INFO] Scanning for projects...
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Build Order:
- [INFO]
- [INFO] Basicexample [pom]
- [INFO] Basicexample API [jar]
- [INFO] Basicexample OMOD [jar]
- [INFO]
- [INFO] ------------------< org.openmrs.module:basicexample >-------------------
- [INFO] Building Basicexample 1.0.0-SNAPSHOT [1/3]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- openmrs-sdk-maven-plugin:3.13.2:run-tomcat (default-cli) @ basicexample ---
- Using JAVA_HOME: C:\Program Files\java\jdk1.8.0_202\jre
- Using MAVEN_OPTS: -Xmx768m -XX:MaxPermSize=512m -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=1044
- Starting Tomcat...
- May 05, 2019 9:45:27 AM org.apache.coyote.AbstractProtocol init
- INFO: Initializing ProtocolHandler ["http-bio-8080"]
- May 05, 2019 9:45:27 AM org.apache.catalina.core.StandardService startInternal
- INFO: Starting service Tomcat
- May 05, 2019 9:45:27 AM org.apache.catalina.core.StandardEngine startInternal
- INFO: Starting Servlet Engine: Apache Tomcat/7.0.67
- May 05, 2019 9:45:40 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
- INFO: No global web.xml found
- May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
- May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
- May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
- May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
- May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
- May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
- May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
- May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
- May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
- May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
- May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
- May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
- May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
- May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
- May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
- May 05, 2019 9:45:58 AM 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.
- May 05, 2019 9:45:58 AM org.apache.catalina.core.ApplicationContext log
- INFO: No Spring WebApplicationInitializer types detected on classpath
- SLF4J: Class path contains multiple SLF4J bindings.
- SLF4J: Found binding in [jar:file:/C:/Users/DE-PRINCE%20LAPTOPS/.m2/repository/org/slf4j/slf4j-simple/1.6.2/slf4j-simple-1.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
- SLF4J: Found binding in [jar:file:/C:/Users/DE-PRINCE%20LAPTOPS/openmrs/server3/tmp/openmrs/WEB-INF/lib/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
- SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
- May 05, 2019 9:45:59 AM org.apache.catalina.core.ApplicationContext log
- INFO: Initializing log4j from [classpath:log4j.xml]
- WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2085) |2019-05-05 09:45:59,723| Unable to find a runtime properties file at G:\openmrs\basicexample\openmrs-runtime.properties
- WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2085) |2019-05-05 09:45:59,775| Unable to find a runtime properties file at G:\openmrs\basicexample\openmrs-runtime.properties
- INFO - Listener.contextInitialized(174) |2019-05-05 09:45:59,777| Using runtime properties file: C:\Users\DE-PRINCE LAPTOPS\openmrs\server3\openmrs-runtime.properties
- ERROR - Listener.contextInitialized(205) |2019-05-05 09:46:06,212| 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:628)
- at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:584)
- 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:5077)
- at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5591)
- at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
- at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1574)
- at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1564)
- 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:613)
- ... 13 more
- Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
- May 05, 2019 9:46:06 AM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [211] milliseconds.
- 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)
- ... 14 more
- Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'server3'
- 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:1054)
- 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)
- ... 28 more
- WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2085) |2019-05-05 09:46:07,146| Unable to find a runtime properties file at G:\openmrs\basicexample\openmrs-runtime.properties
- May 05, 2019 9:46:11 AM org.apache.coyote.AbstractProtocol start
- INFO: Starting ProtocolHandler ["http-bio-8080"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement