data.sql is not executing post spring boot migration to 2.x
Below are the loggers getting while running spring boot application. before migration used to get 'SpringUtils' logger info like 'Executed data.sql':
2018-11-21 13:59:11 - Mapping filter: 'corsFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'characterEncodingFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'springSessionRepositoryFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'formContentFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'requestContextFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'springSecurityFilterChain' to: [/*]
2018-11-21 13:59:11 - Servlet dispatcherServlet mapped to [/]
2018-11-21 13:59:16 - Cluster created with settings {hosts=[localhost:27017], mode=MULTIPLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
2018-11-21 13:59:16 - Adding discovered server localhost:27017 to client view of cluster
2018-11-21 13:59:16 - Opened connection [connectionId{localValue:1, serverValue:61}] to localhost:27017
2018-11-21 13:59:16 - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[4, 0, 0]}, minWireVersion=0, maxWireVersion=7, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=6851025}
2018-11-21 13:59:16 - Discovered cluster type of STANDALONE
2018-11-21 13:59:18 - Opened connection [connectionId{localValue:2, serverValue:62}] to localhost:27017
2018-11-21 13:59:36 - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2018-11-21 13:59:39 - Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1124fd8, org.springframework.security.web.context.SecurityContextPersistenceFilter@3ac6c956, org.springframework.security.web.header.HeaderWriterFilter@fcdad9a, org.springframework.security.web.authentication.logout.LogoutFilter@73c2097e, org.springframework.security.web.session.ConcurrentSessionFilter@1bec2008, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@6cd76b55, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@598acf89, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@18c9291e, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@810d718, org.springframework.security.web.session.SessionManagementFilter@3bf572e0, org.springframework.security.web.access.ExceptionTranslationFilter@260715eb, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@7e9bb52f]
2018-11-21 13:59:42 - Initializing ExecutorService 'taskScheduler'
2018-11-21 13:59:42 - Context refreshed
2018-11-21 13:59:42 - Found 1 custom documentation plugin(s)
2018-11-21 13:59:42 - Scanning for api listing references`enter code here`
spring-boot
add a comment |
Below are the loggers getting while running spring boot application. before migration used to get 'SpringUtils' logger info like 'Executed data.sql':
2018-11-21 13:59:11 - Mapping filter: 'corsFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'characterEncodingFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'springSessionRepositoryFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'formContentFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'requestContextFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'springSecurityFilterChain' to: [/*]
2018-11-21 13:59:11 - Servlet dispatcherServlet mapped to [/]
2018-11-21 13:59:16 - Cluster created with settings {hosts=[localhost:27017], mode=MULTIPLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
2018-11-21 13:59:16 - Adding discovered server localhost:27017 to client view of cluster
2018-11-21 13:59:16 - Opened connection [connectionId{localValue:1, serverValue:61}] to localhost:27017
2018-11-21 13:59:16 - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[4, 0, 0]}, minWireVersion=0, maxWireVersion=7, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=6851025}
2018-11-21 13:59:16 - Discovered cluster type of STANDALONE
2018-11-21 13:59:18 - Opened connection [connectionId{localValue:2, serverValue:62}] to localhost:27017
2018-11-21 13:59:36 - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2018-11-21 13:59:39 - Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1124fd8, org.springframework.security.web.context.SecurityContextPersistenceFilter@3ac6c956, org.springframework.security.web.header.HeaderWriterFilter@fcdad9a, org.springframework.security.web.authentication.logout.LogoutFilter@73c2097e, org.springframework.security.web.session.ConcurrentSessionFilter@1bec2008, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@6cd76b55, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@598acf89, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@18c9291e, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@810d718, org.springframework.security.web.session.SessionManagementFilter@3bf572e0, org.springframework.security.web.access.ExceptionTranslationFilter@260715eb, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@7e9bb52f]
2018-11-21 13:59:42 - Initializing ExecutorService 'taskScheduler'
2018-11-21 13:59:42 - Context refreshed
2018-11-21 13:59:42 - Found 1 custom documentation plugin(s)
2018-11-21 13:59:42 - Scanning for api listing references`enter code here`
spring-boot
add a comment |
Below are the loggers getting while running spring boot application. before migration used to get 'SpringUtils' logger info like 'Executed data.sql':
2018-11-21 13:59:11 - Mapping filter: 'corsFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'characterEncodingFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'springSessionRepositoryFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'formContentFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'requestContextFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'springSecurityFilterChain' to: [/*]
2018-11-21 13:59:11 - Servlet dispatcherServlet mapped to [/]
2018-11-21 13:59:16 - Cluster created with settings {hosts=[localhost:27017], mode=MULTIPLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
2018-11-21 13:59:16 - Adding discovered server localhost:27017 to client view of cluster
2018-11-21 13:59:16 - Opened connection [connectionId{localValue:1, serverValue:61}] to localhost:27017
2018-11-21 13:59:16 - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[4, 0, 0]}, minWireVersion=0, maxWireVersion=7, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=6851025}
2018-11-21 13:59:16 - Discovered cluster type of STANDALONE
2018-11-21 13:59:18 - Opened connection [connectionId{localValue:2, serverValue:62}] to localhost:27017
2018-11-21 13:59:36 - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2018-11-21 13:59:39 - Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1124fd8, org.springframework.security.web.context.SecurityContextPersistenceFilter@3ac6c956, org.springframework.security.web.header.HeaderWriterFilter@fcdad9a, org.springframework.security.web.authentication.logout.LogoutFilter@73c2097e, org.springframework.security.web.session.ConcurrentSessionFilter@1bec2008, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@6cd76b55, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@598acf89, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@18c9291e, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@810d718, org.springframework.security.web.session.SessionManagementFilter@3bf572e0, org.springframework.security.web.access.ExceptionTranslationFilter@260715eb, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@7e9bb52f]
2018-11-21 13:59:42 - Initializing ExecutorService 'taskScheduler'
2018-11-21 13:59:42 - Context refreshed
2018-11-21 13:59:42 - Found 1 custom documentation plugin(s)
2018-11-21 13:59:42 - Scanning for api listing references`enter code here`
spring-boot
Below are the loggers getting while running spring boot application. before migration used to get 'SpringUtils' logger info like 'Executed data.sql':
2018-11-21 13:59:11 - Mapping filter: 'corsFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'characterEncodingFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'springSessionRepositoryFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'formContentFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'requestContextFilter' to: [/*]
2018-11-21 13:59:11 - Mapping filter: 'springSecurityFilterChain' to: [/*]
2018-11-21 13:59:11 - Servlet dispatcherServlet mapped to [/]
2018-11-21 13:59:16 - Cluster created with settings {hosts=[localhost:27017], mode=MULTIPLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
2018-11-21 13:59:16 - Adding discovered server localhost:27017 to client view of cluster
2018-11-21 13:59:16 - Opened connection [connectionId{localValue:1, serverValue:61}] to localhost:27017
2018-11-21 13:59:16 - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[4, 0, 0]}, minWireVersion=0, maxWireVersion=7, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=6851025}
2018-11-21 13:59:16 - Discovered cluster type of STANDALONE
2018-11-21 13:59:18 - Opened connection [connectionId{localValue:2, serverValue:62}] to localhost:27017
2018-11-21 13:59:36 - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2018-11-21 13:59:39 - Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1124fd8, org.springframework.security.web.context.SecurityContextPersistenceFilter@3ac6c956, org.springframework.security.web.header.HeaderWriterFilter@fcdad9a, org.springframework.security.web.authentication.logout.LogoutFilter@73c2097e, org.springframework.security.web.session.ConcurrentSessionFilter@1bec2008, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@6cd76b55, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@598acf89, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@18c9291e, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@810d718, org.springframework.security.web.session.SessionManagementFilter@3bf572e0, org.springframework.security.web.access.ExceptionTranslationFilter@260715eb, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@7e9bb52f]
2018-11-21 13:59:42 - Initializing ExecutorService 'taskScheduler'
2018-11-21 13:59:42 - Context refreshed
2018-11-21 13:59:42 - Found 1 custom documentation plugin(s)
2018-11-21 13:59:42 - Scanning for api listing references`enter code here`
spring-boot
spring-boot
asked Nov 21 at 11:19
Nagaraju
466
466
add a comment |
add a comment |
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53410990%2fdata-sql-is-not-executing-post-spring-boot-migration-to-2-x%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53410990%2fdata-sql-is-not-executing-post-spring-boot-migration-to-2-x%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown