Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 2003 18:49:42 +0200 (CEST)
From:      PieterB <pieterb@gewis.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        pieterb@gewis.nl
Subject:   ports/54445: /usr/ports/java/jboss3 requires Java >= 1.3 (not Java >= 1.2)
Message-ID:  <20030713164942.BA00821112@gewis.win.tue.nl>
Resent-Message-ID: <200307131650.h6DGoDZi086070@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         54445
>Category:       ports
>Synopsis:       /usr/ports/java/jboss3 requires Java >= 1.3 (not Java >= 1.2)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 13 09:50:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     PieterB
>Release:        FreeBSD 4.8-RC i386 / 5.0 / 5-current
>Organization:
-
>Environment:
System: FreeBSD 4.8-RC FreeBSD 4.8-RC 
linux-sun-jdk-1.3.1.08 jdk-1.3.1p8_2  
recent ports, 
>Description:
When Java is not installed the port /usr/ports/java/jboss3 installs the 
Java 1.2 SDK, which doesn't work with jboss 3.2.1

http://www.jboss.org/index.html?module=html&op=userdisplay&id=downloads
clearly states JBoss 3.2 and earlier will run on 1.3+ JVMs. JBoss
4.0 requires 1.4+ JVMs

Example:
# cd /usr/ports/java/jboss3
# make
...
===>   jboss-3.2.1 depends on file: /usr/local/jdk1.2.2/bin/java - not found
===>    Verifying install for /usr/local/jdk1.2.2/bin/java in
/usr/ports/java/jdk12
===>  Extracting for jdk-1.2.2p11
>How-To-Repeat:
See above
>Fix:
change the Makefile of the port /usr/ports/java/jboss3 

-USE_JAVA=       1.2+
+USE_JAVA=       1.3+
>Release-Note:
>Audit-Trail:
>Unformatted:
 >> Checksum OK for jdk1_2_2-src.tar.gz.
 >> Checksum OK for bsd-jdk122-patches-11.tar.gz.
 ...
 
 When starting Jboss, /usr/local/jboss3.2/log/stderr.log has the
 following traceback:
 
 # cat /usr/local/jboss3.2/log/stderr.log
 java.lang.UnsupportedClassVersionError: javax/management/NotificationBroadcaster
 Support (Unsupported major.minor version 47.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:442)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:101) 
 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
         at java.net.URLClassLoader.access$1(URLClassLoader.java:216)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:191)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:442)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:101)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
         at java.net.URLClassLoader.access$1(URLClassLoader.java:216)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:191)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         at org.jboss.system.server.ServerLoader.createServer(ServerLoader.java:241)
         at org.jboss.system.server.ServerLoader.load(ServerLoader.java:224)
         at org.jboss.Main.boot(Main.java:142)
         at org.jboss.Main$1.run(Main.java:388)
         at java.lang.Thread.run(Thread.java:479)
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030713164942.BA00821112>