users@glassfish.java.net

Re: Glassfish_v2 DoS while using webservices

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Mon, 27 Feb 2012 14:31:42 -0800

Hi Dennis,

just to make sure, when you say webservice becomes unavailable, what
about other service(s)? Can you still access them at the same time?
Can you pls. take a thread dump (using jstack) at time you see the
webservice is not available, so we can check the threads status?

Thanks.

WBR,
Alexey.

On 02/27/2012 05:35 AM, forums_at_java.net wrote:
> Hello!
>
> I am no Java-Expert, but still I need to cope with a problem on a
> Glassfish-Server running Glassfishv2 or - as far as I understood so far -
> ApplicationServer 9.1.
>
> We are using the Glassfish-Server to provide database access via a
> webservice
> interface, meaning that another server can send datapackets containing
> webservice requests and the glassfish server then examines the mysql
> database
> that it is connected to and sends the data received to the other
> server as an
> answer to its request. So far, so good.
>
> The problem that I see is, that after some time, the glassfish-server's
> webservice is not available anymore. The glassfish-server receives
> webservice-requests quite often(~130 times per second) and after some
> minutes(less than 5 minutes in general), the webservice is not available
> anymore. Anyway, I can still do a "/opt/glassfish/bin/asadmin
> ping-connection-pool", which returns that the ping was done successfully.
>
> I am only able to reproduce this error with one specific
> webservice-questioning program. If I use another one, that also asks
> for the
> webservices available, I can't make it crash - even after one full
> weekend of
> testing.
>
> My question is rather where to search for an error than that I'd be
> waiting
> for a solution of my problem. I simply don't know, where to look and
> what to
> check. I'd also like to know, if there are any "common" points, that
> should
> be adjusted if a glassfish server denies to answer to
> webservice-requests...
>
>
>
> I'd be really happy to receive any single hint.
>
> Best regards from Germany,
>
> Dennis
>
>
> --
>
> [Message sent by forum member 'supererwin']
>
> View Post: http://forums.java.net/node/883810
>
>