×

Loading...

To Fly_Eagle

本文发表在 rolia.net 枫下论坛Fly_eagle, you are too humble. No sorry to say unless you have stepped on my toes. :-)

Yes, I know you have figured the problem
in my old code. The complexities come about as the code become lengthier. This is
why I always explain the basic prinicple by cooking up some small examples.

Understanding error messages is very very important. Just give you an example.
One of my colleagues told me his Weblogic
Server is wrong because he could not start it up. He has no habit to read server logs...
I asked to restart server again and show me the servlog. I found it is a java,net.BindException. Then, I told him
he probably has already started WebLogic server. He said no. But I found from his taskbar a MS-DOS containing weblogic logs
This is a server instance he started one day ago.... Here there is no coding. The important thing is that one needs to understand BindException. (Port no 7001 has been occupied by the old instance so my colleague could not start up a new one.)


Many C++ programmers think Java is a piece of cake. This is not true. Java syntax is similar to C++ one but it is not the whole story. We need to accumulate experiences in debugging. trouble-shooting....更多精彩文章及讨论,请光临枫下论坛 rolia.net
Sign in and Reply Report

Replies, comments and Discussions: