Results 1 to 2 of 2
- 03-08-2010, 08:24 AM #1
Member
- Join Date
- Oct 2009
- Posts
- 31
- Rep Power
- 0
two log statements record for a single action, is it something with threads
I am creating an application to bind to an SMPP and I have enabled logging such with both FileHandler and ConsoleHandler, At the console, a log record appears twice as if their are two threads executing the same classes concurrently, i have pasted the a section of the log output below, please help:
Mar 8, 2010 10:52:14 AM estudentServer.EstudentServer initialiseProperties
WARNING: NumberFromatException on , using 2775 as the smsc
Mar 8, 2010 10:52:15 AM estudentServer.EstudentServer run
INFO: Attempting to bind to host at 127.0.0.1 on port 2775 ...
Mar 8, 2010 10:52:15 AM estudentServer.EstudentServer run
INFO: Attempting to bind to host at 127.0.0.1 on port 2775 ...
Mar 8, 2010 10:52:15 AM estudentServer.EstudentServer run
INFO: failed!
Mar 8, 2010 10:52:15 AM estudentServer.EstudentServer run
INFO: failed!
Mar 8, 2010 10:52:15 AM estudentServer.EstudentServer run
INFO: Attempting to Close the SMPP session...
Mar 8, 2010 10:52:15 AM estudentServer.EstudentServer run
INFO: Attempting to Close the SMPP session...
Mar 8, 2010 10:52:15 AM estudentServer.EstudentServer run
INFO: Session closed :exiting with exit status (88) : Connection refused ...
Mar 8, 2010 10:52:15 AM estudentServer.EstudentServer run
INFO: Session closed :exiting with exit status (88) : Connection refused ...
nmvictor@nmvictors-linuxbox:~$
- 03-08-2010, 09:11 AM #2
Similar Threads
-
Record Button
By nicezam in forum NetBeansReplies: 3Last Post: 04-27-2009, 03:53 AM -
pointing to 1st record in a file
By swati.jyoti in forum New To JavaReplies: 1Last Post: 04-25-2009, 08:38 AM -
how to delete record from db using jsp
By Manas Das in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 01-31-2009, 07:36 PM -
Can't record sound
By bozovilla in forum Java AppletsReplies: 12Last Post: 08-04-2008, 03:57 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks