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

problem with WAR deployement of Production Profile... #3464

Closed
kamfasage opened this issue Apr 25, 2016 · 6 comments
Closed

problem with WAR deployement of Production Profile... #3464

kamfasage opened this issue Apr 25, 2016 · 6 comments
Milestone

Comments

@kamfasage
Copy link

Overview of the issue
Motivation for or Use Case

problem with WAR deployement of Production Profile...
No war file is generated..
Can you help me look and get the main problem.. please

JHipster Version(s)
"jhipsterVersion": "3.0.0",
JHipster configuration, a .yo-rc.json file generated in the root folder

{
"generator-jhipster": {
"jhipsterVersion": "3.0.0",
"baseName": "ids_v2",
"packageName": "com.sogecap.ids",
"packageFolder": "com/mycompagny/ids",
"serverPort": "8080",
"authenticationType": "session",
"hibernateCache": "ehcache",
"clusteredHttpSession": "no",
"websocket": "spring-websocket",
"databaseType": "sql",
"devDatabaseType": "oracle",
"prodDatabaseType": "oracle",
"searchEngine": "no",
"buildTool": "maven",
"enableSocialSignIn": false,
"rememberMeKey": "4a0224df7e1a488976814d742791d388aecfb9e2",
"useSass": false,
"applicationType": "monolith",
"testFrameworks": [
"gatling"
],
"enableTranslation": true,
"nativeLanguage": "en",
"languages": [
"en",
"fr",
"de",
"it",
"ro",
"ru"
]
}
}

Browsers and Operating System

i'm using windows 7..

Reproduce the error

In the file
Uploading jhipsterDeploy.txt…
Uploading jhipsterDeploy.txt…

@kamfasage
Copy link
Author

