Skip to Content
Author's profile photo Former Member

Issues with SimpleProxyServlet in enterprise firewall proxy

I have experienced this problem a lot in development and testing scenarios where you want to use an external third party data provider service. Simple solution is to use the SimpleProxyServlet configuration as given in SAP help portals.

But this worked well for me when I was on direct internet connection. There is no firewall or a corporate proxy in between. For networks which are behind a proxy you are probably getting an internal server error with tomcat response code 500.

Below would be your exception trail in response headers. Source) Source) Source) Source) Source) Source) Source) Source)<init>(Unknown Source) Source) Source) Source) Source) Source) Source)

I searched a lot to find a solution to this constant headache. Then I found that it’s not a problem with proxy servlet or tomcat. This is because your JRE is not able to fetch system proxy and not able to connect to external system.

Mostly we would be using eclipse for UI5 developments. So to make your JRE proxy enabled you have to provide some VM arguments.

To configure these in your eclipse installation go to Window-> Preferences in filter box type installed JRE.

Select a JRE version click Edit and enter the below arguments in Default VM Arguments.





-Dhttp.nonProxyHosts=<domain>|*<generic exception domain>

Apply these settings and restart your tomcat server from servers View.

Now even if you are behind a proxy server then JRE will know to use a proxy server.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.