This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Async Request Processing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Async Request Processing" Watch "Async Request Processing" New topic

Async Request Processing

Anup Om
Ranch Hand

Joined: Dec 30, 2009
Posts: 62

I am trying to prepare for the beta exam (couldn't give up the opportunity to get certified for $50 ).

I am trying an example of async request processing. Copied the code from "examples" from Tomcat7. When I try to run this servlet, I am getting an IOException:


type Exception report


description The server encountered an internal error () that prevented it from fulfilling this request.

exception Socket error.

Could somebody please explain what is going on?


If this is not the right forum for this question, please move to the appropriate one.

Thanks for help.

Liviu Carausu
Ranch Hand

Joined: Oct 07, 2004
Posts: 158
Hi Anu,

I also could not give up the opportunity ....

I have tried the example that you posted on GlassFish 3.0.1 And it runs with no problems.



Oracle Certified Master Java SE6 Developer(SCJD),
OCE JEE 6 JSP and Servlets Developer.
jQuery in Action, 2nd edition
subject: Async Request Processing