Go to: http://jakarta.apache.org/site/binindex.cgi About half way down the page you will see a download link for Apache James. That version worked fine for me. Cheers, Steve.


Caroline Jen wrote:


I downloaded James-2.1.3.zip from http://www.apache.org/dist/jakarta/james/binaries/
again.


I unzipped the James-2.1.3.zip and did not touch any
of the files.  I then

C:\james-2.1.3\bin>run

The console shows:

 Using PHOENIX_HOME:   F:\dev\james-2.1\james-2.1
 Using PHOENIX_TMPDIR:
F:\dev\james-2.1\james-2.1\temp
 Using JAVA_HOME:      F:\system\jdk\1.4.2

Phoenix 4.0.1

and followed by error messages shown in my previous
post.  I am unable to start James.  I have no idea
about what happened.  Please help!!

--- Caroline Jen <[EMAIL PROTECTED]> wrote:


Hi, I did:

C:\james-2.1.3\bin\>run

I got:
Using PHOENIX_HOME:   F:\dev\james-2.1\james-2.1
Using PHOENIX_TMPDIR:
F:\dev\james-2.1\james-2.1\temp
Using JAVA_HOME:      F:\system\jdk\1.4.2

Phoenix 4.0.1

followed by error messages:

INFO    2003-09-10 17:48:08.916 [Phoenix ] ():
Logger
started
WARN    2003-09-10 17:48:09.056 [Phoenix ] ():
Phoenix
was not started by the daemon thus it will not be
possible to restart the JVM via the Management
interface.
INFO    2003-09-10 17:48:09.476 [Phoenix.] ():
Installing Sar located at
file:/C:/james-2.1.3/apps/james.sar.
WARN    2003-09-10 17:48:09.897 [Phoenix.] (): The
file SAR-INF/lib/mm.mysql.LICENCE can not be
extracted
from the Sar "file:/C:/james-2.1.3/apps/james.sar"
into directory



C:\james-2.1.3\apps\james\SAR-INF\lib\mm.mysql.LICENCE


because there is a file in the way.
WARN    2003-09-10 17:48:09.897 [Phoenix.] (): The
file conf/sqlResources.xml can not be extracted from
the Sar "file:/C:/james-2.1.3/apps/james.sar" into
directory
C:\james-2.1.3\apps\james\conf\sqlResources.xml
because there is a file in the way.
WARN    2003-09-10 17:48:09.897 [Phoenix.] (): The
file SAR-INF/config.xml can not be extracted from
the
Sar "file:/C:/james-2.1.3/apps/james.sar" into
directory
C:\james-2.1.3\apps\james\SAR-INF\config.xml
because there is a file in the way.
WARN    2003-09-10 17:48:09.897 [Phoenix.] (): The
file SAR-INF/assembly.xml can not be extracted from
the Sar "file:/C:/james-2.1.3/apps/james.sar" into
directory
C:\james-2.1.3\apps\james\SAR-INF\assembly.xml
because
there is a file in the way.
WARN    2003-09-10 17:48:09.907 [Phoenix.] (): The
file SAR-INF/environment.xml can not be extracted
from
the Sar "file:/C:/james-2.1.3/apps/james.sar" into
directory
C:\james-2.1.3\apps\james\SAR-INF\environment.xml
because there is a file in the way.
INFO    2003-09-10 17:48:10.177 [Phoenix.] (): No
policy specified in server.xml, giving full
permissions to ServerApplication.
INFO    2003-09-10 17:48:10.858 [Phoenix.] ():
Verifying that the name specified for Blocks and
BlockListeners are valid.
INFO    2003-09-10 17:48:10.858 [Phoenix.] ():
Verifying that the name specified for Blocks and
BlockListeners are unique.
INFO    2003-09-10 17:48:10.858 [Phoenix.] ():
Verifying that the specified Dependencies are valid
according to BlockInfo.
INFO    2003-09-10 17:48:10.858 [Phoenix.] ():
Verifying that the dependencies of Blocks are valid
with respect to other Blocks.
INFO    2003-09-10 17:48:10.858 [Phoenix.] ():
Verifying that there are no circular dependencies
between Blocks.
INFO    2003-09-10 17:48:10.868 [Phoenix.] ():
Verifying that the specified Blocks have valid
types.
INFO    2003-09-10 17:48:10.959 [Phoenix.] ():
Verifying that the specified BlockListeners have
valid
types.
INFO    2003-09-10 17:48:11.339 [Phoenix.] (): 17
Blocks to process for phase "startup". Order of
processing = [dnsserver, objectstorage,
database-connections, mailstore, users-store,
thread-manager, connections, sockets, scheduler,
James, spoolmanager, remotemanager, pop3server,
smtpserver, nntp-repository, nntpserver, fetchpop].
ERROR   2003-09-10 17:48:18.439 [Phoenix.] ():
Component named "users-store" failed to pass through
the Initialization stage. (Reason:



org.apache.avalon.framework.CascadingRuntimeException:


An exception occurred getting a database
connection.).
ERROR   2003-09-10 17:48:18.439 [Phoenix.] (): There
was an error running phase "startup" for Block named
"users-store". (Reason: Component named
"users-store"
failed to pass through the Initialization stage.
(Reason:



org.apache.avalon.framework.CascadingRuntimeException:


An exception occurred getting a database
connection.).).



org.apache.excalibur.containerkit.lifecycle.LifecycleException:


Component named "users-store" failed to pass through
the Initialization stage. (Reason:



org.apache.avalon.framework.CascadingRuntimeException:


An exception occurred getting a database
connection.).
--- Stephen McConnell <[EMAIL PROTECTED]> wrote:


Caroline Jen wrote:



Thanks for lots of support when I posted my first
James questions.  I am really a starter.

I followed instructions found at
http://james.apache.org/FAQ.html

until I saw this sentence: "Restart James, send a


mail


to [EMAIL PROTECTED] and you should be


subscribed."


Question 1: Does James have to be in CLASSPATH?

For

           example:
           SET CLASSPATH=.;C:\james-2.1.3



No. James is an application that runs inside a
container. Its the job of the container to startup james. If you have
downloaded the binary distribution you will find a run.bat file in the


bin


directory.



Question 2: How do I start James? Do I cd to


the

james-2.1.3\bin folder and type in "run"? For example:
c:\james-2.1.3\bin\>run





Yes. Just do:

$ run

James will startup and you should see the


following


on your console:

 Using PHOENIX_HOME:   F:\dev\james-2.1\james-2.1
 Using PHOENIX_TMPDIR:
F:\dev\james-2.1\james-2.1\temp
 Using JAVA_HOME:      F:\system\jdk\1.4.2

Phoenix 4.0.1

 James 2.1
 Remote Manager Service started plain:4555
 POP3 Service started plain:110
 SMTP Service started plain:25
 NNTP Service Disabled
 Fetch POP Disabled

Use ^C to halt the server. In the apps directory


you


will find the configuration info for james in the directory apps\james\SAR-INF\config.xml where you can modify
things like DNS entries, passwords for remote adminstration, host
names, etc. To restart james - just go back to the bin directory
and execute the run command.




Question 3: How do I send a mail to [EMAIL PROTECTED]
Where do I send the mail? Can I send


the


mail from my Yahoo accout?



If you have a local email client like Outlook or
Mozilla you can setup an account that reads mail for the mailserver on
localhost. But this isn;t very interesting. To use James so that you


can


receive messages from your Yahoo account you need to publish the


host



=== message truncated ===


__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com

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





--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]




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



Reply via email to