Results 1 to 3 of 3
  1. #1
    ersachinjain is offline Member
    Join Date
    Aug 2009
    Posts
    51
    Rep Power
    0

    Default Problem with Sever

    Hi

    I am using a client server program for my project. The problem that i am having is that i run the server in the background. It runs perfectly but after some time say 10-12 days even though the program is running which I can see by using the Unix command ps- u project, there is no response from the server. Please can any one tel me what the problem is????. The command that I am using to run the server in the background is :

    nohup command 2>/dev/null 1>/dev/null &

    Thanks

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    10

    Default

    You will have to do some elementary debugging on your own first to provide more information. Have a look at at JMX approaches to monitor the application and see if you can get some logging that can give clues as to why the program is not responding.

  3. #3
    ersachinjain is offline Member
    Join Date
    Aug 2009
    Posts
    51
    Rep Power
    0

    Default

    Hi

    Thanks for the reply. I have one more question i am using a a class that implements Serializable interface. now the object of this class reads and writes object for trasporting the data from server to client and vice versa. Do i have to include a field:

    private static final long serialVersionUID = 42L; in this classs

    Thanks

Similar Threads

  1. simple line problem / for loop problem
    By helpisontheway in forum New To Java
    Replies: 1
    Last Post: 11-17-2009, 07:12 AM
  2. Saving image to sever.
    By dudejonne in forum New To Java
    Replies: 5
    Last Post: 11-03-2009, 03:01 PM
  3. regarding client -sever
    By gobinathm in forum Advanced Java
    Replies: 0
    Last Post: 11-12-2007, 06:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •