homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

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

Msg#: 4413384 posted 6:14 am on Feb 2, 2012 (gmt 0)


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.




WebmasterWorld Senior Member 5+ Year Member

Msg#: 4413384 posted 12:20 pm on Feb 2, 2012 (gmt 0)

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.


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

Msg#: 4413384 posted 5:39 pm on Feb 2, 2012 (gmt 0)

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.


Msg#: 4413384 posted 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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved