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 "nurularesya ;p" <nu...@yahoo.com> on 2006/01/27 04:51:42 UTC

JVM exiting abnormally...help

after downloading svn trunk and setting classpath mail.jar and activation.jar...then i run file 'build.bat' build is succesfully...then i move to ..\dist\james-2.3-dev\bin and run file 'run.bat'...run is successfully but when i shutdown using 'ctrl C'..error come out...do james have done successfully finish or the james can't stop the server?can anyone explain to me..
   
  here i attach the error
   
  ----------------------attached error-----------------------------
   
  C:\JamesTrunk>cd C:\JamesTrunk\dist\james-2.3-dev\bin
  C:\JamesTrunk\dist\james-2.3-dev\bin>run.bat
Using PHOENIX_HOME:   C:\JamesTrunk\dist\james-2.3-dev
Using PHOENIX_TMPDIR: C:\JamesTrunk\dist\james-2.3-dev\temp
Using JAVA_HOME:      C:\j2sdk1.4.2_10
  Phoenix 4.2
  James Mail Server 2.3-dev
Remote Manager Service started plain:4555
POP3 Service started plain:110
SMTP Service started plain:25
NNTP Service started plain:119
FetchMail Disabled
JVM exiting abnormally. Shutting down Phoenix.
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException: Component n
amed "thread-manager" failed to pass through the Destruction stage. (Reason: jav
a.lang.IllegalThreadStateException).
        at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.fail
(LifecycleHelper.java:354)
        at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.shut
down(LifecycleHelper.java:288)
        at org.apache.avalon.phoenix.components.application.DefaultApplication.s
hutdown(DefaultApplication.java:566)
        at org.apache.avalon.phoenix.components.application.DefaultApplication.d
oRunPhase(DefaultApplication.java:482)
        at org.apache.avalon.phoenix.components.application.DefaultApplication.r
unPhase(DefaultApplication.java:409)
        at org.apache.avalon.phoenix.components.application.DefaultApplication.s
top(DefaultApplication.java:233)
        at org.apache.avalon.framework.container.ContainerUtil.stop(ContainerUti
l.java:292)
        at org.apache.avalon.framework.container.ContainerUtil.shutdown(Containe
rUtil.java:66)
        at org.apache.avalon.phoenix.components.kernel.DefaultKernel.shutdown(De
faultKernel.java:346)
        at org.apache.avalon.phoenix.components.kernel.DefaultKernel.removeAppli
cation(DefaultKernel.java:455)
        at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.undeplo
y(DefaultDeployer.java:244)
        at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.dispose
(DefaultDeployer.java:154)
        at org.apache.avalon.framework.container.ContainerUtil.dispose(Container
Util.java:306)
        at org.apache.avalon.framework.container.ContainerUtil.shutdown(Containe
rUtil.java:67)
        at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.shutdow
nComponents(DefaultEmbeddor.java:598)
        at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.dispose
(DefaultEmbeddor.java:342)
        at org.apache.avalon.framework.container.ContainerUtil.dispose(Container
Util.java:306)
        at org.apache.avalon.framework.container.ContainerUtil.shutdown(Containe
rUtil.java:67)
        at org.apache.avalon.phoenix.frontends.CLIMain.shutdown(CLIMain.java:326
)
        at org.apache.avalon.phoenix.frontends.CLIMain.forceShutdown(CLIMain.jav
a:295)
        at org.apache.avalon.phoenix.frontends.ShutdownHook.run(CLIMain.java:386
)
Caused by: java.lang.IllegalThreadStateException
        at java.lang.ThreadGroup.destroy(ThreadGroup.java:711)
        at org.apache.avalon.excalibur.thread.impl.DefaultThreadPool.dispose(Def
aultThreadPool.java:76)
        at org.apache.avalon.framework.container.ContainerUtil.dispose(Container
Util.java:306)
        at org.apache.avalon.cornerstone.blocks.threads.AbstractThreadManager.di
spose(AbstractThreadManager.java:69)
        at org.apache.avalon.framework.container.ContainerUtil.dispose(Container
Util.java:306)
        at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.shut
down(LifecycleHelper.java:274)
        ... 19 more
Terminate batch job (Y/N)? y
  C:\JamesTrunk\dist\james-2.3-dev\bin>

  --------------------------end of error------------------------
  
can anyone help me on this... 
   
  thanks,
  nurularesya

		
---------------------------------
Do you Yahoo!?
 With a free 1 GB, there's more in store with Yahoo! Mail.

Re: JVM exiting abnormally...help

Posted by Stefano Bagnara <ap...@bago.org>.
nurularesya ;p wrote:
> after downloading svn trunk and setting classpath mail.jar and activation.jar...then i run file 'build.bat' build is succesfully...then i move to ..\dist\james-2.3-dev\bin and run file 'run.bat'...run is successfully but when i shutdown using 'ctrl C'..error come out...do james have done successfully finish or the james can't stop the server?can anyone explain to me..
>    
>   here i attach the error

The best way to stop James is to telnet to port 4555, authenticate and 
run the "shutdown" command.

BTW, the error you get should be safe.

Stefano

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