james-server-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maomaode <maoma...@gmail.com>
Subject Re: James Server exists abnormally and can not startup
Date Mon, 02 Jul 2007 01:42:12 GMT
Hi Stefano,

Thanks for you reply, i did what you said, the following is the 
stacktrace i got
Do you need the log files, tell me which log file you need to diagnose 
the problem.


Thanks a lot


Using JAVA_HOME:      /data1/java/jdk1.5.0_10
Running Phoenix:

Phoenix 4.2

Full thread dump Java HotSpot(TM) 64-Bit Server VM (1.5.0_10-b03 mixed 
mode):

"Thread-0" daemon prio=1 tid=0x00002aaab00a9790 nid=0x389f waiting on 
condition [0x0000000040d5c000..0x0000000040d5cc00]
        at java.lang.Thread.sleep(Native Method)
        at 
org.apache.avalon.excalibur.monitor.impl.ActiveMonitor.run(ActiveMonitor.java:101)
        at java.lang.Thread.run(Thread.java:595)

"Low Memory Detector" daemon prio=1 tid=0x00002aaaaab825f0 nid=0x389d 
runnable [0x0000000000000000..0x0000000000000000]

"CompilerThread1" daemon prio=1 tid=0x00002aaaaab809c0 nid=0x389c 
waiting on condition [0x0000000000000000..0x0000000040a58360]

"CompilerThread0" daemon prio=1 tid=0x00002aaaaab7f410 nid=0x389b 
waiting on condition [0x0000000000000000..0x0000000040957690]

"AdapterThread" daemon prio=1 tid=0x00002aaaaab7dcb0 nid=0x389a waiting 
on condition [0x0000000000000000..0x0000000000000000]

"Signal Dispatcher" daemon prio=1 tid=0x00002aaaaab7ca30 nid=0x3899 
waiting on condition [0x0000000000000000..0x0000000000000000]

"Finalizer" daemon prio=1 tid=0x00002aaaaab65480 nid=0x3898 in 
Object.wait() [0x0000000040655000..0x0000000040655c80]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002ba95bc85eb0> (a 
java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x00002ba95bc85eb0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=1 tid=0x00002aaaaab64c50 nid=0x3897 in 
Object.wait() [0x0000000040554000..0x0000000040554c00]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002ba95bc8f2c8> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:474)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
        - locked <0x00002ba95bc8f2c8> (a java.lang.ref.Reference$Lock)

"main" prio=1 tid=0x0000000040116030 nid=0x388f runnable 
[0x00007fff5c98c000..0x00007fff5c98e4c0]
        at java.io.UnixFileSystem.list(Native Method)
        at java.io.File.list(File.java:937)
        at java.io.File.listFiles(File.java:1015)
        at 
org.apache.avalon.phoenix.components.classloader.DefaultLoaderResolver.scanDir(DefaultLoaderResolver.java:151)
        at 
org.apache.avalon.phoenix.components.classloader.DefaultLoaderResolver.scanDir(DefaultLoaderResolver.java:170)
        at 
org.apache.avalon.phoenix.components.classloader.DefaultLoaderResolver.scanDir(DefaultLoaderResolver.java:170)
        at 
org.apache.avalon.phoenix.components.classloader.DefaultLoaderResolver.scanDir(DefaultLoaderResolver.java:170)
        at 
org.apache.avalon.phoenix.components.classloader.DefaultLoaderResolver.resolveFileSet(DefaultLoaderResolver.java:130)
        at 
org.apache.avalon.phoenix.components.classloader.SarLoaderResolver.resolveFileSet(SarLoaderResolver.java:169)
        at 
org.realityforge.classman.builder.LoaderBuilder.buildRegularClassLoader(LoaderBuilder.java:210)
        at 
org.realityforge.classman.builder.LoaderBuilder.processClassLoader(LoaderBuilder.java:126)
        at 
org.realityforge.classman.builder.LoaderBuilder.addAllClassLoaders(LoaderBuilder.java:71)
        at 
org.realityforge.classman.builder.LoaderBuilder.buildClassLoaders(LoaderBuilder.java:48)
        at 
org.apache.avalon.phoenix.components.classloader.DefaultClassLoaderManager.createClassLoaderSet(DefaultClassLoaderManager.java:233)
        at 
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:331)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:542)
        - locked <0x00002ba95bc92f48> (a 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor)
        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)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(DefaultEmbeddor.java:268)
        at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:198)
        at 
org.apache.avalon.phoenix.frontends.CLIMain.execute(CLIMain.java:184)
        at 
org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:145)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:135)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:84)

"VM Thread" prio=1 tid=0x00002aaaaab60760 nid=0x3896 runnable

"GC task thread#0 (ParallelGC)" prio=1 tid=0x0000000040132ab0 nid=0x3894 
runnable

"GC task thread#1 (ParallelGC)" prio=1 tid=0x0000000040133930 nid=0x3895 
runnable

"VM Periodic Task Thread" prio=1 tid=0x00002aaaaab84240 nid=0x389e 
waiting on condition



Stefano Bagnara wrote:
> Probably it is not "forever", but a long time needed to do something.
>
> Try running it without the nohup and run a "KILL -3 <pid>" to the james
> pid. It will dump the stack trace to console: we need that stack trace.
>
> Maybe you want to do 2 or 3 dumps in the first seconds/minutes after
> running the application so that we can see what JAMES Server is doing.
>
> Stefano
>
> maomaode ha scritto:
>   
>> Hi,
>>
>> I got a really abnormal case, the James server is OK this morning, but
>> this afternoon, it seems existed abnormally, and i found it can not be
>> started anymore.
>>
>> The output looks like this:
>>
>> =======================================================
>> Using PHOENIX_HOME:   /data2/softwares/james-2.3.1
>> Using PHOENIX_TMPDIR: /data2/softwares/james-2.3.1/temp
>> Using JAVA_HOME:      /data1/java/jdk1.5.0_10
>> Running Phoenix:
>>
>> Phoenix 4.2
>> =======================================================
>>
>>
>> Previously i can see it list all the started port, but seems now it hang
>> there forever.
>>
>> I used the following command to launch the james server
>>
>>     
>>> nohup ./run.sh &
>>>       
>> And the platform is Suse linux, the i used the Java5
>>
>> Can anyone help me out?
>>
>>
>> Thanks in advance
>> mao
>>
>> ---------------------------------------------------------------------
>> 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
>
>
>   

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


Mime
View raw message