HTTP 500 Internal Server Error - How to debug?

Eight Stars

HTTP 500 Internal Server Error - How to debug?

I have a very weird situation. When I am POSTing data to my RESTful service (4MB), on my local LAN Talend RunTime Environment, it works properly.

However, on my prod server, which is hosted on a publicly accessible https URL, same data fails to post. What I see in the tesb.log is below. 


I am lost how to figure out what is the problem in my webservice. Any help is appreciated.


16:36:50,174 | WARN  | qtp978714646-124 | pl.WebApplicationExceptionMapper   72 | 103 - org.apache.cxf.cxf-rt-frontend-jaxrs - 3.1.7 | HTTP 500 Internal Server Error
        at org.apache.cxf.jaxrs.utils.SpecExceptions.toInternalServerErrorException(
        at org.apache.cxf.jaxrs.utils.ExceptionUtils.toInternalServerErrorException(
        at org.apache.cxf.jaxrs.utils.FormUtils.readBody(
        at org.apache.cxf.jaxrs.utils.JAXRSUtils.processFormParam(
        at org.apache.cxf.jaxrs.utils.JAXRSUtils.createHttpParameterValue(
        at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameter(
        at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(
        at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(
        at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(
        at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(
        at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(
        at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(
        at org.eclipse.jetty.server.Server.handle(
        at org.eclipse.jetty.server.HttpChannel.handle(
        at org.eclipse.jetty.server.HttpConnection.onFillable(
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
        at org.eclipse.jetty.util.thread.QueuedThreadPool$
Caused by: Early EOF
        at org.eclipse.jetty.server.HttpInput$3.noContent(
        at org.apache.cxf.helpers.IOUtils.copy(
        at org.apache.cxf.jaxrs.utils.FormUtils.readBody(
        ... 23 more

Re: HTTP 500 Internal Server Error - How to debug?


It looks like your program suspend. Are there any differences in your JVM configuration for your local LAN and prod server?

Best regards


Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Eight Stars

Re: HTTP 500 Internal Server Error - How to debug?

The only thing different is that PROD is accessible via an HTTPS url, internal is HTTP.

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now


Introduction to Talend Open Studio for Data Integration.


Downloads and Trials

Test drive Talend's enterprise products.


Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.