C:\Users\f400368\MyJHIPSTER\ids_v2_11042016>mvn -Pprod
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ids_v2 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> spring-boot-maven-plugin:1.3.3.RELEASE:run (default-cli) @ ids-v-2 >>>
[WARNING] The POM for oracle:ojdbc:jar:7 is missing, no dependency information available
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ ids-v-2 ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.6.201602180812:prepare-agent (pre-unit-tests) @ ids-v-2 ---
[INFO] surefireArgLine set to -javaagent:C:\apps\apache-maven-3.0.5\repository\org\jacoco\org.jacoco.agent\0.7.6.2016
02180812\org.jacoco.agent-0.7.6.201602180812-runtime.jar=destfile=C:\Users\f400368\MyJHIPSTER\ids_v2_11042016\target
test-results\coverage\jacoco\jacoco.exec
[INFO]
[INFO] --- maven-processor-plugin:2.2.4:process (process) @ ids-v-2 ---
[INFO]
[INFO] --- yeoman-maven-plugin:0.5:build (run-frontend-build) @ ids-v-2 ---
[INFO] node version :
v5.9.1
[INFO] npm version :
3.7.3
[INFO] --------------------------------------
[INFO] NPM INSTALL
[INFO] --------------------------------------
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.11
[INFO] bower version :
1.7.7
[INFO] --------------------------------------
[INFO] BOWER INSTALL --NO-COLOR
[INFO] --------------------------------------
[INFO] gulp version :
[16:53:48] CLI version 1.2.1
[16:53:48] Local version 3.9.1
[INFO] --------------------------------------
[INFO] GULP TEST --NO-COLOR
[INFO] --------------------------------------
[16:54:08] Using gulpfile ~\MyJHIPSTER\ids_v2_11042016\gulpfile.js
[16:54:08] Starting 'wiredep:test'...
[16:54:08] Starting 'ngconstant:dev'...
[16:54:08] Finished 'ngconstant:dev' after 484 ms
[16:54:08] Finished 'wiredep:test' after 512 ms
[16:54:08] Starting 'test'...
←[32m25 04 2016 16:54:16.927:INFO [karma]: ←[39mKarma v0.13.22 server started at http://localhost:9876/
←[32m25 04 2016 16:54:16.934:INFO [launcher]: ←[39mStarting browser PhantomJS
←[32m25 04 2016 16:54:28.557:INFO [PhantomJS 2.1.1 (Windows 7 0.0.0)]: ←[39mConnected on socket /#C1DiyPpiAFWUEyPjAAAA with
id 70938754
←[33m25 04 2016 16:54:31.796:WARN [web-server]: ←[39m404: /i18n/angular-locale_en.js
PhantomJS 2.1.1 (Windows 7 0.0.0): Executed 0 of 47 SUCCESS (0 secs / 0 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 1 of 47 SUCCESS (0 secs / 0.186 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 2 of 47 SUCCESS (0 secs / 0.226 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 3 of 47 SUCCESS (0 secs / 0.266 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 4 of 47 SUCCESS (0 secs / 0.341 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 5 of 47 SUCCESS (0 secs / 0.4 secs)

DUMP: 'background-color: rgb(153, 255, 0);'
←[1A←[2KDUMP: 'background-color: rgb(153, 255, 0);'
PhantomJS 2.1.1 (Windows 7 0.0.0): Executed 5 of 47 SUCCESS (0 secs / 0.4 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 6 of 47 SUCCESS (0 secs / 0.447 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 7 of 47 SUCCESS (0 secs / 0.479 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 8 of 47 SUCCESS (0 secs / 0.515 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 9 of 47 SUCCESS (0 secs / 0.571 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 10 of 47 SUCCESS (0 secs / 0.608 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 11 of 47 SUCCESS (0 secs / 0.639 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 12 of 47 SUCCESS (0 secs / 0.676 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 13 of 47 SUCCESS (0 secs / 0.711 secs)
←[33m25 04 2016 16:54:32.912:WARN [web-server]: ←[39m404: /i18n/angular-locale_en.js
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 14 of 47 SUCCESS (0 secs / 0.752 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 15 of 47 SUCCESS (0 secs / 0.788 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 16 of 47 SUCCESS (0 secs / 0.818 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 17 of 47 SUCCESS (0 secs / 0.85 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 18 of 47 SUCCESS (0 secs / 0.88 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 19 of 47 SUCCESS (0 secs / 0.91 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 20 of 47 SUCCESS (0 secs / 0.945 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 21 of 47 SUCCESS (0 secs / 0.981 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 22 of 47 SUCCESS (0 secs / 1.017 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 23 of 47 SUCCESS (0 secs / 1.052 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 24 of 47 SUCCESS (0 secs / 1.106 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 25 of 47 SUCCESS (0 secs / 1.144 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 26 of 47 SUCCESS (0 secs / 1.181 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 27 of 47 SUCCESS (0 secs / 1.22 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 28 of 47 SUCCESS (0 secs / 1.257 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 29 of 47 SUCCESS (0 secs / 1.292 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 30 of 47 SUCCESS (0 secs / 1.326 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 31 of 47 SUCCESS (0 secs / 1.357 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 32 of 47 SUCCESS (0 secs / 1.402 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 33 of 47 SUCCESS (0 secs / 1.434 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 34 of 47 SUCCESS (0 secs / 1.466 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 35 of 47 SUCCESS (0 secs / 1.499 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 36 of 47 SUCCESS (0 secs / 1.532 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 37 of 47 SUCCESS (0 secs / 1.564 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 38 of 47 SUCCESS (0 secs / 1.596 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 39 of 47 SUCCESS (0 secs / 1.628 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 40 of 47 SUCCESS (0 secs / 1.687 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 41 of 47 SUCCESS (0 secs / 1.72 secs)
←[33m25 04 2016 16:54:33.675:WARN [web-server]: ←[39m404: /i18n/angular-locale_en.js
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 42 of 47 SUCCESS (0 secs / 1.809 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 43 of 47 SUCCESS (0 secs / 1.846 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 44 of 47 SUCCESS (0 secs / 1.876 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 45 of 47 SUCCESS (0 secs / 1.906 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 46 of 47 SUCCESS (0 secs / 1.936 secs)
.←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 47 of 47 SUCCESS (0 secs / 1.99 secs)

PhantomJS 2.1.1 (Windows 7 0.0.0): Executed 47 of 47 SUCCESS (30.872 secs / 1.99 secs)
←[1A←[2KPhantomJS 2.1.1 (Windows 7 0.0.0): Executed 47 of 47 SUCCESS (30.872 secs / 1.99 secs)
[16:55:06] Finished 'test' after 58 s
[INFO] --------------------------------------
[INFO] GULP BUILD --NO-NOTIFICATION
[INFO] --------------------------------------
[16:56:07] Using gulpfile ~\MyJHIPSTER\ids_v2_11042016\gulpfile.js
[16:56:07] Starting 'clean'...
[16:56:07] Finished 'clean' after 14 ms
[16:56:07] Starting 'build'...
[16:56:07] Starting 'copy'...
[16:56:07] Starting 'wiredep:app'...
[16:56:07] Starting 'ngconstant:prod'...
[16:56:08] Starting 'languages'...
[16:56:09] Finished 'ngconstant:prod' after 1.17 s
[16:56:12] Finished 'wiredep:app' after 4.22 s
[16:56:12] Finished 'languages' after 4.71 s
[16:56:15] Finished 'copy' after 8.06 s
[16:56:15] Starting 'inject'...
[16:56:17] gulp-inject 123 files into index.html.
[16:56:17] Finished 'inject' after 1.85 s
[16:56:17] Starting 'images'...
[16:56:17] Starting 'styles'...
[16:56:17] Starting 'html'...
[16:56:17] Finished 'styles' after 13 ms
[16:56:17] Finished 'images' after 134 ms
[16:56:18] gulp-imagemin: Minified 0 images
[16:56:19] Finished 'html' after 1.52 s
[16:56:19] Starting 'assets:prod'...
[16:56:25] Finished 'assets:prod' after 6.53 s
[16:56:25] Finished 'build' after 18 s
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ids-v-2 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 18 resources
[INFO] Copying 18 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ ids-v-2 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 101 source files to C:\Users\f400368\MyJHIPSTER\ids_v2_11042016\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ ids-v-2 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ ids-v-2 ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< spring-boot-maven-plugin:1.3.3.RELEASE:run (default-cli) @ ids-v-2 <<<
[INFO]
[INFO] --- spring-boot-maven-plugin:1.3.3.RELEASE:run (default-cli) @ ids-v-2 ---

    ██  ██    ██  ████████  ███████    ██████  ████████  ████████  ███████
    ██  ██    ██     ██     ██    ██  ██          ██     ██        ██    ██
    ██  ████████     ██     ███████    █████      ██     ██████    ███████

██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██

:: JHipster ? :: Running Spring Boot 1.3.3.RELEASE ::
:: http://jhipster.github.io ::

2016-04-25 16:57:04.944 INFO 5896 --- [ main] com.mycompagny.ids.IdsV2App : Starting IdsV2App on FRP
9215479D with PID 5896 (C:\Users\f400368\MyJHIPSTER\ids_v2_11042016\target\classes started by f400368 in C:\Users\f400368\My
JHIPSTER\ids_v2_11042016)
2016-04-25 16:57:04.961 INFO 5896 --- [ main] com.mycompagny.ids.IdsV2App : The following profiles a
re active: prod
2016-04-25 16:57:15.961 INFO 5896 --- [ost-startStop-1] com.mycompagny.ids.config.WebConfigurer : Web application configur
ation, using profiles: [prod]
2016-04-25 16:57:15.974 INFO 5896 --- [ost-startStop-1] com.mycompagny.ids.config.WebConfigurer : Web application fully co
nfigured
2016-04-25 16:57:51.994 ERROR 5896 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Exception starting filte
r springSecurityFilterChain

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.config.
annotation.web.configuration.WebSecurityConfiguration': Injection of autowired dependencies failed; nested exception is org.
springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.springframework.security.con
fig.annotation.web.configuration.WebSecurityConfiguration.setFilterChainProxySecurityConfigurer(org.springframework.security
.config.annotation.ObjectPostProcessor,java.util.List) throws java.lang.Exception; nested exception is org.springframework.b
eans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.beans.factory.BeanC
reationException: Error creating bean with name 'securityConfiguration': Injection of autowired dependencies failed; nested
exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.
security.core.userdetails.UserDetailsService com.mycompagny.ids.config.SecurityConfiguration.userDetailsService; nested excepti
on is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDetailsService': Injection
of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not au
towire field: private com.mycompagny.ids.repository.UserRepository com.mycompagny.ids.security.UserDetailsService.userRepository;
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRepository':
Cannot create inner bean '(inner bean)#53445b36' of type [org.springframework.orm.jpa.SharedEntityManagerCreator] while set
ting bean property 'entityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creat
ing bean with name '(inner bean)#53445b36': Cannot resolve reference to bean 'entityManagerFactory' while setting constructo
r argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liqu
ibase' defined in class path resource [com/mycompagny/ids/config/DatabaseConfiguration.class]: Invocation of init method failed
; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Exception during pool initialization: H
ikariPool-0 - Connection is not available, request timed out after 30000ms.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(Autow
iredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapable
BeanFactory.java:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapable
BeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBe
anFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.
java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.j
ava:368)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(Abstra
ctAutowireCapableBeanFactory.java:1123)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireC
apableBeanFactory.java:1018)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapable
BeanFactory.java:510)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBe
anFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.
java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1060)
at org.springframework.web.filter.DelegatingFilterProxy.initDelegate(DelegatingFilterProxy.java:326)
at org.springframework.web.filter.DelegatingFilterProxy.initFilterBean(DelegatingFilterProxy.java:235)
at org.springframework.web.filter.GenericFilterBean.init(GenericFilterBean.java:199)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:109)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4659)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5281)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.springframewo
rk.security.config.annotation.web.configuration.WebSecurityConfiguration.setFilterChainProxySecurityConfigurer(org.springfra
mework.security.config.annotation.ObjectPostProcessor,java.util.List) throws java.lang.Exception; nested exception is org.sp
ringframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.bean
s.factory.BeanCreationException: Error creating bean with name 'securityConfiguration': Injection of autowired dependencies
failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.s
pringframework.security.core.userdetails.UserDetailsService com.mycompagny.ids.config.SecurityConfiguration.userDetailsService;
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDetailsServ
ice': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExceptio
n: Could not autowire field: private com.mycompagny.ids.repository.UserRepository com.mycompagny.ids.security.UserDetailsService.u
serRepository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'u
serRepository': Cannot create inner bean '(inner bean)#53445b36' of type [org.springframework.orm.jpa.SharedEntityManagerCre
ator] while setting bean property 'entityManager'; nested exception is org.springframework.beans.factory.BeanCreationExcepti
on: Error creating bean with name '(inner bean)#53445b36': Cannot resolve reference to bean 'entityManagerFactory' while set
ting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'liquibase' defined in class path resource [com/mycompagny/ids/config/DatabaseConfiguration.class]: Invocation of ini
t method failed; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Exception during pool in
itialization: HikariPool-0 - Connection is not available, request timed out after 30000ms.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(A
utowiredAnnotationBeanPostProcessor.java:661)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(Autow
iredAnnotationBeanPostProcessor.java:331)
... 31 common frames omitted
Caused by: org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.spr
ingframework.beans.factory.BeanCreationException: Error creating bean with name 'securityConfiguration': Injection of autowi
red dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire fie
ld: private org.springframework.security.core.userdetails.UserDetailsService com.mycompagny.ids.config.SecurityConfiguration.us
erDetailsService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'userDetailsService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.Bea
nCreationException: Could not autowire field: private com.mycompagny.ids.repository.UserRepository com.mycompagny.ids.security.Use
rDetailsService.userRepository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'userRepository': Cannot create inner bean '(inner bean)#53445b36' of type [org.springframework.orm.jpa.Share
dEntityManagerCreator] while setting bean property 'entityManager'; nested exception is org.springframework.beans.factory.Be
anCreationException: Error creating bean with name '(inner bean)#53445b36': Cannot resolve reference to bean 'entityManagerF
actory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Err
or creating bean with name 'liquibase' defined in class path resource [com/mycompagny/ids/config/DatabaseConfiguration.class]:
Invocation of init method failed; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Excepti
on during pool initialization: HikariPool-0 - Connection is not available, request timed out after 30000ms.
at org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.jav
a:164)
at org.springframework.beans.factory.support.AbstractBeanFactory.evaluateBeanDefinitionString(AbstractBeanFactory.ja
va:1413)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFacto
ry.java:1029)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory
.java:1014)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(A
utowiredAnnotationBeanPostProcessor.java:618)
... 33 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityConfiguration': I
njection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Coul
d not autowire field: private org.springframework.security.core.userdetails.UserDetailsService com.mycompagny.ids.config.Securi
tyConfiguration.userDetailsService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creat
ing bean with name 'userDetailsService': Injection of autowired dependencies failed; nested exception is org.springframework
.beans.factory.BeanCreationException: Could not autowire field: private com.mycompagny.ids.repository.UserRepository com.sogeca
p.ids.security.UserDetailsService.userRepository; nested exception is org.springframework.beans.factory.BeanCreationExceptio
n: Error creating bean with name 'userRepository': Cannot create inner bean '(inner bean)#53445b36' of type [org.springframe
work.orm.jpa.SharedEntityManagerCreator] while setting bean property 'entityManager'; nested exception is org.springframewor
k.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#53445b36': Cannot resolve reference to be
an 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCrea
tionException: Error creating bean with name 'liquibase' defined in class path resource [com/mycompagny/ids/config/DatabaseConf
iguration.class]: Invocation of init method failed; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitialization
Exception: Exception during pool initialization: HikariPool-0 - Connection is not available, request timed out after 30000ms
.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(Autow
iredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapable
BeanFactory.java:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapable
BeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBe
anFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.
java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.ja
va:534)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.ja
va:523)
at org.springframework.security.config.annotation.web.configuration.AutowiredWebSecurityConfigurersIgnoreParents.get
WebSecurityConfigurers(AutowiredWebSecurityConfigurersIgnoreParents.java:53)
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:483)
at org.springframework.expression.spel.support.ReflectiveMethodExecutor.execute(ReflectiveMethodExecutor.java:113)
at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:129)
at org.springframework.expression.spel.ast.MethodReference.access$000(MethodReference.java:49)
at org.springframework.expression.spel.ast.MethodReference$MethodValueRef.getValue(MethodReference.java:347)
at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:88)
at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:120)
at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:242)
at org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.jav
a:161)
... 37 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.se
curity.core.userdetails.UserDetailsService com.mycompagny.ids.config.SecurityConfiguration.userDetailsService; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDetailsService': Injection o
f autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not auto
wire field: private com.mycompagny.ids.repository.UserRepository com.mycompagny.ids.security.UserDetailsService.userRepository; ne
sted exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRepository': C
annot create inner bean '(inner bean)#53445b36' of type [org.springframework.orm.jpa.SharedEntityManagerCreator] while setti
ng bean property 'entityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creatin
g bean with name '(inner bean)#53445b36': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor
argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquib
ase' defined in class path resource [com/mycompagny/ids/config/DatabaseConfiguration.class]: Invocation of init method failed;
nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Exception during pool initialization: Hik
ariPool-0 - Connection is not available, request timed out after 30000ms.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(Au
towiredAnnotationBeanPostProcessor.java:573)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(Autow
iredAnnotationBeanPostProcessor.java:331)
... 59 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDetailsService': Inje
ction of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could n
ot autowire field: private com.mycompagny.ids.repository.UserRepository com.mycompagny.ids.security.UserDetailsService.userReposit
ory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userReposit
ory': Cannot create inner bean '(inner bean)#53445b36' of type [org.springframework.orm.jpa.SharedEntityManagerCreator] whil
e setting bean property 'entityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name '(inner bean)#53445b36': Cannot resolve reference to bean 'entityManagerFactory' while setting const
ructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'liquibase' defined in class path resource [com/mycompagny/ids/config/DatabaseConfiguration.class]: Invocation of init method f
ailed; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Exception during pool initializati
on: HikariPool-0 - Connection is not available, request timed out after 30000ms.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(Autow
iredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapable
BeanFactory.java:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapable
BeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBe
anFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.
java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFa
ctory.java:1192)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFacto
ry.java:1116)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory
.java:1014)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(Au
towiredAnnotationBeanPostProcessor.java:545)
... 61 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.mycompagny.ids.reposi
tory.UserRepository com.mycompagny.ids.security.UserDetailsService.userRepository; nested exception is org.springframework.bean
s.factory.BeanCreationException: Error creating bean with name 'userRepository': Cannot create inner bean '(inner bean)#5344
5b36' of type [org.springframework.orm.jpa.SharedEntityManagerCreator] while setting bean property 'entityManager'; nested e
xception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#53445b36':
Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springfr
amework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [com/s
ogecap/ids/config/DatabaseConfiguration.class]: Invocation of init method failed; nested exception is com.zaxxer.hikari.pool
.HikariPool$PoolInitializationException: Exception during pool initialization: HikariPool-0 - Connection is not available, r
equest timed out after 30000ms.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(Au
towiredAnnotationBeanPostProcessor.java:573)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(Autow
iredAnnotationBeanPostProcessor.java:331)
... 72 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRepository': Cannot c
reate inner bean '(inner bean)#53445b36' of type [org.springframework.orm.jpa.SharedEntityManagerCreator] while setting bean
property 'entityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean
with name '(inner bean)#53445b36': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argumen
t; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' de
fined in class path resource [com/mycompagny/ids/config/DatabaseConfiguration.class]: Invocation of init method failed; nested
exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Exception during pool initialization: HikariPool
-0 - Connection is not available, request timed out after 30000ms.
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolve
r.java:313)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValue
Resolver.java:129)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowire
CapableBeanFactory.java:1481)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapable
BeanFactory.java:1226)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapable
BeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBe
anFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.
java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFa
ctory.java:1192)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFacto
ry.java:1116)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory
.java:1014)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(Au
towiredAnnotationBeanPostProcessor.java:545)
... 74 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#53445b36': C
annot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springfra
mework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [com/so
gecap/ids/config/DatabaseConfiguration.class]: Invocation of init method failed; nested exception is com.zaxxer.hikari.pool.
HikariPool$PoolInitializationException: Exception during pool initialization: HikariPool-0 - Connection is not available, re
quest timed out after 30000ms.
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolve
r.java:359)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValue
Resolver.java:108)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.jav
a:634)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.j
ava:444)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(Abstra
ctAutowireCapableBeanFactory.java:1123)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireC
apableBeanFactory.java:1018)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapable
BeanFactory.java:510)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBe
anFactory.java:482)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolve
r.java:299)
... 87 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in cla
ss path resource [com/mycompagny/ids/config/DatabaseConfiguration.class]: Invocation of init method failed; nested exception is
com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Exception during pool initialization: HikariPool-0 - Connect
ion is not available, request timed out after 30000ms.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapab
leBeanFactory.java:1578)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapable
BeanFactory.java:545)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBe
anFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.
java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolve
r.java:351)
... 95 common frames omitted
Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Exception during pool initialization: HikariPool-0

  • Connection is not available, request timed out after 30000ms.
    at com.zaxxer.hikari.pool.HikariPool.initializeConnections(HikariPool.java:526)
    at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:136)
    at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:94)
    at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:388)
    at com.mycompagny.ids.config.liquibase.AsyncSpringLiquibase.initDb(AsyncSpringLiquibase.java:66)
    at com.mycompagny.ids.config.liquibase.AsyncSpringLiquibase.afterPropertiesSet(AsyncSpringLiquibase.java:56)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCa
    pableBeanFactory.java:1637)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapab
    leBeanFactory.java:1574)
    ... 104 common frames omitted
    Caused by: java.sql.SQLTransientConnectionException: HikariPool-0 - Connection is not available, request timed out after 300
    00ms.
    at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:195)
    at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:147)
    at com.zaxxer.hikari.pool.HikariPool.initializeConnections(HikariPool.java:510)
    ... 111 common frames omitted
    Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon denied

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:392)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:385)
    at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:938)
    at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:480)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:655)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:249)
    at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:416)
    at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:825)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:596)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:715)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:385)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:30)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:564)
    at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:95)
    at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:314)
    at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:171)
    at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:436)
    at com.zaxxer.hikari.pool.HikariPool.access$500(HikariPool.java:65)
    at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:567)
    at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:560)
    ... 4 common frames omitted
    

