Did my email client add the line feeds to your .bat file. You have here a
single line split into many. The "%2\bin\James.exe..." all the way to the
"...stderr.log" should be one line.

The jvm.dll is actually a parameter, not a command.

Steve B.


----- Original Message -----
From: "Airton" <[EMAIL PROTECTED]>
To: "James Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, August 14, 2002 7:39 AM
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]>

Reply via email to