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 daccman <du...@hotmail.com> on 2003/07/08 02:21:09 UTC

can any one help me with setting up james

i am a new user to the list i have downloaded james 2.1.3 and have tried to install it have have the newest jre as well 1.4 i think and my machine is windows nt server sp 6a can you please help me to understand what is is i am doing wrong with this install. James tries to run but crashes. at the end. here is the log file i hope this helps. 

INFO 2003-07-07 08:24:06.611 [Phoenix ] (): Logger started

WARN 2003-07-07 08:24:09.886 [Phoenix ] (): Phoenix was not started by the daemon thus it will not be possible to restart the JVM via the Management interface.

INFO 2003-07-07 08:24:12.219 [Phoenix.] (): Installing Sar located at file:/C:/htm/james-2.1.3/apps/james.sar.

INFO 2003-07-07 08:24:17.697 [Phoenix.] (): No policy specified in server.xml, giving full permissions to ServerApplication.

INFO 2003-07-07 08:24:23.416 [Phoenix.] (): Verifying that the name specified for Blocks and BlockListeners are valid.

INFO 2003-07-07 08:24:23.436 [Phoenix.] (): Verifying that the name specified for Blocks and BlockListeners are unique.

INFO 2003-07-07 08:24:23.446 [Phoenix.] (): Verifying that the specified Dependencies are valid according to BlockInfo.

INFO 2003-07-07 08:24:23.446 [Phoenix.] (): Verifying that the dependencies of Blocks are valid with respect to other Blocks.

INFO 2003-07-07 08:24:23.456 [Phoenix.] (): Verifying that there are no circular dependencies between Blocks.

INFO 2003-07-07 08:24:23.486 [Phoenix.] (): Verifying that the specified Blocks have valid types.

INFO 2003-07-07 08:24:25.218 [Phoenix.] (): Verifying that the specified BlockListeners have valid types.

INFO 2003-07-07 08:24:27.161 [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-07-07 08:24:44.276 [Phoenix.] (): Component named "pop3server" failed to pass through the Initialization stage. (Reason: java.net.BindException: Address already in use: JVM_Bind).

ERROR 2003-07-07 08:24:44.286 [Phoenix.] (): There was an error running phase "startup" for Block named "pop3server". (Reason: Component named "pop3server" failed to pass through the Initialization stage. (Reason: java.net.BindException: Address already in use: JVM_Bind).).

org.apache.excalibur.containerkit.lifecycle.LifecycleException: Component named "pop3server" failed to pass through the Initialization stage. (Reason: java.net.BindException: Address already in use: JVM_Bind).

at org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHelper.java:289)

at org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:159)

at org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:480)

at org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:428)

at org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase(DefaultApplication.java:364)

at org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:138)

at org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:251)

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:331)

at java.net.ServerSocket.bind(ServerSocket.java:318)

at java.net.ServerSocket.<init>(ServerSocket.java:185)

at org.apache.avalon.cornerstone.blocks.sockets.DefaultServerSocketFactory.createServerSocket(DefaultServerSocketFactory.java:65)

at org.apache.james.core.AbstractJamesService.initialize(AbstractJamesService.java:347)

at org.apache.james.pop3server.POP3Server.initialize(POP3Server.java:171)

INFO 2003-07-07 08:24:44.466 [Phoenix.] (): exception while starting:Component named "pop3server" failed to pass through the Initialization stage. (Reason: java.net.BindException: Address already in use: JVM_Bind).

WARN 2003-07-07 08:26:40.543 [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:195)

at org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(DefaultKernel.java:254)

at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:353)

at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:498)

at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:491)

at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(DefaultEmbeddor.java:476)

at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultApplications(DefaultEmbeddor.java:466)

rethrown from

org.apache.avalon.phoenix.interfaces.ApplicationException: Component named "pop3server" failed to pass through the Initialization stage. (Reason: java.net.BindException: Address already in use: JVM_Bind).

