Differences between revisions 9 and 11 (spanning 2 versions)
Revision 9 as of 2006-06-26 09:38:00
Size: 5868
Editor: ?Guido Günther
Comment: fix directory names
Revision 11 as of 2006-06-26 12:43:52
Size: 5900
Editor: ?Guido Günther
Comment: Update for 4.0.4
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

[[TableOfContents]]
Line 102: Line 104:
 (3) wget http://switch.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.2-src.tar.gz
 (4) tar zxf jboss-4.0.2-src.tar.gz
 (5) cd jboss4 && cp -rl ../jboss-4.0.2-src/* .
 (3) wget http://switch.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.4.GA-src.tar.gz
 (4) tar zxf jboss-4.0.4.GA-src.tar.gz
 (5) cd jboss4 && cp -rl ../jboss-4.0.4.GA-src/* .
Line 109: Line 111:
 3. Get JBoss 4.0.2 from http://labs.jboss.com/portal/jbossas/download  3. Get JBoss 4.0.4 from http://labs.jboss.com/portal/jbossas/download

JBoss in Debian

?TableOfContents

Thirdparty JARs

The JBoss 4.0.4rc1 source tarball contains several thirdparty packages under thirdparty/ which need to be compiled from source for Debian. This list tries to keep track of the current status:

Package

URL

Version

Debian Package

Debian Version

antlr

http://www.antlr.org/

2.7.6.rc1

antlr

2.7.6

apache-addressing

http://ws.apache.org/ws-fx/addressing/

cvsbuild-7-19

apache-avalon

http://www.apache.org/dist/avalon/avalon-framework/

4.1.5

apache-avalon-logkit

http://www.apache.org/dist/avalon/logkit/

1.2

apache-bcel

http://jakarta.apache.org/bcel/index.html

5.1

apache-beanutils

http://jakarta.apache.org/commons/beanutils/

1.6.0

apache-bsf

http://jakarta.apache.org/bsf/

2.3.0

apache-codec

http://jakarta.apache.org/commons/codec/

1.2.0

apache-collections

http://jakarta.apache.org/commons/collections/

2.1

apache-crimson

http://jakarta.apache.org/commons/digester/

1.1.1

apache-digester

http://jakarta.apache.org/commons/digester/

1.6

apache-discovery

http://jakarta.apache.org/commons/discovery/

0.2

apache-fileupload

http://jakarta.apache.org/commons/fileupload/

1.0

apache-httpclient

http://jakarta.apache.org/commons/httpclient/

2.0.2

apache-jaxme

http://ws.apache.org/jaxme/

0.2-cvs

apache-lang

http://jakarta.apache.org/commons/lang/

1.0

apache-log4j

http://logging.apache.org/

1.2.8

apache-logging

http://jakarta.apache.org/commons/logging/

1.0.4jboss

apache-modeler

http://jakarta.apache.org/commons/modeler/

1.1patch

apache-myfaces

http://myfaces.apache.org

1.1.1

apache-pool

http://jakarta.apache.org/commons/logging/

1.0.1

apache-scout

http://ws.apache.org/scout/

1.0

apache-slide

http://jakarta.apache.org/slide/index.html

1.0.16

apache-tomcat

http://tomcat.apache.org

5.5.12

tomcat5

5.0.30

apache-velocity

http://jakarta.apache.org/velocity

1.4jboss

apache-wss4j

http://ws.apache.org/ws-fx/wss4j/

cvs-7-19

apache-xalan

http://xml.apache.org/xalan-j/

j_2.6.0

apache-xerces

http://xml.apache.org/xerces2-j/index.html

2.7.0

apache-xmlsec

http://xml.apache.org/security/index.html

1.2

asm

http://asm.objectweb.org/

3.0_beta

beanshell

http://www.beanshell.org/

1.3.0

cglib

http://cglib.sourceforge.net/

2.1.3

commons-el

http://jakarta.apache.org/commons/el/

1.0

dom4j

http://dom4j.org/

1.6.1jboss

gjt-jpl-util

http://www.gjt.org/pkgdoc/org/gjt/lindfors/util/

1.0

gnu-getopt

http://www.urbanophile.com/arenn/hacking/download.html

1.0.10

gnu-regexp

http://freshmeat.net/projects/gnu.regexp/

1.1.14

hibernate-annotations

http://annotations.hibernate.org

3.1beta8

hibernate

http://hibernate.org/

3.1.2

hibernate-entitymanager

http://entitymanager.hibernate.org/

3.1beta6

hsqldb

http://hsqldb.org/

1.8.0.2

ibm-wsdl4j

http://sourceforge.net/projects/wsdl4j

1.5.1

jacorb

http://www.jacorb.org

2.2.1jboss

jaxen

http://jaxen.codehaus.org/

1.1beta4

jfreechart

http://www.jfree.org/jfreechart/

0.9.20

jgroups

http://www.jgroups.org

2.2.7

joesnmp

http://sourceforge.net/projects/joesnmp

0.3.3

juddi

http://ws.apache.org/juddi/

0.9RC4

junit

http://www.junit.org/index.htm

3.8.1

junitejb

http://sourceforge.net/projects/junitejb

1.4

objectweb-joramtests

1.1

odmg

http://www.odmg.org/

3.0

oswego-concurrent

http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html

1.3.4

qdox

http://qdox.codehaus.org/

1.4

retrotranslator

http://retrotranslator.sourceforge.net/

0.9.6jboss

sleepycat

http://www.sleepycat.com

1.5.2

sun-jaf

http://java.sun.com/products/javabeans/glasgow/jaf.html

1.0.2

sun-javacc

https://javacc.dev.java.net/

3.2

sun-javamail

http://java.sun.com/products/javamail/index.jsp

1.3.1

sun-servlet

trove

http://trove4j.sourceforge.net/

2.1.1

wutka-dtdparser

http://www.wutka.com/dtdparser.html

1.2.1

xdoclet

1.2b3

xml-sax

2.0.x

Building with free tools

java-gcj-compat-dev

Calling build/build.sh (which in turn calls ant) fails very early with:

{{{ init:

_buildmagic:modules:most: BUILD FAILED

java.lang.?NoClassDefFoundError: while resolving class: org.jboss.util.Objects }}} Any hints on why this happens would be appreciated. Nevertheless the build succeeds in these subdirecories:

  • common/
  • jmx/
  • j2ee/
  • naming/

TODO

  • complete the above table
  • package missing thirdparty stuff from the above table, that isn't already in Debian
  • use Debian's ant instead of the one shipped with JBoss

  • fix building with a free java compiler

Building the Debian Package from Alioth SVN

 (1) mkdir jboss && cd jboss
 (2) svn co svn://svn.debian.org/pkg-jboss/jboss4/trunk jboss4
 (3) wget http://switch.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.4.GA-src.tar.gz
 (4) tar zxf jboss-4.0.4.GA-src.tar.gz
 (5) cd jboss4 && cp -rl ../jboss-4.0.4.GA-src/* .
 (6) debuild
  1. Create a build dir
  2. Checkout debian package source
  3. Get JBoss 4.0.4 from http://labs.jboss.com/portal/jbossas/download

  4. Unpack the upstream source
  5. Copy (actually hardlink) the upstream source into the Debian package source
  6. Build the package


CategoryJava