Hi All,

Downloaded James 2.3.
open shell
cd into /bin
run.bat

I get about 18 pages of errors, starting with :-

C:\Program Files\james\bin>run
Using PHOENIX_HOME:   C:\Program Files\james
Using PHOENIX_TMPDIR: C:\Program Files\james\temp
Using JAVA_HOME:      C:\Program Files\Java\jdk1.5.0_11

Phoenix 4.2

James Mail Server 2.3.0
Remote Manager Service started plain:4555
POP3 Service started plain:110
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException:
Component n
amed "smtpserver" failed to pass through the Starting stage. (Reason:
java.net.B
indException: Address already in use: JVM_Bind).
        at
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.fail
(LifecycleHelper.java:354)
        at
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.star
tup(LifecycleHelper.java:226)
        at
org.apache.avalon.phoenix.components.application.DefaultApplication.s
tartup(DefaultApplication.java:530)
        at
org.apache.avalon.phoenix.components.application.DefaultApplication.d
oRunPhase(DefaultApplication.java:478)
        at
org.apache.avalon.phoenix.components.application.DefaultApplication.r
unPhase(DefaultApplication.java:409)
        at
org.apache.avalon.phoenix.components.application.DefaultApplication.s
tart(DefaultApplication.java:180)
        at
org.apache.avalon.framework.container.ContainerUtil.start(ContainerUt
il.java:260)
        at
org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(Def
aultKernel.java:295)

... many more errors..

I have attached 2 log files.

Any ideas would be great, I can see 'smtpserver' address in use error, but
what with, I have no other mail servers, I don't even have a mail client
set up on the server yet.

Thanks

