You're probably hitting the server a little too hard with JMeter.
GlassFish v3 is a tech preview which really hasn't been tuned yet
for performance.
-Alexis
glassfish_at_javadesktop.org wrote:
> I have deployed a JRuby application to Glassfish V3 and have setup
> Apache JMeter to run some load tests against it. If I run for a single
> user, all responses get served right. If i load it up with multiple
> users (concurrent), glassfish intermittently fails for some requests
> with HTTP status 503 - Service Unavailable -- Same URL works fine for
> some threads/users and manually too i get the right/expected response.
>
> Appreciate any pointers/clue on how to work around this issue.
>
> Thanks,
> Sakthi
> [Message sent by forum member 'sakthivelg' (sakthivelg)]
>
> http://forums.java.net/jive/thread.jspa?messageID=221227