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?
Yes, the Implementation-Version attribute is missing from the MANIFEST.MF of JBOSS_HOME/bin/run.jar.
These are the contents of that file:
Created-By: 1.6.0 (IBMCorporation)
What should exist in this file?
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.
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: 22.214.171.12400429-M3 (Build SVNTag:JBoss_126.96.36.199 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: 188.8.131.5200429-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.
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!