at org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:144)

at org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:251)

at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKernel.java:178)

at org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(DefaultKernel.java:254)

at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:353)

at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:498)

at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:491)

rethrown from

org.apache.excalibur.containerkit.lifecycle.LifecycleException: Component named "pop3server" failed to pass through the Initialization stage. (Reason: java.net.BindException: Address already in use: JVM_Bind).

at org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHelper.java:289)

at org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:159)

at org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:480)

at org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:428)

at org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase(DefaultApplication.java:364)

at org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:138)

at org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:251)

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:331)

at java.net.ServerSocket.bind(ServerSocket.java:318)

at java.net.ServerSocket.<init>(ServerSocket.java:185)

at org.apache.avalon.cornerstone.blocks.sockets.DefaultServerSocketFactory.createServerSocket(DefaultServerSocketFactory.java:65)

at org.apache.james.core.AbstractJamesService.initialize(AbstractJamesService.java:347)

at org.apache.james.pop3server.POP3Server.initialize(POP3Server.java:171)

WARN 2003-07-07 08:26:40.983 [Phoenix.] (): Error deleting Work Directory "C:\htm\james-2.1.3\work\james-1057580652300". (Reason: File C:\htm\james-2.1.3\work\james-1057580652300\SAR-INF\lib\mm.mysql-2.0.14.jar unable to be deleted.)

java.io.IOException: File C:\htm\james-2.1.3\work\james-1057580652300\SAR-INF\lib\mm.mysql-2.0.14.jar unable to be deleted.

at org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:638)

at org.apache.avalon.excalibur.io.FileUtil.cleanDirectory(FileUtil.java:806)

at org.apache.avalon.excalibur.io.FileUtil.deleteDirectory(FileUtil.java:762)

at org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:630)

at org.apache.avalon.excalibur.io.FileUtil.cleanDirectory(FileUtil.java:806)

at org.apache.avalon.excalibur.io.FileUtil.deleteDirectory(FileUtil.java:762)

at org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:630)

WARN 2003-07-07 08:28:30.831 [Phoenix.] (): Failed to stop application james as it is not initialized/started.

i am very sorry to make this so long but i have looked for other help other places with no luck. if you can help me it would be appreciated. thank you so much for your time. 

Sincerely 

ken foster







Re: can any one help me with setting up james

Posted by daccman <du...@hotmail.com>.
thank you Serge for your response, i have a winnt server just installed, i
have port scanned my system and have not found any program using that port.
I am confused as to how james can say that when no ports are being used.

If anyone has configured James on an nt machine please let me know.It might
be helpful in me setting up mine. thanks for all your help.
Ken Foster
----- Original Message ----- 
From: "Serge Knystautas" <se...@lokitech.com>
To: "James Users List" <se...@james.apache.org>
Sent: Monday, July 07, 2003 8:31 PM
Subject: Re: can any one help me with setting up james


> daccman wrote:
> > org.apache.excalibur.containerkit.lifecycle.LifecycleException:
Component named "pop3server" failed to pass through the Initialization
stage. (Reason: java.net.BindException: Address already in use: JVM_Bind).
>
> This is the key line (buried deep within the output).  You already have
> another POP3 server running on this machine that's bound on port 110, so
> James can't start.
>
>
> -- 
> Serge Knystautas
> President
> Lokitech >> software . strategy . design >> http://www.lokitech.com/
> p. 1.301.656.5501
> e. sergek@lokitech.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: can any one help me with setting up james

Posted by Serge Knystautas <se...@lokitech.com>.
daccman wrote:
> org.apache.excalibur.containerkit.lifecycle.LifecycleException: Component named "pop3server" failed to pass through the Initialization stage. (Reason: java.net.BindException: Address already in use: JVM_Bind).

This is the key line (buried deep within the output).  You already have 
another POP3 server running on this machine that's bound on port 110, so 
James can't start.


