Run PMS as a service

For help and support with PS3 Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Re: Run PMS as a service

Postby naks » Sun Mar 10, 2013 8:00 am

Hi all,

been trying to get PMS to run as a service, but hit a little snag:

I can start the service, but even though the wrapper is in the firewall exclusion, it does not work unless Windows Firewall is off. Even then, the PS3 sees the service, I can watch stuff but the PMS client does not see the PS3.

If I disable the service, and enable the Windows Firewall, the PS3 sees the service, I can watch stuff, and the PMS client sees the PS3.

What am I missing here?

Windows 7 Pro SP1 x64, latest java & PMS
naks
 
Posts: 15
Joined: Sat Apr 16, 2011 7:27 pm

Re: Run PMS as a service

Postby meskibob » Sun Mar 10, 2013 2:42 pm

Expected behavior, and since the PS3 sees the content, doesn't sound like there are any issues except for the firewall (follow the FAQ - viewtopic.php?f=6&t=3507&start=20#p34933)
The GUI and the service are disconnected, and any statuses in the GUI (detected clients, content being served, etc) are not applicable to the service. If you want to modify settings for the service, you can either modify the PMS.conf directly, or you can stop the service, open the GUI, change and save settings, close the GUI, and then start the service again.
I provide NO application support via PM or email, so please post your question to the forum per the Forum Rules.
meskibob
Moderator
 
Posts: 4739
Joined: Mon Jan 19, 2009 4:11 pm

Re: Run PMS as a service

Postby KwaXi » Sun Mar 10, 2013 2:46 pm

As described in an other post of mine you've to add the service wrapper executable to the windows firewall exception list.
KwaXi
 
Posts: 8
Joined: Thu Dec 29, 2011 2:14 pm

Re: Run PMS as a service

Postby thisoub71 » Sat Mar 30, 2013 9:34 pm

Hello everyone,
I've got the same problem that Mickski .
A solution was found or not?
Thanks a lot for your help.
thisoub71
 
Posts: 3
Joined: Sat Mar 30, 2013 9:26 pm

Re: Run PMS as a service

Postby mazey » Sun Mar 31, 2013 11:50 am

ok remove pms from the exclusion list (its probably added wrong) now make sure in firewall you tick notify me when a application is blocked, now run the wrapper.exe from the "c:\program files (x86)\ps3 media server\win32\service" directory and not from services, let it launch in the console a few seconds later you should get a notification now allow, now close the console box and run ps3 media server from services. problem should be solved.
Last edited by mazey on Sun Mar 31, 2013 11:19 pm, edited 1 time in total.
PMS 1.90.2 SNAPSHOT - HP Proliant Microserver N54L 2.2Ghz - Windows Home Server 2011 (64bit) 8GB - Bravia KDL55HX750
mazey
 
Posts: 767
Joined: Sat Oct 24, 2009 9:07 am

Re: Run PMS as a service

Postby thisoub71 » Sun Mar 31, 2013 6:51 pm

Hello.
You want that I copy the wrapper.exe in the "win32" directory?
And then I must double-click on this exe?
Thanks.
thisoub71
 
Posts: 3
Joined: Sat Mar 30, 2013 9:26 pm

Re: Run PMS as a service

Postby mazey » Sun Mar 31, 2013 11:20 pm

i had the directory slightly wrong a wrapper.exe file is in this folder this is the one you should be doubleclicking

"c:\program files (x86)\ps3 media server\win32\service"

the first time so u see the firewall notification. just do as above. after u unblock it then u can run it from services.
PMS 1.90.2 SNAPSHOT - HP Proliant Microserver N54L 2.2Ghz - Windows Home Server 2011 (64bit) 8GB - Bravia KDL55HX750
mazey
 
Posts: 767
Joined: Sat Oct 24, 2009 9:07 am

Re: Run PMS as a service

Postby thisoub71 » Sat Apr 20, 2013 6:41 pm

But I have a problem with the java command.
If I launch the following command line from a DOS windows, I have got an error :
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.

D:\Users\ALT>java -Djava.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Dstart.service=true -Xmx768m -Djava.library.path="win32/service/" -classpath "win32/ser
vice/wrapper.jar;pms.jar" -Dwrapper.key="TT4npdPmUEhfnns9" -Dwrapper.port=32000-Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=4612 -Dw
rapper.version="3.5.9" -Dwrapper.native_library="wrapper" -Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.Wrapp
erSimpleApp net.pms.PMS
Erreur : impossible de trouver ou charger la classe principale org.tanukisoftware.wrapper.WrapperSimpleApp

I think that it's anormal! No?

Many thanks.
thisoub71
 
Posts: 3
Joined: Sat Mar 30, 2013 9:26 pm

Previous

Return to General Help and Support

Who is online

Users browsing this forum: No registered users and 16 guests