2016-04-25 16:57:52.066 ERROR 5896 --- [ost-startStop-1] o.apache.catalina.core.StandardContext : One or more Filters fail
ed to start. Full details will be found in the appropriate container log file
2016-04-25 16:57:52.068 ERROR 5896 --- [ost-startStop-1] o.apache.catalina.core.StandardContext : Context [] startup faile
d due to previous errors
2016-04-25 16:57:52.073 WARN 5896 --- [ost-startStop-1] o.a.c.loader.WebappClassLoaderBase : The web application [ROO
T] appears to have started a thread named [oracle.jdbc.driver.BlockSource.ThreadedCachingBlockSource.BlockReleaser] but has
failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
oracle.jdbc.driver.BlockSource$ThreadedCachingBlockSource$BlockReleaser.run(BlockSource.java:327)
2016-04-25 16:58:27.224 WARN 5896 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered du
ring context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error cre
ating bean with name 'liquibase' defined in class path resource [com/mycompagny/ids/config/DatabaseConfiguration.class]: Invoca
tion of init method failed; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Exception dur
ing pool initialization: HikariPool-0 - Connection is not available, request timed out after 30000ms.
2016-04-25 16:58:27.250 ERROR 5896 --- [ main] o.s.boot.SpringApplication : Application startup fail
ed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path res
ource [com/mycompagny/ids/config/DatabaseConfiguration.class]: Invocation of init method failed; nested exception is com.zaxxer
.hikari.pool.HikariPool$PoolInitializationException: Exception during pool initialization: HikariPool-0 - Connection is not
available, request timed out after 30000ms.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapab
leBeanFactory.java:1578)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapable
BeanFactory.java:545)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBe
anFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.
java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1054)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicatio
nContext.java:829)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.jav
a:118)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)
at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
at com.mycompagny.ids.IdsV2App.main(IdsV2App.java:69)
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:483)
at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:478)
at java.lang.Thread.run(Thread.java:744)
Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Exception during pool initialization: HikariPool-0

  • Connection is not available, request timed out after 30000ms.
    at com.zaxxer.hikari.pool.HikariPool.initializeConnections(HikariPool.java:526)
    at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:136)
    at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:94)
    at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:388)
    at com.mycompagny.ids.config.liquibase.AsyncSpringLiquibase.initDb(AsyncSpringLiquibase.java:66)
    at com.mycompagny.ids.config.liquibase.AsyncSpringLiquibase.afterPropertiesSet(AsyncSpringLiquibase.java:56)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCa
    pableBeanFactory.java:1637)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapab
    leBeanFactory.java:1574)
    ... 22 common frames omitted
    Caused by: java.sql.SQLTransientConnectionException: HikariPool-0 - Connection is not available, request timed out after 300
    00ms.
    at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:195)
    at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:147)
    at com.zaxxer.hikari.pool.HikariPool.initializeConnections(HikariPool.java:510)
    ... 29 common frames omitted
    Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon denied

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:392)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:385)
    at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:938)
    at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:480)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:655)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:249)
    at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:416)
    at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:825)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:596)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:715)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:385)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:30)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:564)
    at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:95)
    at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:314)
    at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:171)
    at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:436)
    at com.zaxxer.hikari.pool.HikariPool.access$500(HikariPool.java:65)
    at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:567)
    at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:560)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    ... 1 common frames omitted
    

