summaryrefslogtreecommitdiff
path: root/java/jboss72/files
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2017-02-07 20:15:56 +0000
committerRene Ladan <rene@FreeBSD.org>2017-02-07 20:15:56 +0000
commit9fcfdbd7382ae23b5d0b00a604a22eb211e0b045 (patch)
tree65eea42de9cfe7f7f08ab002bf5dfde11fa2f864 /java/jboss72/files
parent- Catch up with liborcus 0.12.1. (diff)
Remove expired ports:
2017-02-07 java/jboss7: Unsupported, replaced by wildfly 2017-02-07 java/jboss71: Unsupported, replaced by wildfly 2017-02-07 java/jboss72: Unsupported, replaced by wildfly
Notes
Notes: svn path=/head/; revision=433585
Diffstat (limited to 'java/jboss72/files')
-rw-r--r--java/jboss72/files/jboss72.in79
-rw-r--r--java/jboss72/files/patch-JCAValidatorFactory.java11
-rw-r--r--java/jboss72/files/patch-JPALazyValidatorFactory.java11
-rw-r--r--java/jboss72/files/patch-LazyValidatorFactory.java11
-rw-r--r--java/jboss72/files/patch-PlatformMBeanResourceUnitTestCase.java10
5 files changed, 0 insertions, 122 deletions
diff --git a/java/jboss72/files/jboss72.in b/java/jboss72/files/jboss72.in
deleted file mode 100644
index 07b51fb7d81a..000000000000
--- a/java/jboss72/files/jboss72.in
+++ /dev/null
@@ -1,79 +0,0 @@
-#!/bin/sh
-#
-# %%APP_SHORTNAME%% startup script.
-#
-# $FreeBSD$
-#
-
-# PROVIDE: %%APP_SHORTNAME%%
-# REQUIRE: NETWORKING SERVERS
-# KEYWORD: shutdown
-
-# Add the following lines to /etc/rc.conf to enable %%APP_SHORTNAME%%:
-# %%APP_SHORTNAME%%_enable (bool): Set to "YES" to enable %%APP_SHORTNAME%%
-# %%APP_SHORTNAME%%_args (str): Optional arguments to JBoss
-# %%APP_SHORTNAME%%_log_stdout (str) JBoss log output stdout, filename.
-# %%APP_SHORTNAME%%_log_stderr (str) JBoss log output stderr, filename.
-#
-
-. /etc/rc.subr
-
-name="%%APP_SHORTNAME%%"
-rcvar=%%APP_SHORTNAME%%_enable
-
-load_rc_config $name
-
-%%APP_SHORTNAME%%_enable="${%%APP_SHORTNAME%%_enable:-"NO"}"
-%%APP_SHORTNAME%%_log_stdout="${%%APP_SHORTNAME%%_log_stdout:-"${%%APP_SHORTNAME%%_logdir}/stdout.log"}"
-%%APP_SHORTNAME%%_log_stderr="${%%APP_SHORTNAME%%_log_stderr:-"${%%APP_SHORTNAME%%_logdir}/stderr.log"}"
-%%APP_SHORTNAME%%_args="${%%APP_SHORTNAME%%_args:-""}"
-%%APP_SHORTNAME%%_sleep="${%%APP_SHORTNAME%%_sleep:-"5"}"
-%%APP_SHORTNAME%%_kill9="${%%APP_SHORTNAME%%_kill9:-""}"
-%%APP_SHORTNAME%%_additional_killall="${%%APP_SHORTNAME%%_additional_killall:-""}"
-%%APP_SHORTNAME%%_user="%%USER%%"
-%%APP_SHORTNAME%%_logdir="%%LOG_DIR%%"
-
-start_cmd="%%APP_SHORTNAME%%_start"
-stop_cmd="%%APP_SHORTNAME%%_stop"
-pidfile="%%PID_FILE%%"
-
-JBOSS_HOME="%%APP_HOME%%"
-
-%%APP_SHORTNAME%%_start ()
-{
- if [ ! -d "${%%APP_SHORTNAME%%_logdir}" ]
- then
- install -d -o ${%%APP_SHORTNAME%%_user} ${%%APP_SHORTNAME%%_logdir}
- fi
-
- echo "Starting %%APP_SHORTNAME%%."
- daemon -u ${%%APP_SHORTNAME%%_user} ${JBOSS_HOME}/bin/standalone.sh ${%%APP_SHORTNAME%%_args} >> ${%%APP_SHORTNAME%%_log_stdout} 2>> ${%%APP_SHORTNAME%%_log_stderr} >> ${%%APP_SHORTNAME%%_logdir}/boot.log 2>> ${%%APP_SHORTNAME%%_logdir}/boot.log
-
- sleep ${%%APP_SHORTNAME%%_sleep} # let daemon(8) and sh(1) finish before executing pgrep(1)
- pgrep -U ${%%APP_SHORTNAME%%_user} -f ${JBOSS_HOME}/modules > ${pidfile}
- chown ${%%APP_SHORTNAME%%_user} $pidfile
-}
-
-%%APP_SHORTNAME%%_stop ()
-{
- # Subvert the check_pid_file procname check.
- if [ -f ${pidfile} ]
- then
- kill `cat ${pidfile}`
- # Only if we aware that our setup can hangs, and only after trying simple kill, we can kill it hard way.
- if [ ! -z "${%%APP_SHORTNAME%%_kill9}" ]
- then
- sleep ${%%APP_SHORTNAME%%_sleep}
- kill -9 `cat ${pidfile}`
- fi
- # In some setups, JBoss can spawn some child processess, which could prevent it from stopping, and freeing net ports.
- # Let's blindly kill them all, since we are really know what we are doing.
- if [ ! -z "${%%APP_SHORTNAME%%_additional_killall}" ]
- then
- sleep ${%%APP_SHORTNAME%%_sleep}
- killall ${%%APP_SHORTNAME%%_additional_killall}
- fi
- fi
-}
-
-run_rc_command "$1"
diff --git a/java/jboss72/files/patch-JCAValidatorFactory.java b/java/jboss72/files/patch-JCAValidatorFactory.java
deleted file mode 100644
index b1031f1d70d0..000000000000
--- a/java/jboss72/files/patch-JCAValidatorFactory.java
+++ /dev/null
@@ -1,11 +0,0 @@
---- connector/src/main/java/org/jboss/as/connector/util/JCAValidatorFactory.java.orig 2012-11-14 23:35:33.000000000 +0000
-+++ connector/src/main/java/org/jboss/as/connector/util/JCAValidatorFactory.java 2012-09-21 12:14:04.000000000 +0000
-@@ -92,7 +92,7 @@ public class JCAValidatorFactory impleme
- if (configuration == null) {
- ConstraintMapping mapping = new ConstraintMapping();
- HibernateValidatorConfiguration config =
-- Validation.byProvider(HibernateValidator.class).providerResolver(new JBossProviderResolver()).configure();
-+ Validation.<HibernateValidatorConfiguration,HibernateValidator>byProvider(HibernateValidator.class).providerResolver(new JBossProviderResolver()).configure();
- config.addMapping(mapping);
- ValidatorFactory factory = config.buildValidatorFactory();
- return factory;
diff --git a/java/jboss72/files/patch-JPALazyValidatorFactory.java b/java/jboss72/files/patch-JPALazyValidatorFactory.java
deleted file mode 100644
index 72995cfa3583..000000000000
--- a/java/jboss72/files/patch-JPALazyValidatorFactory.java
+++ /dev/null
@@ -1,11 +0,0 @@
---- jpa/core/src/main/java/org/jboss/as/jpa/validator/JPALazyValidatorFactory.java.orig 2012-11-15 00:06:15.000000000 +0000
-+++ jpa/core/src/main/java/org/jboss/as/jpa/validator/JPALazyValidatorFactory.java 2012-09-21 12:14:04.000000000 +0000
-@@ -78,7 +78,7 @@ public class JPALazyValidatorFactory imp
- try {
- SecurityActions.setContextClassLoader(oldTCCL);
- ConstraintMapping mapping = new ConstraintMapping();
-- HibernateValidatorConfiguration config = Validation.byProvider(HibernateValidator.class).providerResolver(new JbossProviderResolver()).configure();
-+ HibernateValidatorConfiguration config = Validation.<HibernateValidatorConfiguration,HibernateValidator>byProvider(HibernateValidator.class).providerResolver(new JbossProviderResolver()).configure();
- config.addMapping(mapping);
- ValidatorFactory factory = config.buildValidatorFactory();
- return factory;
diff --git a/java/jboss72/files/patch-LazyValidatorFactory.java b/java/jboss72/files/patch-LazyValidatorFactory.java
deleted file mode 100644
index aea8f982d2e6..000000000000
--- a/java/jboss72/files/patch-LazyValidatorFactory.java
+++ /dev/null
@@ -1,11 +0,0 @@
---- ee/src/main/java/org/jboss/as/ee/beanvalidation/LazyValidatorFactory.java.orig 2012-11-14 23:36:12.000000000 +0000
-+++ ee/src/main/java/org/jboss/as/ee/beanvalidation/LazyValidatorFactory.java 2012-09-21 12:14:04.000000000 +0000
-@@ -91,7 +91,7 @@ public class LazyValidatorFactory implem
- SecurityActions.setContextClassLoader(classLoader);
- if (configuration == null) {
- ConstraintMapping mapping = new ConstraintMapping();
-- HibernateValidatorConfiguration config = Validation.byProvider(HibernateValidator.class).providerResolver(new JbossProviderResolver()).configure();
-+ HibernateValidatorConfiguration config = Validation.<HibernateValidatorConfiguration,HibernateValidator>byProvider(HibernateValidator.class).providerResolver(new JbossProviderResolver()).configure();
- config.addMapping(mapping);
- ValidatorFactory factory = config.buildValidatorFactory();
- return factory;
diff --git a/java/jboss72/files/patch-PlatformMBeanResourceUnitTestCase.java b/java/jboss72/files/patch-PlatformMBeanResourceUnitTestCase.java
deleted file mode 100644
index 0fdfb602b167..000000000000
--- a/java/jboss72/files/patch-PlatformMBeanResourceUnitTestCase.java
+++ /dev/null
@@ -1,10 +0,0 @@
---- platform-mbean/src/test/java/org/jboss/as/platform/mbean/PlatformMBeanResourceUnitTestCase.java.orig 2012-11-15 14:52:28.000000000 +0000
-+++ platform-mbean/src/test/java/org/jboss/as/platform/mbean/PlatformMBeanResourceUnitTestCase.java 2012-11-15 14:52:59.000000000 +0000
-@@ -337,6 +337,7 @@
-
- @Test
- public void testThreadingMXBean() throws IOException {
-+ boolean bsdSkip = true; if(bsdSkip) { return;}
- DescribedResource describedResource = basicResourceTest("threading", null);
-
- ThreadMXBean mbean = ManagementFactory.getThreadMXBean();