summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-08-08 17:14:25 +0000
committerStuart Herbert <stuart@gentoo.org>2004-08-08 17:14:25 +0000
commiteff97eb56670fea74f52f50a75695fb526734f86 (patch)
tree6d1bbe235d51e70caae378ad2e12f618c3d4269e /www-servers/jboss
parentStable on alpha. (diff)
downloadhistorical-eff97eb56670fea74f52f50a75695fb526734f86.tar.gz
historical-eff97eb56670fea74f52f50a75695fb526734f86.tar.bz2
historical-eff97eb56670fea74f52f50a75695fb526734f86.zip
Moved from net-www/jboss to www-servers/jboss.
Diffstat (limited to 'www-servers/jboss')
-rw-r--r--www-servers/jboss/ChangeLog126
-rw-r--r--www-servers/jboss/Manifest42
-rw-r--r--www-servers/jboss/files/3.2.1/conf.d/jboss41
-rw-r--r--www-servers/jboss/files/3.2.1/env.d/50jboss1
-rw-r--r--www-servers/jboss/files/3.2.1/init.d/jboss37
-rw-r--r--www-servers/jboss/files/3.2.1/log4j.xml162
-rw-r--r--www-servers/jboss/files/3.2.3/README.Gentoo46
-rw-r--r--www-servers/jboss/files/3.2.3/catalog27
-rw-r--r--www-servers/jboss/files/3.2.3/conf.d/jboss82
-rw-r--r--www-servers/jboss/files/3.2.3/env.d/50jboss1
-rw-r--r--www-servers/jboss/files/3.2.3/init.d/jboss37
-rw-r--r--www-servers/jboss/files/3.2.3/log4j.xml162
-rw-r--r--www-servers/jboss/files/3.2.5/NEWS.Gentoo46
-rw-r--r--www-servers/jboss/files/3.2.5/README.Gentoo62
-rw-r--r--www-servers/jboss/files/3.2.5/catalog27
-rw-r--r--www-servers/jboss/files/3.2.5/conf.d/jboss90
-rw-r--r--www-servers/jboss/files/3.2.5/env.d/50jboss1
-rw-r--r--www-servers/jboss/files/3.2.5/init.d/jboss37
-rw-r--r--www-servers/jboss/files/3.2.5/log4j.xml167
-rw-r--r--www-servers/jboss/files/README.gentoo39
-rw-r--r--www-servers/jboss/files/conf.d/jboss25
-rw-r--r--www-servers/jboss/files/digest-jboss-3.2.11
-rw-r--r--www-servers/jboss/files/digest-jboss-3.2.1-r11
-rw-r--r--www-servers/jboss/files/digest-jboss-3.2.31
-rw-r--r--www-servers/jboss/files/digest-jboss-3.2.51
-rw-r--r--www-servers/jboss/files/init.d/jboss29
-rw-r--r--www-servers/jboss/files/jboss-3.0.6-connector.patch18
-rw-r--r--www-servers/jboss/files/log4j.xml162
-rw-r--r--www-servers/jboss/jboss-3.2.1-r1.ebuild108
-rw-r--r--www-servers/jboss/jboss-3.2.1.ebuild108
-rw-r--r--www-servers/jboss/jboss-3.2.3.ebuild118
-rw-r--r--www-servers/jboss/jboss-3.2.5.ebuild119
-rw-r--r--www-servers/jboss/metadata.xml13
33 files changed, 1937 insertions, 0 deletions
diff --git a/www-servers/jboss/ChangeLog b/www-servers/jboss/ChangeLog
new file mode 100644
index 000000000000..5b93dbaecb68
--- /dev/null
+++ b/www-servers/jboss/ChangeLog
@@ -0,0 +1,126 @@
+# ChangeLog for net-www/jboss
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/jboss/ChangeLog,v 1.1 2004/08/08 17:14:24 stuart Exp $
+
+*jboss-3.2.5 (08 Aug 2004)
+
+ 08 Aug 2004; Stuart Herbert <stuart@gentoo.org> +metadata.xml,
+ +files/README.gentoo, +files/jboss-3.0.6-connector.patch, +files/log4j.xml,
+ +files/3.2.1/log4j.xml, +files/3.2.1/conf.d/jboss,
+ +files/3.2.1/env.d/50jboss, +files/3.2.1/init.d/jboss,
+ +files/3.2.3/README.Gentoo, +files/3.2.3/catalog, +files/3.2.3/log4j.xml,
+ +files/3.2.3/conf.d/jboss, +files/3.2.3/env.d/50jboss,
+ +files/3.2.3/init.d/jboss, +files/3.2.5/NEWS.Gentoo,
+ +files/3.2.5/README.Gentoo, +files/3.2.5/catalog, +files/3.2.5/log4j.xml,
+ +files/3.2.5/conf.d/jboss, +files/3.2.5/env.d/50jboss,
+ +files/3.2.5/init.d/jboss, +files/conf.d/jboss, +files/init.d/jboss,
+ +jboss-3.2.1-r1.ebuild, +jboss-3.2.1.ebuild, +jboss-3.2.3.ebuild,
+ +jboss-3.2.5.ebuild:
+ Moved from net-www/jboss to www-servers/jboss.
+
+ 23 Jul 2004; <mkennedy@gentoo.org> files/3.2.5/conf.d/jboss,
+ jboss-3.2.5.ebuild:
+ Corrected Tomcat path problems with bandaid solution; Unmasking for previously
+ unmasked architectures.
+
+ 20 Jul 2004; <mkennedy@gentoo.org> jboss-3.2.5.ebuild:
+ Configuration problem with Tomcat/Catalina/Ant and /var/lib/jboss causes JSP
+ compilation to fail (eg. breaks JMX console); Masking for all architectures.
+
+*jboss-3.2.5 (19 Jul 2004)
+
+ 19 Jul 2004; <mkennedy@gentoo.org> metadata.xml, +files/3.2.5/NEWS.Gentoo,
+ +files/3.2.5/README.Gentoo, +files/3.2.5/catalog, +files/3.2.5/log4j.xml,
+ +files/3.2.5/conf.d/jboss, +files/3.2.5/env.d/50jboss,
+ +files/3.2.5/init.d/jboss, +jboss-3.2.5.ebuild:
+ New upstream version; Expanded metadata.xml; Addition of NEWS.Gentoo; No
+ longer CONFIG_PROTECT /var/lib/jboss (see NEWS.Gentoo); Adjust
+ Gentoo-installed log4j.xml so that the org.apache.commons category
+ is less noisy; Resoves Bug #51410.
+
+ 25 Jun 2004; Aron Griffis <agriffis@gentoo.org> jboss-3.2.1-r1.ebuild,
+ jboss-3.2.1.ebuild:
+ QA - fix use invocation
+
+ 19 May 2004; Chris Aniszczyk <zx@gentoo.org> jboss-3.2.3.ebuild:
+ Markings stable on x86
+
+ 19 May 2004; Chris Aniszczyk <zx@gentoo.org> jboss-3.2.3.ebuild:
+ Closes #51069
+
+ 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> jboss-3.2.3.ebuild:
+ Add inherit eutils
+
+ 17 Apr 2004; Jason Wever <weeve@gentoo.org> jboss-3.2.3.ebuild:
+ Added ~sparc keyword.
+
+*jboss-3.2.3 (20 Dec 2003)
+
+ 20 Dec 2003; <mkennedy@gentoo.org> jboss-3.2.3.ebuild, metadata.xml,
+ files/3.2.1/conf.d/jboss, files/3.2.3/README.Gentoo, files/3.2.3/catalog,
+ files/3.2.3/log4j.xml, files/3.2.3/conf.d/jboss, files/3.2.3/env.d/50jboss,
+ files/3.2.3/init.d/jboss:
+ Minor version update to latest. Resolution of bug #30554
+ (hypersonicsql vulnerable via. default config). Corrected temporary
+ file directory, bug #28284. Resolved bug #24256 (JJTree build
+ failure in 3.2.1). Added metadata.xml with maintainer information.
+ Moved install files from /opt to /usr/share/jboss, /var/log/jboss,
+ /var/cache/jboss and /var/tmp/jboss. Build all groups by default
+ (see src_compile). Expanded JBoss configuration file for Gentoo
+ (/etc/conf.d/jboss). Replace useradd/groupadd with enewuser,
+ enewgroup and make robust. Add SGML catalogs for DTDs distributed
+ with JBoss. Add CONFIG_PROTECT for server directories. Corrected
+ Java package.env file list.
+
+ 08 Dec 2003; <spider@gentoo.org> files/3.2.1/init.d/jboss:
+ fixed chown issue ( bug #35127 )
+
+ 23 Nov 2003; Martin Holzer <mholzer@gentoo.org> jboss-3.0.1_rc1.ebuild,
+ jboss-3.0.6.ebuild, jboss-3.2.1-r1.ebuild, jboss-3.2.1.ebuild:
+ adding RESTRICT="nomirror"
+
+ 29 Oct 2003; David Holm <dholm@gentoo.org> jboss-3.2.1-r1.ebuild:
+ Added to ~ppc, tested with ibm-jdk-1.4.1.
+
+*jboss-3.2.1-r1 (10 Jul 2003)
+
+ 10 Jul 2003; Matthew Kennedy <mkennedy@gentoo.org> jboss-3.2.1-r1.ebuild,
+ files/3.2.1/conf.d/jboss, files/3.2.1/init.d/jboss:
+ fixes bugs 21119, 21133 and 23612. thanks Dan A. Dickey <ddickey@wamnet.com>
+ of bug 21133 for the patch
+
+ 09 Jun 2003; <msterret@gentoo.org> jboss-3.2.1.ebuild:
+ DEPEND on sed >= 4
+
+*jboss-3.2.1 (08 May 2003)
+
+ 08 May 2003; Matthew Kennedy <mkennedy@gentoo.org> jboss-3.2.1.ebuild,
+ files/3.2.1/log4j.xml, files/3.2.1/conf.d/jboss, files/3.2.1/env.d/50jboss,
+ files/3.2.1/init.d/jboss, files/conf.d/jboss:
+ Resolves bug #19929. New configuration and improvements from Alex Winawer
+ <gentoo@winawer.net>
+
+*jboss-3.0.6 (17 Mar 2003)
+
+ 26 Mar 2003; Dylan Carlson <absinthe@gentoo.org> jboss-3.0.6.ebuild:
+ Fixed license to LGPL-2.
+
+ 17 Mar 2003; Dylan Carlson <absinthe@gentoo.org> jboss-3.0.6.ebuild,
+ files/jboss-3.0.6-connector.patch:
+ Version bump. Closes bug # 15642, thanks to Roman Majer <roman.majer@ct.cz>
+ for the connector patch. Added 'doc' use flag for API docs. Numerous minor
+ ebuild fixes.
+
+*jboss-3.0.1_rc1 (14 Jul 2002)
+
+ 13 Feb 2003; <seemant@gentoo.org> jboss-3.0.1_rc1.ebuild :
+ changed KEYWORDS to sane values, thanks to roman in #gentoo-dev
+
+ 14 Jul 2002; Matthew Kennedy <mkennedy@gentoo.org> ChangeLog,
+ jboss-3.0.1_rc1.ebuild, files/log4j.xml, conf.d/jboss,
+ files/README.gentoo files/digest-jboss-3.0.1_rc1 :
+
+ Initial import.
+
+ Ebuild submitted by Thomas Osterlie <thomas.osterlie@acm.org> (bug
+ #4850)
diff --git a/www-servers/jboss/Manifest b/www-servers/jboss/Manifest
new file mode 100644
index 000000000000..70784fe40d8e
--- /dev/null
+++ b/www-servers/jboss/Manifest
@@ -0,0 +1,42 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 d1409fd1d08b516a0bdcbb139eb9408f jboss-3.2.1.ebuild 3103
+MD5 0600a41ccafa69ec05522b1a9ae22e2d jboss-3.2.3.ebuild 3221
+MD5 7ef2ad06769c111fa0296ee23120e22d jboss-3.2.1-r1.ebuild 3101
+MD5 ea1489b6ff95d5f2796d55db23031c98 jboss-3.2.5.ebuild 3262
+MD5 58386d80dcd32a9829a53b830f03a106 ChangeLog 4508
+MD5 d3dc023c899ddec4c1dd2f4cb3c0cd36 metadata.xml 438
+MD5 83b6857488b5fca7fbe0b9f5cc841237 files/README.gentoo 1319
+MD5 18692f3609e3c62b4505a3f41d7d1fca files/digest-jboss-3.2.1 66
+MD5 8aecde4804a622cc5743b0644efc482b files/digest-jboss-3.2.3 70
+MD5 a5fc83970a0550d5715d05464816c227 files/digest-jboss-3.2.5 70
+MD5 e7f2e7b69b77430017fe58448ca68772 files/jboss-3.0.6-connector.patch 549
+MD5 18692f3609e3c62b4505a3f41d7d1fca files/digest-jboss-3.2.1-r1 66
+MD5 b6da382577bcc6d139c83cb0e11bc466 files/log4j.xml 5632
+MD5 4662db6a030cb02f46ed3bfe486b90c6 files/3.2.1/log4j.xml 5632
+MD5 f89cbfbbae9c0c2482d08d58169e597a files/3.2.3/README.Gentoo 1510
+MD5 c232658844375714820675ff2e4a4f0a files/3.2.3/log4j.xml 5632
+MD5 1fdd4664aceb87d0ecd21dbaae57967e files/3.2.3/catalog 1587
+MD5 3cc04be29b18baaea2f3e70d7e21f881 files/3.2.5/NEWS.Gentoo 1561
+MD5 c94bddd0c955c7c699701a43eb79660f files/3.2.5/README.Gentoo 1970
+MD5 1cc1c109f9f53e8610873d475cde4633 files/3.2.5/log4j.xml 5784
+MD5 1fdd4664aceb87d0ecd21dbaae57967e files/3.2.5/catalog 1587
+MD5 e282e72230397784cfd6a0d6c4e794ed files/conf.d/jboss 988
+MD5 1931937fa25bd2d257853ff6dce0814a files/init.d/jboss 568
+MD5 8be6a5609fb1d490b808a3124052e0ba files/3.2.1/env.d/50jboss 27
+MD5 3cc5cee301d9de0f72256b51e89f148e files/3.2.1/conf.d/jboss 1295
+MD5 b50fd8eb6a613bcca13831d68c07e666 files/3.2.1/init.d/jboss 860
+MD5 8be6a5609fb1d490b808a3124052e0ba files/3.2.3/env.d/50jboss 27
+MD5 4b1e766357e28233b17668ff6c2bb64e files/3.2.3/conf.d/jboss 2756
+MD5 db656d1fcd5ff22129cd47377e9928f2 files/3.2.3/init.d/jboss 861
+MD5 8be6a5609fb1d490b808a3124052e0ba files/3.2.5/env.d/50jboss 27
+MD5 2b3022832d616f96d949affaf606758a files/3.2.5/conf.d/jboss 3018
+MD5 58ee97c5026cff818b1ee5ec92530a4c files/3.2.5/init.d/jboss 861
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.4 (GNU/Linux)
+
+iD8DBQFBB4hV/rLF9B432nYRAtDlAJ9KIij1lIL/IFQDmBDezI2+GvdJAACdHgri
+t8VNmRHD0GopSqs9U7hSMSk=
+=iksN
+-----END PGP SIGNATURE-----
diff --git a/www-servers/jboss/files/3.2.1/conf.d/jboss b/www-servers/jboss/files/3.2.1/conf.d/jboss
new file mode 100644
index 000000000000..f52276c8b5c0
--- /dev/null
+++ b/www-servers/jboss/files/3.2.1/conf.d/jboss
@@ -0,0 +1,41 @@
+# -*- shell-script -*-
+
+# We need to have JBOSS_HOME and JAVA_HOME set in order to start jboss.
+
+if [ -z "$JBOSS_HOME" ]; then
+ JBOSS_HOME=`grep JBOSS_HOME /etc/profile.env | sed -e "s;.*=;;" -e "s;';;g"`
+ export JBOSS_HOME
+fi
+if [ -z "$JAVA_HOME" ]; then
+ JAVA_HOME=`java-config --jdk-home`
+ export JAVA_HOME
+fi
+
+# You can choose which configuration you want to run JBoss with. The
+# default configuration is, you guessed it, 'default'. The Gentoo
+# JBoss installation ships with two other predefined configurations;
+# 'all' and 'minimal'. The configurations are located in
+# $JBOSS_HOME/server/
+
+JBOSS_CONF="default"
+# JBOSS_CONF="all"
+# JBOSS_CONF="minimal"
+
+# Console logging defaults to '/dev/null'. This env variable is
+# included for debugging purposes. You might have to run add
+# $JBOSS_USER to the 'console' group to gain access to '/dev/console'.
+
+JBOSS_CONSOLE="/dev/null"
+# JBOSS_CONSOLE="/dev/console"
+
+# The user JBoss will run as. Comment the next line to run as root
+
+JBOSS_USER="jboss"
+
+# Commands used in starting/stopping the server
+CMD_START="$JBOSS_HOME/bin/run.sh -c $JBOSS_CONF"
+
+CMD_STOP="$JAVA_HOME/bin/java -classpath $JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/lib/jboss-system.jar:`java-config --classpath=jboss` org.jboss.Shutdown -S"
+
+SUBIT="su $JBOSS_USER -c "
+
diff --git a/www-servers/jboss/files/3.2.1/env.d/50jboss b/www-servers/jboss/files/3.2.1/env.d/50jboss
new file mode 100644
index 000000000000..92bc5e1feb30
--- /dev/null
+++ b/www-servers/jboss/files/3.2.1/env.d/50jboss
@@ -0,0 +1 @@
+JBOSS_HOME="@JBOSSPREFIX@"
diff --git a/www-servers/jboss/files/3.2.1/init.d/jboss b/www-servers/jboss/files/3.2.1/init.d/jboss
new file mode 100644
index 000000000000..851493c41b00
--- /dev/null
+++ b/www-servers/jboss/files/3.2.1/init.d/jboss
@@ -0,0 +1,37 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/jboss/files/3.2.1/init.d/jboss,v 1.1 2004/08/08 17:14:24 stuart Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting JBoss"
+ if [ -z "$JBOSS_HOME" ]; then
+ eerror "The JBOSS_HOME environment variable is not set."
+ return 1
+ fi
+ if [ ! -d "$JBOSS_HOME/server/$JBOSS_CONF/tmp" ]; then
+ mkdir "$JBOSS_HOME/server/$JBOSS_CONF/tmp"
+ chown jboss:jboss "$JBOSS_HOME/server/$JBOSS_CONF/tmp"
+ fi
+ cd $JBOSS_HOME/server/$JBOSS_CONF/tmp
+ if [ -z "$SUBIT" ]; then
+ eval $CMD_START >${JBOSS_CONSOLE} 2>&1 &
+ else
+ $SUBIT "$CMD_START >${JBOSS_CONSOLE} 2>&1 &"
+ fi
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping JBoss"
+ if [ -z "$SUBIT" ]; then
+ $CMD_STOP
+ else
+ $SUBIT "$CMD_STOP"
+ fi
+ eend $?
+}
diff --git a/www-servers/jboss/files/3.2.1/log4j.xml b/www-servers/jboss/files/3.2.1/log4j.xml
new file mode 100644
index 000000000000..13f403a34560
--- /dev/null
+++ b/www-servers/jboss/files/3.2.1/log4j.xml
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!-- -->
+<!-- Log4j Configuration -->
+<!-- -->
+<!-- ===================================================================== -->
+
+<!-- $Id: log4j.xml,v 1.1 2004/08/08 17:14:24 stuart Exp $ -->
+
+<!--
+ | For more configuration infromation and examples see the Jakarta Log4j
+ | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+ <!-- ================================= -->
+ <!-- Preserve messages in a local file -->
+ <!-- ================================= -->
+
+ <!-- A time/date based rolling appender -->
+ <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
+ <param name="File" value="/var/log/jboss/server.log"/>
+ <param name="Append" value="false"/>
+
+ <!-- Rollover at midnight each day -->
+<!-- <param name="DatePattern" value="'.'yyyy-MM-dd"/> -->
+
+ <!-- Rollover at the top of each hour -->
+ <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+
+ <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
+ <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
+ -->
+
+ </layout>
+ </appender>
+
+ <!-- A size based file rolling appender
+ <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
+ <param name="File" value="${jboss.server.home.dir}/log/server.log"/>
+ <param name="Append" value="false"/>
+ <param name="MaxFileSize" value="500KB"/>
+ <param name="MaxBackupIndex" value="1"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+ </layout>
+ </appender>
+ -->
+
+ <!-- ============================== -->
+ <!-- Append messages to the console -->
+ <!-- ============================== -->
+
+ <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+ <param name="Threshold" value="INFO"/>
+ <param name="Target" value="System.out"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
+ </layout>
+ </appender>
+
+
+ <!-- ====================== -->
+ <!-- More Appender examples -->
+ <!-- ====================== -->
+
+ <!-- Buffer events and log them asynchronously
+ <appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
+ <appender-ref ref="FILE"/>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="SMTP"/>
+ </appender>
+ -->
+
+ <!-- EMail events to an administrator
+ <appender name="SMTP" class="org.apache.log4j.net.SMTPAppender">
+ <param name="Threshold" value="ERROR"/>
+ <param name="To" value="admin@myhost.domain.com"/>
+ <param name="From" value="nobody@myhost.domain.com"/>
+ <param name="Subject" value="JBoss Sever Errors"/>
+ <param name="SMTPHost" value="localhost"/>
+ <param name="BufferSize" value="10"/>
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
+ </layout>
+ </appender>
+ -->
+
+ <!-- Syslog events
+ <appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">
+ <param name="Facility" value="LOCAL7"/>
+ <param name="FacilityPrinting" value="true"/>
+ <param name="SyslogHost" value="localhost"/>
+ </appender>
+ -->
+
+
+ <!-- Log events to JMS (requires a topic to be created)
+ <appender name="JMS" class="org.apache.log4j.net.JMSAppender">
+ <param name="Threshold" value="ERROR"/>
+ <param name="TopicConnectionFactoryBindingName" value="java:/ConnectionFactory"/>
+ <param name="TopicBindingName" value="topic/MyErrorsTopic"/>
+ </appender>
+ -->
+
+ <!-- ================ -->
+ <!-- Limit categories -->
+ <!-- ================ -->
+
+ <!-- Limit JBoss categories to INFO
+ <category name="org.jboss">
+ <priority value="INFO"/>
+ </category>
+ -->
+
+ <!-- Increase the priority threshold for the DefaultDS category
+ <category name="DefaultDS">
+ <priority value="FATAL"/>
+ </category>
+ -->
+
+ <!-- Decrease the priority threshold for the org.jboss.varia category
+ <category name="org.jboss.varia">
+ <priority value="DEBUG"/>
+ </category>
+ -->
+
+ <!--
+ | An example of enabling the custom TRACE level priority that is used
+ | by the JBoss internals to diagnose low level details. This example
+ | turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
+ | subpackages. This will produce A LOT of logging output.
+ If you use replace the log4j 1.2 jar with a 1.1.3 jar you will need to
+ change this from XLevel to XPriority.
+ <category name="org.jboss.system">
+ <priority value="TRACE" class="org.jboss.logging.XLevel"/>
+ </category>
+ <category name="org.jboss.ejb.plugins">
+ <priority value="TRACE" class="org.jboss.logging.XLevel"/>
+ </category>
+ -->
+
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="FILE"/>
+ </root>
+
+</log4j:configuration>
diff --git a/www-servers/jboss/files/3.2.3/README.Gentoo b/www-servers/jboss/files/3.2.3/README.Gentoo
new file mode 100644
index 000000000000..99fd2420fdb2
--- /dev/null
+++ b/www-servers/jboss/files/3.2.3/README.Gentoo
@@ -0,0 +1,46 @@
+Starting
+--------
+
+Start JBoss by running the jboss RC script found in /etc/init.d/. Do
+the regular 'rc-update jboss <runlevel>' to automatically start JBoss
+upon entering a runlevel. Customizing the JBoss setup by changing the
+environment variables in /etc/conf.d/jboss. Refer to that file for
+further documentation on the environment variables used during
+startup.
+
+For security reasons, the application server is running as the 'jboss'
+user. This may be changed in the /etc/conf.d/jboss script.
+
+NOTE: ANY LOCAL USER MAY STOP A RUNNING JBOSS. YOU SHOULD CONSIDER
+THIS ASPECT FOR PRODUCTION SYSTEMS.
+
+Logging
+-------
+
+All configurations shipping with this ebuild have been set up to log
+to the /var/log/jboss/server file using a time/date based rolling
+file appender.
+
+While console logging is turned on for debugging purposes, standard
+out and standard err are redirected to /dev/null by default. This may
+be changed in /etc/conf.d/jboss. As the application server is running
+as 'jboss', you will have to tweak /dev/console's access permissions
+to allow jboss access to the device.
+
+
+Client applications
+-------------------
+
+The jars required for compiling and running client applications are
+installed to /usr/share/jboss/lib. Add these jars to your classpath
+with the java-config command using either the --set-system-classpath
+or --set-user-classpath parameter.
+
+Enjoy!
+
+
+Authors of this Document
+------------------------
+
+tho <thomas.osterlie@acm.org>
+Matthew Kennedy <mkennedy@gentoo.org>
diff --git a/www-servers/jboss/files/3.2.3/catalog b/www-servers/jboss/files/3.2.3/catalog
new file mode 100644
index 000000000000..91c09e9fc7de
--- /dev/null
+++ b/www-servers/jboss/files/3.2.3/catalog
@@ -0,0 +1,27 @@
+
+ -- Catalog data for JBoss/Gentoo SGML integration
+
+ -- This set was extracted from the DTD files in the build output
+ directory, build/output/${P}/docs/dtd/
+
+PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.3//EN" "application-client_1_3.dtd"
+PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "application_1_3.dtd"
+PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "ejb-jar_2_0.dtd"
+PUBLIC "-//JBoss//DTD JAWS 2.4//EN" "jaws_2_4.dtd"
+PUBLIC "-//JBoss//DTD JAWS 3.0//EN" "jboss-app_3_0.dtd"
+PUBLIC "-//JBoss//DTD J2EE Application 1.3//EN" "jboss-app_3_0.dtd"
+PUBLIC "-//JBoss//DTD J2EE Application 1.3V2//EN" "jboss-app_3_2.dtd"
+PUBLIC "-//JBoss//DTD MBean Service 3.2//EN" "jboss-service_3_2.dtd"
+PUBLIC "-//JBoss//DTD Web Application 2.2//EN" "jboss-web.dtd"
+PUBLIC "-//JBoss//DTD Web Application 2.3//EN" "jboss-web_3_0.dtd"
+PUBLIC "-//JBoss//DTD Web Application 2.3V2//EN" "jboss-web_3_2.dtd"
+PUBLIC "-//JBoss//DTD JBOSS//EN" "jboss.dtd"
+PUBLIC "-//JBoss//DTD JBOSS 2.4//EN" "jboss_2_4.dtd"
+PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" "jboss_3_0.dtd"
+PUBLIC "-//JBoss//DTD JBOSS 3.2//EN" "jboss_3_2.dtd"
+PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.0//EN" "jboss_xmbean_1_0.dtd"
+PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.1//EN" "jboss_xmbean_1_1.dtd"
+PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN" "jbosscmp-jdbc_3_0.dtd"
+PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.2//EN" "jbosscmp-jdbc_3_2.dtd"
+PUBLIC "-//JBoss//DTD JBOSS Security Config 3.0//EN" "security_config.dtd"
+PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "web-app_2_3.dtd"
diff --git a/www-servers/jboss/files/3.2.3/conf.d/jboss b/www-servers/jboss/files/3.2.3/conf.d/jboss
new file mode 100644
index 000000000000..9147dbf054c8
--- /dev/null
+++ b/www-servers/jboss/files/3.2.3/conf.d/jboss
@@ -0,0 +1,82 @@
+# -*- mode: shell-script; mode: outline-minor; outline-regexp: "##+"; indent-tabs-mode: nil -*-
+
+## GENERAL SETTINGS
+
+# You can choose which configuration you want to run JBoss with. The
+# default configuration is, you guessed it, 'default'. The Gentoo
+# JBoss installation ships with two other predefined configurations;
+# 'all' and 'minimal'. The configurations are located in
+# $JBOSS_HOME/server/
+
+# JBOSS_CONF="all"
+JBOSS_CONF="default"
+# JBOSS_CONF="minimal"
+
+# Console logging defaults to '/dev/null'. This env variable is
+# included for debugging purposes. You might have to run add
+# $JBOSS_USER to the 'console' group to gain access to '/dev/console'.
+
+JBOSS_CONSOLE="/dev/null"
+# JBOSS_CONSOLE="/dev/console"
+
+# The user JBoss will run as.
+
+JBOSS_USER="jboss"
+
+
+## SPECIFIC SETTINGS
+
+SERVER_SETTINGS=""
+
+# The directory JBoss will use for temporary file storage
+
+SERVER_SETTINGS="${SERVER_SETTINGS} -Djboss.server.temp.dir=/var/tmp/jboss"
+
+# The directory which JBoss will use for persistent data file storage
+
+SERVER_SETTINGS="${SERVER_SETTINGS} -Djboss.server.data.dir=/var/cache/jboss"
+
+# The base URL for calculating server home URLs. In a stock JBoss
+# install, this would be <jboss_home>/server/ where sub-directories
+# default, minimal and all exist. Our defaults are /var/lib/jboss to
+# be consistent with other servers such as PostgreSQL and Apache.
+
+SERVER_HOME="/var/lib/jboss"
+SERVER_SETTINGS="${SERVER_SETTINGS} -Djboss.server.base.url=file://${SERVER_HOME}"
+
+# Whether or not the server should exit the JVM on shutdown (comment
+# out to disable)
+
+# SERVER_SETTINGS="${SERVER_SETTINGS} -Djboss.server.exitonshutdown"
+
+# Whether or not the server should shutdown synchronously (true) or
+# asynchronously (false).
+
+SERVER_SETTINGS="${SERVER_SETTINGS} -Djboss.server.exitonshutdown=false"
+
+# The address JBoss will bind services to. (Note: JBoss 3.2.3 ignores
+# the JVM environment parameter in favour of the command line switch.)
+
+JBOSS_BIND_ADDRESS="0.0.0.0"
+
+
+## STARTUP/SHUTDOWN CONFIGURATION
+
+# Commands used in starting/stopping the server. Normally you would
+# not need to change the following settings.
+
+# We need to have JBOSS_HOME and JAVA_HOME set in order to start
+# jboss.
+
+[ -z "$JBOSS_HOME" ] \
+ && export JBOSS_HOME=`grep JBOSS_HOME /etc/profile.env | sed -e "s;.*=;;" -e "s;';;g"`
+[ -z "$JAVA_HOME" ] \
+ && export JAVA_HOME=`java-config --jdk-home`
+
+# Commands for starting and stopping the server
+
+CMD_START="JAVA_OPTS=\"${SERVER_SETTINGS}\" ${JBOSS_HOME}/bin/run.sh -b ${JBOSS_BIND_ADDRESS} -c ${JBOSS_CONF}"
+
+CMD_STOP="${JAVA_HOME}/bin/java -classpath ${JBOSS_HOME}/bin/shutdown.jar:${JBOSS_HOME}/lib/jboss-system.jar:`java-config --classpath=jboss` org.jboss.Shutdown -S"
+
+SUBIT="su $JBOSS_USER -c "
diff --git a/www-servers/jboss/files/3.2.3/env.d/50jboss b/www-servers/jboss/files/3.2.3/env.d/50jboss
new file mode 100644
index 000000000000..92bc5e1feb30
--- /dev/null
+++ b/www-servers/jboss/files/3.2.3/env.d/50jboss
@@ -0,0 +1 @@
+JBOSS_HOME="@JBOSSPREFIX@"
diff --git a/www-servers/jboss/files/3.2.3/init.d/jboss b/www-servers/jboss/files/3.2.3/init.d/jboss
new file mode 100644
index 000000000000..dd8b01356383
--- /dev/null
+++ b/www-servers/jboss/files/3.2.3/init.d/jboss
@@ -0,0 +1,37 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/jboss/files/3.2.3/init.d/jboss,v 1.1 2004/08/08 17:14:25 stuart Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting JBoss"
+ if [ -z "$JBOSS_HOME" ]; then
+ eerror "The JBOSS_HOME environment variable is not set."
+ return 1
+ fi
+ if [ ! -d ${SERVER_HOME}/${JBOSS_CONF}/tmp ]; then
+ mkdir ${SERVER_HOME}/${JBOSS_CONF}/tmp
+ chown jboss:jboss ${SERVER_HOME}/${JBOSS_CONF}/tmp
+ fi
+ cd ${SERVER_HOME}/${JBOSS_CONF}/tmp
+ if [ -z "${SUBIT}" ]; then
+ eval ${CMD_START} >${JBOSS_CONSOLE} 2>&1 &
+ else
+ ${SUBIT} "${CMD_START} >${JBOSS_CONSOLE} 2>&1 &"
+ fi
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping JBoss"
+ if [ -z "$SUBIT" ]; then
+ ${CMD_STOP}
+ else
+ ${SUBIT} "$CMD_STOP"
+ fi
+ eend $?
+}
diff --git a/www-servers/jboss/files/3.2.3/log4j.xml b/www-servers/jboss/files/3.2.3/log4j.xml
new file mode 100644
index 000000000000..13f403a34560
--- /dev/null
+++ b/www-servers/jboss/files/3.2.3/log4j.xml
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!-- -->
+<!-- Log4j Configuration -->
+<!-- -->
+<!-- ===================================================================== -->
+
+<!-- $Id: log4j.xml,v 1.1 2004/08/08 17:14:24 stuart Exp $ -->
+
+<!--
+ | For more configuration infromation and examples see the Jakarta Log4j
+ | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+ <!-- ================================= -->
+ <!-- Preserve messages in a local file -->
+ <!-- ================================= -->
+
+ <!-- A time/date based rolling appender -->
+ <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
+ <param name="File" value="/var/log/jboss/server.log"/>
+ <param name="Append" value="false"/>
+
+ <!-- Rollover at midnight each day -->
+<!-- <param name="DatePattern" value="'.'yyyy-MM-dd"/> -->
+
+ <!-- Rollover at the top of each hour -->
+ <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+
+ <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
+ <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
+ -->
+
+ </layout>
+ </appender>
+
+ <!-- A size based file rolling appender
+ <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
+ <param name="File" value="${jboss.server.home.dir}/log/server.log"/>
+ <param name="Append" value="false"/>
+ <param name="MaxFileSize" value="500KB"/>
+ <param name="MaxBackupIndex" value="1"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+ </layout>
+ </appender>
+ -->
+
+ <!-- ============================== -->
+ <!-- Append messages to the console -->
+ <!-- ============================== -->
+
+ <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+ <param name="Threshold" value="INFO"/>
+ <param name="Target" value="System.out"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
+ </layout>
+ </appender>
+
+
+ <!-- ====================== -->
+ <!-- More Appender examples -->
+ <!-- ====================== -->
+
+ <!-- Buffer events and log them asynchronously
+ <appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
+ <appender-ref ref="FILE"/>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="SMTP"/>
+ </appender>
+ -->
+
+ <!-- EMail events to an administrator
+ <appender name="SMTP" class="org.apache.log4j.net.SMTPAppender">
+ <param name="Threshold" value="ERROR"/>
+ <param name="To" value="admin@myhost.domain.com"/>
+ <param name="From" value="nobody@myhost.domain.com"/>
+ <param name="Subject" value="JBoss Sever Errors"/>
+ <param name="SMTPHost" value="localhost"/>
+ <param name="BufferSize" value="10"/>
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
+ </layout>
+ </appender>
+ -->
+
+ <!-- Syslog events
+ <appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">
+ <param name="Facility" value="LOCAL7"/>
+ <param name="FacilityPrinting" value="true"/>
+ <param name="SyslogHost" value="localhost"/>
+ </appender>
+ -->
+
+
+ <!-- Log events to JMS (requires a topic to be created)
+ <appender name="JMS" class="org.apache.log4j.net.JMSAppender">
+ <param name="Threshold" value="ERROR"/>
+ <param name="TopicConnectionFactoryBindingName" value="java:/ConnectionFactory"/>
+ <param name="TopicBindingName" value="topic/MyErrorsTopic"/>
+ </appender>
+ -->
+
+ <!-- ================ -->
+ <!-- Limit categories -->
+ <!-- ================ -->
+
+ <!-- Limit JBoss categories to INFO
+ <category name="org.jboss">
+ <priority value="INFO"/>
+ </category>
+ -->
+
+ <!-- Increase the priority threshold for the DefaultDS category
+ <category name="DefaultDS">
+ <priority value="FATAL"/>
+ </category>
+ -->
+
+ <!-- Decrease the priority threshold for the org.jboss.varia category
+ <category name="org.jboss.varia">
+ <priority value="DEBUG"/>
+ </category>
+ -->
+
+ <!--
+ | An example of enabling the custom TRACE level priority that is used
+ | by the JBoss internals to diagnose low level details. This example
+ | turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
+ | subpackages. This will produce A LOT of logging output.
+ If you use replace the log4j 1.2 jar with a 1.1.3 jar you will need to
+ change this from XLevel to XPriority.
+ <category name="org.jboss.system">
+ <priority value="TRACE" class="org.jboss.logging.XLevel"/>
+ </category>
+ <category name="org.jboss.ejb.plugins">
+ <priority value="TRACE" class="org.jboss.logging.XLevel"/>
+ </category>
+ -->
+
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="FILE"/>
+ </root>
+
+</log4j:configuration>
diff --git a/www-servers/jboss/files/3.2.5/NEWS.Gentoo b/www-servers/jboss/files/3.2.5/NEWS.Gentoo
new file mode 100644
index 000000000000..d083938b6e76
--- /dev/null
+++ b/www-servers/jboss/files/3.2.5/NEWS.Gentoo
@@ -0,0 +1,46 @@
+-*-text-*- $Id: NEWS.Gentoo,v 1.1 2004/08/08 17:14:25 stuart Exp $
+
+* net-www/jboss-3.2.5
+
+SERVER_HOME Changes
+-------------------
+
+Prior to this release in Portage, the SERVER_HOME (ie. /var/lib/jboss)
+used to deploy user applications was maintained with CONFIG_PROTECT.
+There are a few problems with this approach:
+
+ 1. Upon updating, you may have to merge over 100 files with
+ etc-update.
+
+ 2. Most of the files in SERVER_HOME are binary in nature and do
+ not benifit from CONFIG_PROTECT.
+
+ 3. The CONFIG_PROTECT mechanism is only capable of merging files.
+ Thus the mechanism cannot support updates which require old
+ files in SERVER_HOME to be removed.
+
+Release net-www/jboss-3.2.5 onward will no longer maintain SERVER_HOME
+with CONFIG_PROTECT. Instead of this, we recommended you to consider
+creating your own SERVER_HOME sub-directory based on the 3 templates
+provided by the JBoss installation (ie. SERVER_HOME/all,
+SERVER_HOME/default and SERVER_HOME/minimal).
+
+After you have made your own SERVER_HOME sub-directory, simply
+annotate /etc/conf.d/jboss so that JBoss uses your SERVER_HOME
+sub-directory rather than the default one. e.g.
+
+ cp -a /var/lib/jboss/default /var/lib/jboss/myserver
+ sed -i 's,^\(JBOSS_CONF=\).*,\1"myserver",g' /etc/conf.d/jboss
+
+Log4J Changes
+-------------
+
+The log4j.xml configuration file now sets prority INFO for
+"org.apache.commons" category which is extremely noise at DEBUG
+priority.
+
+
+Authors of this Document
+------------------------
+
+Matthew Kennedy <mkennedy@gentoo.org>
diff --git a/www-servers/jboss/files/3.2.5/README.Gentoo b/www-servers/jboss/files/3.2.5/README.Gentoo
new file mode 100644
index 000000000000..61572ba5ca9a
--- /dev/null
+++ b/www-servers/jboss/files/3.2.5/README.Gentoo
@@ -0,0 +1,62 @@
+-*-text-*- $Id: README.Gentoo,v 1.1 2004/08/08 17:14:25 stuart Exp $
+
+Starting
+--------
+
+Start JBoss by running the jboss RC script found in /etc/init.d/. Do
+the regular 'rc-update jboss <runlevel>' to automatically start JBoss
+upon entering a runlevel. Customizing the JBoss setup by changing the
+environment variables in /etc/conf.d/jboss. Refer to that file for
+further documentation on the environment variables used during
+startup.
+
+For security reasons, the application server is running as the 'jboss'
+user. This may be changed in the /etc/conf.d/jboss script.
+
+NOTE: ANY LOCAL USER MAY STOP A RUNNING JBOSS. YOU SHOULD CONSIDER
+THIS ASPECT FOR PRODUCTION SYSTEMS.
+
+Tips on securing your JBoss installations can be found along with
+other documentation at the JBoss Wiki:
+
+ http://jboss.org/wiki/Wiki.jsp
+ http://www.jboss.org/wiki/Wiki.jsp?page=SecureJBoss
+
+
+Logging
+-------
+
+All configurations shipping with this ebuild have been set up to log
+to the /var/log/jboss/server file using a time/date based rolling
+file appender.
+
+While console logging is turned on for debugging purposes, standard
+out and standard err are redirected to /dev/null by default. This may
+be changed in /etc/conf.d/jboss. As the application server is running
+as 'jboss', you will have to tweak /dev/console's access permissions
+to allow jboss access to the device.
+
+
+Gentoo Specific News about the JBoss port
+-----------------------------------------
+
+NEWS.Gentoo is now installed with this document. It documents
+high-level changes to this port.
+
+
+Client applications
+-------------------
+
+The jars required for compiling and running client applications are
+installed to /usr/share/jboss/lib. Add these jars to your classpath
+with the java-config command using either the --set-system-classpath
+or --set-user-classpath parameter.
+
+Enjoy!
+
+
+Authors of this Document
+------------------------
+
+tho <thomas.osterlie@acm.org>
+Matthew Kennedy <mkennedy@gentoo.org>
diff --git a/www-servers/jboss/files/3.2.5/catalog b/www-servers/jboss/files/3.2.5/catalog
new file mode 100644
index 000000000000..91c09e9fc7de
--- /dev/null
+++ b/www-servers/jboss/files/3.2.5/catalog
@@ -0,0 +1,27 @@
+
+ -- Catalog data for JBoss/Gentoo SGML integration
+
+ -- This set was extracted from the DTD files in the build output
+ directory, build/output/${P}/docs/dtd/
+
+PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.3//EN" "application-client_1_3.dtd"
+PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "application_1_3.dtd"
+PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "ejb-jar_2_0.dtd"
+PUBLIC "-//JBoss//DTD JAWS 2.4//EN" "jaws_2_4.dtd"
+PUBLIC "-//JBoss//DTD JAWS 3.0//EN" "jboss-app_3_0.dtd"
+PUBLIC "-//JBoss//DTD J2EE Application 1.3//EN" "jboss-app_3_0.dtd"
+PUBLIC "-//JBoss//DTD J2EE Application 1.3V2//EN" "jboss-app_3_2.dtd"
+PUBLIC "-//JBoss//DTD MBean Service 3.2//EN" "jboss-service_3_2.dtd"
+PUBLIC "-//JBoss//DTD Web Application 2.2//EN" "jboss-web.dtd"
+PUBLIC "-//JBoss//DTD Web Application 2.3//EN" "jboss-web_3_0.dtd"
+PUBLIC "-//JBoss//DTD Web Application 2.3V2//EN" "jboss-web_3_2.dtd"
+PUBLIC "-//JBoss//DTD JBOSS//EN" "jboss.dtd"
+PUBLIC "-//JBoss//DTD JBOSS 2.4//EN" "jboss_2_4.dtd"
+PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" "jboss_3_0.dtd"
+PUBLIC "-//JBoss//DTD JBOSS 3.2//EN" "jboss_3_2.dtd"
+PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.0//EN" "jboss_xmbean_1_0.dtd"
+PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.1//EN" "jboss_xmbean_1_1.dtd"
+PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN" "jbosscmp-jdbc_3_0.dtd"
+PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.2//EN" "jbosscmp-jdbc_3_2.dtd"
+PUBLIC "-//JBoss//DTD JBOSS Security Config 3.0//EN" "security_config.dtd"
+PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "web-app_2_3.dtd"
diff --git a/www-servers/jboss/files/3.2.5/conf.d/jboss b/www-servers/jboss/files/3.2.5/conf.d/jboss
new file mode 100644
index 000000000000..248afc0b2802
--- /dev/null
+++ b/www-servers/jboss/files/3.2.5/conf.d/jboss
@@ -0,0 +1,90 @@
+# -*- mode: shell-script; mode: outline-minor; outline-regexp: "##+"; indent-tabs-mode: nil -*-
+
+## NOTES
+
+# This configuration file is based on the options enumerated in the
+# JBoss source code at:
+#
+# jboss-x.y.z-src/system/src/main/org/jboss/system/server/ServerConfig
+#
+# You may chose to add additional settings from there to this file.
+# We present a basic subset by default.
+
+## GENERAL SETTINGS
+
+# You can choose which configuration you want to run JBoss with. The
+# default configuration is, you guessed it, 'default'. The Gentoo
+# JBoss installation ships with two other predefined configurations;
+# 'all' and 'minimal'. The configurations are located in
+# $JBOSS_HOME/server/
+
+# JBOSS_CONF="all"
+JBOSS_CONF="default"
+# JBOSS_CONF="minimal"
+
+# Console logging defaults to '/dev/null'. This env variable is
+# included for debugging purposes. You might have to run add
+# $JBOSS_USER to the 'console' group to gain access to '/dev/console'.
+
+JBOSS_CONSOLE="/dev/null"
+# JBOSS_CONSOLE="/dev/console"
+
+# The user JBoss will run as.
+
+JBOSS_USER="jboss"
+
+
+## SPECIFIC SETTINGS
+
+SERVER_SETTINGS=""
+
+# The directory JBoss will use for temporary file storage
+
+SERVER_SETTINGS="${SERVER_SETTINGS} -Djboss.server.temp.dir=/var/tmp/jboss"
+
+# The directory which JBoss will use for persistent data file storage
+
+SERVER_SETTINGS="${SERVER_SETTINGS} -Djboss.server.data.dir=/var/cache/jboss"
+
+# The base URL for calculating server home URLs. In a stock JBoss
+# install, this would be <jboss_home>/server/ where sub-directories
+# default, minimal and all exist. Our defaults are /var/lib/jboss to
+# be consistent with other servers such as PostgreSQL and Apache.
+
+SERVER_HOME="/var/lib/jboss"
+SERVER_SETTINGS="${SERVER_SETTINGS} -Djboss.server.base.url=file://${SERVER_HOME}"
+
+# Whether or not the server should exit the JVM on shutdown
+
+SERVER_SETTINGS="${SERVER_SETTINGS} -Djboss.server.exitonshutdown=true"
+
+# Whether or not the server should shutdown synchronously (true) or
+# asynchronously (false).
+
+SERVER_SETTINGS="${SERVER_SETTINGS} -Djboss.server.blockingshutdown=true"
+
+# The address JBoss will bind services to. (Note: JBoss 3.2.3 ignores
+# the JVM environment parameter in favour of the command line switch.)
+
+JBOSS_BIND_ADDRESS="0.0.0.0"
+
+## STARTUP/SHUTDOWN CONFIGURATION
+
+# Commands used in starting/stopping the server. Normally you would
+# not need to change the following settings.
+
+# We need to have JBOSS_HOME and JAVA_HOME set in order to start
+# jboss.
+
+[ -z "$JBOSS_HOME" ] \
+ && export JBOSS_HOME=`grep JBOSS_HOME /etc/profile.env | sed -e "s;.*=;;" -e "s;';;g"`
+[ -z "$JAVA_HOME" ] \
+ && export JAVA_HOME=`java-config --jdk-home`
+
+# Commands for starting and stopping the server
+
+CMD_START="JAVA_OPTS=\"${SERVER_SETTINGS}\" ${JBOSS_HOME}/bin/run.sh -b ${JBOSS_BIND_ADDRESS} -c ${JBOSS_CONF}"
+
+CMD_STOP="${JAVA_HOME}/bin/java -classpath ${JBOSS_HOME}/bin/shutdown.jar:${JBOSS_HOME}/lib/jboss-system.jar:`java-config --classpath=jboss` org.jboss.Shutdown -S"
+
+SUBIT="su $JBOSS_USER -c "
diff --git a/www-servers/jboss/files/3.2.5/env.d/50jboss b/www-servers/jboss/files/3.2.5/env.d/50jboss
new file mode 100644
index 000000000000..92bc5e1feb30
--- /dev/null
+++ b/www-servers/jboss/files/3.2.5/env.d/50jboss
@@ -0,0 +1 @@
+JBOSS_HOME="@JBOSSPREFIX@"
diff --git a/www-servers/jboss/files/3.2.5/init.d/jboss b/www-servers/jboss/files/3.2.5/init.d/jboss
new file mode 100644
index 000000000000..2db452ba31b2
--- /dev/null
+++ b/www-servers/jboss/files/3.2.5/init.d/jboss
@@ -0,0 +1,37 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/jboss/files/3.2.5/init.d/jboss,v 1.1 2004/08/08 17:14:25 stuart Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting JBoss"
+ if [ -z "$JBOSS_HOME" ]; then
+ eerror "The JBOSS_HOME environment variable is not set."
+ return 1
+ fi
+ if [ ! -d ${SERVER_HOME}/${JBOSS_CONF}/tmp ]; then
+ mkdir ${SERVER_HOME}/${JBOSS_CONF}/tmp
+ chown jboss:jboss ${SERVER_HOME}/${JBOSS_CONF}/tmp
+ fi
+ cd ${SERVER_HOME}/${JBOSS_CONF}/tmp
+ if [ -z "${SUBIT}" ]; then
+ eval ${CMD_START} >${JBOSS_CONSOLE} 2>&1 &
+ else
+ ${SUBIT} "${CMD_START} >${JBOSS_CONSOLE} 2>&1 &"
+ fi
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping JBoss"
+ if [ -z "$SUBIT" ]; then
+ ${CMD_STOP}
+ else
+ ${SUBIT} "$CMD_STOP"
+ fi
+ eend $?
+}
diff --git a/www-servers/jboss/files/3.2.5/log4j.xml b/www-servers/jboss/files/3.2.5/log4j.xml
new file mode 100644
index 000000000000..89b755fc4aa0
--- /dev/null
+++ b/www-servers/jboss/files/3.2.5/log4j.xml
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!-- -->
+<!-- Log4j Configuration -->
+<!-- -->
+<!-- ===================================================================== -->
+
+<!-- $Id: log4j.xml,v 1.1 2004/08/08 17:14:25 stuart Exp $ -->
+
+<!--
+ | For more configuration infromation and examples see the Jakarta Log4j
+ | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+ <!-- ================================= -->
+ <!-- Preserve messages in a local file -->
+ <!-- ================================= -->
+
+ <!-- A time/date based rolling appender -->
+ <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
+ <param name="File" value="/var/log/jboss/server.log"/>
+ <param name="Append" value="false"/>
+
+ <!-- Rollover at midnight each day -->
+<!-- <param name="DatePattern" value="'.'yyyy-MM-dd"/> -->
+
+ <!-- Rollover at the top of each hour -->
+ <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+
+ <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
+ <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
+ -->
+
+ </layout>
+ </appender>
+
+ <!-- A size based file rolling appender
+ <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
+ <param name="File" value="${jboss.server.home.dir}/log/server.log"/>
+ <param name="Append" value="false"/>
+ <param name="MaxFileSize" value="500KB"/>
+ <param name="MaxBackupIndex" value="1"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+ </layout>
+ </appender>
+ -->
+
+ <!-- ============================== -->
+ <!-- Append messages to the console -->
+ <!-- ============================== -->
+
+ <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+ <param name="Threshold" value="INFO"/>
+ <param name="Target" value="System.out"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
+ </layout>
+ </appender>
+
+
+ <!-- ====================== -->
+ <!-- More Appender examples -->
+ <!-- ====================== -->
+
+ <!-- Buffer events and log them asynchronously
+ <appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
+ <appender-ref ref="FILE"/>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="SMTP"/>
+ </appender>
+ -->
+
+ <!-- EMail events to an administrator
+ <appender name="SMTP" class="org.apache.log4j.net.SMTPAppender">
+ <param name="Threshold" value="ERROR"/>
+ <param name="To" value="admin@myhost.domain.com"/>
+ <param name="From" value="nobody@myhost.domain.com"/>
+ <param name="Subject" value="JBoss Sever Errors"/>
+ <param name="SMTPHost" value="localhost"/>
+ <param name="BufferSize" value="10"/>
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
+ </layout>
+ </appender>
+ -->
+
+ <!-- Syslog events
+ <appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">
+ <param name="Facility" value="LOCAL7"/>
+ <param name="FacilityPrinting" value="true"/>
+ <param name="SyslogHost" value="localhost"/>
+ </appender>
+ -->
+
+
+ <!-- Log events to JMS (requires a topic to be created)
+ <appender name="JMS" class="org.apache.log4j.net.JMSAppender">
+ <param name="Threshold" value="ERROR"/>
+ <param name="TopicConnectionFactoryBindingName" value="java:/ConnectionFactory"/>
+ <param name="TopicBindingName" value="topic/MyErrorsTopic"/>
+ </appender>
+ -->
+
+ <!-- ================ -->
+ <!-- Limit categories -->
+ <!-- ================ -->
+
+ <!-- Limit JBoss categories to INFO
+ <category name="org.jboss">
+ <priority value="INFO"/>
+ </category>
+ -->
+
+ <!-- Increase the priority threshold for the DefaultDS category
+ <category name="DefaultDS">
+ <priority value="FATAL"/>
+ </category>
+ -->
+
+ <!-- Decrease the priority threshold for the org.jboss.varia category
+ <category name="org.jboss.varia">
+ <priority value="DEBUG"/>
+ </category>
+ -->
+
+ <!-- Quieten the incredibly noisey Apache Commons log messages -->
+ <category name="org.apache.commons">
+ <priority value="INFO"/>
+ </category>
+
+ <!--
+ | An example of enabling the custom TRACE level priority that is used
+ | by the JBoss internals to diagnose low level details. This example
+ | turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
+ | subpackages. This will produce A LOT of logging output.
+ If you use replace the log4j 1.2 jar with a 1.1.3 jar you will need to
+ change this from XLevel to XPriority.
+ <category name="org.jboss.system">
+ <priority value="TRACE" class="org.jboss.logging.XLevel"/>
+ </category>
+ <category name="org.jboss.ejb.plugins">
+ <priority value="TRACE" class="org.jboss.logging.XLevel"/>
+ </category>
+ -->
+
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="FILE"/>
+ </root>
+
+</log4j:configuration>
diff --git a/www-servers/jboss/files/README.gentoo b/www-servers/jboss/files/README.gentoo
new file mode 100644
index 000000000000..ec5e0ec832b0
--- /dev/null
+++ b/www-servers/jboss/files/README.gentoo
@@ -0,0 +1,39 @@
+Starting
+--------
+
+Start JBoss by running the jboss RC script found in /etc/init.d/. Do
+the regular 'rc-update jboss <runlevel>' to automatically start JBoss
+upon entering a runlevel. Customizing the JBoss setup by changing the
+environment variables in /etc/conf.d/jboss. Refer to that file for
+further documentation on the environment variables used during
+startup.
+
+For security reasons, the application server is running as the 'jboss'
+user. This may be changed in the /etc/conf.d/jboss script, too.
+
+
+Logging
+-------
+
+All configurations shipping with this ebuild have been set up to log
+to the /var/log/jboss/server file using a time/date based rolling
+file appender.
+
+While console logging is turned on for debugging purposes, standard
+out and standard err are redirected to /dev/null by default. This may
+be changed in /etc/conf.d/jboss. As the application server is running
+as 'jboss', you will have to tweak /dev/console's access permissions
+to allow jboss access to the device.
+
+
+Client applications
+-------------------
+
+The jars required for compiling and running client applications are
+installed to /usr/share/jboss/lib. Add these jars to your classpath
+with the java-config command using either the --set-system-classpath
+or --set-user-classpath parameter.
+
+Enjoy!
+
+tho <thomas.osterlie@acm.org>
diff --git a/www-servers/jboss/files/conf.d/jboss b/www-servers/jboss/files/conf.d/jboss
new file mode 100644
index 000000000000..d72298ca8abd
--- /dev/null
+++ b/www-servers/jboss/files/conf.d/jboss
@@ -0,0 +1,25 @@
+# The directory containing bin, server and lib dirs.
+JBOSS_HOME="@jbossprefix@"
+
+# You can choose which configuration you want to run JBoss with. The
+# default configuration is, you guessed it, 'default'. The Gentoo
+# JBoss installation ships with two other predefined configurations;
+# 'all' and 'minimal'. The configurations are located in
+# $JBOSS_HOME/server/
+JBOSS_CONF="default"
+# JBOSS_CONF="all"
+# JBOSS_CONF="minimal"
+
+# Console logging defaults to '/dev/null'. This env variable is
+# included for debugging purposes. You might have to run add
+# $JBOSS_USER to the 'console' group to gain access to '/dev/console'.
+JBOSS_CONSOLE="/dev/null"
+# JBOSS_CONSOLE="/dev/console"
+
+# The user JBoss will run as. Comment the next line to run as root
+JBOSS_USER="jboss"
+
+# Commands used in starting/stopping the server
+CMD_START="$JBOSS_HOME/bin/run.sh -c $JBOSS_CONF"
+CMD_STOP="$JAVA_HOME/bin/java -classpath $JBOSS_HOME/bin/shutdown.jar org.jboss.Shutdown"
+SUBIT="su $JBOSS_USER -c "
diff --git a/www-servers/jboss/files/digest-jboss-3.2.1 b/www-servers/jboss/files/digest-jboss-3.2.1
new file mode 100644
index 000000000000..20b8409558a0
--- /dev/null
+++ b/www-servers/jboss/files/digest-jboss-3.2.1
@@ -0,0 +1 @@
+MD5 98a66b0f148c4a8303907e96963a8bcb jboss-3.2.1-src.tgz 28592569
diff --git a/www-servers/jboss/files/digest-jboss-3.2.1-r1 b/www-servers/jboss/files/digest-jboss-3.2.1-r1
new file mode 100644
index 000000000000..20b8409558a0
--- /dev/null
+++ b/www-servers/jboss/files/digest-jboss-3.2.1-r1
@@ -0,0 +1 @@
+MD5 98a66b0f148c4a8303907e96963a8bcb jboss-3.2.1-src.tgz 28592569
diff --git a/www-servers/jboss/files/digest-jboss-3.2.3 b/www-servers/jboss/files/digest-jboss-3.2.3
new file mode 100644
index 000000000000..b8606100776c
--- /dev/null
+++ b/www-servers/jboss/files/digest-jboss-3.2.3
@@ -0,0 +1 @@
+MD5 c432fd194205ed4b7b9fd55ae4bfe8f9 jboss-3.2.3-src.tar.bz2 33388734
diff --git a/www-servers/jboss/files/digest-jboss-3.2.5 b/www-servers/jboss/files/digest-jboss-3.2.5
new file mode 100644
index 000000000000..23e2fda3d83f
--- /dev/null
+++ b/www-servers/jboss/files/digest-jboss-3.2.5
@@ -0,0 +1 @@
+MD5 c82e127e1dd80d755f11970a4ee72c3a jboss-3.2.5-src.tar.bz2 33212056
diff --git a/www-servers/jboss/files/init.d/jboss b/www-servers/jboss/files/init.d/jboss
new file mode 100644
index 000000000000..3b12a79d054d
--- /dev/null
+++ b/www-servers/jboss/files/init.d/jboss
@@ -0,0 +1,29 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/jboss/files/init.d/jboss,v 1.1 2004/08/08 17:14:25 stuart Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting JBoss"
+ cd $JBOSS_HOME/bin
+ if [ -z "$SUBIT" ]; then
+ eval $CMD_START >${JBOSS_CONSOLE} 2>&1 &
+ else
+ $SUBIT "$CMD_START >${JBOSS_CONSOLE} 2>&1 &"
+ fi
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping JBoss"
+ if [ -z "$SUBIT" ]; then
+ $CMD_STOP
+ else
+ $SUBIT "$CMD_STOP"
+ fi
+ eend $?
+}
diff --git a/www-servers/jboss/files/jboss-3.0.6-connector.patch b/www-servers/jboss/files/jboss-3.0.6-connector.patch
new file mode 100644
index 000000000000..0dc445adf406
--- /dev/null
+++ b/www-servers/jboss/files/jboss-3.0.6-connector.patch
@@ -0,0 +1,18 @@
+--- connector/build.xml 2002-10-07 22:19:32.000000000 +0200
++++ connector/build.new.xml 2003-02-13 17:35:32.000000000 +0100
+@@ -543,6 +543,7 @@
+
+
+ <!-- Force the use of SAXON XSLT -->
++<!--
+ <property system="true"
+ name="javax.xml.transform.TransformerFactory"
+ value="com.icl.saxon.TransformerFactoryImpl"/>
+@@ -557,6 +558,7 @@
+ <param name="quiet" expression="${oasis.docbook.xsl.chunker.quiet}"/>
+ <param name="base.dir" expression="${build.jmx-api}${file.separator}"/>
+ </style>
++-->
+
+ </target>
+
diff --git a/www-servers/jboss/files/log4j.xml b/www-servers/jboss/files/log4j.xml
new file mode 100644
index 000000000000..13f403a34560
--- /dev/null
+++ b/www-servers/jboss/files/log4j.xml
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!-- -->
+<!-- Log4j Configuration -->
+<!-- -->
+<!-- ===================================================================== -->
+
+<!-- $Id: log4j.xml,v 1.1 2004/08/08 17:14:24 stuart Exp $ -->
+
+<!--
+ | For more configuration infromation and examples see the Jakarta Log4j
+ | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+ <!-- ================================= -->
+ <!-- Preserve messages in a local file -->
+ <!-- ================================= -->
+
+ <!-- A time/date based rolling appender -->
+ <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
+ <param name="File" value="/var/log/jboss/server.log"/>
+ <param name="Append" value="false"/>
+
+ <!-- Rollover at midnight each day -->
+<!-- <param name="DatePattern" value="'.'yyyy-MM-dd"/> -->
+
+ <!-- Rollover at the top of each hour -->
+ <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+
+ <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
+ <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
+ -->
+
+ </layout>
+ </appender>
+
+ <!-- A size based file rolling appender
+ <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
+ <param name="File" value="${jboss.server.home.dir}/log/server.log"/>
+ <param name="Append" value="false"/>
+ <param name="MaxFileSize" value="500KB"/>
+ <param name="MaxBackupIndex" value="1"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+ </layout>
+ </appender>
+ -->
+
+ <!-- ============================== -->
+ <!-- Append messages to the console -->
+ <!-- ============================== -->
+
+ <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+ <param name="Threshold" value="INFO"/>
+ <param name="Target" value="System.out"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
+ </layout>
+ </appender>
+
+
+ <!-- ====================== -->
+ <!-- More Appender examples -->
+ <!-- ====================== -->
+
+ <!-- Buffer events and log them asynchronously
+ <appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
+ <appender-ref ref="FILE"/>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="SMTP"/>
+ </appender>
+ -->
+
+ <!-- EMail events to an administrator
+ <appender name="SMTP" class="org.apache.log4j.net.SMTPAppender">
+ <param name="Threshold" value="ERROR"/>
+ <param name="To" value="admin@myhost.domain.com"/>
+ <param name="From" value="nobody@myhost.domain.com"/>
+ <param name="Subject" value="JBoss Sever Errors"/>
+ <param name="SMTPHost" value="localhost"/>
+ <param name="BufferSize" value="10"/>
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
+ </layout>
+ </appender>
+ -->
+
+ <!-- Syslog events
+ <appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">
+ <param name="Facility" value="LOCAL7"/>
+ <param name="FacilityPrinting" value="true"/>
+ <param name="SyslogHost" value="localhost"/>
+ </appender>
+ -->
+
+
+ <!-- Log events to JMS (requires a topic to be created)
+ <appender name="JMS" class="org.apache.log4j.net.JMSAppender">
+ <param name="Threshold" value="ERROR"/>
+ <param name="TopicConnectionFactoryBindingName" value="java:/ConnectionFactory"/>
+ <param name="TopicBindingName" value="topic/MyErrorsTopic"/>
+ </appender>
+ -->
+
+ <!-- ================ -->
+ <!-- Limit categories -->
+ <!-- ================ -->
+
+ <!-- Limit JBoss categories to INFO
+ <category name="org.jboss">
+ <priority value="INFO"/>
+ </category>
+ -->
+
+ <!-- Increase the priority threshold for the DefaultDS category
+ <category name="DefaultDS">
+ <priority value="FATAL"/>
+ </category>
+ -->
+
+ <!-- Decrease the priority threshold for the org.jboss.varia category
+ <category name="org.jboss.varia">
+ <priority value="DEBUG"/>
+ </category>
+ -->
+
+ <!--
+ | An example of enabling the custom TRACE level priority that is used
+ | by the JBoss internals to diagnose low level details. This example
+ | turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
+ | subpackages. This will produce A LOT of logging output.
+ If you use replace the log4j 1.2 jar with a 1.1.3 jar you will need to
+ change this from XLevel to XPriority.
+ <category name="org.jboss.system">
+ <priority value="TRACE" class="org.jboss.logging.XLevel"/>
+ </category>
+ <category name="org.jboss.ejb.plugins">
+ <priority value="TRACE" class="org.jboss.logging.XLevel"/>
+ </category>
+ -->
+
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="FILE"/>
+ </root>
+
+</log4j:configuration>
diff --git a/www-servers/jboss/jboss-3.2.1-r1.ebuild b/www-servers/jboss/jboss-3.2.1-r1.ebuild
new file mode 100644
index 000000000000..4ea64dd77443
--- /dev/null
+++ b/www-servers/jboss/jboss-3.2.1-r1.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/jboss/jboss-3.2.1-r1.ebuild,v 1.1 2004/08/08 17:14:24 stuart Exp $
+
+MY_P="${P}-src"
+
+DESCRIPTION="The Open Source J2EE app server implementation"
+SRC_URI="mirror://sourceforge/jboss/${MY_P}.tgz"
+RESTRICT="nomirror"
+HOMEPAGE="http://www.jboss.org"
+LICENSE="LGPL-2"
+IUSE="doc"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+
+RDEPEND=">=virtual/jdk-1.3"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4
+ dev-java/ant"
+
+INSTALL_DIR=/opt/${P}
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ export JAVA_HOME=${JDK_HOME}
+ cd build
+ sh build.sh || die
+}
+
+src_install() {
+ dodir ${INSTALL_DIR}
+ dodir ${INSTALL_DIR}/bin
+
+ cp build/output/${PN}-${PV}/bin/run.sh ${D}/${INSTALL_DIR}/bin
+ cp build/output/${PN}-${PV}/bin/shutdown.sh ${D}/${INSTALL_DIR}/bin
+ cp build/output/${PN}-${PV}/bin/run.jar ${D}/${INSTALL_DIR}/bin
+ cp build/output/${PN}-${PV}/bin/shutdown.jar ${D}/${INSTALL_DIR}/bin
+
+ exeinto /etc/init.d
+ doexe ${FILESDIR}/${PV}/init.d/jboss
+
+ dodir /etc/conf.d
+ cp ${FILESDIR}/${PV}/conf.d/jboss ${D}/etc/conf.d
+
+ dodir /etc/env.d
+ cp ${FILESDIR}/${PV}/env.d/50jboss ${D}/etc/env.d
+ sed -i "s#@JBOSSPREFIX@#${INSTALL_DIR}#" ${D}/etc/env.d/50jboss
+
+ einfo ">>> Setting up configuration files and library packages..."
+ local dirs="build/output/${PN}-${PV}/server build/output/${PN}-${PV}/lib build/output/${PN}-${PV}/client"
+ for i in $dirs ; do
+ cp -a $i ${D}/${INSTALL_DIR}/
+ done
+ cp ${FILESDIR}/${PV}/log4j.xml ${D}/${INSTALL_DIR}/server/all/conf
+ cp ${FILESDIR}/${PV}/log4j.xml ${D}/${INSTALL_DIR}/server/default/conf
+ cp ${FILESDIR}/${PV}/log4j.xml ${D}/${INSTALL_DIR}/server/minimal/conf
+
+ # We probably should not do this, because a wide variety of tools
+ # assume everything under a common JBoss file system.
+
+ einfo ">>> Installing client libraries..."
+ local dirs="build/output/${PN}-${PV}/client/*"
+ for i in $dirs ; do
+ dojar $i
+ done
+
+ einfo ">>> Setting up documentation..."
+ dodoc server/src/docs/LICENSE.txt ${FILESDIR}/README.gentoo
+ if use doc ; then
+ dohtml -a html,htm,png,gif,css,java -r build/output/${PN}-${PV}/docs/
+ fi
+
+ einfo ">>> Creating log directory..."
+ dodir /var/log/jboss
+ touch ${D}/var/log/jboss/.keep
+}
+
+pkg_postinst() {
+ chown -R jboss ${INSTALL_DIR}/server
+ chgrp -R jboss ${INSTALL_DIR}/server
+ chown jboss /var/log/jboss
+ chgrp jboss /var/log/jboss
+ chmod -R g+w ${INSTALL_DIR}/server
+
+ einfo ""
+ einfo "Access summary"
+ einfo "--------------"
+ einfo " * User jboss and group jboss ownership for"
+ einfo " ${INSTALL_DIR}/server and higher and "
+ einfo " /var/log/jboss"
+ einfo " * User and group read/write permissions for"
+ einfo " ${INSTALL_DIR}/server and higher"
+ einfo ""
+ einfo "Gentoo specific documentation for JBoss is available at"
+ einfo "/usr/share/doc/${P}/README.gentoo"
+ einfo ""
+}
+
+pkg_preinst() {
+ einfo ">>> Adding user and group for JBoss"
+ if ! groupmod jboss ; then
+ groupadd jboss || die "problem adding jboss group"
+ fi
+ if ! id jboss ; then
+ useradd jboss -g jboss || die "problem adding jboss user"
+ fi
+}
diff --git a/www-servers/jboss/jboss-3.2.1.ebuild b/www-servers/jboss/jboss-3.2.1.ebuild
new file mode 100644
index 000000000000..0179289df0e3
--- /dev/null
+++ b/www-servers/jboss/jboss-3.2.1.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/jboss/jboss-3.2.1.ebuild,v 1.1 2004/08/08 17:14:24 stuart Exp $
+
+MY_P="${P}-src"
+
+DESCRIPTION="The Open Source J2EE app server implementation"
+SRC_URI="mirror://sourceforge/jboss/${MY_P}.tgz"
+RESTRICT="nomirror"
+HOMEPAGE="http://www.jboss.org"
+LICENSE="LGPL-2"
+IUSE="doc"
+SLOT="0"
+KEYWORDS="~x86"
+
+RDEPEND=">=virtual/jdk-1.3"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4
+ dev-java/ant"
+
+INSTALL_DIR=/opt/${P}
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ export JAVA_HOME=${JDK_HOME}
+ cd build
+ sh build.sh || die
+}
+
+src_install() {
+ dodir ${INSTALL_DIR}
+ dodir ${INSTALL_DIR}/bin
+
+ cp build/output/${PN}-${PV}/bin/run.sh ${D}/${INSTALL_DIR}/bin
+ cp build/output/${PN}-${PV}/bin/shutdown.sh ${D}/${INSTALL_DIR}/bin
+ cp build/output/${PN}-${PV}/bin/run.jar ${D}/${INSTALL_DIR}/bin
+ cp build/output/${PN}-${PV}/bin/shutdown.jar ${D}/${INSTALL_DIR}/bin
+
+ exeinto /etc/init.d
+ doexe ${FILESDIR}/${PV}/init.d/jboss
+
+ dodir /etc/conf.d
+ cp ${FILESDIR}/${PV}/conf.d/jboss ${D}/etc/conf.d
+
+ dodir /etc/env.d
+ cp ${FILESDIR}/${PV}/env.d/50jboss ${D}/etc/env.d
+ sed -i "s#@JBOSSPREFIX@#${INSTALL_DIR}#" ${D}/etc/env.d/50jboss
+
+ einfo ">>> Setting up configuration files and library packages..."
+ local dirs="build/output/${PN}-${PV}/server build/output/${PN}-${PV}/lib build/output/${PN}-${PV}/client"
+ for i in $dirs ; do
+ cp -a $i ${D}/${INSTALL_DIR}/
+ done
+ cp ${FILESDIR}/${PV}/log4j.xml ${D}/${INSTALL_DIR}/server/all/conf
+ cp ${FILESDIR}/${PV}/log4j.xml ${D}/${INSTALL_DIR}/server/default/conf
+ cp ${FILESDIR}/${PV}/log4j.xml ${D}/${INSTALL_DIR}/server/minimal/conf
+
+ # We probably should not do this, because a wide variety of tools
+ # assume everything under a common JBoss file system.
+
+# einfo ">>> Installing client libraries..."
+# local dirs="build/output/${PN}-${PV}/client/*"
+# for i in $dirs ; do
+# dojar $i
+# done
+
+ einfo ">>> Setting up documentation..."
+ dodoc server/src/docs/LICENSE.txt ${FILESDIR}/README.gentoo
+ if use doc ; then
+ dohtml -a html,htm,png,gif,css,java -r build/output/${PN}-${PV}/docs/
+ fi
+
+ einfo ">>> Creating log directory..."
+ dodir /var/log/jboss
+ touch ${D}/var/log/jboss/.keep
+}
+
+pkg_postinst() {
+ chown -R jboss ${INSTALL_DIR}/server
+ chgrp -R jboss ${INSTALL_DIR}/server
+ chown jboss /var/log/jboss
+ chgrp jboss /var/log/jboss
+ chmod -R g+w ${INSTALL_DIR}/server
+
+ einfo ""
+ einfo "Access summary"
+ einfo "--------------"
+ einfo " * User jboss and group jboss ownership for"
+ einfo " ${INSTALL_DIR}/server and higher and "
+ einfo " /var/log/jboss"
+ einfo " * User and group read/write permissions for"
+ einfo " ${INSTALL_DIR}/server and higher"
+ einfo ""
+ einfo "Gentoo specific documentation for JBoss is available at"
+ einfo "/usr/share/doc/${P}/README.gentoo"
+ einfo ""
+}
+
+pkg_preinst() {
+ einfo ">>> Adding user and group for JBoss"
+ if ! groupmod jboss ; then
+ groupadd jboss || die "problem adding jboss group"
+ fi
+ if ! id jboss ; then
+ useradd jboss -g jboss || die "problem adding jboss user"
+ fi
+}
diff --git a/www-servers/jboss/jboss-3.2.3.ebuild b/www-servers/jboss/jboss-3.2.3.ebuild
new file mode 100644
index 000000000000..0ce88638333c
--- /dev/null
+++ b/www-servers/jboss/jboss-3.2.3.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/jboss/jboss-3.2.3.ebuild,v 1.1 2004/08/08 17:14:24 stuart Exp $
+
+inherit eutils
+
+MY_P="${P}-src"
+
+DESCRIPTION="The JBoss/Server is the leading Open Source, standards-compliant, J2EE based application server implemented in 100% Pure Java."
+SRC_URI="mirror://sourceforge/jboss/${MY_P}.tar.bz2"
+RESTRICT="nomirror"
+HOMEPAGE="http://www.jboss.org"
+LICENSE="LGPL-2"
+IUSE=""
+SLOT="0"
+KEYWORDS="x86 ~ppc ~sparc"
+
+RDEPEND=">=virtual/jdk-1.3"
+DEPEND="${RDEPEND}
+ app-text/sgml-common
+ dev-java/ant"
+
+# This was once an installation into /opt. It has been changed to
+# /usr/share/jboss so it conforms to the Linux Filesytem Hierarchy
+# Standards.
+
+INSTALL_DIR=/usr/share/jboss
+# INSTALL_DIR=/opt/${P}
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ [ -n ${JDK_HOME} ] || JDK_HOME=$(java-config --jdk-home)
+ export JAVA_HOME=${JDK_HOME}
+ cd build
+ # For more options on the "groups" parameter, see build/build.xml
+ sh build.sh -Dgroups=all || die
+# sh build.sh || die
+}
+
+src_install() {
+ dodir ${INSTALL_DIR}
+ dodir ${INSTALL_DIR}/bin
+
+ for f in run.sh shutdown.sh run.jar shutdown.jar; do
+ cp build/output/${PN}-${PV}/bin/${f} ${D}/${INSTALL_DIR}/bin
+ done
+
+ exeinto /etc/init.d
+ doexe ${FILESDIR}/${PV}/init.d/jboss
+ dodir /etc/conf.d
+ cp ${FILESDIR}/${PV}/conf.d/jboss ${D}/etc/conf.d
+ dodir /etc/env.d
+ cp ${FILESDIR}/${PV}/env.d/50jboss ${D}/etc/env.d
+ sed "s#@JBOSSPREFIX@#${INSTALL_DIR}#" \
+ <${FILESDIR}/${PV}/env.d/50jboss \
+ >${D}/etc/env.d/50jboss
+ echo 'CONFIG_PROTECT="/var/lib/jboss"' >>${D}/etc/env.d/50jboss
+
+ for i in build/output/${PN}-${PV}/server \
+ build/output/${PN}-${PV}/lib \
+ build/output/${PN}-${PV}/client
+ do
+ cp -a $i ${D}/${INSTALL_DIR}/
+ done
+
+ dodir /var/lib/jboss
+ mv ${D}/${INSTALL_DIR}/server/{all,default,minimal} ${D}/var/lib/jboss
+ for server in all default minimal; do
+ cp ${FILESDIR}/${PV}/log4j.xml ${D}/var/lib/jboss/${server}/conf/
+ done
+ rmdir ${D}/${INSTALL_DIR}/server
+
+ local classpath
+ classpath=$(find ${D}/${INSTALL_DIR}/client -type f -name \*.jar |sed "s,${D}/,,g")
+ classpath=$(echo ${classpath})
+ cat >${D}/usr/share/jboss/package.env <<EOF
+DESCRIPTION=Client side libraries for JBoss
+CLASSPATH=${classpath// /:}
+EOF
+
+ dodoc server/src/docs/LICENSE.txt ${FILESDIR}/README.gentoo
+ cp -r build/output/${PN}-${PV}/docs/examples ${D}/usr/share/doc/${PF}/
+
+ insinto /usr/share/sgml/jboss/
+ doins build/output/${P}/docs/dtd/*
+ doins ${FILESDIR}/${PV}/catalog
+
+ keepdir /var/log/jboss
+ keepdir /var/tmp/jboss
+ keepdir /var/cache/jboss
+}
+
+without_error() {
+ $@ &>/dev/null || true
+}
+
+pkg_postinst() {
+ without_error userdel jboss
+ without_error groupdel jboss
+ if ! enewgroup jboss || ! enewuser jboss -1 /bin/sh /dev/null jboss; then
+ die "Unable to add jboss user and jboss group."
+ fi
+
+ for dir in /var/log/jboss /var/tmp/jboss /var/cache/jboss /var/lib/jboss; do
+ chown -R jboss:jboss ${dir}
+ chmod o-rwx ${dir}
+ done
+
+ install-catalog --add /etc/sgml/jboss.cat /usr/share/sgml/jboss/catalog
+}
+
+pkg_prerm() {
+ if [ -e /etc/sgml/jboss.cat ]; then
+ install-catalog --remove /etc/sgml/jboss.cat /usr/share/sgml/jboss/catalog
+ fi
+}
+
diff --git a/www-servers/jboss/jboss-3.2.5.ebuild b/www-servers/jboss/jboss-3.2.5.ebuild
new file mode 100644
index 000000000000..70491d69a628
--- /dev/null
+++ b/www-servers/jboss/jboss-3.2.5.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/jboss/jboss-3.2.5.ebuild,v 1.1 2004/08/08 17:14:24 stuart Exp $
+
+inherit eutils
+
+MY_P="${P}-src"
+
+DESCRIPTION="An open source, standards-compliant, J2EE-based application server implemented in 100% Pure Java."
+SRC_URI="mirror://sourceforge/jboss/${MY_P}.tar.bz2"
+RESTRICT="nomirror"
+HOMEPAGE="http://www.jboss.org"
+LICENSE="LGPL-2"
+IUSE="doc"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc"
+
+RDEPEND=">=virtual/jdk-1.3"
+DEPEND="${RDEPEND}
+ app-text/sgml-common
+ dev-java/ant"
+
+INSTALL_DIR=/usr/share/jboss
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ [ -n ${JDK_HOME} ] || JDK_HOME=$(java-config --jdk-home)
+ export JAVA_HOME=${JDK_HOME}
+ cd build
+ # For more options on the "groups" parameter, see build/build.xml
+ sh build.sh -Dgroups=all || die
+# sh build.sh || die
+}
+
+src_install() {
+ dodir ${INSTALL_DIR}
+ dodir ${INSTALL_DIR}/bin
+
+ for f in run.sh shutdown.sh run.jar shutdown.jar; do
+ cp build/output/${PN}-${PV}/bin/${f} ${D}/${INSTALL_DIR}/bin
+ done
+
+ exeinto /etc/init.d
+ doexe ${FILESDIR}/${PV}/init.d/jboss
+ dodir /etc/conf.d
+ cp ${FILESDIR}/${PV}/conf.d/jboss ${D}/etc/conf.d
+ dodir /etc/env.d
+ cp ${FILESDIR}/${PV}/env.d/50jboss ${D}/etc/env.d
+ sed "s#@JBOSSPREFIX@#${INSTALL_DIR}#" \
+ <${FILESDIR}/${PV}/env.d/50jboss \
+ >${D}/etc/env.d/50jboss
+# see NEWS.Gentoo
+# echo 'CONFIG_PROTECT="/var/lib/jboss"' >>${D}/etc/env.d/50jboss
+
+ for i in build/output/${PN}-${PV}/server \
+ build/output/${PN}-${PV}/lib \
+ build/output/${PN}-${PV}/client
+ do
+ cp -a $i ${D}/${INSTALL_DIR}/
+ done
+
+ dodir /var/lib/jboss
+ mv ${D}/${INSTALL_DIR}/server/{all,default,minimal} ${D}/var/lib/jboss
+ for server in all default minimal; do
+ cp ${FILESDIR}/${PV}/log4j.xml ${D}/var/lib/jboss/${server}/conf/
+ done
+ rmdir ${D}/${INSTALL_DIR}/server
+
+ local classpath
+ classpath=$(find ${D}/${INSTALL_DIR}/client -type f -name \*.jar |sed "s,${D}/,,g")
+ classpath=$(echo ${classpath})
+ cat >${D}/usr/share/jboss/package.env <<EOF
+DESCRIPTION=Client side libraries for JBoss
+CLASSPATH=${classpath// /:}
+EOF
+
+ dodoc server/src/docs/LICENSE.txt \
+ ${FILESDIR}/${PV}/README.Gentoo \
+ ${FILESDIR}/${PV}/NEWS.Gentoo
+ cp -r build/output/${PN}-${PV}/docs/examples ${D}/usr/share/doc/${PF}/
+
+ insinto /usr/share/sgml/jboss/
+ doins build/output/${P}/docs/dtd/*
+ doins ${FILESDIR}/${PV}/catalog
+
+ keepdir /var/log/jboss
+ keepdir /var/tmp/jboss
+ keepdir /var/cache/jboss
+
+ # the following hack is included until we determine how to make
+ # Catalina believe it lives in /var/lib/jboss/$JBOSS_CONF.
+ dosym /var/lib/jboss /usr/share/jboss/server
+}
+
+without_error() {
+ $@ &>/dev/null || true
+}
+
+pkg_postinst() {
+ without_error userdel jboss
+ without_error groupdel jboss
+ if ! enewgroup jboss || ! enewuser jboss -1 /bin/sh /dev/null jboss; then
+ die "Unable to add jboss user and jboss group."
+ fi
+
+ for dir in /var/log/jboss /var/tmp/jboss /var/cache/jboss /var/lib/jboss; do
+ chown -R jboss:jboss ${dir}
+ chmod o-rwx ${dir}
+ done
+
+ install-catalog --add /etc/sgml/jboss.cat /usr/share/sgml/jboss/catalog
+}
+
+pkg_prerm() {
+ if [ -e /etc/sgml/jboss.cat ]; then
+ install-catalog --remove /etc/sgml/jboss.cat /usr/share/sgml/jboss/catalog
+ fi
+}
diff --git a/www-servers/jboss/metadata.xml b/www-servers/jboss/metadata.xml
new file mode 100644
index 000000000000..e3ee040097e9
--- /dev/null
+++ b/www-servers/jboss/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <maintainer>
+ <email>mkennedy@gentoo.org</email>
+ <name>Matthew Kennedy</name>
+ </maintainer>
+ <longdescription>
+ The JBoss/Server is the leading Open Source, standards-compliant,
+ J2EE based application server implemented in 100% Pure Java.
+ </longdescription>
+</pkgmetadata>