ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/dbs-server.spec
(Generate patch)

Comparing COMP/CMSDIST/dbs-server.spec (file contents):
Revision 1.32 by valya, Wed Apr 9 20:11:38 2008 UTC vs.
Revision 1.36 by valya, Sun Apr 27 13:11:27 2008 UTC

# Line 1 | Line 1
1 < ### RPM cms dbs-server DBS_1_1_2e
1 > ### RPM cms dbs-server DBS_1_0_8
2  
3   %define cvstag %v
4   Source: cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&module=DBS/Servers/JavaServer&export=DBS&tag=-r%{cvstag}&output=/dbs-server.tar.gz
# Line 12 | Line 12 | ps -w -w -f -u`whoami` | egrep "mysqld|t
12   %build
13   echo "PWD=$PWD"
14   cd Servers/JavaServer
15 + ver="DBS_1_0_8"
16   # fix context.xml file
17   cat > etc/context.xml << EOF_CONTEXT
18   <Context path="/servlet/DBSServlet" docBase="DBSServlet" debug="5" reloadable="true" crossContext="true">
19 <     <SupportedSchemaVersion schemaversion="DBS_1_0_9" />
20 <     <SupportedClientVersions clientversions="DBS_1_0_1, DBS_1_0_5, DBS_1_0_7, DBS_1_0_8, DBS_1_0_9, DBS_1_1_2"/>
19 >     <SchemaOwner schemaowner="${ver}" />
20 >     <SupportedSchemaVersion schemaversion="${ver}" />
21 >     <SupportedClientVersions clientversions="DBS_1_0_1, DBS_1_0_5, DBS_1_0_7, DBS_1_0_8"/>
22       <DBSBlockConfig maxBlockSize="2000000000000" maxBlockFiles="100" />
23                          
24       <Resource name="jdbc/dbs"
# Line 189 | Line 191 | chmod a+x $DBS_SERVER_ROOT/Servers/JavaS
191  
192   # kill running mysql|tomcat under my account since build is over
193   echo "+++ Clean-up mysqld|tomcat processes"
194 < ps -w -w -f -u`whoami` | egrep "mysqld|tomcat" | grep -v egrep | awk '{print "kill -9 "$2""}'
194 > #ps -w -w -f -u`whoami` | egrep "mysqld|tomcat" | grep -v egrep | awk '{print "kill -9 "$2""}'
195   #ps -w -w -f -u`whoami` | egrep "mysqld|tomcat" | grep -v egrep | awk '{print "kill -9 "$2""}' |/bin/sh
196   killall -q mysqld
197   killall -q tomcat
# Line 197 | Line 199 | killall -q tomcat
199   echo
200   echo
201   echo "#####  IMPORTANT!!!  #####"
202 < echo "For your convinience we created"
202 > echo "To work with DBS you need to source init.sh file located at"
203 > echo "$DBS_SERVER_ROOT/etc/profile.d/init.sh"
204 > echo
205 > echo "OR use init script to start|stop|status DBS services:"
206   echo "$DBS_SERVER_ROOT/Servers/JavaServer/bin/dbs_init.sh"
207 < echo "init script file which can be placed into /etc/init.d/ to allow auto-startup of DBS service"
208 < echo "##### END OF README  #####"
207 > echo "init script file can be placed into /etc/init.d/ to allow auto-startup of DBS service"
208 > echo "##########################"
209   echo
210  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines