I do have a Wrapper.exe file in the conf folder of my james_home directory, and will try this. I have tried the install service which is similar to Tomcat's from the Apache-Alexandria site.
Thanks
Ghulam
From: "eric" <[EMAIL PROTECTED]> Reply-To: "James Users List" <[EMAIL PROTECTED]> To: "'James Users List'" <[EMAIL PROTECTED]> Subject: RE : RE : James Service Date: Tue, 4 Feb 2003 13:31:54 +0100Ok I use my method since 2.0.x So i have not see Wrapper Thx That is more easier.. ERIC -----Message d'origine----- De : Vincenzo Gianferrari Pini [mailto:[EMAIL PROTECTED]] Envoy� : mardi 4 f�vrier 2003 13:25 � : James Users List Objet : RE: RE : James Service Wait a moment: If you are using James 2.1+ just cd to the main james directory, edit conf\wrapper.conf (should not be necessary to change anything), and run: bin\wrapper -i conf\wrapper.conf Before doing that run "bin\wrapper -?" and have a look on the help. Bye, Vincenzo > -----Original Message----- > From: eric [mailto:[EMAIL PROTECTED]] > Sent: marted� 4 febbraio 2003 13.10 > To: 'James Users List' > Subject: RE : James Service > > > For create a service under NT /2000 /XP > > copy james.exe (in the zip) into the bin > All the bat in the bin for exemple where you have copy James.exe After > create a bat with this line James.exe -install JamesMailServer > %JAVA_HOME%\jre\bin\server\jvm.dll > -Djava.ext.dirs=c:\Java\ServeurMail\james-2.1\lib > -Djava.class.path=c:\Java\ServeurMail\james-2.1\bin\phoenix-loader.jar > ;c > :\Java\ServeurMail\james-2.1\bin\phoenix-engine.jar -start > org.apache.avalon.phoenix.launcher.Main -out > c:\Java\ServeurMail\james-2.1\logs\stdout.log -err > c:\Java\ServeurMail\james-2.1\logs\stderr.log > > Change the directory with yours. > > For uninstall : > > Create another bat > With : > James -uninstall JamesMailServer > > With that the service works perfect > > Found under the community > I don t remember which website . > But it's the same for TOMCAT service > > Eric.... > > -----Message d'origine----- > De : G Akbar [mailto:[EMAIL PROTECTED]] > Envoy� : mardi 4 f�vrier 2003 12:38 > � : [EMAIL PROTECTED] > Objet : James Service > > > > Hello all (again), > > I have finally managed to get JAMES working so I can send/receive > emails > > (and setup a mailing list also). Now I would like to run JAMES as a > Win2k service. > I have read the FAQ, and created the .bat files. I can install JAMES > successfully as a service, however, when I run the service, it stops > itself > immediately after. > Has this got anything to do with my installing of the service > (presumably), > because I did follow the guidelines in the FAQ. I couldnt find anything > more > in the archives for this mailing list. > > Thanks > Ghulam
_________________________________________________________________ Chat online in real time with MSN Messenger http://messenger.msn.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