-- 
Serge Knystautas
President
Lokitech >> software . strategy . design >> http://www.lokitech.com/
p. 1.301.656.5501
e. sergek@lokitech.com



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: can any one help me with setting up james

Posted by Hut <hu...@sbcglobal.net>.
Hi,

Try first downloading the SDK first.  I noticed that you get a lot of
"already in use" errors.  I have seen this in Linux and it caused by
permissions for the user that you are installing under.  I would make sure
that the user that you are using has full read write privs.

I hope that helped.


----- Original Message -----
From: "daccman" <du...@hotmail.com>
To: <se...@james.apache.org>
Sent: Monday, July 07, 2003 7:21 PM
Subject: can any one help me with setting up james


i am a new user to the list i have downloaded james 2.1.3 and have tried to
install it have have the newest jre as well 1.4 i think and my machine is
windows nt server sp 6a can you please help me to understand what is is i am
doing wrong with this install. James tries to run but crashes. at the end.
here is the log file i hope this helps.

INFO 2003-07-07 08:24:06.611 [Phoenix ] (): Logger started

WARN 2003-07-07 08:24:09.886 [Phoenix ] (): Phoenix was not started by the
daemon thus it will not be possible to restart the JVM via the Management
interface.

INFO 2003-07-07 08:24:12.219 [Phoenix.] (): Installing Sar located at
file:/C:/htm/james-2.1.3/apps/james.sar.

INFO 2003-07-07 08:24:17.697 [Phoenix.] (): No policy specified in
server.xml, giving full permissions to ServerApplication.

INFO 2003-07-07 08:24:23.416 [Phoenix.] (): Verifying that the name
specified for Blocks and BlockListeners are valid.

INFO 2003-07-07 08:24:23.436 [Phoenix.] (): Verifying that the name
specified for Blocks and BlockListeners are unique.

INFO 2003-07-07 08:24:23.446 [Phoenix.] (): Verifying that the specified
Dependencies are valid according to BlockInfo.

INFO 2003-07-07 08:24:23.446 [Phoenix.] (): Verifying that the dependencies
of Blocks are valid with respect to other Blocks.

INFO 2003-07-07 08:24:23.456 [Phoenix.] (): Verifying that there are no
circular dependencies between Blocks.

INFO 2003-07-07 08:24:23.486 [Phoenix.] (): Verifying that the specified
Blocks have valid types.

INFO 2003-07-07 08:24:25.218 [Phoenix.] (): Verifying that the specified
BlockListeners have valid types.

INFO 2003-07-07 08:24:27.161 [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-07-07 08:24:44.276 [Phoenix.] (): Component named "pop3server"
failed to pass through the Initialization stage. (Reason:
java.net.BindException: Address already in use: JVM_Bind).

ERROR 2003-07-07 08:24:44.286 [Phoenix.] (): There was an error running
phase "startup" for Block named "pop3server". (Reason: Component named
"pop3server" failed to pass through the Initialization stage. (Reason:
java.net.BindException: Address already in use: JVM_Bind).).

org.apache.excalibur.containerkit.lifecycle.LifecycleException: Component
named "pop3server" failed to pass through the Initialization stage. (Reason:
java.net.BindException: Address already in use: JVM_Bind).

at
org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHe
lper.java:289)

at
org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup(Lifecycl
eHelper.java:159)

at
org.apache.avalon.phoenix.components.application.DefaultApplication.startup(
DefaultApplication.java:480)

at
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPha
se(DefaultApplication.java:428)

at
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
(DefaultApplication.java:364)

at
org.apache.avalon.phoenix.components.application.DefaultApplication.start(De
faultApplication.java:138)

at
org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java
:251)

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:331)

at java.net.ServerSocket.bind(ServerSocket.java:318)

at java.net.ServerSocket.<init>(ServerSocket.java:185)

at
org.apache.avalon.cornerstone.blocks.sockets.DefaultServerSocketFactory.crea
teServerSocket(DefaultServerSocketFactory.java:65)

