geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Hogstrom <m...@hogstrom.org>
Subject Re: how to keep the server process alive on Fedora Linux
Date Fri, 20 Jan 2006 03:10:06 GMT
you could check /var/logs and look in the messages to see if something was 
logged at the same time.  Other than that others probably have better ideas.


Qingtian Wang wrote:
> OK, this time it lived more than one day (more than two days). I found
> it dead this morning, and "ps" command shows nothing. The process is
> gone.
> 
> Looking in geronimo.out and geronimo.log doesn't give much a clue. Is
> there any other log I could check? I am not real versed with Linux; is
> there some sys log that would show when and how the process got
> killed?
> 
> Thanks!
> Qingtian
> 
> 
> 
> 
> 
> On 1/16/06, Paul McMahan <paulmcmahan@gmail.com> wrote:
> 
>>Intriguing problem..  Could the Geronimo process still be running but is
>>just inaccessible?  You can check by waiting until the server has seemingly
>>terminated and then type :
>>
>> ps -ef | grep geronimo
>>
>> If you see something like :
>>
>> username  4589     1 11 13:41 pts/2    00:00:39
>>/usr/java/j2sdk1.4.2_10/bin/java -Djava.endorsed.dirs=
>>-Dorg.apache.geronimo.base.dir [remainder truncated by me]
>>
>> then geronimo may have become inaccessible due to, perhaps, an IP address
>>change (thanks to Leigh Williamson for this suggestion).
>>
>> As a test of this theory I changed the IP address on my redhat linux system
>>and was still able to access the admin console. But command line utilities
>>such as shutdown.sh and deploy.sh no longer worked:
>>
>> [pmcmahan@frylock geronimo-1.0]$ bin/deploy.sh list-modules
>>     Error: Unable to connect to server at deployer:geronimo:jmx --
>>     javax.naming.NameNotFoundException: JMXConnector
>>
>>
>> Best wishes,
>> Paul
>>
>>
>>On 1/16/06, Qingtian Wang <qingtian.wang@gmail.com > wrote:
>>
>>>Hi,
>>>
>>>I am running on Fedora as a normal user. Once started, the server runs
>>>fine until the next day, it is stopped with no clear warning in the
>>>geronomo.out log file. How can I keep the server alive all the time.
>>>Do I have to be a root user when starting the server?
>>>
>>>Thanks!
>>>Qingtian
>>>
>>
>>
> 
> 
> 

Mime
View raw message