Skip to Content
0
Nov 06, 2014 at 03:53 AM

getting set the system properties sun.net.http.allowRestrictedHeaders=true and org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true

904 Views


Hi

I have installed Eclipse and configured tomcat. But when i start the tomcat using http://localhost:8080 i am getting below mentioned error

type

HTTP Status 500 - please set the system properties sun.net.http.allowRestrictedHeaders=true and org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true

Exception report

message please set the system properties sun.net.http.allowRestrictedHeaders=true and org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true

description The server encountered an internal error that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: please set the system properties sun.net.http.allowRestrictedHeaders=true and org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true  com.sap.ui2.proxy.ProxyServlet.init(ProxyServlet.java:176)  org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)  org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)  org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)  org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)  org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)  org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)  java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)  java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)  java.lang.Thread.run(Thread.java:745)  

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.47 logs.

I donot know how to set these parameter. Please help me to do this.

Regards