at
org.apache.james.core.AbstractJamesService.initialize(AbstractJamesService.j
ava:347)

at org.apache.james.pop3server.POP3Server.initialize(POP3Server.java:171)

INFO 2003-07-07 08:24:44.466 [Phoenix.] (): exception while
starting:Component named "pop3server" failed to pass through the
Initialization stage. (Reason: java.net.BindException: Address already in
use: JVM_Bind).

WARN 2003-07-07 08:26:40.543 [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(DefaultKer
nel.java:195)

at
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(Def
aultKernel.java:254)

at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(Default
Deployer.java:353)

at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(Def
aultEmbeddor.java:498)

at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(Def
aultEmbeddor.java:491)

at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(De
faultEmbeddor.java:476)

at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultA
pplications(DefaultEmbeddor.java:466)

rethrown from

org.apache.avalon.phoenix.interfaces.ApplicationException: Component named
"pop3server" failed to pass through the Initialization stage. (Reason:
java.net.BindException: Address already in use: JVM_Bind).

at
org.apache.avalon.phoenix.components.application.DefaultApplication.start(De
faultApplication.java:144)

at
org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java
:251)

at
org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKer
nel.java:178)

at
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(Def
aultKernel.java:254)

at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(Default
Deployer.java:353)

at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(Def
aultEmbeddor.java:498)

at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(Def
aultEmbeddor.java:491)

rethrown from

org.apache.excalibur.containerkit.lifecycle.LifecycleException: Component
named "pop3server" failed to pass through the Initialization stage. (Reason:
java.net.BindException: Address already in use: JVM_Bind).

at
org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHe
lper.java:289)

at
org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup(Lifecycl
eHelper.java:159)

at
org.apache.avalon.phoenix.components.application.DefaultApplication.startup(
DefaultApplication.java:480)

at
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPha
se(DefaultApplication.java:428)

at
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
(DefaultApplication.java:364)

at
org.apache.avalon.phoenix.components.application.DefaultApplication.start(De
faultApplication.java:138)

at
org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java
:251)

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:331)

at java.net.ServerSocket.bind(ServerSocket.java:318)

at java.net.ServerSocket.<init>(ServerSocket.java:185)

at
org.apache.avalon.cornerstone.blocks.sockets.DefaultServerSocketFactory.crea
teServerSocket(DefaultServerSocketFactory.java:65)

at
org.apache.james.core.AbstractJamesService.initialize(AbstractJamesService.j
ava:347)

at org.apache.james.pop3server.POP3Server.initialize(POP3Server.java:171)

WARN 2003-07-07 08:26:40.983 [Phoenix.] (): Error deleting Work Directory
"C:\htm\james-2.1.3\work\james-1057580652300". (Reason: File
C:\htm\james-2.1.3\work\james-1057580652300\SAR-INF\lib\mm.mysql-2.0.14.jar
unable to be deleted.)

java.io.IOException: File
C:\htm\james-2.1.3\work\james-1057580652300\SAR-INF\lib\mm.mysql-2.0.14.jar
unable to be deleted.

at org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:638)

at org.apache.avalon.excalibur.io.FileUtil.cleanDirectory(FileUtil.java:806)

at
org.apache.avalon.excalibur.io.FileUtil.deleteDirectory(FileUtil.java:762)

at org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:630)

at org.apache.avalon.excalibur.io.FileUtil.cleanDirectory(FileUtil.java:806)

at
org.apache.avalon.excalibur.io.FileUtil.deleteDirectory(FileUtil.java:762)

at org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:630)

WARN 2003-07-07 08:28:30.831 [Phoenix.] (): Failed to stop application james
as it is not initialized/started.

i am very sorry to make this so long but i have looked for other help other
places with no luck. if you can help me it would be appreciated. thank you
so much for your time.

Sincerely

ken foster








---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org