I would consider using screen or daemontools. With daemontools james will get started automaticly if it dies:
http://cr.yp.to/daemontools.html With screen you can open a new "screen" and run it in foreground in it. I use daemontools. bye Am Mittwoch, den 19.04.2006, 10:41 -0500 schrieb philguillard: > Thanks, > This is what i was thinking at first time, but since i deleted all the > cron jobs and nothing appeared on /var/log/*.log i'm blocked. > I forgot to mention that i launch james like this (.run.sh &), this is > maybe not the best way.. > > Regards, > > Phil > > > Stefano Bagnara wrote: > > If James does not logs exception then the problem is probably in the > > system. > > > > Check your system logs (/var/log/messages and other files depending on > > your OS). > > > > Are you on a VPS with limited/controlled resources? If the OS try to > > kill one of the java processes (threads) it may close that way. > > > > Once I had a VPS that was killing any "non registered" TCP listening > > process once an hour. > > > > Stefano > > > > philguillard wrote: > > > >> Hi, > >> > >> I come back on the same subject, hope somebody can help! > >> > >> James runs for a while (1-2 hours) then shuts down. I thought the > >> cause came from some cron job but it seems not. > >> > >> My conf in short: > >> - I have smtpserver, pop3server > >> - repository form mails in files > >> - repository for users in DB mysql > >> 2 mailets (1 of them is checking data_source in mysql database to > >> check members, replacing subjetc, from and destination fields) > >> - James is shutdown with low or even no activity after 1 or 2 hours > >> - The logs i get below > >> - (just in case see config.xml in attachment) > >> > >> This is the few lines i get with a tail -f on /var/logs/, > >> james-2.2.0/logs/ and james-2.2.0/apps/james/logs/ running from after > >> start to the shutdown : > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > !EXCUBATOR:2,44465b6144181244018481! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
