Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
e5b2d8179e wildfly fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1676209 2019-08-08 16:49:22 +00:00
Fedora Release Engineering
ba0463e445 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 03:28:47 +00:00
Fedora Release Engineering
34daa37ef3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 11:43:35 +00:00
Fedora Release Engineering
aa1164cf34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 08:51:01 +00:00
17 changed files with 1 additions and 1562 deletions

8
.gitignore vendored
View file

@ -1,8 +0,0 @@
/wildfly-8.0.0.Alpha3-CLEAN.tar.xz
/wildfly-8.0.0.Alpha4-CLEAN.tar.xz
/wildfly-8.0.0.Beta1-CLEAN.tar.xz
/wildfly-8.0.0.CR1-CLEAN.tar.xz
/wildfly-8.0.0.Final-CLEAN.tar.xz
/wildfly-8.1.0.CR1-CLEAN.tar.xz
/wildfly-8.1.0.Final-CLEAN.tar.xz
/wildfly-10.1.0.Final-clean.tar.xz

1
dead.package Normal file
View file

@ -0,0 +1 @@
wildfly fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1676209

View file

@ -1,12 +0,0 @@
#!/bin/sh
if [ "x$WILDFLY_HOME" = "x" ]; then
WILDFLY_HOME="/usr/share/wildfly"
fi
if [[ "$1" == "domain" ]]; then
$WILDFLY_HOME/bin/domain.sh -c $2 -b $3
else
$WILDFLY_HOME/bin/standalone.sh -c $2 -b $3
fi

View file

@ -1 +0,0 @@
5107cfc5307477796450e6a28f8b3df3 wildfly-10.1.0.Final-clean.tar.xz

View file

@ -1,15 +0,0 @@
diff -Nru wildfly-10.1.0.Final/feature-pack/src/main/resources/modules/system/layers/base/org/hibernate/4.1/module.xml wildfly-10.1.0.Final.hibernate4.1/feature-pack/src/main/resources/modules/system/layers/base/org/hibernate/4.1/module.xml
--- wildfly-10.1.0.Final/feature-pack/src/main/resources/modules/system/layers/base/org/hibernate/4.1/module.xml 2016-08-19 01:57:46.000000000 +0200
+++ wildfly-10.1.0.Final.hibernate4.1/feature-pack/src/main/resources/modules/system/layers/base/org/hibernate/4.1/module.xml 2016-09-13 14:45:32.082582836 +0200
@@ -24,9 +24,9 @@
<!-- Represents the Hibernate 4.1.x (works with Hibernate 4.2.x jars also) module -->
<module xmlns="urn:jboss:module:1.3" name="org.hibernate" slot="4.1">
- <resources>
+ <!--resources>
<artifact name="${org.wildfly:jipijapa-hibernate4-1}"/>
- </resources>
+ </resources-->
<dependencies>
<module name="asm.asm"/>

View file

