<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I make the proxy set with Java to work? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-make-the-proxy-set-with-java-to-work/m-p/168621#M15645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue has been resolved. The log file could be accessed by giving the absolute path in proxy.config file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Debugging the JSP file, we found that the username and password values were empty.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The space between the parameter name and "=" was the issue. Seems like this is an issue with the way the file is parsed. The config file looked like this at the end:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #4b83cd; border: 0px; font-weight: inherit; font-size: 14px;"&gt;serverUrl&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;url&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdomain.com%2Fportal%2Fsharing%2Frest%2Fcontent%2Fitems" rel="nofollow" style="color: #287433; border: 0px; font-weight: inherit; text-decoration: none; font-size: 14px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://domain.com/portal/sharing/rest/content/items&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;matchAll&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27; border: 0px; font-weight: inherit; font-size: 14px;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;username&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27; border: 0px; font-weight: inherit; font-size: 14px;"&gt;username&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;password&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27; border: 0px; font-weight: inherit; font-size: 14px;"&gt;p@ssword&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"/&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #4b83cd; border: 0px; font-weight: inherit; font-size: 14px;"&gt;serverUrl&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;url&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdomain.com%2Fserver%2Frest%2Fservices%2F" rel="nofollow" style="color: #287433; border: 0px; font-weight: inherit; text-decoration: none; font-size: 14px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://domain.com/server/rest/services/&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;matchAll&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27; border: 0px; font-weight: inherit; font-size: 14px;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;username&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27; border: 0px; font-weight: inherit; font-size: 14px;"&gt;username&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;password&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;="&lt;/SPAN&gt;&lt;SPAN style="color: #448c27; border: 0px; font-weight: inherit; font-size: 14px;"&gt;p@ssword&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;This works well.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Oct 2018 10:58:22 GMT</pubDate>
    <dc:creator>ArchanaVenkataraman</dc:creator>
    <dc:date>2018-10-01T10:58:22Z</dc:date>
    <item>
      <title>How do I make the proxy set with Java to work?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-make-the-proxy-set-with-java-to-work/m-p/168620#M15644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-left: 18.0pt;"&gt;The Portal for&amp;nbsp;ArcGIS&amp;nbsp; and&amp;nbsp;ArcGIS Server 10.61 is set on Suse 12 SP 3 on the web server Apache Tomcat 7.0.82.&lt;/P&gt;&lt;P style="margin-left: 18.0pt;"&gt;A custom application, developed using ArcGIS API for Javascript 3.24, was deployed on the same web server.&lt;/P&gt;&lt;P style="margin-left: 18.0pt;"&gt;The Java proxy was also deployed. The rules for their server and portal were added in the proxy.config. The proxy can be pinged but it does not work.&lt;/P&gt;&lt;DIV style="color: #333333; background-color: #f5f5f5; font-family: Consolas, 'Courier New', monospace; font-weight: normal; font-size: 14px; line-height: 19px; white-space: pre;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #777777;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #4b83cd;"&gt;serverUrl&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; font-style: italic;"&gt;url&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdomain.com%2Fportal%2Fsharing%2Frest%2Fcontent%2Fitems" rel="nofollow" target="_blank"&gt;https://domain.com/portal/sharing/rest/content/items&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #91b3e0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; font-style: italic;"&gt;matchAll&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #91b3e0;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; font-style: italic;"&gt;username&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27;"&gt;username&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #91b3e0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; font-style: italic;"&gt;password&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27;"&gt;p@ssword&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #8190a0; font-style: italic;"&gt;rateLimit&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27;"&gt;600&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #8190a0; font-style: italic;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;rateLimitPeriod&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27;"&gt;60&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #4b83cd;"&gt;serverUrl&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; font-style: italic;"&gt;url&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdomain.com%2Fserver%2Frest%2Fservices%2F" rel="nofollow" target="_blank"&gt;https://domain.com/server/rest/services/&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #91b3e0;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; font-style: italic;"&gt;matchAll&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #91b3e0;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; font-style: italic;"&gt;username&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27;"&gt;username&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #91b3e0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;password&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27;"&gt;p@ssword&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P style="margin-left: 18.0pt;"&gt;&lt;/P&gt;&lt;P style="margin-left: 18.0pt;"&gt;It was tested by trying to access &lt;SPAN style="color: #448c27;"&gt;&lt;A class="unlinked"&gt;https://domain.com/Java/proxy.jsp?&lt;/A&gt;&lt;A href="https://domain.com/server/rest/services"&gt;https://domain.com/server/rest/services&lt;/A&gt;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;While it opens the services, only the public services are visible. &lt;/P&gt;&lt;P&gt;The proxy rules were also added to the custom application JS code to test as below:&lt;/P&gt;&lt;DIV style="color: #333333; background-color: #f5f5f5; font-family: Consolas, 'Courier New', monospace; font-weight: normal; font-size: 14px; line-height: 19px; white-space: pre;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #7a3e9d;"&gt;&amp;nbsp;urlUtils&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #aa3731; font-weight: bold;"&gt;addProxyRule&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; urlPrefix&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdomain.com%2Fportal%2Fsharing%2Frest%2Fcontent%2Fitems" rel="nofollow" target="_blank"&gt;https://domain.com/portal/sharing/rest/content/items&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt;&amp;nbsp;&amp;nbsp; proxyUrl&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27;"&gt;&lt;A class="unlinked"&gt;https://domain.com/Java&lt;/A&gt;/proxy.jsp&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;{&lt;/SPAN&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; urlPrefix&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdomain.com%2Fserver%2Frest%2Fservices" rel="nofollow" target="_blank"&gt;https://domain.com/server/rest/services&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;proxyUrl&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27;"&gt;&lt;A&gt;https://domain.com/Java&lt;/A&gt;/proxy.jsp&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN style="color: #333333;"&gt;&amp;nbsp;)&lt;/SPAN&gt;&lt;SPAN style="color: #777777;"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P style="margin-left: 18.0pt;"&gt;&lt;/P&gt;&lt;P style="margin-left: 18.0pt;"&gt;Other combinations of portal URL "&lt;SPAN style="color: #448c27;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdomain.com%2Fportal%2Fsharing%2Frest%2F" rel="nofollow" target="_blank"&gt;https://domain.com/portal/sharing/rest/&lt;/A&gt;&lt;/SPAN&gt;" and with clientID and clientSecret was also tested with no improvement.&lt;/P&gt;&lt;P style="margin-left: 18.0pt;"&gt;We have not had any luck with it so far. What is to be done to get the Java proxy working, other than to make the services public?&lt;/P&gt;&lt;P style="margin-left: 18.0pt;"&gt;The same rules set in DotNet proxy in a Windows server works for other project that we have implemented, but not in the Suse server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 10:49:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-make-the-proxy-set-with-java-to-work/m-p/168620#M15644</guid>
      <dc:creator>ArchanaVenkataraman</dc:creator>
      <dc:date>2018-09-19T10:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make the proxy set with Java to work?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-make-the-proxy-set-with-java-to-work/m-p/168621#M15645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue has been resolved. The log file could be accessed by giving the absolute path in proxy.config file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Debugging the JSP file, we found that the username and password values were empty.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The space between the parameter name and "=" was the issue. Seems like this is an issue with the way the file is parsed. The config file looked like this at the end:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #4b83cd; border: 0px; font-weight: inherit; font-size: 14px;"&gt;serverUrl&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;url&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdomain.com%2Fportal%2Fsharing%2Frest%2Fcontent%2Fitems" rel="nofollow" style="color: #287433; border: 0px; font-weight: inherit; text-decoration: none; font-size: 14px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://domain.com/portal/sharing/rest/content/items&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;matchAll&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27; border: 0px; font-weight: inherit; font-size: 14px;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;username&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27; border: 0px; font-weight: inherit; font-size: 14px;"&gt;username&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;password&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27; border: 0px; font-weight: inherit; font-size: 14px;"&gt;p@ssword&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"/&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #4b83cd; border: 0px; font-weight: inherit; font-size: 14px;"&gt;serverUrl&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;url&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdomain.com%2Fserver%2Frest%2Fservices%2F" rel="nofollow" style="color: #287433; border: 0px; font-weight: inherit; text-decoration: none; font-size: 14px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://domain.com/server/rest/services/&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;matchAll&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27; border: 0px; font-weight: inherit; font-size: 14px;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;username&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #448c27; border: 0px; font-weight: inherit; font-size: 14px;"&gt;username&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #8190a0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;password&lt;/SPAN&gt;&lt;SPAN style="color: #91b3e0; border: 0px; font-weight: inherit; font-size: 14px;"&gt;="&lt;/SPAN&gt;&lt;SPAN style="color: #448c27; border: 0px; font-weight: inherit; font-size: 14px;"&gt;p@ssword&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #333333; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #777777; border: 0px; font-weight: inherit; font-size: 14px;"&gt;This works well.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2018 10:58:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-make-the-proxy-set-with-java-to-work/m-p/168621#M15645</guid>
      <dc:creator>ArchanaVenkataraman</dc:creator>
      <dc:date>2018-10-01T10:58:22Z</dc:date>
    </item>
  </channel>
</rss>

