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
This commit is contained in:
@@ -65,9 +65,6 @@
|
||||
SUBDIR += javamail
|
||||
SUBDIR += javavmwrapper
|
||||
SUBDIR += jaxen
|
||||
SUBDIR += jboss7
|
||||
SUBDIR += jboss71
|
||||
SUBDIR += jboss72
|
||||
SUBDIR += jcalendar
|
||||
SUBDIR += jcckit
|
||||
SUBDIR += jcommon
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
# Created by: Alexander Yerenkow <yerenkow@gmail.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= jboss
|
||||
PORTVERSION= ${JBOSS_BRANCH}.1
|
||||
CATEGORIES= java www
|
||||
MASTER_SITES= http://download.jboss.org/jbossas/${JBOSS_BRANCH}/${DISTNAME}/
|
||||
PKGNAMESUFFIX= -as
|
||||
DISTNAME= jboss-as-${PORTVERSION}.Final
|
||||
DIST_SUBDIR= ${DISTNAME}
|
||||
|
||||
MAINTAINER= yerenkow@gmail.com
|
||||
COMMENT= JBoss AS 7.1.1.Final Brontes
|
||||
|
||||
LICENSE= LGPL21
|
||||
|
||||
DEPRECATED= Unsupported, replaced by wildfly
|
||||
EXPIRATION_DATE=2017-02-07
|
||||
|
||||
JBOSS_MAJOR= 7
|
||||
JBOSS_BRANCH= ${JBOSS_MAJOR}.1
|
||||
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.6+
|
||||
USER= www
|
||||
GROUP= www
|
||||
NO_BUILD= yes
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/${DISTNAME} && cd ${WRKSRC} && ${FIND} . |\
|
||||
${CPIO} -pdmu -R ${USER}:${GROUP} ${STAGEDIR}${PREFIX}/${DISTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -1,2 +0,0 @@
|
||||
SHA256 (jboss-as-7.1.1.Final/jboss-as-7.1.1.Final.tar.gz) = 88fd3fdac4f7951cee3396eff3d70e8166c3319de82d77374a24e3b422e0b2ad
|
||||
SIZE (jboss-as-7.1.1.Final/jboss-as-7.1.1.Final.tar.gz) = 132775715
|
||||
@@ -1,3 +0,0 @@
|
||||
JBoss Application Server 7
|
||||
|
||||
WWW: http://www.jboss.org/jbossas/
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,57 +0,0 @@
|
||||
# Created by: Alexander Yerenkow <yerenkow@gmail.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= jboss71
|
||||
PORTVERSION= 7.1.3
|
||||
#PORTREVISION= 0
|
||||
#PORTEPOCH= 0
|
||||
CATEGORIES= java www
|
||||
MASTER_SITES= https://javaz.org/distfiles/
|
||||
DISTNAME2= ${GH_PROJECT}-${GH_TAGNAME}
|
||||
DISTFILES= m2-${DISTNAME2}.tar.xz ${DISTNAME}.tar.gz
|
||||
|
||||
MAINTAINER= yerenkow@gmail.com
|
||||
COMMENT= JBoss 7.1.3.Final
|
||||
|
||||
DEPRECATED= Unsupported, replaced by wildfly
|
||||
EXPIRATION_DATE=2017-02-07
|
||||
|
||||
USE_GITHUB= YES
|
||||
GH_ACCOUNT= jbossas
|
||||
GH_PROJECT= jboss-as
|
||||
GH_TAGNAME= 7.1.3.Final
|
||||
|
||||
USE_RC_SUBR= jboss71
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.6+
|
||||
USER= www
|
||||
GROUP= www
|
||||
VAR_DIR?= /var
|
||||
LOG_DIR?= ${VAR_DIR}/log/${PORTNAME}
|
||||
DEPLOY_DIR?= ${VAR_DIR}/${PORTNAME}
|
||||
PID_FILE= /var/run/${PORTNAME}.pid
|
||||
JBOSSOUTPUT= ${WRKSRC}/build/target/${DISTNAME2}
|
||||
|
||||
SUB_LIST= APP_SHORTNAME=${PORTNAME} \
|
||||
LOG_DIR=${LOG_DIR} \
|
||||
USER=${USER}\
|
||||
PID_FILE=${PID_FILE} \
|
||||
APP_HOME=${PREFIX}/${DISTNAME2}
|
||||
|
||||
pre-everything::
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "To build you should have at least 2Gb of Ram (Or build will fail with java OOM Exception)"
|
||||
@${ECHO_MSG} "There's no dependensy on maven3, since JBoss can handle itself."
|
||||
|
||||
post-patch:
|
||||
${MV} ${WRKSRC}/tools/maven/conf/settings.xml ${WRKSRC}/tools/maven/conf/settings.xml.orig
|
||||
@${SED} -e 's,<!-- localRepository,<localRepository>${WRKDIR}/.m2/repository</localRepository><!-- localRepository,g' \
|
||||
${WRKSRC}/tools/maven/conf/settings.xml.orig > ${WRKSRC}/tools/maven/conf/settings.xml
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ./build.sh -Dmaven.test.skip=true -DskipTests
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/${DISTNAME2} && cd ${JBOSSOUTPUT} && ${FIND} . | ${CPIO} -pdmu -R ${USER}:${GROUP} ${STAGEDIR}${PREFIX}/${DISTNAME2}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -1,4 +0,0 @@
|
||||
SHA256 (m2-jboss-as-7.1.3.Final.tar.xz) = 736834e6ea4db0179e4861234229e8ede75bc8e653aba37da5f3d4acd5e0051d
|
||||
SIZE (m2-jboss-as-7.1.3.Final.tar.xz) = 156590076
|
||||
SHA256 (jbossas-jboss-as-7.1.3-7.1.3.Final_GH0.tar.gz) = 15f32871b4b9262ece0492486cd2f2860201fbe45f314ae6296aefda6eb9cfdc
|
||||
SIZE (jbossas-jboss-as-7.1.3-7.1.3.Final_GH0.tar.gz) = 11663306
|
||||
@@ -1,62 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# %%APP_SHORTNAME%% startup script.
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
# PROVIDE: %%APP_SHORTNAME%%
|
||||
# REQUIRE: NETWORKING SERVERS
|
||||
|
||||
# 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%%_jvm_opts (str): Extra JVM flags.
|
||||
# %%APP_SHORTNAME%%_args (str): Optional arguments to JBoss
|
||||
# %%APP_SHORTNAME%%_logging (str) JBoss log output. A pipe command may be used.
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
%%APP_SHORTNAME%%_user="%%USER%%"
|
||||
%%APP_SHORTNAME%%_logdir="%%LOG_DIR%%"
|
||||
|
||||
name="%%APP_SHORTNAME%%"
|
||||
rcvar=%%APP_SHORTNAME%%_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
%%APP_SHORTNAME%%_enable="${%%APP_SHORTNAME%%_enable:-"NO"}"
|
||||
%%APP_SHORTNAME%%_logging="${%%APP_SHORTNAME%%_logging:-">> ${%%APP_SHORTNAME%%_logdir}/stdout.log 2>> ${%%APP_SHORTNAME%%_logdir}/stderr.log"}"
|
||||
|
||||
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
|
||||
mkdir -p ${%%APP_SHORTNAME%%_logdir}
|
||||
chown ${%%APP_SHORTNAME%%_user} ${%%APP_SHORTNAME%%_logdir}
|
||||
fi
|
||||
|
||||
echo "Starting %%APP_SHORTNAME%%."
|
||||
daemon -u ${%%APP_SHORTNAME%%_user} ${JBOSS_HOME}/bin/standalone.sh ${%%APP_SHORTNAME%%_logging} >> ${%%APP_SHORTNAME%%_logdir}/boot.log 2>> ${%%APP_SHORTNAME%%_logdir}/boot.log
|
||||
|
||||
sleep 1 # 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}`
|
||||
fi
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
@@ -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;
|
||||
@@ -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;
|
||||
@@ -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;
|
||||
@@ -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();
|
||||
@@ -1,11 +0,0 @@
|
||||
JBoss Application Server
|
||||
|
||||
Fast Startup
|
||||
Small Footprint
|
||||
Modular Design
|
||||
Unified Configuration and Management
|
||||
OSGi
|
||||
|
||||
And of course Java EE!
|
||||
|
||||
WWW: http://www.jboss.org/jbossas/
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,60 +0,0 @@
|
||||
# Created by: Alexander Yerenkow <yerenkow@gmail.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= jboss72
|
||||
PORTVERSION= 7.2.0
|
||||
PORTREVISION= 1
|
||||
#PORTEPOCH= 0
|
||||
CATEGORIES= java www
|
||||
MASTER_SITES= https://javaz.org/distfiles/
|
||||
DISTNAME2= ${GH_PROJECT}-${GH_TAGNAME}
|
||||
DISTFILES= m2-${DISTNAME2}.tar.xz ${DISTNAME}.tar.gz
|
||||
|
||||
MAINTAINER= yerenkow@gmail.com
|
||||
COMMENT= JBoss 7.2.0.Final
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
DEPRECATED= Unsupported, replaced by wildfly
|
||||
EXPIRATION_DATE=2017-02-07
|
||||
|
||||
USE_GITHUB= YES
|
||||
GH_ACCOUNT= jbossas
|
||||
GH_PROJECT= jboss-as
|
||||
GH_TAGNAME= 7.2.0.Final
|
||||
|
||||
USE_RC_SUBR= jboss72
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.6+
|
||||
USER= www
|
||||
GROUP= www
|
||||
VAR_DIR?= /var
|
||||
LOG_DIR?= ${VAR_DIR}/log/${PORTNAME}
|
||||
DEPLOY_DIR?= ${VAR_DIR}/${PORTNAME}
|
||||
PID_FILE= /var/run/${PORTNAME}.pid
|
||||
JBOSSOUTPUT= ${WRKSRC}/build/target/${DISTNAME2}
|
||||
|
||||
SUB_LIST= APP_SHORTNAME=${PORTNAME} \
|
||||
LOG_DIR=${LOG_DIR} \
|
||||
USER=${USER}\
|
||||
PID_FILE=${PID_FILE} \
|
||||
APP_HOME=${PREFIX}/${DISTNAME2}
|
||||
PLIST_SUB= APP_HOME=${DISTNAME2}
|
||||
|
||||
pre-everything::
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "To build you should have at least 2Gb of Ram (Or build will fail with java OOM Exception)"
|
||||
@${ECHO_MSG} "There's no dependensy on maven3, since JBoss can handle itself."
|
||||
|
||||
post-patch:
|
||||
${MV} ${WRKSRC}/tools/maven/conf/settings.xml ${WRKSRC}/tools/maven/conf/settings.xml.orig
|
||||
@${SED} -e 's,<!-- localRepository,<localRepository>${WRKDIR}/.m2/repository</localRepository><!-- localRepository,g' \
|
||||
${WRKSRC}/tools/maven/conf/settings.xml.orig > ${WRKSRC}/tools/maven/conf/settings.xml
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ./build.sh -Dmaven.test.skip=true -DskipTests
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/${DISTNAME2} && cd ${JBOSSOUTPUT} && ${FIND} . | ${CPIO} -pdmu -R ${USER}:${GROUP} ${STAGEDIR}${PREFIX}/${DISTNAME2}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -1,4 +0,0 @@
|
||||
SHA256 (m2-jboss-as-7.2.0.Final.tar.xz) = 64ec350d5ebb41d1fbe15f5ba18e37f94425007eba2dac407c2ad35128efa989
|
||||
SIZE (m2-jboss-as-7.2.0.Final.tar.xz) = 159788916
|
||||
SHA256 (jbossas-jboss-as-7.2.0-7.2.0.Final_GH0.tar.gz) = d003ccc50c8bfc5cf8b441a363bf481dec52b060199d809ccd330e5da8419636
|
||||
SIZE (jbossas-jboss-as-7.2.0-7.2.0.Final_GH0.tar.gz) = 14957509
|
||||
@@ -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"
|
||||
@@ -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;
|
||||
@@ -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;
|
||||
@@ -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;
|
||||
@@ -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();
|
||||
@@ -1,11 +0,0 @@
|
||||
JBoss Application Server
|
||||
|
||||
Fast Startup
|
||||
Small Footprint
|
||||
Modular Design
|
||||
Unified Configuration and Management
|
||||
OSGi
|
||||
|
||||
And of course Java EE!
|
||||
|
||||
WWW: http://www.jboss.org/jbossas/
|
||||
@@ -1,8 +0,0 @@
|
||||
To make JBoss bind to all interfaces add this to /etc/rc.conf:
|
||||
|
||||
jboss72_args="-Djboss.bind.address=0.0.0.0"
|
||||
|
||||
Old format (-b 0.0.0.0 are not working in 7.2).
|
||||
|
||||
You can also specify any other tunables which could be parsed by start scripts.
|
||||
To change JVM args, edit appropriate standalone.conf.
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user