That's the "JamesMailService" portion of reg. Maybe this is the way to find the difference:
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\JamesMailServer] "Type"=dword:00000010 "Start"=dword:00000002 "ErrorControl"=dword:00000001 "ImagePath"=hex(2):67,00,3a,00,5c,00,6a,00,61,00,6d,00,65,00,73,00,5c,00,62, 00,\ 69,00,6e,00,5c,00,4a,00,61,00,6d,00,65,00,73,00,2e,00,65,00,78,00,65,00,00,\ 00 "DisplayName"="JamesMailServer" "ObjectName"="LocalSystem" [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\JamesMailServer\Parame ters] "JVM Library"="c:\\j2sdk140\\jre\\bin\\server\\jvm.dll" "JVM Option Count"=dword:00000002 "JVM Option Number 0"="-Djava.ext.dirs=g:\\james\\lib" "JVM Option Number 1"="-Djava.class.path=g:\\james\\lib;g:\\james\\bin\\phoenix-loader.jar;g:\\ james\\bin\\phoenix-engine.jar" "Start Class"="org.apache.avalon.phoenix.launcher.Main" "Start Method"="main" "Start Param Count"=dword:00000000 "System.out File"="g:\\james\\logs\\stdout.log" "System.err File"="g:\\james\\logs\\stderr.log" [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\JamesMailServer\Securi ty] "Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,0 2,\ 00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\ 00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\ 05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\ 20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\ 00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\ 00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\JamesMailServer\Enum] "0"="Root\\LEGACY_JAMESMAILSERVER\\0000" "Count"=dword:00000001 "NextInstance"=dword:00000001 ----- Original Message ----- From: "Steve" <[EMAIL PROTECTED]> To: "James Users List" <[EMAIL PROTECTED]> Sent: Wednesday, August 14, 2002 2:12 PM Subject: Re: as service on XP > As you are on XP, have you setup any firewall settings? Are the ports 4555, > 25, and 110 mapped to your local machine? > > You mention it starts normally from the command-line - does this > mean you can telnet, etc. when started this way? > > I am running as a service on XP, so I know it can be done. We just need to > find what is different. > > Steve B. > > ----- Original Message ----- > From: "Airton" <[EMAIL PROTECTED]> > To: "James Users List" <[EMAIL PROTECTED]> > Sent: Wednesday, August 14, 2002 10:09 AM > Subject: Re: as service on XP > > > > ok, it is as service now but... not working. Telnet and connection with > > email client don't work... > > Without to uninstall the service I've started manually on command line > > (\james\bin\run.bat) and James started normally. > > > > > > ----- Original Message ----- > > From: "Hontvari Jozsef" <[EMAIL PROTECTED]> > > To: "James Users List" <[EMAIL PROTECTED]> > > Sent: Wednesday, August 14, 2002 1:46 PM > > Subject: Re: as service on XP > > > > > > > are you created the file with correct line breaks? I have attached the > > file > > > I was actually used. > > > ----- Original Message ----- > > > From: "Airton" <[EMAIL PROTECTED]> > > > To: "James Users List" <[EMAIL PROTECTED]> > > > Sent: Wednesday, August 14, 2002 6:46 PM > > > Subject: Re: as service on XP > > > > > > > > > > no, this is not the problem... > > > > I've changed the parameters with the absolute path of the files on > batch > > > > file and the problem occured again... > > > > > > > > A thing to notice is the fact the options of javaservice appear on > > command > > > > prompt... as when you insert a command that needs parameters and these > > > ones > > > > has not been given... > > > > > > > > Isn't it a problem by itself? > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Hontvari Jozsef" <[EMAIL PROTECTED]> > > > > To: "James Users List" <[EMAIL PROTECTED]> > > > > Sent: Wednesday, August 14, 2002 12:43 PM > > > > Subject: Re: as service on XP > > > > > > > > > > > > > just check the batch file parameters you entered I am sure that is > the > > > > > origin of the problem. This must point to a valid file: > > > > > %1\jre\bin\%3\jvm.dll > > > > > > > > > > ----- Original Message ----- > > > > > From: "Airton" <[EMAIL PROTECTED]> > > > > > To: "James Users List" <[EMAIL PROTECTED]> > > > > > Sent: Wednesday, August 14, 2002 4:39 PM > > > > > Subject: Re: as service on XP > > > > > > > > > > > > > > > > jvm.dll - JAVA_HOME and CLASSPATH are set. > > > > > > > > > > > > As soon as I run the batch the command prompt displays the options > > of > > > > > > javaservice and then the dialog message appears. > > > > > > > > > > > > follow the batch file: > > > > > > > > > > > > @echo off > > > > > > echo -------- > > > > > > echo Usage: %0 jdk_home james_home (classic/hotspot/server) > > > > > > echo NOTE: You MAY NOT use spaces in the path names. > > > > > > echo JDK 1.3 does not come with hotpot server by default, > > you > > > > > must > > > > > > echo install this seperately if you wish to use it. > > > > > > echo Example: %0 c:\j2sdk140 g:\james server > > > > > > echo -------- > > > > > > > > > > > > if "%1" == "" goto eof > > > > > > if "%2" == "" goto eof > > > > > > if "%3" == "" goto eof > > > > > > > > > > > > copy JavaService.exe %2\bin\James.exe > nul > > > > > > %2\bin\James.exe -install JamesMailServer > > > > > > > > > > > > > > > > > > > > > %1\jre\bin\%3\jvm.dll -Djava.ext.dirs=%2\lib -Djava.class.path=%CLASSPATH%;% > > > > > > 2\bin\phoenix-loader.jar;%2\bin\phoenix-engine.jar -start > > > > > > org.apache.avalon.phoenix.launcher.Main -out > %2\logs\stdout.log -err > > > > > > %2\logs\stderr.log > > > > > > > > > > > > goto eof > > > > > > > > > > > > :eof > > > > > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Hontvari Jozsef" <[EMAIL PROTECTED]> > > > > > > To: "James Users List" <[EMAIL PROTECTED]> > > > > > > Sent: Wednesday, August 14, 2002 10:59 AM > > > > > > Subject: Re: as service on XP > > > > > > > > > > > > > > > > > > > which dll and when this message displayed? As I remember it > tries > > to > > > > > open > > > > > > > the java runtime engine dll. Either your environment variables > are > > > not > > > > > set > > > > > > > (JAVA_HOME, PATH do not remeber) or the parameters supplied to > the > > > > batch > > > > > > > file are not correct. > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > From: "Airton" <[EMAIL PROTECTED]> > > > > > > > To: "James Users List" <[EMAIL PROTECTED]> > > > > > > > Sent: Wednesday, August 14, 2002 1:21 PM > > > > > > > Subject: as service on XP > > > > > > > > > > > > > > > > > > > > > > Hi! > > > > > > > > I was trying to run James as a service on Win XP using > > javaservice > > > > as > > > > > > > shown > > > > > > > > on FAQ, but I've received a warning message from windows that > "I > > > was > > > > > > > trying > > > > > > > > to open a dll file..." and asking me "Open with...". > > > > > > > > > > > > > > > > What's wrong? > > > > > > > > > > > > > > > > Thanks. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > To unsubscribe, e-mail: > > > > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > For additional commands, e-mail: > > > > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > To unsubscribe, e-mail: > > > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > For additional commands, e-mail: > > > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > To unsubscribe, e-mail: > > > > > <mailto:[EMAIL PROTECTED]> > > > > > > For additional commands, e-mail: > > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > To unsubscribe, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > > For additional commands, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > > -------------------------------------------------------------------------- > -- > > ---- > > > > > > > -- > > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