2016-04-25 16:58:27.406 WARN 5896 --- [ main] o.s.boot.SpringApplication : Error handling failed (E
rror creating bean with name 'delegatingApplicationListener' defined in class path resource [org/springframework/security/co
nfig/annotation/web/configuration/WebSecurityConfiguration.class]: BeanPostProcessor before instantiation of bean failed; ne
sted exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframewor
k.cache.annotation.ProxyCachingConfiguration': Initialization of bean failed; nested exception is org.springframework.beans.
factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.context.annotation.ConfigurationClassPostProcessor
.importRegistry' is defined)
[WARNING]
java.lang.reflect.InvocationTargetException
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:483)
at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:478)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in cla
ss path resource [com/mycompagny/ids/config/DatabaseConfiguration.class]: Invocation of init method failed; nested exception is
com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Exception during pool initialization: HikariPool-0 - Connect
ion is not available, request timed out after 30000ms.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapab
leBeanFactory.java:1578)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapable
BeanFactory.java:545)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBe
anFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.
java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1054)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicatio
nContext.java:829)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.jav
a:118)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)
at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
at com.mycompagny.ids.IdsV2App.main(IdsV2App.java:69)
... 6 more
Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Exception during pool initialization: HikariPool-0

  • Connection is not available, request timed out after 30000ms.
    at com.zaxxer.hikari.pool.HikariPool.initializeConnections(HikariPool.java:526)
    at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:136)
    at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:94)
    at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:388)
    at com.mycompagny.ids.config.liquibase.AsyncSpringLiquibase.initDb(AsyncSpringLiquibase.java:66)
    at com.mycompagny.ids.config.liquibase.AsyncSpringLiquibase.afterPropertiesSet(AsyncSpringLiquibase.java:56)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCa
    pableBeanFactory.java:1637)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapab
    leBeanFactory.java:1574)
    ... 22 more
    Caused by: java.sql.SQLTransientConnectionException: HikariPool-0 - Connection is not available, request timed out after 300
    00ms.
    at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:195)
    at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:147)
    at com.zaxxer.hikari.pool.HikariPool.initializeConnections(HikariPool.java:510)
    ... 29 more
    Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon denied

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:392)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:385)
    at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:938)
    at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:480)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:655)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:249)
    at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:416)
    at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:825)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:596)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:715)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:385)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:30)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:564)
    at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:95)
    at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:314)
    at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:171)
    at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:436)
    at com.zaxxer.hikari.pool.HikariPool.access$500(HikariPool.java:65)
    at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:567)
    at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:560)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    ... 1 more
    

    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 6:18.516s
    [INFO] Finished at: Mon Apr 25 16:58:27 CEST 2016
    [INFO] Final Memory: 63M/250M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.3.3.RELEASE:run (default-cli) on project
    ids-v-2: An exception occurred while running. null: InvocationTargetException: Error creating bean with name 'liquibase' def
    ined in class path resource [com/mycompagny/ids/config/DatabaseConfiguration.class]: Invocation of init method failed; nested e
    xception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Exception during pool initialization: HikariPool-
    0 - Connection is not available, request timed out after 30000ms. ORA-01017: invalid username/password; logon denied -> [Hel
    p 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
    C:\Users\f400368\MyJHIPSTER\ids_v2_11042016>

@deepu105
Copy link
Member

what are you trying to do?? from your error seems like you haven't started your database? did you configure the oracle DB details properly? did you place the required ojdbc.jar in lib folder? https://jhipster.github.io/using-oracle/

also if you want war you need to run mvn package -Pprod

@deepu105
Copy link
Member

please read your error log properly

0 - Connection is not available, request timed out after 30000ms. ORA-01017: invalid username/password; logon denied -> [Hel
p 1]

@kamfasage
Copy link
Author

Hi ..
I have configure the oracle DB properly as my DEV profile configuration.. the required Ojdbc is in lib folder..
And i have both ran***mvn package -pprod***** and mvn -pprod
still haven't the same error

@kamfasage
Copy link
Author

still have the same error

@deepu105
Copy link
Member

dude error says username password is wrong

Thanks & Regards,
Deepu

On Mon, Apr 25, 2016 at 11:30 PM, kamfasage notifications@github.com
wrote:

Hi ..
I have configure the oracle DB properly as my DEV profile configuration..
the required Ojdbc is in lib folder..
And i have both ranmvn package -pprod** and mvn -pprod
still haven't the same error


You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
#3464 (comment)

@jdubois jdubois modified the milestone: 3.2.0 May 6, 2016
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

3 participants