<?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 Use proxy server for Agent of java in AppD Archive</title>
    <link>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735441#M5351</link>
    <description>&lt;P&gt;Hi, I installed a agent of java in our tomcat server&amp;nbsp;&lt;SPAN style="line-height: 15px;"&gt;and&amp;nbsp;we have to use proxy server to transfer datat to Appdynamics SaaS&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;due to network restriction.&lt;/P&gt;
&lt;P&gt;I set proxyHost, proxyPort as system properites as the following.&lt;/P&gt;
&lt;P&gt;But no data can be seen on Appdynamics Saas and no log is found.&lt;/P&gt;
&lt;P&gt;Is the setting wrong?&lt;/P&gt;

&lt;P&gt;================================================================================&lt;/P&gt;
&lt;P&gt;export JAVA_OPTS="$JAVA_OPTS -javaagent:/usr/local/tomcat/appagent/javaagent.jar -Dappdynamics.http.proxyHost=xxx.proxy.com -Dappdynamics.http.proxyPort=xxxx"&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;================================================================================&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Oct 2014 10:19:42 GMT</pubDate>
    <dc:creator>CommunityUser</dc:creator>
    <dc:date>2014-10-16T10:19:42Z</dc:date>
    <item>
      <title>Use proxy server for Agent of java</title>
      <link>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735441#M5351</link>
      <description>&lt;P&gt;Hi, I installed a agent of java in our tomcat server&amp;nbsp;&lt;SPAN style="line-height: 15px;"&gt;and&amp;nbsp;we have to use proxy server to transfer datat to Appdynamics SaaS&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;due to network restriction.&lt;/P&gt;
&lt;P&gt;I set proxyHost, proxyPort as system properites as the following.&lt;/P&gt;
&lt;P&gt;But no data can be seen on Appdynamics Saas and no log is found.&lt;/P&gt;
&lt;P&gt;Is the setting wrong?&lt;/P&gt;

&lt;P&gt;================================================================================&lt;/P&gt;
&lt;P&gt;export JAVA_OPTS="$JAVA_OPTS -javaagent:/usr/local/tomcat/appagent/javaagent.jar -Dappdynamics.http.proxyHost=xxx.proxy.com -Dappdynamics.http.proxyPort=xxxx"&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;================================================================================&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2014 10:19:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735441#M5351</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2014-10-16T10:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Use proxy server for Agent of java</title>
      <link>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735442#M5352</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Please change the Java options as shown below and restart Tomcat.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;export JAVA_OPTS="$JAVA_OPTS -Dappdynamics.http.proxyHost=xxx.proxy.com -Dappdynamics.http.proxyPort=xxxx -javaagent:/usr/local/tomcat/appagent/javaagent.ja&lt;/SPAN&gt;&lt;WBR /&gt;&lt;SPAN&gt;r"&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Can you also share the output of the following command so we can see if the proxy configuration is being read?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;ps -ef | grep java&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Ravi&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2014 00:09:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735442#M5352</guid>
      <dc:creator>Ravi_Giroti</dc:creator>
      <dc:date>2014-10-17T00:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Use proxy server for Agent of java</title>
      <link>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735443#M5353</link>
      <description>&lt;P&gt;Thank you for your answer.&lt;/P&gt;
&lt;P&gt;I changed my setting but it is still not working.&lt;/P&gt;

&lt;P&gt;tomcat &amp;nbsp; 30292 &amp;nbsp; &amp;nbsp; 1 56 00:55 pts/0 &amp;nbsp; &amp;nbsp;00:00:32 /usr/local/jdk1.7/bin/java -Dappdynamics.http.proxyHost=xxx.proxy.com -Dappdynamics.http.proxyPort=xxxx -javaagent:/usr/local/tomcat/appagent/javaagent.jar -verbose:gc -XX:+PrintGCTimeStamps -Dcom.sun.management.config.file=/usr/local/tomcat/conf/management.properties -Djava.endorsed.dirs=/usr/local/tomcat/endorsed -classpath :/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/commons-logging-api.jar -Dcatalina.base=/usr/local/tomcat/ -Dcatalina.home=/usr/local/tomcat -Djava.io.tmpdir=/usr/local/tomcat/temp org.apache.catalina.startup.Bootstrap start&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2014 01:20:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735443#M5353</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2014-10-17T01:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Use proxy server for Agent of java</title>
      <link>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735444#M5354</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Can you check the logs folder of the agent directory and see if a new folder is created with the node name that you have specified in the controller-info.xml. If so please send us the logs? Can you also send us the controller-info.xml file from the config folder?&lt;/P&gt;

&lt;P&gt;Please also confirm that this is a non-authenticating proxy.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2014 07:03:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735444#M5354</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2014-10-17T07:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Use proxy server for Agent of java</title>
      <link>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735445#M5355</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;gt; &lt;/SPAN&gt;Can you check the logs folder of the agent directory and see if a new folder is created with the node name that you have &lt;SPAN&gt;&amp;gt; &amp;gt; &amp;gt; &lt;/SPAN&gt;specified in the controller-info.xml. If so please send us the logs? Can you also send us the controller-info.xml file from the &lt;SPAN&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;&lt;/SPAN&gt;config folder?&lt;/P&gt;

