WildFly 10.1: WFLYEE0043: Component is stopped

198 views
Skip to first unread message

Aljaž Koželj

unread,
Sep 1, 2021, 8:53:02 AM9/1/21
to WildFly

Hi,

I'm getting this exception thrown in my Singleton bean:

WFLYEE0043: Component is stopped: java.lang.IllegalStateException: WFLYEE0043: Component is stopped
    at org.jboss.as.ee.component.BasicComponent.waitForComponentStart(BasicComponent.java:110)
    at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:194)
    at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
    at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)

The singleton's task is to create and maintain listeners for external message queues. When a listener obtains a new message it calls a method on an injected Stateless EJB. The above exception occurs when the method is called.

So far I have only observed this behavior on my local PC after a longer running time. So it may be performance related. The application server is running fine outside of this, no other crashes, no anomalies.

I'm not quite sure what's happening here. Is the Stateless EJB being destroyed/stopped or is it the Singleton bean? What I do know is that a new singleton bean is created when this happens, since the message is successfully processed milliseconds later in a new bean, according to logs.

Thanks

Alexander Minchev

unread,
Sep 1, 2021, 9:56:11 AM9/1/21
to Aljaž Koželj, WildFly
Hello!

I have had the same problem more than a year ago. Unfortunately, I have never understood the cause of this. But some answers might be helpful. Details here:


Thank you and kind regards,
Alex

--
You received this message because you are subscribed to the Google Groups "WildFly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/5c512003-6c32-48c0-9325-00f43cffcb00n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages