[xwiki-users] Automate initializinig after reboot (Windows Server)
Hi, after every reboot of our Windows Server when first connecting to XWiki in the browser a page is shown with "Initializing (xx%)" which runs for several seconds before finally the XWiki main page is shown. Is there some way to automate this initialization after the machine rebooted? Setup: Windows Server 2003 R2, Tomcat 7, JDK 7, Apache 2.4, MySQL 5 Thanks in advance, Dennis
Hi, On 13 Feb 2015 at 11:04:49, D R ([email protected](mailto:[email protected])) wrote:
Hi,
after every reboot of our Windows Server when first connecting to XWiki in the browser a page is shown with "Initializing (xx%)" which runs for several seconds before finally the XWiki main page is shown.
Is there some way to automate this initialization after the machine rebooted?
Sure, you can have a cron that verifies if XWiki is up by pinging a URL every minute or so and restart it if not. The ping will perform the init on restart. See http://extensions.xwiki.org/xwiki/bin/view/Extension/Xinit (linked from http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Monitoring at the bottom, we need a better documented section for this. If anyone is willing to help out… ;)) Thanks -Vincent
Setup: Windows Server 2003 R2, Tomcat 7, JDK 7, Apache 2.4, MySQL 5
Thanks in advance, Dennis
Hi, you could use the following Powershell Script on your Windows Server: # Initiate XWIKI after restart $webclient = new-object System.Net.WebClient $webpage = $webclient.DownloadString("http://xwiki-server-address") Basically, it opens the home page as a client, thus initiating XWiki. You could program a task at start of your server. Hope it helps. Best regards Yvan Am 13.02.2015 um 11:04 schrieb D R:
Hi,
after every reboot of our Windows Server when first connecting to XWiki in the browser a page is shown with "Initializing (xx%)" which runs for several seconds before finally the XWiki main page is shown.
Is there some way to automate this initialization after the machine rebooted?
Setup: Windows Server 2003 R2, Tomcat 7, JDK 7, Apache 2.4, MySQL 5
Thanks in advance, Dennis _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi, Is this behaviour (waiting the first "end user" http connection to be fully ready to accept users connections ?) a normal xwiki behaviour ? If we when does this "strange feature" has been introduced? Because as far as I know this is/was not the case in version 3.x. best regards, PS: we are in the process to evaluate an xwiki migration. Le 13/02/2015 11:25, Yvan Arnaud a écrit :
Hi,
you could use the following Powershell Script on your Windows Server:
# Initiate XWIKI after restart $webclient = new-object System.Net.WebClient $webpage = $webclient.DownloadString("http://xwiki-server-address")
Basically, it opens the home page as a client, thus initiating XWiki. You could program a task at start of your server.
Hope it helps.
Best regards Yvan
Am 13.02.2015 um 11:04 schrieb D R:
Hi,
after every reboot of our Windows Server when first connecting to XWiki in the browser a page is shown with "Initializing (xx%)" which runs for several seconds before finally the XWiki main page is shown.
Is there some way to automate this initialization after the machine rebooted?
Setup: Windows Server 2003 R2, Tomcat 7, JDK 7, Apache 2.4, MySQL 5
Thanks in advance, Dennis _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi Ldm, On 14 Feb 2015 at 11:50:31, Ldm Public ([email protected](mailto:[email protected])) wrote:
Hi,
Is this behaviour (waiting the first "end user" http connection to be fully ready to accept users connections ?) a normal xwiki behaviour ? If we when does this "strange feature" has been introduced? Because as far as I know this is/was not the case in version 3.x.
It’s been the case forever (since the first version of XWiki)… :) What’s been introduced in 6.x is the progress counter but that’s all, the wait/init time has always been there. In practice we’ve improved this over the years by moving some init to the webapp init (when the container inits the webapp). What remains to be moved to the webapp init is the database initialization (hibernate init), which is mostly what takes the load time. Thanks -Vincent
best regards,
PS: we are in the process to evaluate an xwiki migration.
Le 13/02/2015 11:25, Yvan Arnaud a écrit :
Hi,
you could use the following Powershell Script on your Windows Server:
# Initiate XWIKI after restart $webclient = new-object System.Net.WebClient $webpage = $webclient.DownloadString("http://xwiki-server-address")
Basically, it opens the home page as a client, thus initiating XWiki. You could program a task at start of your server.
Hope it helps.
Best regards Yvan
Am 13.02.2015 um 11:04 schrieb D R:
Hi,
after every reboot of our Windows Server when first connecting to XWiki in the browser a page is shown with "Initializing (xx%)" which runs for several seconds before finally the XWiki main page is shown.
Is there some way to automate this initialization after the machine rebooted?
Setup: Windows Server 2003 R2, Tomcat 7, JDK 7, Apache 2.4, MySQL 5
Thanks in advance, Dennis _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (4)
-
D R -
Ldm Public -
vincent@massol.net -
Yvan Arnaud