@ -1,79 +0,0 @@
diff -Nru wildfly-10.1.0.Final/feature-pack/pom.xml wildfly-10.1.0.Final.mime4j/feature-pack/pom.xml
--- wildfly-10.1.0.Final/feature-pack/pom.xml 2016-09-13 15:42:18.705680067 +0200
+++ wildfly-10.1.0.Final.mime4j/feature-pack/pom.xml 2016-09-13 15:45:17.525123696 +0200
@@ -1716,7 +1716,17 @@
<dependency>
<groupId>org.apache.james</groupId>
- <artifactId>apache-mime4j</artifactId>
+ <artifactId>apache-mime4j-core</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.james</groupId>
+ <artifactId>apache-mime4j-dom</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.james</groupId>
+ <artifactId>apache-mime4j-storage</artifactId>
</dependency>
<dependency>
diff -Nru wildfly-10.1.0.Final/feature-pack/src/main/resources/modules/system/layers/base/com/sun/xml/bind/main/module.xml wildfly-10.1.0.Final.mime4j/feature-pack/src/main/resources/modules/system/layers/base/com/sun/xml/bind/main/module.xml
--- wildfly-10.1.0.Final/feature-pack/src/main/resources/modules/system/layers/base/com/sun/xml/bind/main/module.xml 2016-08-19 01:57:46.000000000 +0200
+++ wildfly-10.1.0.Final.mime4j/feature-pack/src/main/resources/modules/system/layers/base/com/sun/xml/bind/main/module.xml 2016-09-13 15:46:43.880991635 +0200
@@ -34,6 +34,8 @@
<artifact name="${org.glassfish.jaxb:jaxb-jxc}"/>
<artifact name="${org.glassfish.jaxb:codemodel}"/>
<artifact name="${com.sun.xml.bind.external:rngom}"/>
+ <resource-root path="istack-commons-runtime.jar"/>
+ <resource-root path="txw2.jar"/>
</resources>
<dependencies>
diff -Nru wildfly-10.1.0.Final/feature-pack/src/main/resources/modules/system/layers/base/org/apache/james/mime4j/main/module.xml wildfly-10.1.0.Final.mime4j/feature-pack/src/main/resources/modules/system/layers/base/org/apache/james/mime4j/main/module.xml
--- wildfly-10.1.0.Final/feature-pack/src/main/resources/modules/system/layers/base/org/apache/james/mime4j/main/module.xml 2016-08-19 01:57:46.000000000 +0200
+++ wildfly-10.1.0.Final.mime4j/feature-pack/src/main/resources/modules/system/layers/base/org/apache/james/mime4j/main/module.xml 2016-09-13 15:47:33.416621393 +0200
@@ -28,7 +28,9 @@
</properties>
<resources>
- <artifact name="${org.apache.james:apache-mime4j}"/>
+ <artifact name="${org.apache.james:apache-mime4j-core}"/>
+ <artifact name="${org.apache.james:apache-mime4j-dom}"/>
+ <artifact name="${org.apache.james:apache-mime4j-storage}"/>
</resources>
<dependencies>
diff -Nru wildfly-10.1.0.Final/pom.xml wildfly-10.1.0.Final.mime4j/pom.xml
--- wildfly-10.1.0.Final/pom.xml 2016-09-13 15:42:18.599685139 +0200
+++ wildfly-10.1.0.Final.mime4j/pom.xml 2016-09-13 15:43:57.700943221 +0200
@@ -3452,7 +3452,7 @@
<dependency>
<groupId>org.apache.james</groupId>
- <artifactId>apache-mime4j</artifactId>
+ <artifactId>apache-mime4j-core</artifactId>
<version>${version.org.apache.james.apache-mime4j}</version>
<exclusions>
<exclusion>
@@ -3463,6 +3463,18 @@
</dependency>
<dependency>
+ <groupId>org.apache.james</groupId>
+ <artifactId>apache-mime4j-dom</artifactId>
+ <version>${version.org.apache.james.apache-mime4j}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.james</groupId>
+ <artifactId>apache-mime4j-storage</artifactId>
+ <version>${version.org.apache.james.apache-mime4j}</version>
+ </dependency>
+
+ <dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-analyzers-common</artifactId>
<version>${version.org.apache.lucene}</version>

View file

@ -1,16 +0,0 @@
diff -Nru wildfly-10.1.0.Final/feature-pack/feature-pack-build.xml wildfly-10.1.0.Final.artemis-native/feature-pack/feature-pack-build.xml
--- wildfly-10.1.0.Final/feature-pack/feature-pack-build.xml 2016-09-13 21:31:59.686327517 +0200
+++ wildfly-10.1.0.Final.artemis-native/feature-pack/feature-pack-build.xml 2016-09-13 21:31:50.242773061 +0200
@@ -143,10 +143,10 @@
<!--copy-artifact artifact="org.jboss.seam.integration:jboss-seam-int-jbossas" to-location="modules/system/layers/base/org/jboss/integration/ext-content/main/bundled/jboss-seam-int.jar"/-->
<copy-artifact artifact="org.wildfly:wildfly-client-all" to-location="bin/client/jboss-client.jar"/>
<copy-artifact artifact="org.wildfly.core:wildfly-cli::client" to-location="bin/client/jboss-cli-client.jar"/>
- <copy-artifact artifact="org.apache.activemq:artemis-native" to-location="modules/system/layers/base/org/apache/activemq/artemis/main" extract="true" >
+ <!-- Do not extract the jar files in Fedora, we'll symlink them copy-artifact artifact="org.apache.activemq:artemis-native" to-location="modules/system/layers/base/org/apache/activemq/artemis/main" extract="true" >
<filter pattern="lib/*" include="true" />
<filter pattern="*" include="false"/>
- </copy-artifact>
+ </copy-artifact-->
</copy-artifacts>
<mkdirs>
<dir name="domain/data/content"/>

View file

