簡體   English   中英

WFLYEE0043:組件已停止 - 這是什么意思,為什么組件 (@Stateless EJB) 可以停止?

[英]WFLYEE0043: Component is stopped - what does it mean, why could a component (@Stateless EJB) be stopped?

我正在使用 Wildfly 17,並且在上個月兩次收到以下異常:

(PriorityExampleScheduler_Worker-1) WFLYEE0043: Component is stopped: org.jboss.as.ee.component.ComponentIsStoppedException: WFLYEE0043: Component is stopped
at org.jboss.as.ee@17.0.0.Final//org.jboss.as.ee.component.BasicComponent.waitForComponentStart(BasicComponent.java:110)
at org.jboss.as.ee@17.0.0.Final//org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:194)
at org.jboss.as.ee@17.0.0.Final//org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
at org.jboss.as.ee@17.0.0.Final//org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:81)
at deployment.heimdi.war//at.home.digest.services.AVeDBService$$$view41.clearWinner(Unknown Source)
at deployment.heimdi.war//at.home.digest.model.dave.OnAveCompletionJob.execute(OnAveCompletionJob.java:36)
at deployment.heimdi.war//org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at deployment.heimdi.war//org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)

AVeDBService 標記為@Stateless,表示使用 JPA 訪問數據庫的 class。

Wildfly 使用名稱創建並調用此 class 的代理

at.home.digest.services.AVeDBService$$$view41

現在:何時以及為什么可以停止該組件? 為什么我在上個月只收到了兩次這個異常,盡管代碼已經被調用了很多次?

重新啟動應用程序后,不再拋出異常,但這並不能解決我的問題。

此錯誤通常不是原因,而是其他原因(如應用服務器崩潰)的結果。 使用 VisualVM 等工具監控應用服務器 + 在應用服務器崩潰時自動創建堆轉儲以防 memory: -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=

在我看來,當您調用此方法時,您的應用服務器(或部署的組件)已經關閉。

使用 VisualVM 等工具進行長時間監控可以幫助您追蹤此問題的原因。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM