1
I have two servers that run Jboss with the same parameters for the same application. Although the log clearly indicates the error, I do not understand why one server works and the other does not. It starts smoothly, defines the Beans, but when it gets to that point:
16:17:42,558 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-2) Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1a7ba05: defining beans
He destroys them all and sets them back, after sending the message:
root of factory hierarchy
He closes the services:
16:17:42,643 INFO [org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean] (MSC service thread 1-2) Closing Hibernate SessionFactory 16:17:42,644 INFO [org.hibernate.impl.SessionFactoryImpl] (MSC service thread 1-2) closing 16:17:42,645 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] (MSC service thread 1-2) Shutting down ExecutorService 'myScheduler' 16:17:42,645 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] (MSC service thread 1-2) Shutting down ExecutorService
And starts to issue the errors of creation of Beans (example of one of them):
16:17:42,646 ERROR [org.springframework.web.context.ContextLoader] (MSC service thread 1-2) Context initialization failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'controleAcaoDisciplinarServiceImpl': Injection of autowired dependencies failed;
And in the end:
Error creating bean with name 'turmaServiceImpl': Requested bean is currently in creation: Is there an unresolvable circular reference?;
A problem in . War is discarded, as I run it on 3 other different servers without problems.
Remember that I use the same settings for the entire infrastructure on the other servers. I made a test also using the same database and remains the same situation.
I’m stuck. Any ideas? Please help me!
The two servers are only with the WAR of this application or there are other applications in these 2 servers with Jboss?
– Dherik
Yes, only with the WAR of this application.
– Edu Carneiro
When you say 2 servers are 2 different servers or two different INSTANCES of the same server?
– Giuliana Bezerra