@ -1,27 +0,0 @@
diff -Nru wildfly-10.1.0.Final/feature-pack/feature-pack-build.xml wildfly-10.1.0.Final.unavailable-dependencies/feature-pack/feature-pack-build.xml
--- wildfly-10.1.0.Final/feature-pack/feature-pack-build.xml 2016-08-19 01:57:46.000000000 +0200
+++ wildfly-10.1.0.Final.unavailable-dependencies/feature-pack/feature-pack-build.xml 2016-09-13 14:13:22.468835239 +0200
@@ -140,7 +140,7 @@
</config>
<copy-artifacts>
<copy-artifact artifact="org.jboss.resteasy:resteasy-spring" to-location="modules/system/layers/base/org/jboss/resteasy/resteasy-spring/main/bundled/resteasy-spring-jar/"/>
- <copy-artifact artifact="org.jboss.seam.integration:jboss-seam-int-jbossas" to-location="modules/system/layers/base/org/jboss/integration/ext-content/main/bundled/jboss-seam-int.jar"/>
+ <!--copy-artifact artifact="org.jboss.seam.integration:jboss-seam-int-jbossas" to-location="modules/system/layers/base/org/jboss/integration/ext-content/main/bundled/jboss-seam-int.jar"/-->
<copy-artifact artifact="org.wildfly:wildfly-client-all" to-location="bin/client/jboss-client.jar"/>
<copy-artifact artifact="org.wildfly.core:wildfly-cli::client" to-location="bin/client/jboss-cli-client.jar"/>
<copy-artifact artifact="org.apache.activemq:artemis-native" to-location="modules/system/layers/base/org/apache/activemq/artemis/main" extract="true" >
diff -Nru wildfly-10.1.0.Final/feature-pack/src/main/resources/modules/system/layers/base/org/jboss/as/console/main/module.xml wildfly-10.1.0.Final.unavailable-dependencies/feature-pack/src/main/resources/modules/system/layers/base/org/jboss/as/console/main/module.xml
--- wildfly-10.1.0.Final/feature-pack/src/main/resources/modules/system/layers/base/org/jboss/as/console/main/module.xml 2016-08-19 01:57:46.000000000 +0200
+++ wildfly-10.1.0.Final.unavailable-dependencies/feature-pack/src/main/resources/modules/system/layers/base/org/jboss/as/console/main/module.xml 2016-09-13 14:14:34.448394345 +0200
@@ -27,9 +27,9 @@
<property name="jboss.api" value="private"/>
</properties>
- <resources>
+ <!--resources>
<artifact name="${org.jboss.hal:release-stream::resources}"/>
- </resources>
+ </resources-->
<dependencies>
<!-- Do not add dependencies to the console as resources in any

View file

@ -1,45 +0,0 @@
diff -Nru wildfly-10.1.0.Final/feature-pack/src/main/resources/modules/system/layers/base/com/microsoft/azure/storage/main/module.xml wildfly-10.1.0.Final.azure/feature-pack/src/main/resources/modules/system/layers/base/com/microsoft/azure/storage/main/module.xml
--- wildfly-10.1.0.Final/feature-pack/src/main/resources/modules/system/layers/base/com/microsoft/azure/storage/main/module.xml 2016-08-19 01:57:46.000000000 +0200
+++ wildfly-10.1.0.Final.azure/feature-pack/src/main/resources/modules/system/layers/base/com/microsoft/azure/storage/main/module.xml 2016-09-13 15:32:10.093783526 +0200
@@ -28,9 +28,9 @@
<property name="jboss.api" value="private"/>
</properties>
- <resources>
+ <!--resources>
<artifact name="${com.microsoft.azure:azure-storage}"/>
- </resources>
+ </resources-->
<dependencies>
<module name="com.fasterxml.jackson.core.jackson-core"/>
diff -Nru wildfly-10.1.0.Final/feature-pack/src/main/resources/modules/system/layers/base/org/jgroups/azure/main/module.xml wildfly-10.1.0.Final.azure/feature-pack/src/main/resources/modules/system/layers/base/org/jgroups/azure/main/module.xml
--- wildfly-10.1.0.Final/feature-pack/src/main/resources/modules/system/layers/base/org/jgroups/azure/main/module.xml 2016-08-19 01:57:46.000000000 +0200
+++ wildfly-10.1.0.Final.azure/feature-pack/src/main/resources/modules/system/layers/base/org/jgroups/azure/main/module.xml 2016-09-13 15:31:29.440727359 +0200
@@ -24,12 +24,12 @@
<module xmlns="urn:jboss:module:1.3" name="org.jgroups.azure">
- <resources>
+ <!--resources>
<artifact name="${org.jgroups:jgroups-azure}"/>
- </resources>
+ </resources-->
<dependencies>
- <module name="com.microsoft.azure.storage"/>
+ <!--module name="com.microsoft.azure.storage"/-->
<module name="javax.api"/>
<module name="org.jgroups"/>
</dependencies>
diff -Nru wildfly-10.1.0.Final/feature-pack/src/main/resources/modules/system/layers/base/org/jgroups/main/module.xml wildfly-10.1.0.Final.azure/feature-pack/src/main/resources/modules/system/layers/base/org/jgroups/main/module.xml
--- wildfly-10.1.0.Final/feature-pack/src/main/resources/modules/system/layers/base/org/jgroups/main/module.xml 2016-08-19 01:57:46.000000000 +0200
+++ wildfly-10.1.0.Final.azure/feature-pack/src/main/resources/modules/system/layers/base/org/jgroups/main/module.xml 2016-09-13 15:30:47.392737891 +0200
@@ -30,6 +30,6 @@
<dependencies>
<module name="javax.api"/>
- <module name="org.jgroups.azure"/>
+ <!--module name="org.jgroups.azure"/-->
</dependencies>
</module>

