users@glassfish.java.net

RE: Servlet.service() for servlet default threw exception

From: Wilkins, Brian <bwilkins_at_harris.com>
Date: Mon, 30 Sep 2013 17:33:04 +0000

I'm trying to launch my GWT module that is deployed to the GlassFish 4 instance. It is loaded as an application, which has its own set of servlets.


From: Shing Wai Chan [mailto:shing.wai.chan_at_oracle.com]
Sent: Monday, September 30, 2013 1:25 PM
To: users_at_glassfish.java.net
Subject: Re: Servlet.service() for servlet default threw exception

"default" and "jsp" are servlets added by the container to handle 'general pages, like html, jpg' and jsp pages.
What resource do you try to load?
Shing Wai Chan

On 9/30/13 10:11 AM, Wilkins, Brian wrote:
I recently upgraded from Glassfish 3.1.2.2 to Glassfish 4.0 Community Edition. I never had this problem before but when my GWT app is first loaded by Firefox (CTRL+F5), it takes a really long time to load. I observed in the Glassfish 4.0 logs about a "Servlet.service() for servlet default threw exception" -> java.io.IOException: java.util.concurrent.TimeoutException. Once I let the browser timeout, I load the page again and my application successfully loads.

I do not have a servlet named default in my GWT application. Also, I see a servlet named jsp in the Glassfish administration page. I do not have such servlets in my GWT application.

Any idea what is going on? I never had this problem before.

Thanks

Brian Wilkins