Gav...
13/04/07 19:01:51 INFO  smtpserver: SMTP Service uses default thread group.
13/04/07 19:01:51 INFO  smtpserver: SMTP Service is running on: defiant
13/04/07 19:01:51 INFO  smtpserver: SMTP Service handler hello name is: defiant
13/04/07 19:01:51 INFO  smtpserver: SMTP Service handler connection timeout is: 
360000
13/04/07 19:01:51 INFO  smtpserver: SMTP Service connection backlog is: 5
13/04/07 19:01:51 INFO  smtpserver: SMTP Service will allow a maximum of 30 
connections.
13/04/07 19:01:51 INFO  smtpserver: This SMTP server does not require 
authentication.
13/04/07 19:01:51 INFO  smtpserver: Authorized addresses: [127.0.0.0/255.0.0.0]
13/04/07 19:01:51 INFO  smtpserver: No maximum message size is enforced for 
this server.
13/04/07 19:01:51 INFO  smtpserver: The idle timeout will be reset every 20480 
bytes.
13/04/07 19:01:51 INFO  smtpserver: Added Commandhandler: 
org.apache.james.smtpserver.VrfyCmdHandler
13/04/07 19:01:51 INFO  smtpserver: Added Commandhandler: 
org.apache.james.smtpserver.AuthCmdHandler
13/04/07 19:01:51 INFO  smtpserver: Added Commandhandler: 
org.apache.james.smtpserver.QuitCmdHandler
13/04/07 19:01:51 INFO  smtpserver: Added Commandhandler: 
org.apache.james.smtpserver.HelpCmdHandler
13/04/07 19:01:51 INFO  smtpserver: Added Commandhandler: 
org.apache.james.smtpserver.HeloCmdHandler
13/04/07 19:01:51 INFO  smtpserver: Added Commandhandler: 
org.apache.james.smtpserver.MailCmdHandler
13/04/07 19:01:51 INFO  smtpserver: Added Commandhandler: 
org.apache.james.smtpserver.DataCmdHandler
13/04/07 19:01:51 INFO  smtpserver: Added Commandhandler: 
org.apache.james.smtpserver.RcptCmdHandler
13/04/07 19:01:51 INFO  smtpserver: Added Commandhandler: 
org.apache.james.smtpserver.EhloCmdHandler
13/04/07 19:01:51 INFO  smtpserver: Added MessageHandler: 
org.apache.james.smtpserver.SendMailHandler
13/04/07 19:01:51 INFO  smtpserver: Added Commandhandler: 
org.apache.james.smtpserver.NoopCmdHandler
13/04/07 19:01:51 INFO  smtpserver: Added Commandhandler: 
org.apache.james.smtpserver.ExpnCmdHandler
13/04/07 19:01:51 INFO  smtpserver: Added Commandhandler: 
org.apache.james.smtpserver.RsetCmdHandler
INFO    2007-04-13 19:01:46.421 [Phoenix ] (): Logger started
WARN    2007-04-13 19:01:46.468 [Phoenix ] (): Phoenix was not started by the 
daemon thus it will not be possible to restart the JVM via the Management 
interface.
INFO    2007-04-13 19:01:46.984 [Phoenix.] (): Installing Sar located at 
file:/C:/Program Files/james/apps/james.sar.
WARN    2007-04-13 19:01:47.421 [Phoenix.] (): The file conf/sqlResources.xml 
can not be extracted from the Sar "file:/C:/Program Files/james/apps/james.sar" 
into directory C:\Program Files\james\apps\james\conf\sqlResources.xml because 
there is a file in the way.
WARN    2007-04-13 19:01:47.421 [Phoenix.] (): The file 
conf/james-fetchmail.xml can not be extracted from the Sar "file:/C:/Program 
Files/james/apps/james.sar" into directory C:\Program 
Files\james\apps\james\conf\james-fetchmail.xml because there is a file in the 
way.
WARN    2007-04-13 19:01:47.421 [Phoenix.] (): The file 
conf/james-smtphandlerchain.xml can not be extracted from the Sar 
"file:/C:/Program Files/james/apps/james.sar" into directory C:\Program 
Files\james\apps\james\conf\james-smtphandlerchain.xml because there is a file 
in the way.
WARN    2007-04-13 19:01:47.421 [Phoenix.] (): The file conf/miResources.xml 
can not be extracted from the Sar "file:/C:/Program Files/james/apps/james.sar" 
into directory C:\Program Files\james\apps\james\conf\miResources.xml because 
there is a file in the way.
WARN    2007-04-13 19:01:47.421 [Phoenix.] (): The file 
conf/james-listmanager.xml can not be extracted from the Sar "file:/C:/Program 
Files/james/apps/james.sar" into directory C:\Program 
Files\james\apps\james\conf\james-listmanager.xml because there is a file in 
the way.
WARN    2007-04-13 19:01:47.421 [Phoenix.] (): The file 
conf/james-liststores.xml can not be extracted from the Sar "file:/C:/Program 
Files/james/apps/james.sar" into directory C:\Program 
Files\james\apps\james\conf\james-liststores.xml because there is a file in the 
way.
WARN    2007-04-13 19:01:47.437 [Phoenix.] (): The file 
conf/samples/fetchmail/oneAccountManyUsersDynamic.xml can not be extracted from 
the Sar "file:/C:/Program Files/james/apps/james.sar" into directory C:\Program 
Files\james\apps\james\conf\samples\fetchmail\oneAccountManyUsersDynamic.xml 
because there is a file in the way.
WARN    2007-04-13 19:01:47.437 [Phoenix.] (): The file 
conf/samples/fetchmail/oneAccountPerUserDynamic.xml can not be extracted from 
the Sar "file:/C:/Program Files/james/apps/james.sar" into directory C:\Program 
Files\james\apps\james\conf\samples\fetchmail\oneAccountPerUserDynamic.xml 
because there is a file in the way.
WARN    2007-04-13 19:01:47.437 [Phoenix.] (): The file 
conf/samples/fetchmail/remoteReceivedHeader.xml can not be extracted from the 
Sar "file:/C:/Program Files/james/apps/james.sar" into directory C:\Program 
Files\james\apps\james\conf\samples\fetchmail\remoteReceivedHeader.xml because 
there is a file in the way.
WARN    2007-04-13 19:01:47.453 [Phoenix.] (): The file 
conf/samples/fetchmail/oneAccountManyUsers.xml can not be extracted from the 
Sar "file:/C:/Program Files/james/apps/james.sar" into directory C:\Program 
Files\james\apps\james\conf\samples\fetchmail\oneAccountManyUsers.xml because 
there is a file in the way.
WARN    2007-04-13 19:01:47.453 [Phoenix.] (): The file 
conf/samples/fetchmail/maxMessageSize.xml can not be extracted from the Sar 
"file:/C:/Program Files/james/apps/james.sar" into directory C:\Program 
Files\james\apps\james\conf\samples\fetchmail\maxMessageSize.xml because there 
is a file in the way.
WARN    2007-04-13 19:01:47.453 [Phoenix.] (): The file 
conf/samples/fetchmail/oneAccountPerUser.xml can not be extracted from the Sar 
"file:/C:/Program Files/james/apps/james.sar" into directory C:\Program 
Files\james\apps\james\conf\samples\fetchmail\oneAccountPerUser.xml because 
there is a file in the way.
WARN    2007-04-13 19:01:47.453 [Phoenix.] (): The file SAR-INF/config.xml can 
not be extracted from the Sar "file:/C:/Program Files/james/apps/james.sar" 
into directory C:\Program Files\james\apps\james\SAR-INF\config.xml because 
there is a file in the way.
WARN    2007-04-13 19:01:47.453 [Phoenix.] (): The file SAR-INF/assembly.xml 
can not be extracted from the Sar "file:/C:/Program Files/james/apps/james.sar" 
into directory C:\Program Files\james\apps\james\SAR-INF\assembly.xml because 
there is a file in the way.
WARN    2007-04-13 19:01:47.453 [Phoenix.] (): The file SAR-INF/environment.xml 
can not be extracted from the Sar "file:/C:/Program Files/james/apps/james.sar" 
into directory C:\Program Files\james\apps\james\SAR-INF\environment.xml 
because there is a file in the way.
INFO    2007-04-13 19:01:48.656 [Phoenix.] (): Verifying that all key-stores 
have valid names.
INFO    2007-04-13 19:01:48.656 [Phoenix.] (): Verify that any keystore names 
used by grant or permission reference actual keystores
INFO    2007-04-13 19:01:48.656 [Phoenix.] (): Verify that if target is null 
then actions is null.
INFO    2007-04-13 19:01:49.609 [Phoenix.] (): Verifying that the name 
specified for Blocks and BlockListeners are valid.
INFO    2007-04-13 19:01:49.625 [Phoenix.] (): Verifying that the names 
specified for Component are valid.
INFO    2007-04-13 19:01:49.625 [Phoenix.] (): Verifying that the names 
specified for the Components are unique.
INFO    2007-04-13 19:01:49.625 [Phoenix.] (): Verifying that the dependency 
mapping is valid according to ComponentInfos.
INFO    2007-04-13 19:01:49.625 [Phoenix.] (): Verifying that the dependency 
mapping for every Component is valid with respect to other components.
INFO    2007-04-13 19:01:49.625 [Phoenix.] (): Verifying that there are no 
circular dependencies between Components.
INFO    2007-04-13 19:01:49.625 [Phoenix.] (): Verifying that the name 
specified for Blocks and BlockListeners are unique.
INFO    2007-04-13 19:01:49.625 [Phoenix.] (): Verifying that the specified 
Blocks have valid types.
INFO    2007-04-13 19:01:49.781 [Phoenix.] (): Verifying that the specified 
BlockListeners have valid types.
INFO    2007-04-13 19:01:50.437 [Phoenix.] (): 20 Blocks to process for phase 
"startup". Order of processing = [dnsserver, database-connections, mailstore, 
users-store, localusersrepository, spoolrepository, sockets, thread-manager, 
scheduler, James, mailetpackages, matcherpackages, spoolmanager, connections, 
remotemanager, pop3server, smtpserver, nntp-repository, nntpserver, fetchmail].
ERROR   2007-04-13 19:01:51.906 [Phoenix.] (): Component named "smtpserver" 
failed to pass through the Starting stage. (Reason: java.net.BindException: 
Address already in use: JVM_Bind).
ERROR   2007-04-13 19:01:51.906 [Phoenix.] (): There was an error running phase 
"startup" for Block named "smtpserver". (Reason: Component named "smtpserver" 
failed to pass through the Starting stage. (Reason: java.net.BindException: 
Address already in use: JVM_Bind).).
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException: Component 
named "smtpserver" failed to pass through the Starting stage. (Reason: 
java.net.BindException: Address already in use: JVM_Bind).
        at 
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHelper.java:354)
        at 
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:226)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:478)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase(DefaultApplication.java:409)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:180)
        at 