View file

@ -1,20 +0,0 @@
diff -Nru wildfly-10.1.0.Final/servlet-feature-pack/src/main/resources/modules/system/layers/base/javax/activation/api/main/module.xml wildfly-10.1.0.Final.javax.activation/servlet-feature-pack/src/main/resources/modules/system/layers/base/javax/activation/api/main/module.xml
--- wildfly-10.1.0.Final/servlet-feature-pack/src/main/resources/modules/system/layers/base/javax/activation/api/main/module.xml 2016-08-19 01:57:46.000000000 +0200
+++ wildfly-10.1.0.Final.javax.activation/servlet-feature-pack/src/main/resources/modules/system/layers/base/javax/activation/api/main/module.xml 2016-09-13 14:28:59.260106551 +0200
@@ -31,9 +31,14 @@
<module name="com.sun.xml.messaging.saaj" optional="true"/>
<module name="org.jboss.ws.native.jbossws-native-core" optional="true"/>
<module name="org.apache.cxf" optional="true"/>
+ <system export="true">
+ <paths>
+ <path name="javax/activation"/>
+ </paths>
+ </system>
</dependencies>
- <resources>
+ <!--resources>
<artifact name="${javax.activation:activation}"/>
- </resources>
+ </resources-->
</module>

View file

@ -1,12 +0,0 @@
diff -Nru wildfly-10.1.0.Final/servlet-feature-pack/src/main/resources/modules/system/layers/base/org/glassfish/javax/el/main/module.xml wildfly-10.1.0.Final.javax.el-impl/servlet-feature-pack/src/main/resources/modules/system/layers/base/org/glassfish/javax/el/main/module.xml
--- wildfly-10.1.0.Final/servlet-feature-pack/src/main/resources/modules/system/layers/base/org/glassfish/javax/el/main/module.xml 2016-08-19 01:57:46.000000000 +0200
+++ wildfly-10.1.0.Final.javax.el-impl/servlet-feature-pack/src/main/resources/modules/system/layers/base/org/glassfish/javax/el/main/module.xml 2016-09-13 15:26:14.026808932 +0200
@@ -29,7 +29,7 @@
</properties>
<resources>
- <artifact name="${org.glassfish:javax.el-impl}"/>
+ <artifact name="${org.glassfish:javax.el}"/>
</resources>
<dependencies>
<module name="javax.api"/>

View file

@ -1,20 +0,0 @@
diff -Nru wildfly-10.1.0.Final/feature-pack/src/main/resources/modules/system/layers/base/javax/jws/api/main/module.xml wildfly-10.1.0.Final.javax.jws/feature-pack/src/main/resources/modules/system/layers/base/javax/jws/api/main/module.xml
--- wildfly-10.1.0.Final/feature-pack/src/main/resources/modules/system/layers/base/javax/jws/api/main/module.xml 2016-08-19 01:57:46.000000000 +0200
+++ wildfly-10.1.0.Final.javax.jws/feature-pack/src/main/resources/modules/system/layers/base/javax/jws/api/main/module.xml 2016-09-13 14:36:37.151203393 +0200
@@ -23,7 +23,14 @@
-->
<module xmlns="urn:jboss:module:1.3" name="javax.jws.api">
- <resources>
+ <dependencies>
+ <system export="true">
+ <paths>
+ <path name="javax/jws"/>
+ </paths>
+ </system>
+ </dependencies>
+ <!--resources>
<artifact name="${javax.jws:jsr181-api}"/>
- </resources>
+ </resources-->
</module>

