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]>
>
>

<<attachment: InstallJamesService.bat>>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to