Skip to main content

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

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
swchan2
Offline
Joined: 2005-03-29

Do you know exactly what resource is loading causing the timeout? Any
further info in the server.log?

On 9/30/13 10:33 AM, Wilkins, Brian wrote:
>
> 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...]
> *Sent:* Monday, September 30, 2013 1:25 PM
> *To:* users@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
>