UMS runs as a Windows Service after doing this
Posted: Tue Dec 22, 2015 2:30 am
Read this if you want to run UMS as a Windows Service: Open TCP Ports 5001 and 9001 in Windows Firewall.
Has anyone succeeded in running the latest UMS (5.3.1) as a Windows Service on Windows 10?
When run as an Application Program, it works perfectly. But, when I run it as a Windows Service on Windows 10, it "fails":
I never even get the the UMS Icon on the TV!
Clearly, something isn't working correctly when run as a Windows 10 Service.
To diagnose this problem, I suppose you will need a more detailed Log Trace or an NMAP trace?
If so, just tell me where to send it.
=====> Unlike the trace when run as an Application Program, there was no Trace Record: <=====
=====>
x:xx.xxx [UPNPHelper] Access granted to /192.168.1.17 by rule: 192.168.1.17 <====
And, I do get the identical results without the "IP Filter" specification.
And, even with Java 1.8.0_25 which is what the UMS Installer downloads.
I hope it is easily readable but all of the relevant Log Records are below:
==========
:35:55.483 [WrapperSimpleAppMain] Language not specified, defaulting to OS language.
:35:55.842 [WrapperSimpleAppMain] Starting Universal Media Server 5.3.1
:35:55.842 [WrapperSimpleAppMain] http://www.universalmediaserver.com
:35:55.842 [WrapperSimpleAppMain] Build: 7228d86b2 (2015-11-22)
:35:55.842 [WrapperSimpleAppMain] Java: Java HotSpot(TM) Client VM 1.8.0_66 32-bit by Oracle Corporation
:35:55.842 [WrapperSimpleAppMain] OS: Windows 10 64-bit 10.0
:35:55.842 [WrapperSimpleAppMain] Encoding: Cp1252
:35:56.342 [WrapperSimpleAppMain] Reading ip_filter: "192.168.1.17,192.168.1.32" (default: "")
:35:56.592 [WrapperSimpleAppMain] Loading MediaInfo library
:35:56.623 [WrapperSimpleAppMain] Loaded MediaInfoLib - v0.7.78
:35:56.639 [WrapperSimpleAppMain] Loading renderer configurations from C:\Program Files (x86)\Universal Media Server\renderers
:35:56.717 [WrapperSimpleAppMain] Added file watch at renderers: renderers\\Samsung-EH5300.conf
:35:56.779 [WrapperSimpleAppMain] Enabled 118 configurations, listed in order of loading priority:
:35:57.170 [WrapperSimpleAppMain] UPNP Services are online, listening for media renderers
:35:57.170 [WrapperSimpleAppMain] Attached http player control handler to web server
:35:57.409 [WrapperSimpleAppMain] Using address /192.168.1.32 found on network interface: name:eth1 (Realtek PCIe GBE Family Controller)
:35:57.409 [WrapperSimpleAppMain] Created socket: /192.168.1.32:5001
:35:57.425 [cling-14] Matched media renderer "Samsung EH5300" based on dlna details "[TV]UN40EH5300 192.168.1.17
uuid:0ee6b281-00fa-1000-ba05-78abbb583770 Samsung Electronics UN40EH5300 AllShare1.0
Samsung RVU TV 2012 series 5 http://www.samsung.com/sec http://www.samsung.com/sec"
:35:57.426 [cling-14] Reading CharMap: "/ :" (default: null)
:35:57.427 [cling-14] Reading MediaInfo: true (default: false)
:35:57.428 [cling-14] Reading RendererName: "Samsung EH5300" (default: "Unknown renderer")
:35:57.428 [cling-14] Adding status button for [TV]UN40EH5300
:35:57.429 [cling-14] Reading RendererIcon: "Samsung-EH5300.png" (default: "unknown.png")
:35:57.440 [cling-14] New renderer found: "[TV]UN40EH5300" with dlna details: {friendlyName=[TV]UN40EH5300, address=192.168.1.17,
udn=uuid:0ee6b281-00fa-1000-ba05-78abbb583770, manufacturer=Samsung Electronics, modelName=UN40EH5300,
modelNumber=AllShare1.0, modelDescription=Samsung RVU TV 2012 series 5,
manufacturerURL=http://www.samsung.com/sec, modelURL=http://www.samsung.com/sec}
:35:57.440 [cling-14] Adding device: urn:schemas-upnp-org:device:MediaRenderer:1 (RemoteDevice) Identity: (RemoteDeviceIdentity)
UDN: uuid:0ee6b281-00fa-1000-ba05-78abbb583770, Descriptor: http://192.168.1.17:7676/smp_18_
:35:57.440 [cling-14] Subscribing to RenderingControl service on [TV]UN40EH5300
:35:57.441 [cling-14] Subscribing to ConnectionManager service on [TV]UN40EH5300
:35:57.441 [cling-14] Subscribing to AVTransport service on [TV]UN40EH5300
:35:57.449 [cling-14] Created upnp player for [TV]UN40EH5300
:35:57.483 [WrapperSimpleAppMain] WEB interface is available at: http://192.168.1.32:9001
:35:57.663 [WrapperSimpleAppMain] A tiny cache admin interface is available at: http://192.168.1.32:5001/console/home
:35:57.718 [WrapperSimpleAppMain] Sending ALIVE...
:35:57.994 [WrapperSimpleAppMain] The server is now available for renderers to find
:36:00.504 [cling-5] Subscription established: ConnectionManager on [TV]UN40EH5300
:36:03.516 [cling-13] Subscription established: RenderingControl on [TV]UN40EH5300
:36:06.524 [cling-13] Subscription established: AVTransport on [TV]UN40EH5300
:36:07.994 [UPNP-AliveMessageSender] Sending ALIVE...
:36:28.001 [UPNP-AliveMessageSender] Sending ALIVE...
==========
Has anyone succeeded in running the latest UMS (5.3.1) as a Windows Service on Windows 10?
When run as an Application Program, it works perfectly. But, when I run it as a Windows Service on Windows 10, it "fails":
I never even get the the UMS Icon on the TV!
Clearly, something isn't working correctly when run as a Windows 10 Service.
To diagnose this problem, I suppose you will need a more detailed Log Trace or an NMAP trace?
If so, just tell me where to send it.
=====> Unlike the trace when run as an Application Program, there was no Trace Record: <=====
=====>

And, I do get the identical results without the "IP Filter" specification.
And, even with Java 1.8.0_25 which is what the UMS Installer downloads.
I hope it is easily readable but all of the relevant Log Records are below:
==========
:35:55.483 [WrapperSimpleAppMain] Language not specified, defaulting to OS language.
:35:55.842 [WrapperSimpleAppMain] Starting Universal Media Server 5.3.1
:35:55.842 [WrapperSimpleAppMain] http://www.universalmediaserver.com
:35:55.842 [WrapperSimpleAppMain] Build: 7228d86b2 (2015-11-22)
:35:55.842 [WrapperSimpleAppMain] Java: Java HotSpot(TM) Client VM 1.8.0_66 32-bit by Oracle Corporation
:35:55.842 [WrapperSimpleAppMain] OS: Windows 10 64-bit 10.0
:35:55.842 [WrapperSimpleAppMain] Encoding: Cp1252
:35:56.342 [WrapperSimpleAppMain] Reading ip_filter: "192.168.1.17,192.168.1.32" (default: "")
:35:56.592 [WrapperSimpleAppMain] Loading MediaInfo library
:35:56.623 [WrapperSimpleAppMain] Loaded MediaInfoLib - v0.7.78
:35:56.639 [WrapperSimpleAppMain] Loading renderer configurations from C:\Program Files (x86)\Universal Media Server\renderers
:35:56.717 [WrapperSimpleAppMain] Added file watch at renderers: renderers\\Samsung-EH5300.conf
:35:56.779 [WrapperSimpleAppMain] Enabled 118 configurations, listed in order of loading priority:
:35:57.170 [WrapperSimpleAppMain] UPNP Services are online, listening for media renderers
:35:57.170 [WrapperSimpleAppMain] Attached http player control handler to web server
:35:57.409 [WrapperSimpleAppMain] Using address /192.168.1.32 found on network interface: name:eth1 (Realtek PCIe GBE Family Controller)
:35:57.409 [WrapperSimpleAppMain] Created socket: /192.168.1.32:5001
:35:57.425 [cling-14] Matched media renderer "Samsung EH5300" based on dlna details "[TV]UN40EH5300 192.168.1.17
uuid:0ee6b281-00fa-1000-ba05-78abbb583770 Samsung Electronics UN40EH5300 AllShare1.0
Samsung RVU TV 2012 series 5 http://www.samsung.com/sec http://www.samsung.com/sec"
:35:57.426 [cling-14] Reading CharMap: "/ :" (default: null)
:35:57.427 [cling-14] Reading MediaInfo: true (default: false)
:35:57.428 [cling-14] Reading RendererName: "Samsung EH5300" (default: "Unknown renderer")
:35:57.428 [cling-14] Adding status button for [TV]UN40EH5300
:35:57.429 [cling-14] Reading RendererIcon: "Samsung-EH5300.png" (default: "unknown.png")
:35:57.440 [cling-14] New renderer found: "[TV]UN40EH5300" with dlna details: {friendlyName=[TV]UN40EH5300, address=192.168.1.17,
udn=uuid:0ee6b281-00fa-1000-ba05-78abbb583770, manufacturer=Samsung Electronics, modelName=UN40EH5300,
modelNumber=AllShare1.0, modelDescription=Samsung RVU TV 2012 series 5,
manufacturerURL=http://www.samsung.com/sec, modelURL=http://www.samsung.com/sec}
:35:57.440 [cling-14] Adding device: urn:schemas-upnp-org:device:MediaRenderer:1 (RemoteDevice) Identity: (RemoteDeviceIdentity)
UDN: uuid:0ee6b281-00fa-1000-ba05-78abbb583770, Descriptor: http://192.168.1.17:7676/smp_18_
:35:57.440 [cling-14] Subscribing to RenderingControl service on [TV]UN40EH5300
:35:57.441 [cling-14] Subscribing to ConnectionManager service on [TV]UN40EH5300
:35:57.441 [cling-14] Subscribing to AVTransport service on [TV]UN40EH5300
:35:57.449 [cling-14] Created upnp player for [TV]UN40EH5300
:35:57.483 [WrapperSimpleAppMain] WEB interface is available at: http://192.168.1.32:9001
:35:57.663 [WrapperSimpleAppMain] A tiny cache admin interface is available at: http://192.168.1.32:5001/console/home
:35:57.718 [WrapperSimpleAppMain] Sending ALIVE...
:35:57.994 [WrapperSimpleAppMain] The server is now available for renderers to find
:36:00.504 [cling-5] Subscription established: ConnectionManager on [TV]UN40EH5300
:36:03.516 [cling-13] Subscription established: RenderingControl on [TV]UN40EH5300
:36:06.524 [cling-13] Subscription established: AVTransport on [TV]UN40EH5300
:36:07.994 [UPNP-AliveMessageSender] Sending ALIVE...
:36:28.001 [UPNP-AliveMessageSender] Sending ALIVE...
==========