Hi there,
I ported my ARP filter to glassfish v3, but I can't seem to configure
glassfish v3 to use it.
In v2 I used this config in domain.xml:
<jvm-options>-Dcom.sun.enterprise.web.connector.grizzly.asyncHandlerClass
=com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncHandler</
jvm-options>
<jvm-options>-Dcom.sun.enterprise.web.connector.grizzly.asyncHandler.ports
=8080</jvm-options>
<jvm-options>-
Dcom
.sun
.enterprise
.web
.connector
.grizzly.asyncFilters=com.igorminar.grizzlysendfile.SendfileFilter</
jvm-options>
in v3 I changed it to:
<jvm-options>-
Dcom
.sun
.grizzly.asyncHandlerClass=com.sun.grizzly.arp.DefaultAsyncHandler</
jvm-options>
<jvm-options>-Dcom.sun.grizzly.asyncHandler.ports=8080</jvm-options>
<jvm-options>-
Dcom
.sun
.grizzly.asyncFilters=com.igorminar.grizzlysendfile.SendfileFilter</
jvm-options>
But when I try to send any request to port 8080 it just times out
after 30 seconds. I debugged my filter briefly, but it doesn't even
look like the doFilter method is being called.
Any idea what's wrong?
thanks,
Igor