<?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: Error opening zip file or JAR manifest missing in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Error-opening-zip-file-or-JAR-manifest-missing/m-p/725498#M4753</link>
    <description>&lt;P&gt;Hi&amp;nbsp;gurmit.arora,&lt;/P&gt;

&lt;P&gt;of course the javaagent.jar is accesible and the folder it resides in and the file itself is owned by the user who executes it.&lt;/P&gt;
&lt;P&gt;So if I run&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;/usr/bin/java -javaagent:/path/to/agent/javaagent.jar -jar /path/to/app/appname.jar&lt;/PRE&gt;
&lt;P&gt;everything works fine as I said earlier.&lt;/P&gt;

&lt;P&gt;But now with Docker:&lt;/P&gt;
&lt;P&gt;If I build the Docker File everything&amp;nbsp;is ok but if I start the container via&lt;/P&gt;
&lt;PRE&gt;docker start appname&lt;/PRE&gt;
&lt;P&gt;I get the error&lt;/P&gt;
&lt;PRE&gt;Error opening zip file or JAR manifest missing : /path/to/agent/javaagent.jar
Error occurred during initialization of VM
agent library failed to init: instrument&lt;/PRE&gt;
&lt;P&gt;My problem is, my Docker Knowhow is limited at the moment. It it possible, that the are some issues with the ownership of the agent if I start it with Docker, but unfortunately I have no idea what I have to change.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2017 16:42:02 GMT</pubDate>
    <dc:creator>CommunityUser</dc:creator>
    <dc:date>2017-02-28T16:42:02Z</dc:date>
    <item>
      <title>Error opening zip file or JAR manifest missing</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Error-opening-zip-file-or-JAR-manifest-missing/m-p/725496#M4751</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I get the error&lt;/P&gt;

&lt;PRE&gt;2017-02-28T15:40:47.800889709Z Error opening zip file or JAR manifest missing : /path/to/agent/appdynamics/appserveragent/javaagent.jar
2017-02-28T15:40:47.801251415Z Error occurred during initialization of VM
2017-02-28T15:40:47.801278670Z agent library failed to init: instrument&lt;/PRE&gt;

&lt;P&gt;if I am trying to start my Application from within a Docker container with&lt;/P&gt;

&lt;PRE&gt;docker start appname&lt;/PRE&gt;

&lt;P&gt;If I start the application without Docker everything works find, so the path is correct and the agent is working.&lt;/P&gt;
&lt;P&gt;Can anyone help me?&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 15:47:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Error-opening-zip-file-or-JAR-manifest-missing/m-p/725496#M4751</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-02-28T15:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error opening zip file or JAR manifest missing</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Error-opening-zip-file-or-JAR-manifest-missing/m-p/725497#M4752</link>
      <description>&lt;P&gt;Hi Michael,&lt;/P&gt;

&lt;P&gt;Just to make sure, you have the java agent.jar present in the path that you are giving in the configuration, right?&lt;/P&gt;
&lt;P&gt;Also have you tried doing ls /path to the file/jar with the same user id with which you start the application and see if its accessible?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 16:31:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Error-opening-zip-file-or-JAR-manifest-missing/m-p/725497#M4752</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-02-28T16:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error opening zip file or JAR manifest missing</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Error-opening-zip-file-or-JAR-manifest-missing/m-p/725498#M4753</link>
      <description>&lt;P&gt;Hi&amp;nbsp;gurmit.arora,&lt;/P&gt;

&lt;P&gt;of course the javaagent.jar is accesible and the folder it resides in and the file itself is owned by the user who executes it.&lt;/P&gt;
&lt;P&gt;So if I run&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;/usr/bin/java -javaagent:/path/to/agent/javaagent.jar -jar /path/to/app/appname.jar&lt;/PRE&gt;
&lt;P&gt;everything works fine as I said earlier.&lt;/P&gt;

&lt;P&gt;But now with Docker:&lt;/P&gt;
&lt;P&gt;If I build the Docker File everything&amp;nbsp;is ok but if I start the container via&lt;/P&gt;
&lt;PRE&gt;docker start appname&lt;/PRE&gt;
&lt;P&gt;I get the error&lt;/P&gt;
&lt;PRE&gt;Error opening zip file or JAR manifest missing : /path/to/agent/javaagent.jar
Error occurred during initialization of VM
agent library failed to init: instrument&lt;/PRE&gt;
&lt;P&gt;My problem is, my Docker Knowhow is limited at the moment. It it possible, that the are some issues with the ownership of the agent if I start it with Docker, but unfortunately I have no idea what I have to change.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 16:42:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Error-opening-zip-file-or-JAR-manifest-missing/m-p/725498#M4753</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-02-28T16:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error opening zip file or JAR manifest missing</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Error-opening-zip-file-or-JAR-manifest-missing/m-p/725499#M4754</link>
      <description>&lt;P&gt;@Anonymousand&amp;nbsp;@Anonymous&amp;nbsp;I spoke with our product manager, and he wrote:&lt;/P&gt;

&lt;P&gt;"&lt;SPAN&gt;I think the customer is trying to use APM with Alpine Linux. There may be issues with libc compatibility."&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Can you let us know if you are using APM with Alpine Linux?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Cody&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 18:25:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Error-opening-zip-file-or-JAR-manifest-missing/m-p/725499#M4754</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-02-28T18:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error opening zip file or JAR manifest missing</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Error-opening-zip-file-or-JAR-manifest-missing/m-p/725500#M4755</link>
      <description>&lt;P&gt;I have the same porblem. Have you resolved it?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 01:42:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Error-opening-zip-file-or-JAR-manifest-missing/m-p/725500#M4755</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-08-10T01:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error opening zip file or JAR manifest missing</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Error-opening-zip-file-or-JAR-manifest-missing/m-p/725501#M4756</link>
      <description>&lt;P&gt;Hi I face the same issue and it is resolved after changing the folder permission where the jar is present.&lt;/P&gt;

&lt;P&gt;chmod&amp;nbsp;-R o+x &amp;lt;folder where the jar is present&amp;gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 18:49:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Error-opening-zip-file-or-JAR-manifest-missing/m-p/725501#M4756</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-09-26T18:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error opening zip file or JAR manifest missing</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Error-opening-zip-file-or-JAR-manifest-missing/m-p/725502#M4757</link>
      <description>&lt;P&gt;Hi Michael,&lt;/P&gt;

&lt;P&gt;Have you found a resolution to this? I have the same problem and i am sure i had set the permissions as expected. Any other ideas? I am running on CentOS with OpenJDK 1.8&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Yalkin&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 17:58:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Error-opening-zip-file-or-JAR-manifest-missing/m-p/725502#M4757</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-12-13T17:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error opening zip file or JAR manifest missing</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Error-opening-zip-file-or-JAR-manifest-missing/m-p/725503#M4758</link>
      <description>&lt;P&gt;I simply forgot to mount the folder into docker respectively the mounted folder was wrong, thats it&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 07:44:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Error-opening-zip-file-or-JAR-manifest-missing/m-p/725503#M4758</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-12-14T07:44:56Z</dc:date>
    </item>
  </channel>
</rss>