org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:260)
rethrown from
java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
        at java.net.ServerSocket.bind(ServerSocket.java:319)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at 
org.apache.avalon.cornerstone.blocks.sockets.DefaultServerSocketFactory.createServerSocket(DefaultServerSocketFactory.java:74)
        at 
org.apache.james.core.AbstractJamesService.initialize(AbstractJamesService.java:335)
        at 
org.apache.james.smtpserver.SMTPServer.initialize(SMTPServer.java:254)
INFO    2007-04-13 19:01:51.921 [Phoenix.] (): exception while 
starting:Component named "smtpserver" failed to pass through the Starting 
stage. (Reason: java.net.BindException: Address already in use: JVM_Bind).

WARN    2007-04-13 19:07:32.000 [Phoenix.] (): Failed to start application 
james.
org.apache.avalon.framework.CascadingException: Failed to start application 
james.
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKernel.java:313)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(DefaultKernel.java:376)
        at 
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:357)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:542)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:535)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(DefaultEmbeddor.java:520)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultApplications(DefaultEmbeddor.java:509)
rethrown from
org.apache.avalon.phoenix.interfaces.ApplicationException: Component named 
"smtpserver" failed to pass through the Starting stage. (Reason: 
java.net.BindException: Address already in use: JVM_Bind).
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:186)
        at 
