-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#6] first steps in removing neccesity for gossip router, added jboss…
…-as5-profiles spec file, modified patches
- Loading branch information
Showing
7 changed files
with
84 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
%define jboss_version 5.0.0.GA | ||
%define __jar_repack %{nil} | ||
|
||
Summary: JBoss Cloud profiles | ||
Name: jboss-as5-cloud-profiles | ||
Version: 1.0.0.Beta2 | ||
Release: 1 | ||
License: LGPL | ||
BuildArch: noarch | ||
Group: Applications/System | ||
Source0: http://internap.dl.sourceforge.net/sourceforge/jboss/jboss-%{jboss_version}-jdk6.zip | ||
Requires: jboss-as5 | ||
BuildRoot: /tmp/jboss-cloud-profiles-%{jboss_version} | ||
|
||
%description | ||
The JBossAS 5 cloud profiles (cluster and group) | ||
|
||
%prep | ||
%setup -n jboss-%{jboss_version} | ||
|
||
%install | ||
|
||
# create directories | ||
mkdir -p $RPM_BUILD_ROOT/opt/jboss-as5/server/cluster | ||
mkdir -p $RPM_BUILD_ROOT/opt/jboss-as5/server/group | ||
|
||
# copy profiles | ||
cp -R %{_topdir}/BUILD/jboss-%{jboss_version}/server/default/* $RPM_BUILD_ROOT/opt/jboss-as5/server/group/ | ||
cp -R %{_topdir}/BUILD/jboss-%{jboss_version}/server/all/* $RPM_BUILD_ROOT/opt/jboss-as5/server/cluster/ | ||
|
||
%clean | ||
rm -Rf $RPM_BUILD_ROOT | ||
|
||
%pre | ||
#JBOSS_SHELL=/bin/bash | ||
#/usr/sbin/groupadd -r jboss 2>/dev/null || : | ||
#/usr/sbin/useradd -c JBossAS -r -s $JBOSS_SHELL -d /opt/jboss-as5 -g jboss jboss 2>/dev/null || : | ||
|
||
%files | ||
%defattr(-,jboss,jboss) | ||
/ | ||
#%attr(0755,root,root) %{_initrddir}/%{name} | ||
#%attr(0755,root,root) /etc/jboss-as5.conf | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- jboss-beans.xml 2008-12-22 14:59:14.000000000 -0500 | ||
+++ jboss-beans-my.xml 2008-12-22 15:04:13.000000000 -0500 | ||
@@ -10,6 +10,7 @@ | ||
is enabled in the tomcat server.xml file. | ||
--> | ||
<depends>jboss.jca:service=CachedConnectionManager</depends> | ||
+ <depends>ModClusterService</depends> | ||
|
||
<!-- Transaction manager for unfinished transaction checking in the CachedConnectionValve --> | ||
<depends>jboss:service=TransactionManager</depends> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- server.xml 2008-12-22 14:59:14.000000000 -0500 | ||
+++ server-my.xml 2008-12-22 15:02:28.000000000 -0500 | ||
@@ -5,6 +5,11 @@ | ||
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" /> | ||
<!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html --> | ||
<Listener className="org.apache.catalina.core.JasperListener" /> | ||
+ | ||
+ <!-- Initialize the mod-cluster integration listener --> | ||
+ <Listener className="org.jboss.web.tomcat.service.deployers.MicrocontainerIntegrationLifecycleListener" | ||
+ delegateBeanName="ModClusterService"/> | ||
+ | ||
|
||
<Service name="jboss.web"> | ||
|