From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 25 18:30:32 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF20F16A4CE for ; Tue, 25 Nov 2003 18:30:32 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28A2243F93 for ; Tue, 25 Nov 2003 18:30:32 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hAQ2UVFY084345 for ; Tue, 25 Nov 2003 18:30:32 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hAQ2UVYp084341; Tue, 25 Nov 2003 18:30:31 -0800 (PST) (envelope-from gnats) Date: Tue, 25 Nov 2003 18:30:31 -0800 (PST) Message-Id: <200311260230.hAQ2UVYp084341@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Jonathan Chen Subject: Re: ports/58743: Update java/jboss3 to JBoss 3.2.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jonathan Chen List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2003 02:30:33 -0000 The following reply was made to PR ports/58743; it has been noted by GNATS. From: Jonathan Chen To: Stephen Forbes Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/58743: Update java/jboss3 to JBoss 3.2.2 Date: Wed, 26 Nov 2003 15:28:53 +1300 On Wed, Nov 26, 2003 at 01:29:20AM +0000, Stephen Forbes wrote: > Hello, > > Since FreeBSD 4.9-RELEASE came out a month ago, I've been repeatedly refreshing my ports tree and trying to install /usr/ports/java/jboss3 , currently jboss-3.2.2, from the ports tree into a clean install of 4.9. The problem is that when I try to subsequently boot JBoss, it fails and I get the following messages in /usr/local/jboss3.2/log/stderr.log : > > >>>>>>>>>>>>>> > Failed to boot JBoss: > java.lang.RuntimeException: Unable to create the MBean server instance. Class org.jboss.mx.server.MBeanServerImpl has raised a > n exception in constructor: java.lang.NoSuchFieldError: org.jboss.mx.modelmbean.ModelMBeanInvoker: field ALL_DESCRIPTORS not f > ound > at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:180) > at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:80) > at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:327) > at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291) > at org.jboss.Main.boot(Main.java:150) > at org.jboss.Main$1.run(Main.java:395) > at java.lang.Thread.run(Thread.java:484) > >>>>>>>>>>>>>> The problem I fixed with the ownership permissions is not the problem you're experiencing. Let me guess: You're running JDK1.3.1 (or thereabouts). The JBoss-forums have had a discussion about this, and they have speculated that there is some binary incompatiblity with the java-classes between JDK1.4+ and JDK1.3.1. Basically, they've compiled the JBoss binaries with JDK1.4+, and it doesn't work with anything less. Solutions that have been proposed: 1. build JBoss with JDK1.3.1 (JBoss isn't doing this, we may have to do a local build) 2. upgrade to JDK1.4.2. I haven't had time to do Solution 1, would it be possible for you to try solution 2? -- Jonathan Chen ---------------------------------------------------------------------- "Beer. Now there's a temporary solution." - Homer Simpson