JBoss in Debian
Contents
Open bugs
We use BTS usertags with user pkg-jboss-maintainer@lists.alioth.debian.org to keep track of bugs.
ITPs and bugs concerning the packaging effort.
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 |
Version |
Debian Package |
Version |
2.7.6.rc1 |
antlr |
2.7.6 |
|
cvsbuild-7-19 |
|
|
|
4.1.5 |
libavalon-framework-java |
4.2.0-3 |
|
1.2 |
liblogkit-java |
1.2.2-8 |
|
5.1 |
libbcel-java |
5.1-6 |
|
1.6.0 |
libcommons-beanutils-java |
1.7.0-4 |
|
2.3.0 |
libbsf-java |
2.3.0+cvs20050308a-1 |
|
1.2.0 |
libcommons-codec-java |
1.3-4 |
|
2.1 |
libcommons-collections-java |
2.1.1-6 |
|
1.1.1 |
libcrimson-java |
1.1.3-8 |
|
1.6 |
libcommons-digester-java |
1.7-2 |
|
0.2 |
libcommons-discovery-java |
0.2-9 |
|
1.0 |
libcommons-fileupload-java |
1.0-14 |
|
2.0.2 |
libcommons-httpclient-java |
2.0.2-2 |
|
0.2-cvs |
|
|
|
1.0 |
libcommons-lang-java |
2.1-1 |
|
1.2.8 |
liblog4j1.2-java |
1.2.13-1 |
|
1.0.5.GA-jboss |
libcommons-logging-java |
1.0.4-5 |
|
1.1patch |
libcommons-modeler-java |
1.1-8 |
|
1.1.1 |
|
|
|
1.0.1 |
libcommons-pool-java |
1.2-5 |
|
1.0 |
|
|
|
1.0.16 |
|
|
|
5.5.12 |
tomcat5.5 |
5.5.15-1 |
|
1.4jboss |
velocity |
1.4-5 |
|
cvs-7-19 |
|
|
|
j_2.6.0 |
libxalan2-java |
2.6.0-6 |
|
2.7.0 |
libxerces2-java |
2.8.0-0 |
|
1.2 |
|
|
|
3.0_beta |
libasm-java |
1.5.3-4 |
|
1.3.0 |
bsh |
2.0b4-4 |
|
2.1.3 |
|
|
|
1.0 |
libcommons-el-java |
1.0-3 |
|
1.6.1jboss |
libdom4j-java |
1.6.1+dfsg-2 |
|
1.0 |
|
|
|
1.0.10 |
libgetopt-java |
1.0.11-2 |
|
1.1.14 |
libgnu-regexp-java |
1.4-3 |
|
3.1beta8 |
|
|
|
3.1.2 |
|
|
|
3.1beta6 |
|
|
|
1.8.0.2 |
libhsqldb-java |
1.8.0.2-2 |
|
1.5.1 |
|
|
|
2.2.1jboss |
|
|
|
1.1beta4 |
libjaxen-java |
1.0FCS-3 |
|
0.9.20 |
libjfreechart-java |
1.0.1-1 |
|
2.2.7 |
|
|
|
0.3.3 |
|
|
|
0.9RC4 |
|
|
|
3.8.1 |
junit |
3.8.1.1-7 |
|
1.4 |
|
|
|
objectweb-joramtests |
1.1 |
|
|
3.0 |
|
|
|
1.3.4 |
|
|
|
1.4 |
|
|
|
0.9.6jboss |
|
|
|
1.5.2 |
|
|
|
1.0.2 |
|
|
|
3.2 |
javacc |
3.2+0-3 |
|
1.3.1 |
|
|
|
sun-servlet |
|
libservlet2.4-java |
|
2.1.1 |
|
|
|
1.2.1 |
|
|
|
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
- use Debian versions of thirdparty packages, where available
- 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 zvxf jboss-4.0.4.GA-src.tar.gz (5) cd jboss4 && cp -rl ../jboss-4.0.4.GA-src/* . (6) debuild -us -uc
- Create a build dir
- Checkout debian package source
Get JBoss 4.0.4 from http://labs.jboss.com/portal/jbossas/download
- Unpack the upstream source
- Copy (actually hardlink) the upstream source into the Debian package source
- Build the package