Two JBoss servers. It starts and the other does not. Same configuration

1

I have two servers that run JBoss with the same parameters for the same application. Although the log clearly states the error, I do not understand why one server works and the other does not. It starts without problems, sets 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

It destroys everyone and resets them after sending the message:

root of factory hierarchy

It closes 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 start issuing the beans creation errors (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 at 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 ruled out, as I run the same on 3 different, problem-free servers.

Remembering that I use the same settings for the entire infrastructure on the other servers. I also ran a test using the same database and continue the same situation.

I'm curled up. Any idea? Please, help me!

    
asked by anonymous 23.07.2016 / 05:01

0 answers