Bug ID 1025419
Summary Tomcat throws exceptions on specific addresses
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.2
Hardware x86-64
OS SLES 12
Status NEW
Severity Major
Priority P5 - None
Component Java
Assignee bnc-team-java@forge.provo.novell.com
Reporter jweberhofer@weberhofer.at
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

A application which works without any issues on several tomcat versions (8.0.x
and 8.5.x) fails on the package provided by SLES 12 and openSUSE 42.2:

Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: java.io.IOException: Server
returned HTTP response code: 400 for URL:
http://localhost:8080/eusoda/eusodaweb/services?{"institution":{"type":"content","absurls":"true",""}}

This URL is mapped using a spring service.

Software version:
Repository     : SLES12-SP2-Updates for x86_64 (Testing)
Name           : tomcat
Version        : 8.0.36-17.1

Name           : java-1_8_0-openjdk
Version        : 1.8.0.121-20.1

WE have also tried to use older versions of java and tomcat (8.0.32) but this
always resulted in the same issue; the server worked with an older version of
tomcat (prior to 8.0.32, I don't have an exact version number).

Here is the complete stack-trace:

Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: java.io.IOException: Server
returned HTTP response code: 400 for URL:
http://localhost:8080/eusoda/eusodaweb/services?{"institution":{"type":"content","absurls":"true","true",""}}
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1876)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
at.weberhofer.eusoda.server.admin.pages.InstitutionEdit.getPrivateView(InstitutionEdit.java:1258)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
sun.reflect.GeneratedMethodAccessor1360.invoke(Unknown Source)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
java.lang.reflect.Method.invoke(Method.java:498)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:851)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:1414)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:60)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:147)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
ognl.OgnlRuntime.getProperty(OgnlRuntime.java:2210)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
ognl.ASTProperty.getValueBody(ASTProperty.java:114)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
ognl.SimpleNode.getValue(SimpleNode.java:258)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
ognl.Ognl.getValue(Ognl.java:494)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
ognl.Ognl.getValue(Ognl.java:458)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.binding.ExpressionBinding.resolveProperty(ExpressionBinding.java:201)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.binding.ExpressionBinding.getObject(ExpressionBinding.java:194)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.binding.AbstractBinding.getObject(AbstractBinding.java:208)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.param.AbstractParameterConnector.getBindingValue(AbstractParameterConnector.java:105)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.param.ObjectParameterConnector.setParameter(ObjectParameterConnector.java:53)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.param.ParameterManager.setParameters(ParameterManager.java:105)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.AbstractComponent.prepareForRender(AbstractComponent.java:898)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:853)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:624)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.form.Form.renderComponent(Form.java:362)
Feb 14 14:10:03 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857)
Feb 14 14:10:04 SPRZVW02 systemd-journal[489]: Forwarding to syslog missed 4
messages.
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:624)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.components.RenderBody.renderComponent(RenderBody.java:45)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:624)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.html.Body.renderComponent(Body.java:269)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:624)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.html.Shell.renderComponent(Shell.java:124)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:118)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:118)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:300)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:368)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.engine.AbstractEngine.renderResponse(AbstractEngine.java:749)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.engine.DirectService.service(DirectService.java:174)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:889)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:198)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:175)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.RedirectFilter.doFilter(RedirectFilter.java:106)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2500)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2489)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
java.lang.Thread.run(Thread.java:745)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
org.apache.tapestry.ApplicationServlet.doPost(ApplicationServlet.java:327)
Feb 14 14:10:04 SPRZVW02 tomcat.service[902]: at
javax.servlet.http.HttpServlet.service(HttpServlet.java:648)


You are receiving this mail because: