Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

Kedar Nath

Ranch Hand
+ Follow
since Sep 02, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kedar Nath

Hi,
I have a socket server which has to be running always.
It accepts connections from various clients and creates a thread for each connection to process the data nad save to database.
In each thread created for a connection, the data is read from a buffered input stream and processed.
The program runs well for half a day. There are 2 scenarios observed after some runs.

1) But due to some reason, the server stops listening to requests and there are no data updates in database.
At this point, if i try to simulate a client, the client gets connection refused exception.
On server machine, the server process is still running and processing data for a different client (lets name this as STILLRUNNING_CLIENT).
No new clients are able to connect and once STILLRUNNING_CLIENT disconnects due to network issue, it will also not be able to connect.

2) Server stops running and the process list on the machine does not show socket server process as running.

Please suggest what could be the reasons causing these crashes.
hey thanks for that sample.
11 years ago
HI iam new to testing field. I have to create a testing REPORT. But i actually dont know how the report should look or the format should look??
Can anyone guide me to the how to do that . I searched net but not successful.Or can anyone provide me a sample report??
11 years ago
@ teja hyd

What james said is right. There is a constructor in both Float and Integer class. Which creates an objects of their respective class with string paramaters. And the command lines inputs are taken as strings.

And the solution that you gave is already deleted. And i cant comment on that .

11 years ago
Hi all,

I have a interview after few days. And i am in a weird situation. Let me tell what the situation is. The organization is developing a site which basically does some kind of complex calculation of some input . They said front end is done and back end is almost done. Now they are integrating them.And they are looking for a candidate to do kind of integration testing. But they said the testing does not involve the actually testing tools.

What i want to know is , what kind of question can i expect during the interview.??
Please help me out.

Thankyou.
11 years ago
Hi all,

I have a interview after few days. And i am in a weird situation. Let me tell what the situation is. The organization is developing a site which basically does some kind of complex calculation of some input . They said front end is done and back end is almost done. Now they are integrating them.And they are looking for a candidate to do kind of integration testing. But they said the testing does not involve the actually testing tools.

What i want to know is , what kind of question can i expect during the interview.??
Please help me out.

Thankyou.
Actually , i am not able to say that because of so & so reason IS-A relation is not related to polymorphism. I am also not able to figure out a example to tell how IS-A relation can defined by polymorphism .
Basically things are a bit blur...
I understand that IS-A relation depends on inheritance.
But i dont understand how can we say that IS-A relation depends on polymorphism... (Even though both the statements sounds similar)
CAn any one explain me what exactly is happening in th eprogram??
I heard a rumour that Mr.Bean had meet with a accident and he expired.
Is it true???
His picture for those who dont know him
I wish its just a rumour ??
11 years ago
So can i say that Programmatically exception are those that can be thrown using throw keyword and the others as JVM exceptions???

What is the difference between JVM thrown exception and programmatically thrown exception...
the difference is kind of blur...
LIke the IllegalArgumentException(Programmatically), which is thrown when the method receives arg differently formated.But the method is actual receiveing the argument which is sent by the us!!
Similarly, ClassCastException(JVM), when coding we did the casting in a wrong manner.So it should be programmtically thrown..

But StackOverflowError, sound correct i mean as a JVM thrown..

Please dont if i sound stupid ...
Please explain
Created a new topic.
Thanks for clearing the doubt

Ruben Soto wrote:This is explained very well in the K&B book, do you have it?


May be i overlooked it...
But the object has used the one argument constructor when it is actual created... So why it is not using the one argument constructor again???