[JBoss] 解決deploy timeout 問題

當在JBoss deploy jar / war 檔時, 有時會遇到Timeout after [300] seconds waiting for service container stability. 的問題, 這是由於要deploy 的檔案太大, 於預設的時間(5分鐘)不能deploy 完成.

可以透過修改%JBOSS_HOME%\bin\standalone.conf.bat 來解決.

rem Resolve timeout issue.
set "JAVA_OPTS=%JAVA_OPTS% -Djboss.as.management.blocking.timeout=600"

 

About C.H. Ling 260 Articles
a .net / Java developer from Hong Kong and currently located in United Kingdom. Thanks for Google because it solve many technical problems so I build this blog as return. Besides coding and trying advance technology, hiking and traveling is other favorite to me, so I will write down something what I see and what I feel during it. Happy reading!!!

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.