Hello, Suddenly the Tsplus internal webserver stopped. After some system reboots and admin tool reboots without success I tried doubleclicking runwebserver.bat and everything works OK, but the service will not start if the system reboots or something.
Any help?
Regards,
Diego
Web Server does not start automatically or from Admin Tool
Re: Web Server does not start automatically or from Admin Tool
Hi,
start "services.msc" and look for "Web Server Service" if it was not disabled else reenable it by setting to "Automatic" -> "Apply" and click on "Start".
start "services.msc" and look for "Web Server Service" if it was not disabled else reenable it by setting to "Automatic" -> "Apply" and click on "Start".
TSplus HTML5 and Java web engineer
Re: Web Server does not start automatically or from Admin Tool
The service was running and setted in automatic.
If I close the cmd window, and restart the service, the web servers is still not running. The only way that works is to run from the .bat and leave the cmd opened.
Any clues?
regards,
Diego
If I close the cmd window, and restart the service, the web servers is still not running. The only way that works is to run from the .bat and leave the cmd opened.
Any clues?
regards,
Diego
Re: Web Server does not start automatically or from Admin Tool
Hello,
Open an admin tool, and click on "Web Management Tool". make sure all features are set to green. if not, click on "Restart Web Server". If the server won't start, make sure you have not installed another web server or application that would be using the TCP port 80 and/or 443 (Skype and Teamviewer for example). One easy test to do is to change the port of your webserver and restart the server again. A faq regarding this subject is available here : http://support.tsplus.net/kb/faq.php?id=6
Make also sure that your firewalls and / or antivirus (software or hardware) are not blocking port 80 and/or port 443 or any TSplus processes located in these two folders :
C:\Program Files (x86)\TSplus
C:\wsession
Open a browser on the server, type in the address http:// 127.0.0.2 and open a connection using the RemoteApp or html5 mode. You should be able to open a session with a local or domain account.
If it still wont connect, uninstall java and delete the java folder located in C:\Program Files x86\ and C:\ProgramData (this is a hidden folder) then reinstall java 64 bits on the server and make sure antivirus or firewall software are not blocking svcweb.exe processe.
Open an admin tool, and click on "Web Management Tool". make sure all features are set to green. if not, click on "Restart Web Server". If the server won't start, make sure you have not installed another web server or application that would be using the TCP port 80 and/or 443 (Skype and Teamviewer for example). One easy test to do is to change the port of your webserver and restart the server again. A faq regarding this subject is available here : http://support.tsplus.net/kb/faq.php?id=6
Make also sure that your firewalls and / or antivirus (software or hardware) are not blocking port 80 and/or port 443 or any TSplus processes located in these two folders :
C:\Program Files (x86)\TSplus
C:\wsession
Open a browser on the server, type in the address http:// 127.0.0.2 and open a connection using the RemoteApp or html5 mode. You should be able to open a session with a local or domain account.
If it still wont connect, uninstall java and delete the java folder located in C:\Program Files x86\ and C:\ProgramData (this is a hidden folder) then reinstall java 64 bits on the server and make sure antivirus or firewall software are not blocking svcweb.exe processe.
Olivier
TSplus support team administrator

TSplus support team administrator

Re: Web Server does not start automatically or from Admin Tool
When customer said, he can start it by running runwebserver.bat directly then it is neither Java nor html5 problem, nor it is port problem but something else that prevents to start runwebserver.bat automatically.
If it is not "services.msc" -> "Web Server Service" problem and this service is started then there are probably few more points where it could be potentailly problematic.
A. probably user rights prevent to start batch files under system user (in fact i have no idea how to workaround such self made issues, it occured in the past and such customers had to reinstall Windows system since many services were affected at time)
B. or good possible place holder %~dp0 can not be resolved correctly -cp "%~dp0httpwebs.jar"
to check B: do following
1. edit runwebserver.bat
2. look for string %~dp0
3. and replace it by full path to that file, as example
-cp "%~dp0httpwebs.jar"
change to
-cp "C:\Program Files (x86)\TSplus\Clients\webserver\httpwebs.jar"
4. save file
5. and finally set on file runwebserver.bat in Properties -> Attributes: Read-Only
(else file will be rewritten by GUI)
6. restart html5 in AdminTool GUI
But if it still does not help then delete file runwebserver.bat and restart html5 in AdminTool GUI, if the file gets not recreated then why ever the path to webserver folder can't be resolved due unknown reason. Here it is then better to create ticket in
https://support.tsplus.net/scp/
so your problem can be assigned to responsible person.
If it is not "services.msc" -> "Web Server Service" problem and this service is started then there are probably few more points where it could be potentailly problematic.
A. probably user rights prevent to start batch files under system user (in fact i have no idea how to workaround such self made issues, it occured in the past and such customers had to reinstall Windows system since many services were affected at time)
B. or good possible place holder %~dp0 can not be resolved correctly -cp "%~dp0httpwebs.jar"
to check B: do following
1. edit runwebserver.bat
2. look for string %~dp0
3. and replace it by full path to that file, as example
-cp "%~dp0httpwebs.jar"
change to
-cp "C:\Program Files (x86)\TSplus\Clients\webserver\httpwebs.jar"
4. save file
5. and finally set on file runwebserver.bat in Properties -> Attributes: Read-Only
(else file will be rewritten by GUI)
6. restart html5 in AdminTool GUI
But if it still does not help then delete file runwebserver.bat and restart html5 in AdminTool GUI, if the file gets not recreated then why ever the path to webserver folder can't be resolved due unknown reason. Here it is then better to create ticket in
https://support.tsplus.net/scp/
so your problem can be assigned to responsible person.
TSplus HTML5 and Java web engineer
Re: Web Server does not start automatically or from Admin Tool
None of the above worked, I will open a support ticket.
Thank you very much.
Regards,
Thank you very much.
Regards,