&lt;P&gt;There is no logs folder on the agent directory, and also I didn't change logs directory setting.&lt;/P&gt;
&lt;P&gt;I attached&amp;nbsp;the&amp;nbsp;&lt;SPAN&gt;controller-info.xml file.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;gt; Please also confirm that this is a non-authenticating proxy.&lt;/P&gt;
&lt;P&gt;Yes, it is non-&lt;SPAN&gt;authenticating.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2014 09:29:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735445#M5355</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2014-10-17T09:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Use proxy server for Agent of java</title>
      <link>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735446#M5356</link>
      <description>&lt;P&gt;I do not see the attachment. Can you attach the controller-info.xml file again.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2014 11:46:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735446#M5356</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2014-10-17T11:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Use proxy server for Agent of java</title>
      <link>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735447#M5357</link>
      <description>&lt;P&gt;I used these with success:&lt;/P&gt;

&lt;P&gt;-Dcom.singularity.httpclientwrapper.proxyHost=xxx&lt;/P&gt;
&lt;P&gt;-Dcom.singularity.httpclientwrapper.proxyPort=nnnn&lt;/P&gt;

&lt;P&gt;/S&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2015 15:13:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735447#M5357</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2015-02-12T15:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Use proxy server for Agent of java</title>
      <link>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735448#M5358</link>
      <description>&lt;P&gt;I have the same issue for the Java agent "ver4.0.0.0".&lt;/P&gt;

&lt;P&gt;&amp;gt;&amp;nbsp;-Dappdynamics.http.proxyHost=proxy.mycompany.com -Dappdynamics.http.proxyPort=&amp;lt;theRightPort&amp;gt;&lt;/P&gt;

&lt;P&gt;does not for work for me either for both https and http -- of course configured accordingly in controller-info.xml.&lt;/P&gt;

&lt;P&gt;&amp;gt; -Dcom.singularity.httpclientwrapper.proxyHost=xxx&amp;nbsp;-Dcom.singularity.httpclientwrapper.proxyPort=nnnn&lt;/P&gt;

&lt;P&gt;paramter works for http.&lt;/P&gt;

&lt;P&gt;For https I have problems with the certificate validation chain:&lt;/P&gt;
&lt;P&gt;"PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"&lt;/P&gt;
&lt;P&gt;I have not further looked into the SSL issue, but in production (and not playing around with dummys) encryption is a must have.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2015 10:24:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735448#M5358</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2015-02-16T10:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Use proxy server for Agent of java</title>
      <link>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735449#M5359</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;We see this could be due to missing certificates that is attached in this update. We request you to import the attached certificates to your truststore&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.appdynamics.com/display/OTHER/FAQ+on+SSL+Certificate+Change#FAQonSSLCertificateChange-ImporttheDigicertRootCAcertificateintoapplicationtrustStore" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/OTHER/FAQ+on+SSL+Certificate+Change#FAQonSSLCertificateChange-ImporttheDigicertRootCAcertificateintoapplicationtrustStore&lt;/A&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hope that information helps. If error&amp;nbsp;persists post jvm restart on affected node. please send the zipped version &amp;lt;agent_install_dir&amp;gt;/logs&amp;nbsp;&amp;nbsp;for our review.&lt;/P&gt;


&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Arun&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2015 12:59:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735449#M5359</guid>
      <dc:creator>Arun_Dasetty</dc:creator>
      <dc:date>2015-02-16T12:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Use proxy server for Agent of java</title>
      <link>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735450#M5360</link>
      <description>&lt;P&gt;Thanks for your help. It was actually an issue with our proxy playing a "man in the middle attack" and using self signed certificates.&lt;/P&gt;

&lt;P&gt;I included a cacerts.jks (with the needed keys) in the conf folder. Then the SSL issues where resolved.&lt;/P&gt;

&lt;P&gt;BTW: in the&lt;EM&gt; readme.txt&lt;/EM&gt; of the 4.0.1.0 version there is still a link to the old documentation at&amp;nbsp;&lt;A href="http://docs.appdynamics.com/display/PRO14S/Install+the+App+Agent+for+Java&amp;nbsp;" target="_blank" rel="nofollow noopener noreferrer"&gt;http://docs.appdynamics.com/display/PRO14S/Install+the+App+Agent+for+Java&amp;nbsp;&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;In the readme.txt&amp;nbsp;there are also the proxy JVM paramters that do not work....&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2015 14:06:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/AppD-Archive/Use-proxy-server-for-Agent-of-java/m-p/735450#M5360</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2015-02-18T14:06:13Z</dc:date>
    </item>
  </channel>
</rss>