View file

@ -1,76 +0,0 @@
#!/bin/sh
usage()
{
cat << EOF
usage: $0 options
Makes possible to run WildFly AS in different directory by creating the structure and copying required configuration files.
OPTIONS:
-h Show this message
-c WildFly configuration xml file (see \$JBOSS_HOME/docs/examples/configs/), default: standalone-web.xml
-l Location where the directory structure should be created (required)
-p Port offset, see https://community.jboss.org/docs/DOC-16705
EOF
}
STANDALONE_XML="standalone.xml"
while getopts “hc:l:p:” OPTION
do
case $OPTION in
h)
usage
exit 1
;;
c)
STANDALONE_XML=$OPTARG
;;
l)
LOCATION=$OPTARG
;;
p)
PORT_OFFSET=$OPTARG
;;
?)
usage
exit
;;
esac
done
if [[ -z $LOCATION ]]
then
usage
exit 1
fi
if [ "x$JBOSS_HOME" = "x" ]; then
JBOSS_HOME="/usr/share/jboss-as"
fi
mkdir -p ${LOCATION}/{bin,data,deployments,log,tmp,configuration}
cp $JBOSS_HOME/docs/examples/configs/$STANDALONE_XML ${LOCATION}/configuration/
cp $JBOSS_HOME/docs/examples/properties/logging.properties ${LOCATION}/configuration/
cp $JBOSS_HOME/docs/examples/properties/mgmt-users.properties ${LOCATION}/configuration/
# Create the standalone script
echo "#!/bin/sh
JBOSS_BASE_DIR=${LOCATION} ${JBOSS_HOME}/bin/standalone.sh -c ${STANDALONE_XML}" > ${LOCATION}/bin/standalone.sh
# Make sure the mgmt-users.properties file has correct permissions!
chmod 600 ${LOCATION}/configuration/mgmt-users.properties
# Set the executable permissions correctly
chmod 755 ${LOCATION}/bin/standalone.sh
# Set the port offset (if specified)
if [ "x$PORT_OFFSET" != "x" ]; then
sed -i s/'\(socket-binding-group name="standard-sockets" default-interface="public"\).*'/"\1 port-offset=\"${PORT_OFFSET}\">"/ ${LOCATION}/configuration/${STANDALONE_XML}
fi
echo -e "Directory ${LOCATION} is prepared to launch WildFly AS!\n\nYou can now boot your instance: ${LOCATION}/bin/standalone.sh"

View file

@ -1,17 +0,0 @@
#!/bin/bash
if [ $# -ne 1 ]; then
echo "Usage: ./create-sources VERSION"
exit 1
fi
VERSION=${1}
NAME="wildfly"
wget https://github.com/wildfly/wildfly/archive/${VERSION}/${NAME}-${VERSION}.tar.gz
tar -xf ${NAME}-${VERSION}.tar.gz
find ./${NAME}-${VERSION} -name '*.class' -type f -print -delete
find ./${NAME}-${VERSION} -name '*.jar' -type f -print -delete
tar cJf ${NAME}-${VERSION}-clean.tar.xz ./${NAME}-${VERSION}

View file

@ -1,11 +0,0 @@
# The configuration you want to run
#
WILDFLY_CONFIG=standalone.xml
# The mode you want to run
WILDFLY_MODE=standalone
# The address to bind to
#
WILDFLY_BIND=0.0.0.0

View file

@ -1,17 +0,0 @@
[Unit]
Description=The WildFly Application Server
After=syslog.target network.target
Before=httpd.service
[Service]
Environment=LAUNCH_JBOSS_IN_BACKGROUND=1
EnvironmentFile=-/etc/wildfly/wildfly.conf
User=wildfly
LimitNOFILE=102642
PIDFile=/var/run/wildfly/wildfly.pid
ExecStart=/usr/share/wildfly/bin/launch.sh $WILDFLY_MODE $WILDFLY_CONFIG $WILDFLY_BIND
StandardOutput=null
[Install]
WantedBy=multi-user.target

File diff suppressed because it is too large Load diff