You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Airton <ai...@unitau.br> on 2002/08/14 13:21:51 UTC

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: james2.0a3 install error on Linux. Help me please..

Posted by Danny Angus <da...@apache.org>.
alternatively the port may already be opened by another application, though
this is more usually seen as port 25 (SMTP) being already opened by
sendmail.

Unfortunately its also a general rule that only root can open ports < 1024,
therefore you _have_ to have root for James to work.
d.

> -----Original Message-----
> From: Noel J. Bergman [mailto:noel@devtech.com]
> Sent: 14 August 2002 20:26
> To: James Users List
> Subject: RE: james2.0a3 install error on Linux. Help me please..
>
>
> Are you logged in as root?  If not, you won't be able to open the standard
> NNTP, SMTP and POP ports.
>
> 	--- Noel
>
> -----Original Message-----
> From: David Kim [mailto:xmlcorba@yahoo.ca]
> Sent: Wednesday, August 14, 2002 14:57
> To: James Users List
> Subject: james2.0a3 install error on Linux. Help me please..
>
>
> Hi all,
>
> While I was running james, I've got errors as follow.
> 'build' is ok.
> original james file:'james-2.0a3-src.tar.gz'
> Linux,Java 1.4.0_01
>
> -follow (phoenix.log)-
> ...
> Block named "pop3server" failed to pass through the
> Initialization stage. (Reason: java.net.BindException:
> Permission denied).
> ...
> org..CascadingException: Block named "pop3server"
> failed to pass through the Initialization stage.
> (Reason: java.net.BindException: Permission denied).
>   at........
>   at........
> ----------------------
> Please let me know how to do.
>
> David Kim
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: james2.0a3 install error on Linux. Help me please..

Posted by "Noel J. Bergman" <no...@devtech.com>.
Are you logged in as root?  If not, you won't be able to open the standard
NNTP, SMTP and POP ports.

	--- Noel

-----Original Message-----
From: David Kim [mailto:xmlcorba@yahoo.ca]
Sent: Wednesday, August 14, 2002 14:57
To: James Users List
Subject: james2.0a3 install error on Linux. Help me please..


Hi all,

While I was running james, I've got errors as follow.
'build' is ok.
original james file:'james-2.0a3-src.tar.gz'
Linux,Java 1.4.0_01

-follow (phoenix.log)-
...
Block named "pop3server" failed to pass through the
Initialization stage. (Reason: java.net.BindException:
Permission denied).
...
org..CascadingException: Block named "pop3server"
failed to pass through the Initialization stage.
(Reason: java.net.BindException: Permission denied).
  at........
  at........
----------------------
Please let me know how to do.

David Kim


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


james2.0a3 install error on Linux. Help me please..

Posted by David Kim <xm...@yahoo.ca>.
Hi all,

While I was running james, I've got errors as follow.
'build' is ok.
original james file:'james-2.0a3-src.tar.gz'
Linux,Java 1.4.0_01

-follow (phoenix.log)-
...
Block named "pop3server" failed to pass through the
Initialization stage. (Reason: java.net.BindException:
Permission denied).
...
org..CascadingException: Block named "pop3server"
failed to pass through the Initialization stage.
(Reason: java.net.BindException: Permission denied).
  at........
  at........
----------------------
Please let me know how to do.

David Kim

______________________________________________________________________ 
Post your ad for free now! http://personals.yahoo.ca

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: as service on XP

Posted by Steve <sb...@velos.com>.
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" <ai...@unitau.br>
To: "James Users List" <ja...@jakarta.apache.org>
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" <ho...@solware.com>
> To: "James Users List" <ja...@jakarta.apache.org>
> 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" <ai...@unitau.br>
> > To: "James Users List" <ja...@jakarta.apache.org>
> > 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:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
> >
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: as service on XP

Posted by Airton <ai...@unitau.br>.
Steve,
I'm very sorry!
The service was registered but I've not noticed it hasn't been initialized
by itself...
I've done that and james is running as service, telnet is working etc...
I'm using a batch file sent by Hontvari Jozsef because mine was with
incorrect breaked lines, too.

Thanks a lot for your help and sorry again...

----- Original Message -----
From: "Steve" <sb...@velos.com>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Wednesday, August 14, 2002 3:52 PM
Subject: Re: as service on XP