org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:260)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKernel.java:295)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(DefaultKernel.java:376)
        at 
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:357)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:542)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:535)
rethrown from
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException: Component 
named "smtpserver" failed to pass through the Starting stage. (Reason: 
java.net.BindException: Address already in use: JVM_Bind).
        at 
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHelper.java:354)
        at 
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:226)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:478)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase(DefaultApplication.java:409)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:180)
        at 
org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:260)
rethrown from
java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
        at java.net.ServerSocket.bind(ServerSocket.java:319)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at 
org.apache.avalon.cornerstone.blocks.sockets.DefaultServerSocketFactory.createServerSocket(DefaultServerSocketFactory.java:74)
        at 
org.apache.james.core.AbstractJamesService.initialize(AbstractJamesService.java:335)
        at 
org.apache.james.smtpserver.SMTPServer.initialize(SMTPServer.java:254)
WARN    2007-04-13 19:07:32.093 [Phoenix.] (): Error deleting Work Directory 
"C:\Program Files\james\work\james-1176462106984". (Reason: File C:\Program 
Files\james\work\james-1176462106984\SAR-INF\lib\mailet-api-2.3.jar unable to 
be deleted.)
java.io.IOException: File C:\Program 
Files\james\work\james-1176462106984\SAR-INF\lib\mailet-api-2.3.jar unable to 
be deleted.
        at 
org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:743)
        at 
org.apache.avalon.excalibur.io.FileUtil.cleanDirectory(FileUtil.java:910)
        at 
org.apache.avalon.excalibur.io.FileUtil.deleteDirectory(FileUtil.java:866)
        at 
org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:735)
        at 
org.apache.avalon.excalibur.io.FileUtil.cleanDirectory(FileUtil.java:910)
        at 
org.apache.avalon.excalibur.io.FileUtil.deleteDirectory(FileUtil.java:866)
        at 
org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:735)
WARN    2007-04-13 19:07:42.218 [Phoenix.] (): Failed to stop application james 
as it is not initialized/started.

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

Reply via email to