You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by se...@apache.org on 2002/05/01 04:36:31 UTC
cvs commit: jakarta-james/src/xdocs FAQ.xml
serge 02/04/30 19:36:31
Modified: src/xdocs FAQ.xml
Log:
Added questions 9 and 10, how to upgrade to a newer version of James, and how to install James as a windows service.
Revision Changes Path
1.10 +57 -1 jakarta-james/src/xdocs/FAQ.xml
Index: FAQ.xml
===================================================================
RCS file: /home/cvs/jakarta-james/src/xdocs/FAQ.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- FAQ.xml 17 Apr 2002 06:17:15 -0000 1.9
+++ FAQ.xml 1 May 2002 02:36:31 -0000 1.10
@@ -24,6 +24,8 @@
<li><a href="#6">What about IMAP support?</a></li>
<li><a href="#7">What about support virtual hosting?</a></li>
<li><a href="#8">Where do I stick classes and jars?</a></li>
+<li><a href="#9">How do I upgrade to a newer version of James?</a></li>
+<li><a href="#10">How do I run James as an NT/2k/XP service?</a></li>
</ul>
</p>
@@ -138,7 +140,61 @@
Eventually we hope to support mailet reloading and a special lib and classes directory within the james directory that custom mailets can load from, but for now these are hopefully some useful tips.
<br />Serge Knystautas</p>
</subsection>
-</section>
+
+ <a name="9"></a>
+ <subsection name="How do I upgrade to a newer version of James?">
+ <p>
+ <ol><li>Rename the previous james directory into a james.old</li>
+ <li>Run phoenix to let the new james.sar be deployed.</li>
+ <li>Copy config.xml from james.old to the new deployed james/conf directory</li>
+ <li>Replace the var directory by the previous var directory. This will copy over user accounts, inboxes, spools, and whatever else.</li>
+ <li>Restart James.</li>
+ </ol>
+ Daniel Herlemont
+ </p>
+ </subsection>
+
+ <a href="10"></a>
+ <subsection name="How do I run James as an NT/2k/XP service?">
+ <p>You can use Alexandria will setup/run JAMES on NT/2k/XP</p>
+ <p>I created a .bat file called InstallJamesNTService.bat containing the
+following (I used the Alexandria tomcat.bat file as my template, as you can
+see):</p>
+ <source>
+
+ @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:\progra~1\jdk c:\progra~1\james classic
+ 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
+ </source>
+ <p>
+ I created another .bat file called UnistallJamesNTService containing the following 1 line:
+ </p>
+ <source>
+ James -uninstall JamesMailServer
+ </source>
+ <p>By copying the 2 above .bat files and the JavaService.exe (follow the download link at http://www.alexandriasc.com/software/JavaService/index.html) to the <james>\bin folder, I am able to install and uninstall the JamesMailServer NT service!
+ <br />Taken from http://www.mail-archive.com/james-user@jakarta.apache.org/msg01389.html by Steve Belt
+ </p>
+ </subsection>
+
+ </section>
</body>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>