5 Replies Latest reply on Jun 30, 2010 4:37 PM by mspbrst2

    'Implementation-Version' MANIFEST.MF attribute not found

    mspbrst2

      Hi Jopr Community,

       

      I installed Jopr today and am trying to manually add a JBossAS server and I get the following error:

      An unexpected error occurred in the Agent. Cause:  java.lang.Exception:Discovery component invocation failed. ->  java.lang.IllegalStateException:'Implementation-Version' MANIFEST.MF  attribute not found.

       

      The MANIFEST.MF file is found here:

      "./server/<server_name>/deploy/JBossStatusTest.war/META-INF/MANIFEST.MF"

       

      and contains this text:

      Manifest-Version: 1.0

      Class-Path:

       

      Obviously jopr is looking for an attribute that does not exist.  How do I fix this error?  Do I have to add Implementation-Version to the manifest?

       

      Thanks,

      Steven

        • 1. Re: 'Implementation-Version' MANIFEST.MF attribute not found
          ips

          The JBoss AS discovery code attempts to read the Implementation-Version attribute from the MANIFEST.MF of JBOSS_HOME/bin/run.jar in oder to determine the app server's version. Is this attribute missing from your run.jar's manifest?

          • 2. Re: 'Implementation-Version' MANIFEST.MF attribute not found
            mspbrst2

            Yes, the Implementation-Version attribute is missing from the MANIFEST.MF of JBOSS_HOME/bin/run.jar.

             

            These are the contents of that file:

            Manifest-Version: 1.0

            Created-By: 1.6.0 (IBMCorporation)

             

            What should exist in this file?

            • 3. Re: 'Implementation-Version' MANIFEST.MF attribute not found
              mazz

              Did you build this JBossAS distro yourself from source? The JBossAS distros off of sourceforge normally always has its MANIFEST.MF files with the correct metadata.

               

              I recommend you download a JBossAS distro from sourceforge and compare the metadata found in the MANIFEST.MFs from its jar files.

              • 4. Re: 'Implementation-Version' MANIFEST.MF attribute not found
                ips

                Here's what mine looks like from JBoss AS 6.0.0.M3 (downloaded from sourceforge):

                 

                Manifest-Version: 1.0
                Implementation-Title: JBoss Application Server Main
                Implementation-Version: 6.0.0.20100429-M3 (Build SVNTag:JBoss_6.0.0.20
                 100429-M3 date: 20100502)
                Class-Path: ../client/getopt.jar
                Built-By: rrajasekaran
                Specification-Vendor: JBoss, a division of Red Hat, Inc.
                Created-By: Apache Maven
                Implementation-URL: http://www.jboss.org/jbossas
                Implementation-Vendor: JBoss, a division of Red Hat, Inc.
                Implementation-Vendor-Id: org.jboss.jbossas
                Build-Jdk: 1.6.0_18
                Specification-Title: JBoss Application Server Main
                Specification-Version: 6.0.0.20100429-M3
                Main-Class: org.jboss.Main
                Archiver-Version: Plexus Archiver
                
                Name: Build-Information
                Build-Time: May 2, 2010 5:08:39 PM EDT
                Scm-Revision: 104389
                Maven-Version: 2.2.1
                Os-Version: 2.6.18-128.4.1.el5
                Scm-Url: scm:svn:https://svn.jboss.org/repos/jbossas/trunk/jboss-as-ma
                 in
                Java-Version: 1.6.0_18
                Os-Arch: i386
                Os-Name: Linux
                Java-Vendor: Sun Microsystems Inc.
                
                
                • 5. Re: 'Implementation-Version' MANIFEST.MF attribute not found
                  mspbrst2

                  I reinstalled JBoss and everything seemed to work fine.  When the Manifest contained the correct information, I was able to add the JBossAS server to Jopr successfully.  Thanks guys!

                   

                  Regards,

                  Steven