> I sent you outside the maillist a copy of my registry nest.
>
> Also, what does it say in your "g:\\james\\logs\\stderr.log" (as set by
your
> "System.err File=")?
>
> I also notice all your paths use "\\". When I exported and view values,
> there is a single "\" in
> my paths. Is this just a attribute of your export?
>
> Steve B.
>
> ----- Original Message -----
> From: "Airton" <ai...@unitau.br>
> To: "James Users List" <ja...@jakarta.apache.org>
> Sent: Wednesday, August 14, 2002 11:09 AM
> Subject: Re: as service on XP
>
>
> > 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" <sb...@velos.com>
> > To: "James Users List" <ja...@jakarta.apache.org>
> > 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" <ai...@unitau.br>
> > > To: "James Users List" <ja...@jakarta.apache.org>
> > > 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" <ho...@solware.com>
> > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > 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" <ai...@unitau.br>
> > > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > > 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" <ho...@solware.com>
> > > > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > > > 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" <ai...@unitau.br>
> > > > > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > > > > 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" <ho...@solware.com>
> > > > > > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > > > > > 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" <ai...@unitau.br>
> > > > > > > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > > > > > > 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:
> > > > > > > > > <ma...@jakarta.apache.org>
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > <ma...@jakarta.apache.org>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > > > <ma...@jakarta.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > > > <ma...@jakarta.apache.org>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > > > <ma...@jakarta.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > > > <ma...@jakarta.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@jakarta.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > > > <ma...@jakarta.apache.org>
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > > > <ma...@jakarta.apache.org>
> > > > > > For additional commands, e-mail:
> > > > > <ma...@jakarta.apache.org>
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > > > For additional commands, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <ma...@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: as service on XP

Posted by Steve <sb...@velos.com>.
I sent you outside the maillist a copy of my registry nest.

Also, what does it say in your "g:\\james\\logs\\stderr.log" (as set by your
"System.err File=")?

I also notice all your paths use "\\". When I exported and view values,
there is a single "\" in
my paths. Is this just a attribute of your export?

Steve B.

----- Original Message -----
From: "Airton" <ai...@unitau.br>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Wednesday, August 14, 2002 11:09 AM
Subject: Re: as service on XP


> 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" <sb...@velos.com>
> To: "James Users List" <ja...@jakarta.apache.org>
> 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" <ai...@unitau.br>
> > To: "James Users List" <ja...@jakarta.apache.org>
> > 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" <ho...@solware.com>
> > > To: "James Users List" <ja...@jakarta.apache.org>
> > > 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" <ai...@unitau.br>
> > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > 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" <ho...@solware.com>
> > > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > > 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" <ai...@unitau.br>
> > > > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > > > 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" <ho...@solware.com>
> > > > > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > > > > 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" <ai...@unitau.br>
> > > > > > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > > > > > 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:
> > > > > > > > <ma...@jakarta.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > > > <ma...@jakarta.apache.org>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > > > <ma...@jakarta.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > > > <ma...@jakarta.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@jakarta.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > > > <ma...@jakarta.apache.org>
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > > > <ma...@jakarta.apache.org>
> > > > > > For additional commands, e-mail:
> > > > > <ma...@jakarta.apache.org>
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > > > For additional commands, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <ma...@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: as service on XP

Posted by Airton <ai...@unitau.br>.
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" <sb...@velos.com>
To: "James Users List" <ja...@jakarta.apache.org>
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" <ai...@unitau.br>
> To: "James Users List" <ja...@jakarta.apache.org>
> 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" <ho...@solware.com>
> > To: "James Users List" <ja...@jakarta.apache.org>
> > 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" <ai...@unitau.br>
> > > To: "James Users List" <ja...@jakarta.apache.org>
> > > 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" <ho...@solware.com>
> > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > 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" <ai...@unitau.br>
> > > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > > 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" <ho...@solware.com>
> > > > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > > > 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" <ai...@unitau.br>
> > > > > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > > > > 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:
> > > > > > > <ma...@jakarta.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > > > <ma...@jakarta.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@jakarta.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > > > <ma...@jakarta.apache.org>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > > > <ma...@jakarta.apache.org>
> > > > > > For additional commands, e-mail:
> > > > > <ma...@jakarta.apache.org>
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > > > For additional commands, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <ma...@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > > >
> > > >
> > >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: as service on XP

Posted by Airton <ai...@unitau.br>.
no firewall and everything goes well when james is started from the command
line.

