Service start problem

Questions? Suggestions? Need help? Talk about anything related to Yawcam...
Post Reply
gpetrom
Posts: 2
Joined: Fri Apr 01, 2016 9:39 pm

Service start problem

Post by gpetrom »

Hi

I have installed yawcam and is working great. i have installed it as a service but it won t start. I have red a lot of things here in the forum but nothing worked. I am running windows 7 64 bit. When i run Yawcam_Service.exe -debug from cmd i am getting the following
Ini file: cmdline = -cp .;lib/activation.jar;lib/commons-jxpath-1.1.jar;lib/comm
ons-logging.jar;lib/commons-logging-api.jar;lib/dsj.jar;lib/monte-cc.jar;lib/mai
l.jar;lib/mx4j-impl.jar;lib/mx4j-jmx.jar;lib/mx4j-remote.jar;lib/mx4j-tools.jar;
lib/sbbi-jmx-1.0.jar;lib/sbbi-upnplib-1.0.4.jar;lib/ftp4j.jar;lib/commons-codec-
1.4.jar;lib/turbojpeg.jar -Djava.net.preferIPv4Stack=true yawcam.Main service
Finally: cmdline = -cp .;lib/activation.jar;lib/commons-jxpath-1.1.jar;lib/comm
ons-logging.jar;lib/commons-logging-api.jar;lib/dsj.jar;lib/monte-cc.jar;lib/mai
l.jar;lib/mx4j-impl.jar;lib/mx4j-jmx.jar;lib/mx4j-remote.jar;lib/mx4j-tools.jar;
lib/sbbi-jmx-1.0.jar;lib/sbbi-upnplib-1.0.4.jar;lib/ftp4j.jar;lib/commons-codec-
1.4.jar;lib/turbojpeg.jar -Djava.net.preferIPv4Stack=true yawcam.Main service
Ini file: jrepath =
Finally: jrepath =
Ini file: jvmtype = server,client
Finally: jvmtype = server,client
Ini file: dependencies =
Finally: dependencies =
Ini file: starttype = auto
Finally: starttype = auto
Ini file: account =
Finally: account =
Ini file: password =
Finally: password =
Ini file: loadordergroup = someorder
Finally: loadordergroup = someorder
Ini file: wrkdir = .
Finally: wrkdir = .
Ini file: appname = Yawcam
Finally: appname = Yawcam
Ini file: servicename = Yawcam
Finally: servicename = Yawcam
Ini file: displayname = Yawcam
Finally: displayname = Yawcam
Ini file: servicedescription = Yawcam - Yet Another Webcam Software
Finally: servicedescription = Yawcam - Yet Another Webcam Software
Ini file: stdout =
Finally: stdout =
Ini file: stderr =
Finally: stderr =
Ini file: stdoutappend = no
Finally: stdoutappend = no
Ini file: stderrappend = no
Finally: stderrappend = no
Ini file: systemout =
Finally: systemout =
Ini file: systemerr =
Finally: systemerr =
Ini file: systemoutappend = no
Finally: systemoutappend = no
Ini file: systemerrappend = no
Finally: systemerrappend = no
Ini file: interactwithdesktop = no
Finally: interactwithdesktop = no
Ini file: onexiterror = returncode
Finally: onexiterror = returncode
Ini file: reportservicestoppedonmainthreadexit = no
Finally: reportservicestoppedonmainthreadexit = no
Ini file: stopclass = java/lang/System
Finally: stopclass = java/lang/System
Ini file: stopmethod = exit
Finally: stopmethod = exit
Ini file: stopsignature = (I)V
Finally: stopsignature = (I)V
Ini file: stopparams = STOP "OR NOT STOP"
Finally: stopparams = STOP "OR NOT STOP"
Ini file: pauseclass =
Finally: pauseclass =
Ini file: pausemethod =
Finally: pausemethod =
Ini file: pausesignature =
Finally: pausesignature =
Ini file: pauseparams =
Finally: pauseparams =
Ini file: contclass =
Finally: contclass =
Ini file: contmethod =
Finally: contmethod =
Ini file: contsignature =
Finally: contsignature =
Ini file: contparams =
Finally: contparams =
Ini file: confirmrunclass =
Finally: confirmrunclass =
Ini file: confirmrunmethod =
Finally: confirmrunmethod =
Ini file: confirmrunsignature =
Finally: confirmrunsignature =
Ini file: confirmrunparams =
Finally: confirmrunparams =
Ini file: premainclass =
Finally: premainclass =
Ini file: premainmethod = run
Finally: premainmethod = run
Ini file: premainsignature = ()I
Finally: premainsignature = ()I
Ini file: premainparams =
Finally: premainparams =
Ini file: useconsolehandler = false
Finally: useconsolehandler = false
Ini file: path =
Finally: path =
Ini file: modulepath =
Finally: modulepath =
Ini file: export = CLASSPATH,PATH
Finally: export = CLASSPATH,PATH
Ini file: CLASSPATH =
Finally: CLASSPATH =
Ini file: PATH =
Finally: PATH =
Debugging Yawcam.
Now starting JVM
Error opening registry key 'Software\JavaSoft\Java Runtime Environment'
I have tried to unistall all versions of java and reinstall but it did not helped. I have java 1.8.0_77 32bit installed.
The key in the registry does not exist at all.

Thanks in advanced
malun
Site Admin
Posts: 1590
Joined: Sun Jan 04, 2004 1:29 pm

Re: Service start problem

Post by malun »

I think the problem here is that the service is running as 64 bit, but the java version you have installed is 32 bit.

Could you please try to install a 64 bit java version and see if that helps?

You find the 64 bit java on this page:
http://www.java.com/en/download/manual.jsp

It's called: Windows Offline (64-bit)

The direct link is:
http://javadl.oracle.com/webapps/downlo ... eId=207231

/malun
gpetrom
Posts: 2
Joined: Fri Apr 01, 2016 9:39 pm

Re: Service start problem

Post by gpetrom »

Thanks Malun now it is working perfect.
malun
Site Admin
Posts: 1590
Joined: Sun Jan 04, 2004 1:29 pm

Re: Service start problem

Post by malun »

Great!
annefmoreno
Posts: 3
Joined: Wed Apr 13, 2016 7:08 am

Re: Service start problem

Post by annefmoreno »

i had also same problem thank for this post. Its working now.
Post Reply