Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start the server! #15

Open
shivanandacss opened this issue Aug 16, 2017 · 0 comments
Open

Unable to start the server! #15

shivanandacss opened this issue Aug 16, 2017 · 0 comments

Comments

@shivanandacss
Copy link

Hi,
After executing the jar file using the following command., java -jar excode.jar., I am able to see the following stacktrace.,
2017-08-16 17:19:24 [main] INFO com.deem.excord.Main - Starting Server!


( )( / )( )( __)( ( / )( )/ \ ( ( \ / )/ ( _ (
) ) ) ( )( ) ) / /_ \ )(( O )/ / ( (( O )) / ) D (
(
)(_/_) (
) (____)_))(____/()__/ _)) _)__/(__)(____/

2017-08-16 17:19:24 [main] INFO com.deem.excord.Main - Starting Main v1.0-SNAPS
HOT on IFOCUSODC-PC5 with PID 7248 (E:\MyCodeBase\excord\var\app\excord.jar star
ted by ifocus in E:\MyCodeBase\excord\var\app)
2017-08-16 17:19:24 [main] INFO com.deem.excord.Main - No active profile set, f
alling back to default profiles: default
2017-08-16 17:19:24 [main] INFO o.s.b.c.e.AnnotationConfigEmbeddedWebApplicatio
nContext - Refreshing org.springframework.boot.context.embedded.AnnotationConfig
EmbeddedWebApplicationContext@1f34e7e0: startup date [Wed Aug 16 17:19:24 IST 20
17]; root of context hierarchy
2017-08-16 17:19:24 [background-preinit] INFO o.h.validator.internal.util.Versi
on - HV000001: Hibernate Validator 5.2.4.Final
2017-08-16 17:19:26 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanP
ostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTran
sactionManagementConfiguration' of type [class org.springframework.transaction.a
nnotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$c8f9a1
c5] is not eligible for getting processed by all BeanPostProcessors (for example
: not eligible for auto-proxying)
2017-08-16 17:19:27 [main] INFO o.s.b.c.e.t.TomcatEmbeddedServletContainer - To
mcat initialized with port(s): 9090 (http)
2017-08-16 17:19:27 [main] INFO o.a.catalina.core.StandardService - Starting se
rvice Tomcat
2017-08-16 17:19:27 [main] INFO o.a.catalina.core.StandardEngine - Starting Ser
vlet Engine: Apache Tomcat/8.0.33
2017-08-16 17:19:27 [localhost-startStop-1] INFO o.a.c.c.C.[Tomcat].[localhost]
.[/] - Initializing Spring embedded WebApplicationContext
2017-08-16 17:19:27 [localhost-startStop-1] INFO o.s.web.context.ContextLoader

  • Root WebApplicationContext: initialization completed in 2560 ms
    2017-08-16 17:19:27 [localhost-startStop-1] INFO o.s.b.c.e.FilterRegistrationBe
    an - Mapping filter: 'metricFilter' to: [/]
    2017-08-16 17:19:27 [localhost-startStop-1] INFO o.s.b.c.e.FilterRegistrationBe
    an - Mapping filter: 'characterEncodingFilter' to: [/
    ]
    2017-08-16 17:19:27 [localhost-startStop-1] INFO o.s.b.c.e.FilterRegistrationBe
    an - Mapping filter: 'hiddenHttpMethodFilter' to: [/]
    2017-08-16 17:19:27 [localhost-startStop-1] INFO o.s.b.c.e.FilterRegistrationBe
    an - Mapping filter: 'httpPutFormContentFilter' to: [/
    ]
    2017-08-16 17:19:27 [localhost-startStop-1] INFO o.s.b.c.e.FilterRegistrationBe
    an - Mapping filter: 'requestContextFilter' to: [/]
    2017-08-16 17:19:27 [localhost-startStop-1] INFO o.s.b.c.e.FilterRegistrationBe
    an - Mapping filter: 'webRequestLoggingFilter' to: [/
    ]
    2017-08-16 17:19:27 [localhost-startStop-1] INFO o.s.b.c.e.FilterRegistrationBe
    an - Mapping filter: 'authFilter' to urls: [/]
    2017-08-16 17:19:27 [localhost-startStop-1] INFO o.s.b.c.e.FilterRegistrationBe
    an - Filter authFilter was not registered (possibly already registered?)
    2017-08-16 17:19:27 [localhost-startStop-1] INFO o.s.b.c.e.FilterRegistrationBe
    an - Mapping filter: 'applicationContextIdFilter' to: [/
    ]
    2017-08-16 17:19:27 [localhost-startStop-1] INFO o.s.b.c.e.ServletRegistrationB
    ean - Mapping servlet: 'dispatcherServlet' to [/]
    2017-08-16 17:19:28 [main] INFO o.f.c.internal.util.VersionPrinter - Flyway 3.2
    .1 by Boxfuse
    Wed Aug 16 17:19:28 IST 2017 WARN: Establishing SSL connection without server's
    identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ an
    d 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 ve
    rifyServerCertificate property is set to 'false'. You need either to explicitly
    disable SSL by setting useSSL=false, or set useSSL=true and provide truststore f
    or server certificate verification.
    Wed Aug 16 17:19:28 IST 2017 WARN: Establishing SSL connection without server's
    identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ an
    d 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 ve
    rifyServerCertificate property is set to 'false'. You need either to explicitly
    disable SSL by setting useSSL=false, or set useSSL=true and provide truststore f
    or server certificate verification.
    Wed Aug 16 17:19:28 IST 2017 WARN: Establishing SSL connection without server's
    identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ an
    d 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 ve
    rifyServerCertificate property is set to 'false'. You need either to explicitly
    disable SSL by setting useSSL=false, or set useSSL=true and provide truststore f
    or server certificate verification.
    Wed Aug 16 17:19:28 IST 2017 WARN: Establishing SSL connection without server's
    identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ an
    d 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 ve
    rifyServerCertificate property is set to 'false'. You need either to explicitly
    disable SSL by setting useSSL=false, or set useSSL=true and provide truststore f
    or server certificate verification.
    Wed Aug 16 17:19:28 IST 2017 WARN: Establishing SSL connection without server's
    identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ an
    d 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 ve
    rifyServerCertificate property is set to 'false'. You need either to explicitly
    disable SSL by setting useSSL=false, or set useSSL=true and provide truststore f
    or server certificate verification.
    Wed Aug 16 17:19:28 IST 2017 WARN: Establishing SSL connection without server's
    identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ an
    d 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 ve
    rifyServerCertificate property is set to 'false'. You need either to explicitly
    disable SSL by setting useSSL=false, or set useSSL=true and provide truststore f
    or server certificate verification.
    Wed Aug 16 17:19:28 IST 2017 WARN: Establishing SSL connection without server's
    identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ an
    d 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 ve
    rifyServerCertificate property is set to 'false'. You need either to explicitly
    disable SSL by setting useSSL=false, or set useSSL=true and provide truststore f
    or server certificate verification.
    Wed Aug 16 17:19:29 IST 2017 WARN: Establishing SSL connection without server's
    identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ an
    d 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 ve
    rifyServerCertificate property is set to 'false'. You need either to explicitly
    disable SSL by setting useSSL=false, or set useSSL=true and provide truststore f
    or server certificate verification.
    Wed Aug 16 17:19:29 IST 2017 WARN: Establishing SSL connection without server's
    identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ an
    d 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 ve
    rifyServerCertificate property is set to 'false'. You need either to explicitly
    disable SSL by setting useSSL=false, or set useSSL=true and provide truststore f
    or server certificate verification.
    Wed Aug 16 17:19:29 IST 2017 WARN: Establishing SSL connection without server's
    identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ an
    d 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 ve
    rifyServerCertificate property is set to 'false'. You need either to explicitly
    disable SSL by setting useSSL=false, or set useSSL=true and provide truststore f
    or server certificate verification.
    2017-08-16 17:19:29 [main] INFO o.f.c.i.dbsupport.DbSupportFactory - Database:
    jdbc:mysql://127.0.0.1:3306/excord (MySQL 8.0)
    2017-08-16 17:19:29 [main] INFO o.f.core.internal.command.DbValidate - Validate
    d 9 migrations (execution time 00:00.024s)
    2017-08-16 17:19:29 [main] INFO o.f.core.internal.command.DbMigrate - Current v
    ersion of schema excord: << Empty Schema >>
    2017-08-16 17:19:29 [main] INFO o.f.core.internal.command.DbMigrate - Migrating
    schema excord to version 1 - Core

By looking at the above stacktrace, I am able to see that the application has been started, but on hitting localhost:9090., I am getting "Site can't be reached" error.

I have set the "spring.datasource.url=jdbc:mysql://127.0.0.1:3306/excord"in the application.properties file, and I believe I have done it correctly.

And in the same file, there is something related to ldap. I haven't made any changes on the default properties here.

Am I missing something here. Have followed the steps mentioned to setup the DB as well and that too is working.

Kindly help me in fixing my problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant