This content has been marked as final.
Show 3 replies
-
1. Re: Any method by using which we can stop users from accessing JBOSS URL till it is started fully
jaysensharma Jan 12, 2016 6:36 AM (in response to adhiraj.rana)Hello Adhiraj,
Which version of JBoss are you using?
JBoss EAP 6.4.0 has a feature which can help you to achieve something similar. Suppose if your Application context root is "/YourApp" then you can start your JBoss EAP with the following System property. That should do the trick. (For multiple context roots use the comma separated value like /YourWebApp,/MyWebApp/OutWebApp)
-D
Dorg.apache.catalina.connector.WAIT_FOR_BEFORE_START=/YourApp
There is a release notes JBoss EAP 6.2.1 which talks about this :
=============
- 1050033 WAIT_FOR_BEFORE_START does not work for / context applications
WAIT_FOR_BEFORE_START
not working when deploying/
context applications. IfWAIT_FOR_BEFORE_START
was to/
and a/
application is deployed, the connectors would never start.WAIT_FOR_BEFORE_START
to/
and deploying a/
context application, the connectors now start successfully.
=============
Regards
Jay SenSharma
-
2. Re: Any method by using which we can stop users from accessing JBOSS URL till it is started fully
adhiraj.rana Jan 15, 2016 12:37 AM (in response to jaysensharma)Hello Jay,
Is below command the correct way to start JBOSS
standalone.bat -b 0.0.0.0 -Dorg.apache.catalina.connector.WAIT_FOR_BEFORE_START=/tc
-
3. Re: Any method by using which we can stop users from accessing JBOSS URL till it is started fully
jaysensharma Jan 15, 2016 12:55 AM (in response to adhiraj.rana)Yes, it looks good.