Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [INFO] Scanning for projects...
- [INFO]
- [INFO] -------------------< org.openmrs.web:openmrs-webapp >-------------------
- [INFO] Building openmrs-webapp 2.3.2
- [INFO] --------------------------------[ war ]---------------------------------
- [INFO]
- [INFO] >>> jetty-maven-plugin:9.3.3.v20150827:run (default-cli) > test-compile @ openmrs-webapp >>>
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-webapp ---
- [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: C:\openmrs-core\webapp
- [INFO] Storing buildNumber: 4197a5 at timestamp: 1629267236105
- [INFO] ShortRevision tag detected. The value is '6'.
- [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
- [INFO] Working directory: C:\openmrs-core\webapp
- [INFO] Storing buildScmBranch: UNKNOWN
- [INFO]
- [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-webapp ---
- [INFO]
- [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-webapp ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 2 resources
- [INFO] Copying 1 resource to ../jetty
- [INFO]
- [INFO] --- maven-antrun-plugin:1.4:run (default) @ openmrs-webapp ---
- project.artifactId
- [INFO] Executing tasks
- [unzip] Expanding: C:\openmrs-core\webapp\src\main\resources\liquibase-demo-data.zip into C:\openmrs-core\webapp\target\classes
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-webapp ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ openmrs-webapp ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 1 resource
- [INFO]
- [INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ openmrs-webapp ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] <<< jetty-maven-plugin:9.3.3.v20150827:run (default-cli) < test-compile @ openmrs-webapp <<<
- [INFO]
- [INFO]
- [INFO] --- jetty-maven-plugin:9.3.3.v20150827:run (default-cli) @ openmrs-webapp ---
- [INFO] Logging initialized @3141ms
- [INFO] Configuring Jetty for project: openmrs-webapp
- [INFO] webAppSourceDirectory not set. Trying src\main\webapp
- [INFO] Reload Mechanic: automatic
- [INFO] Classes = C:\openmrs-core\webapp\target\classes
- [INFO] Context path = /openmrs
- [INFO] Tmp directory = C:\openmrs-core\webapp\target\tmp
- [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
- [INFO] Web overrides = src/test/resources/override-web.xml
- [INFO] web.xml file = C:\openmrs-core\webapp\target/jetty/WEB-INF/web.xml
- [INFO] Webapp directory = C:\openmrs-core\webapp\src\main\webapp
- [INFO] jetty-9.3.3.v20150827
- [INFO] No Spring WebApplicationInitializer types detected on classpath
- [INFO] Initializing log4j from [classpath:log4j.xml]
- INFO - Listener.contextInitialized(173) |2021-08-18 11:44:01,201| Using runtime properties file: openmrs-runtime.properties
- Wed Aug 18 11:44:01 IST 2021 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
- ERROR - MarkerIgnoringBase.error(159) |2021-08-18 11:44:05,794| 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.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:835)
- at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:530)
- at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:808)
- at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:342)
- at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1368)
- at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:320)
- at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1335)
- at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:772)
- at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:259)
- at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:511)
- at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:403)
- at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
- at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
- at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
- at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
- at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
- at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
- at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
- at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
- at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
- at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
- at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
- at org.eclipse.jetty.server.Server.start(Server.java:405)
- at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:106)
- at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
- at org.eclipse.jetty.server.Server.doStart(Server.java:372)
- at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
- at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:457)
- at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:328)
- at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:170)
- at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
- at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
- at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
- at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
- at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
- at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
- at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
- at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
- at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
- at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
- at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
- 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)
- ... 56 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: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 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:425)
- at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)
- at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
- at java.sql.DriverManager.getConnection(DriverManager.java:664)
- at java.sql.DriverManager.getConnection(DriverManager.java:247)
- at org.openmrs.util.DatabaseUpdater.getConnection(DatabaseUpdater.java:423)
- at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:358)
- ... 57 more
- Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
- The last packet successfully received from the server was 1 milliseconds ago. The last packet sent successfully to the server was 1 milliseconds ago.
- 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:425)
- at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
- at com.mysql.jdbc.ExportControlled.transformSocketToSSLSocket(ExportControlled.java:203)
- at com.mysql.jdbc.MysqlIO.negotiateSSLConnection(MysqlIO.java:4901)
- at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1659)
- at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1226)
- at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2188)
- at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2035)
- ... 71 more
- Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
- at sun.security.ssl.HandshakeContext.<init>(HandshakeContext.java:171)
- at sun.security.ssl.ClientHandshakeContext.<init>(ClientHandshakeContext.java:101)
- at sun.security.ssl.TransportContext.kickstart(TransportContext.java:238)
- at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:394)
- at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:373)
- at com.mysql.jdbc.ExportControlled.transformSocketToSSLSocket(ExportControlled.java:188)
- ... 76 more
- Wed Aug 18 11:44:06 IST 2021 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
- [INFO] Started o.e.j.m.p.JettyWebAppContext@46c269e0{/openmrs,file:///C:/openmrs-core/webapp/src/main/webapp/,AVAILABLE}{file:///C:/openmrs-core/webapp/src/main/webapp/}
- [INFO] Started ServerConnector@b0f2d91{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
- [INFO] Started @16044ms
- [INFO] Started Jetty Server
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement