i am using grails 3.0.9
and this plugin
compile 'org.grails.plugins:mail:2.0.0.RC6'
compile "org.codehaus.groovy.modules.http-builder:http-builder:0.7"
i am using this plugin to access other server..
this is my code..
import groovyx.net.http.HTTPBuilder
import static groovyx.net.http.Method.GET
import static groovyx.net.http.ContentType.TEXT
def http = new HTTPBuilder( 'https://abc.yesido.web.id' )
http.request(GET,TEXT) { req ->
uri.path = '/test.php' // overrides any path in the default URL
uri.query = [ u: test, p: 123, d: destinationNo, m: messages ]
response.success = { resp, reader ->
assert resp.status == 200
System.out << reader
loggResponse(resp, reader, refNo)
}
response.'404' = { resp ->
println 'Not found'
}
}
this code run well ...
but after i leave it a few hours, my tomcat already stop..
this is catalina.out
message log..
23-Mar-2016 16:03:01.515 INFO [http-nio-80-exec-3] org.apache.coyote.http11.AbstractHttp11Processor.process Error parsing HTTP request header
Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
i dont know why my tomcat stoped..
i mnot using websocket or something like this issue..
anyone know how to resolve this problem?