PDA

View Full Version : Closed PF Service will not start



mconant
10-23-2008, 05:28 AM
I am using PF to sync a backup / archive folder between two Windows XP (sp3) machines acting as file servers for me, so it is important that PF runs as a service. Oddly, one of the machines is starting the service fine, but the other one is not. Both are running 3.1.2. I removed/reinstalled both PF and Java using the bundled Java version, but it doesn't solve the problem.


The service *seems* to install fine when I select to install the service.

On service install and PF exit, I get:

wrapper | Starting the PowerFolder service...
wrapper | Waiting to start...
wrapper | Waiting to start...
wrapper | Waiting to start...
wrapper | Waiting to start...
wrapper | Waiting to start...
wrapper | The PowerFolder service was launched, but failed to start.
================================================== ====
Problem while starting the PowerFolder system service.
Try to run PowerFolder as Administrator.
HOWTO: http://wiki.powerfolder.com/wiki/System_Service
================================================== ====
Press any key to continue . . .


I get this error (from the wrapper.log):

STATUS | wrapper | 2008/10/22 15:29:23 | --> Wrapper Started as Service
STATUS | wrapper | 2008/10/22 15:29:24 | Launching a JVM...
INFO | jvm 1 | 2008/10/22 15:29:26 | java.lang.UnsupportedClassVersionError: de/dal33t/powerfolder/PowerFolderService (Unsupported major.minor version 49.0)

What can I do to get this working? I've checked configuration in C:\.PowerFolder & <my user path>\.PowerFolder\Service.

Thanks in advance,

Mike

mconant
10-25-2008, 09:47 AM
I found that an Oracle install put its own version of java (1.4.x) in the environment PATH in front of everything else. I put the more recent java path in front and solved the problem.

Note that this is only an issue for getting the wrapper to run correctly, the PF application gui started just fine.