users@glassfish.java.net

Re: Unclear definitions of HTTP listener settings

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Mon, 31 Oct 2011 08:32:16 +0100

On 10/27/2011 05:29 PM, forums_at_java.net wrote:
> My servlet code is doing the same as your example. Here is the
> code that is
> executed when the request parameter op=black-hole:
>
> log.info("Request from {} fell into a black hole",
> request.getRemoteUser());
> try {
> Thread.sleep(10* 60 * 60 * 1000); // 10 h
> }
> catch (InterruptedException e) {
> log.info("thread sleep interrupted");
> }
>
> And here's the output in my log file:
>
> 2011-10-27 15:28:39.109 INFO [http-thread-pool-8181(1)]
> (AdminServlet.doGet:168) - Request from per fell into a black hole
Is port 8181 secured in your GF configuration?
If yes, can you pls. first try non-secured one?

I tried the patch on GF 3.1.1 on Windows 7 and it worked fine with FF
and IE.
One more thing, after patching GF, pls. remove the felix cache:
rm -Rf glassfish3/glassfish/domains/domain1/osgi-cache/felix/


Thanks.

WBR,
Alexey.