HTTP 500 error

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: HTTP 500 error

Postby Raptor399 » Thu May 16, 2013 8:48 pm

spacca wrote:You've completely lost me. Assume I'm a 78 year old - I have no idea what you're on about.
A quick step-by-step guide would be appreciated :)

Sorry for the tech lingo. :-)

Here is the translation of what technomage was saying:

As you may know, PMS is a Java program. PMS uses external libraries to do some heavy lifting (e.g. inspecting media files to extract information from them), and one of these libraries is called JNA. Sometimes JNA needs to write a file to the Java temporary directory.

Now PMS runs as a certain user. If that user does not have enough permissions to write in the Java temporary directory, you may see the error that you are seeing.

A solution could be to find out where the Java temporary directory is, and then make sure that whatever user PMS is running as has permission to write there.

Another solution could be to define another directory as Java temporary directory by editing the file "PMS.bat" and add the flag "-Djava.io.tmpdir=" with a suitable directory, e.g. like this:

Code: Select all
start javaw -Djava.io.tmpdir=C:\temp -Xmx768M -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8 -classpath update.jar;pms.jar net.pms.PMS

After that, use "PMS.bat" to start PMS.
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: HTTP 500 error

Postby spacca » Sat May 18, 2013 1:15 am

Great, thanks guys. Appreciate the effort and explanation.
I consider myself a little tech savvy, but this was way over my head :)
spacca
 
Posts: 5
Joined: Fri May 10, 2013 10:25 am

Previous

Return to General Help and Support

Who is online

Users browsing this forum: geb724, Google [Bot], Yahoo [Bot] and 23 guests