Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-24-2011, 09:38 PM   #1
Registered: Sep 2011
Posts: 473

Rep: Reputation: Disabled
Centos error files?

Dear All,
I have a java programme which run as a daemon using YAJSW. The problem at sometimes it fails the problem when I look into the its wrapper log file does not give me any hint what is the cause of the failure. Is there any other centos error files where I can refer for further analysis?
Old 09-25-2011, 05:41 PM   #2
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Configuration of logging in java applications is the responsibility of the developer, see if log4j or similar is configured.
Old 09-25-2011, 11:10 PM   #3
Registered: Sep 2011
Posts: 473

Original Poster
Rep: Reputation: Disabled
Dear Kbp,
Actually to just share further my java programme runs as a daemon using a wrapper programming call YAJSW. So for e.g. below is part of my codes.The e.printStackTrace(System.out); normally will be printed in the YAJSW log file. To my suprise this time it went down and no error related to my programme is shown in the log file so there is where I am confuse what cause it to crashed? Thank you.

PHP Code:
Socket socketConn1 serverSocketConn.accept();
Thread(new ConnectionHandler(socketConn1)).start();                        
Exception e)
System.out.println("MyError:Socket Accepting has been caught in main loop."+e.toString());
Originally Posted by kbp View Post
Configuration of logging in java applications is the responsibility of the developer, see if log4j or similar is configured.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS ISO Creation from OS files gvsagar Linux - General 6 05-11-2011 01:14 AM
VMWare VM of CentOS from several CD image files taylorkh Linux - Virtualization and Cloud 2 11-03-2010 03:27 PM
Unable to start apache on CentOS Linux with error Starting httpd: Syntax error on lin pkumar2533 Linux - Newbie 9 08-26-2009 07:48 AM
Error while compiling TrueCrypt on CentOS: error: Can't use --enable-std_string... displacedtexan Linux - Software 1 07-24-2008 02:17 PM
Where are the database files for mysql in Centos 5? Anauj0101 Linux - Server 5 02-23-2008 05:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration