users@glassfish.java.net

Glassfish 3.1.1 The server encountered an internal error () that prevented it

From: <forums_at_java.net>
Date: Tue, 8 Nov 2011 15:34:03 -0600 (CST)

Hello. I got a problem with glassfish 3.1.1 and web servises.
I cant debug my web service more then 30s. After 30 seconds client side
receives the 500 HTTP error.
{quote}
HTTP/1.1 500 Internal Server Error
X-Powered-By: Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.1
Java/Oracle Corporation/1.7)
Server: GlassFish Server Open Source Edition 3.1.1
Content-Type: text/html
Content-Length: 1115
Date: Tue, 08 Nov 2011 20:53:44 GMT
Connection: close
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html
xmlns="http://www.w3.org/1999/xhtml"><head><title>GlassFish Server Open
Source Edition 3.1.1 - Error report</title><style type="text/css"><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status
500 - </h1><hr/><p><b>type</b> Status
report</p><p><b>message</b></p><p><b>description</b>The server encountered an
internal error () that prevented it from fulfilling this
request.</p><hr/><h3>GlassFish Server Open Source Edition
3.1.1</h3></body></html>
{quote}
Then i tested "Theard.sleep (30*1000);" in web service method and got the
same error. Any properties in admin console (tcp, http timeout etc) not
helps. So, cilent side cant get the answer for the "hard" requests (when
server works over 30s), but all code on server side works ok.
With glassfish 3.0.1, same server and .war all works fine (at default
configuration).
Example - request at   21:27:19  , response - 21:28:15
{quote}
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Server: GlassFish Server Open Source Edition 3.0.1
Content-Type: text/xml;charset=utf-8
Transfer-Encoding: chunked
Date: Tue, 08 Nov 2011 21:28:15 GMT
Connection: close
......
{quote} 

Any idea what i do wrong or how can i fix this ?

Sorry for my english and Thanks.


--
[Message sent by forum member 'vasiliyz']
View Post: http://forums.java.net/node/861929