----- Original Message -----
From: "Steve" <sb...@velos.com>
To: "James Users List" <ja...@jakarta.apache.org>
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" <ai...@unitau.br>
> To: "James Users List" <ja...@jakarta.apache.org>
> 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" <ho...@solware.com>
> > To: "James Users List" <ja...@jakarta.apache.org>
> > 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" <ai...@unitau.br>
> > > To: "James Users List" <ja...@jakarta.apache.org>
> > > 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" <ho...@solware.com>
> > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > 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" <ai...@unitau.br>
> > > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > > 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" <ho...@solware.com>
> > > > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > > > 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" <ai...@unitau.br>
> > > > > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > > > > 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:
> > > > > > > <ma...@jakarta.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > > > <ma...@jakarta.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@jakarta.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > > > <ma...@jakarta.apache.org>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > > > <ma...@jakarta.apache.org>
> > > > > > For additional commands, e-mail:
> > > > > <ma...@jakarta.apache.org>
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > > > For additional commands, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <ma...@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > > >
> > > >
> > >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: as service on XP

Posted by Steve <sb...@velos.com>.
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" <ai...@unitau.br>
To: "James Users List" <ja...@jakarta.apache.org>
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" <ho...@solware.com>
> To: "James Users List" <ja...@jakarta.apache.org>
> 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" <ai...@unitau.br>
> > To: "James Users List" <ja...@jakarta.apache.org>
> > 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" <ho...@solware.com>
> > > To: "James Users List" <ja...@jakarta.apache.org>
> > > 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" <ai...@unitau.br>
> > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > 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" <ho...@solware.com>
> > > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > > 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" <ai...@unitau.br>
> > > > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > > > 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:
> > > > > > <ma...@jakarta.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > > > <ma...@jakarta.apache.org>
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > > > <ma...@jakarta.apache.org>
> > > > > > For additional commands, e-mail:
> > > > > <ma...@jakarta.apache.org>
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > > > For additional commands, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <ma...@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> > >
> >
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: as service on XP

Posted by Airton <ai...@unitau.br>.
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" <ho...@solware.com>
To: "James Users List" <ja...@jakarta.apache.org>
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" <ai...@unitau.br>
> To: "James Users List" <ja...@jakarta.apache.org>
> 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" <ho...@solware.com>
> > To: "James Users List" <ja...@jakarta.apache.org>
> > 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" <ai...@unitau.br>
> > > To: "James Users List" <ja...@jakarta.apache.org>
> > > 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" <ho...@solware.com>
> > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > 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" <ai...@unitau.br>
> > > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > > 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:
> > > > > <ma...@jakarta.apache.org>
> > > > > > For additional commands, e-mail:
> > > > > <ma...@jakarta.apache.org>
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > > > For additional commands, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <ma...@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > > >
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
>


----------------------------------------------------------------------------
----


> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: as service on XP

Posted by Hontvari Jozsef <ho...@solware.com>.
are you created the file with correct line breaks? I have attached the file
I was actually used.
----- Original Message -----
From: "Airton" <ai...@unitau.br>
To: "James Users List" <ja...@jakarta.apache.org>
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" <ho...@solware.com>
> To: "James Users List" <ja...@jakarta.apache.org>
> 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" <ai...@unitau.br>
> > To: "James Users List" <ja...@jakarta.apache.org>
> > 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" <ho...@solware.com>
> > > To: "James Users List" <ja...@jakarta.apache.org>
> > > 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" <ai...@unitau.br>
> > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > 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:
> > > > <ma...@jakarta.apache.org>
> > > > > For additional commands, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <ma...@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>

Re: as service on XP

Posted by Airton <ai...@unitau.br>.
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" <ho...@solware.com>
To: "James Users List" <ja...@jakarta.apache.org>
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" <ai...@unitau.br>
> To: "James Users List" <ja...@jakarta.apache.org>
> 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" <ho...@solware.com>
> > To: "James Users List" <ja...@jakarta.apache.org>
> > 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" <ai...@unitau.br>
> > > To: "James Users List" <ja...@jakarta.apache.org>
> > > 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:
> > > <ma...@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > > >
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> > >
> > >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: as service on XP

Posted by Hontvari Jozsef <ho...@solware.com>.
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" <ai...@unitau.br>
To: "James Users List" <ja...@jakarta.apache.org>
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" <ho...@solware.com>
> To: "James Users List" <ja...@jakarta.apache.org>
> 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" <ai...@unitau.br>
> > To: "James Users List" <ja...@jakarta.apache.org>
> > 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:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
> >
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: as service on XP

Posted by Airton <ai...@unitau.br>.
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" <ho...@solware.com>
To: "James Users List" <ja...@jakarta.apache.org>
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" <ai...@unitau.br>
> To: "James Users List" <ja...@jakarta.apache.org>
> 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:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
>




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: as service on XP

Posted by Hontvari Jozsef <ho...@solware.com>.
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" <ai...@unitau.br>
To: "James Users List" <ja...@jakarta.apache.org>
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:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>