Bug 58743 - Update java/jboss3 to JBoss 3.2.2
Summary: Update java/jboss3 to JBoss 3.2.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-30 23:10 UTC by Jonathan Chen
Modified: 2003-11-26 03:40 UTC (History)
0 users

See Also:


Attachments
file.diff (102.34 KB, patch)
2003-10-30 23:10 UTC, Jonathan Chen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Chen 2003-10-30 23:10:07 UTC
Update java/jboss3 from 3.2.1 to 3.2.2.

While I'm here, fix problem of JBoss not starting up once installed
due to ownership/permission problems.
Comment 1 Greg Lewis freebsd_committer freebsd_triage 2003-11-01 07:34:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->des-ports-bugs

Over to maintainer.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2003-11-03 03:53:28 UTC
Responsible Changed
From-To: des-ports-bugs->des

Really assign to maintainer.
Comment 3 Dag-Erling Smørgrav 2003-11-03 08:40:55 UTC
Jonathan, feel free to commit your patches and take over
maintainership.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no
Comment 4 Jonathan Chen 2003-11-04 01:29:24 UTC
I don't mind taking over the port, but please note that I am *NOT*
jon@freebsd.org, and I do not have commit privileges.

Cheers.
-- 
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
                                       Do not take life too seriously.
                                   You will never get out of it alive.
Comment 5 Greg Lewis freebsd_committer freebsd_triage 2003-11-04 17:57:28 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2003-11-04 19:49:06 UTC
Responsible Changed
From-To: des->freebsd-ports-bugs

des has turned over maintainership of this port.
Comment 7 forbes 2003-11-26 01:29:20 UTC
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.modelm=
bean.ModelMBeanInvoker: field ALL_DESCRIPTORS not f
ound
        at javax.management.MBeanServerFactory.createMBeanServer(MBeanServe=
rFactory.java:180)
        at javax.management.MBeanServerFactory.createMBeanServer(MBeanServe=
rFactory.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)
>>>>>>>>>>>>>>

This could be due to the problem cited in http://www.freebsd.org/cgi/query-=
pr.cgi?pr=3D58743

This page raises several issues:

1) This problem is known about, I read "While I'm here, fix problem of =
JBoss not starting up once installed due to ownership/permission problems."=
 But this problem for me is still in effect. I really appreciate the hard =
work that goes into FreeBSD, but I've waited a month now for this problem =
to be resolved via the ports tree, and I'm still waiting.

2) I read that "Severity" is "non-critical", JBoss3 not booting is severe =
for me.

3) I read that the "State" is "closed", it doesn't appear closed as the =
problem hasn't been cleared in the current version in the posts tree. =
jonc@chen.org.nz states that " I don't mind taking over the port, but =
please note that I am *NOT* jon@freebsd.org, and I do not have commit =
privileges." So, does this mean that jonc@chen.org.nz has solved the =
problem with JBoss 3 not starting but that it can't be updated to the =
ports tree ? If so then how can the state be closed. Or maybe I'm =
experiencing a different problem ?

4) Tantalisingly the fix is provided as a diff output. The problem is that =
I don't know what to do with this output and that there are no instructions=
 to that effect. So, it's not really a fix, not for me anyway.

>>>>>>>>>>>>>>
diff -ru ./Makefile /home/jonc/ports/jboss3/Makefile
--- ./Makefile	Tue Jul 15 09:35:47 2003
+++ /home/jonc/ports/jboss3/Makefile	Fri Oct 31 09:16:47 2003
@@ -6,8 +6,7 @@
 #
 PORTNAME=3D	${APP_TITLE:L}
-PORTVERSION=3D 	3.2.1
-PORTREVISION=3D	1
+PORTVERSION=3D 	3.2.2
 CATEGORIES=3D	java
<snip>
>>>>>>>>>>>>>>

5) I read that this fix has been committed, yet, for me, there is still a =
problem. Could it be that the fix is incorrect or that there was a problem =
with committing ?

>>>>>>>>>>>>>>
State-Changed-From-To: open->closed=20
State-Changed-By: glewis=20
State-Changed-When: Tue Nov 4 09:57:28 PST 2003=20
State-Changed-Why: =20
Committed, thanks!=20
>>>>>>>>>>>>>>

Can you tell me how to apply this fix or, even better, when this issue =
will be sorted and committed in the ports collection ?

Many thanks for all your hard work,

Please help,

Steve
Comment 8 Jonathan Chen 2003-11-26 02:28:53 UTC
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 <jonc@chen.org.nz>
----------------------------------------------------------------------
                             "Beer. Now there's a temporary solution."
                                                       - Homer Simpson
Comment 9 Jonathan Chen freebsd_committer freebsd_triage 2003-11-26 03:32:53 UTC
[snip]
> jonc@chen.org.nz states that " I don't mind taking over the port, but 
> please note that I am *NOT* jon@freebsd.org, and I do not have commit 
> privileges." So, does this mean that jonc@chen.org.nz has solved the 

For the record, jon@freebsd.org is not a ports committer, nor does he know 
anything about Java.

-Jon