diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-08-29 14:22:19 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-08-29 14:22:19 +0000 |
commit | 447a743ee597eb67a78f4313b942a81ea656cc6b (patch) | |
tree | 3acaea0afce15dccdfa565939a20d4df7d2deb97 /www-servers/jboss | |
parent | Remove old version. (diff) | |
download | gentoo-2-447a743ee597eb67a78f4313b942a81ea656cc6b.tar.gz gentoo-2-447a743ee597eb67a78f4313b942a81ea656cc6b.tar.bz2 gentoo-2-447a743ee597eb67a78f4313b942a81ea656cc6b.zip |
Cleanup files and fix metadata.xml indentation.
(Portage version: 2.1.3.7)
Diffstat (limited to 'www-servers/jboss')
-rw-r--r-- | www-servers/jboss/files/3.2.3/README.Gentoo | 46 | ||||
-rw-r--r-- | www-servers/jboss/files/3.2.3/catalog | 27 | ||||
-rw-r--r-- | www-servers/jboss/files/3.2.3/conf.d/jboss | 82 | ||||
-rw-r--r-- | www-servers/jboss/files/3.2.3/env.d/50jboss | 1 | ||||
-rw-r--r-- | www-servers/jboss/files/3.2.3/init.d/jboss | 37 | ||||
-rw-r--r-- | www-servers/jboss/files/3.2.3/log4j.xml | 163 | ||||
-rw-r--r-- | www-servers/jboss/metadata.xml | 10 |
7 files changed, 5 insertions, 361 deletions
diff --git a/www-servers/jboss/files/3.2.3/README.Gentoo b/www-servers/jboss/files/3.2.3/README.Gentoo deleted file mode 100644 index 99fd2420fdb2..000000000000 --- a/www-servers/jboss/files/3.2.3/README.Gentoo +++ /dev/null @@ -1,46 +0,0 @@ -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 deleted file mode 100644 index 91c09e9fc7de..000000000000 --- a/www-servers/jboss/files/3.2.3/catalog +++ /dev/null @@ -1,27 +0,0 @@ - - -- 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 deleted file mode 100644 index 9147dbf054c8..000000000000 --- a/www-servers/jboss/files/3.2.3/conf.d/jboss +++ /dev/null @@ -1,82 +0,0 @@ -# -*- 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 deleted file mode 100644 index 92bc5e1feb30..000000000000 --- a/www-servers/jboss/files/3.2.3/env.d/50jboss +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index a4c13ac3ad58..000000000000 --- a/www-servers/jboss/files/3.2.3/init.d/jboss +++ /dev/null @@ -1,37 +0,0 @@ -#!/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.2 2004/10/08 13:39:20 axxo Exp $ - -depend() { - use 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 deleted file mode 100644 index 3f424ac53592..000000000000 --- a/www-servers/jboss/files/3.2.3/log4j.xml +++ /dev/null @@ -1,163 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> - -<!-- ===================================================================== --> -<!-- --> -<!-- Log4j Configuration --> -<!-- --> -<!-- ===================================================================== --> - -<!-- $Id: log4j.xml,v 1.2 2004/09/12 13:44:52 axxo 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"/> - <param name="Threshold" value="INFO"/> - - <!-- 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/metadata.xml b/www-servers/jboss/metadata.xml index 38e0c5d3f315..550632c3fcd5 100644 --- a/www-servers/jboss/metadata.xml +++ b/www-servers/jboss/metadata.xml @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>java</herd> - <longdescription> - The JBoss/Server is the leading Open Source, standards-compliant, - J2EE based application server implemented in 100% Pure Java. - </longdescription> + <herd>java</herd> + <longdescription> + The JBoss/Server is the leading Open Source, standards-compliant, + J2EE based application server implemented in 100% Pure Java. + </longdescription> </pkgmetadata> |