Welcome to WebmasterWorld Guest from 54.196.147.57

Forum Moderators: open

Message Too Old, No Replies

Geting Error: The listener returned the following Message: 500 Interna

Error: The listener returned the following Message: 500 Internal Server Err

     

Praf

6:14 am on Feb 2, 2012 (gmt 0)



Hi,

When i assign a single accounts to an customer, it got assigned properly. Even when i tried to assign 150 accounts to given customer by clicking onm add button it got successfully added.

But While assigning a 200 records to a customer i am getting above error i.e. Error: The listener returned the following Message: 500 Internal Server Error.

Could you please have a look into this, why i am getting error when i assign 200 records. Is it java code issue or sever issue please assist on this.

Thanks,
Praf

daveVk

12:20 pm on Feb 2, 2012 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



The server is failing to handle the request received.

Check the server log, in particular check that URL is not being truncated, at least some versions of IE truncate long URLs.

Try a different browser.

rocknbil

5:39 pm on Feb 2, 2012 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Does the browser "wait" and spin and spin while you're doing this? Did you check it later (like, at least 5 minutes) and find all the records indeed populated?

I'm guessing the server just times out. When you make a request to a dynamic script, the script **must** return a response (even if it's an empty response) or it will push a 500 to the browser. Those of us who worked in perl know the importance of this, you can't "call" a script without outputting a response.

If it's indeed working and just timing out, you can look into how you can optimize it to run faster, if you can't, I'd look into fork (pcntl_fork() in PHP.) You can use fork to spawn the time consuming process as a child, and you can check on that child's process ID from the parent to know if it completed or not. When the child PID dies, it's done.

Praf

5:16 am on Feb 3, 2012 (gmt 0)



yes, though i get this 500 internal error message. once i logout from sreen and re-login again in th UI. All 200 record are gets added successfully. it just gives above error when we try to assign 200 records. but once we reload that page these records were successfully gets added.
Also same scenario happend during deletion also when i try to delete all assigned 200 records it gaves same error. but once we relogin into application UI. these records gets deleted.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month