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.43 by valya, Tue May 6 16:40:47 2008 UTC vs.
Revision 1.48 by valya, Thu May 22 18:25:36 2008 UTC

# Line 1 | Line 1
1 < ### RPM cms dbs-server DBS_1_0_8
1 > ### RPM cms dbs-server DBS_1_1_5
2  
3 <
4 < %define cvstag %realversion
3 > %define cvstag %{realversion}
4   # define version of DBS to use, it's schema version
5 < %define dbs_version DBS_1_0_8
5 > %define dbs_version %{realversion}
6  
7   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
8   Requires: apache-ant mysql mysql-deployment oracle apache-tomcat java-jdk dbs-schema
# Line 21 | Line 20 | cat > etc/context.xml << EOF_CONTEXT
20   <Context path="/servlet/DBSServlet" docBase="DBSServlet" debug="5" reloadable="true" crossContext="true">
21       <SchemaOwner schemaowner="%{dbs_version}" />
22       <SupportedSchemaVersion schemaversion="%{dbs_version}" />
23 <     <SupportedClientVersions clientversions="DBS_1_0_1, DBS_1_0_5, DBS_1_0_7, DBS_1_0_8"/>
23 >     <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, DBS_1_1_3 "/>
24       <DBSBlockConfig maxBlockSize="2000000000000" maxBlockFiles="100" />
25 <                        
25 >
26       <Resource name="jdbc/dbs"
27                auth="Container"
28                type="javax.sql.DataSource"
# Line 173 | Line 172 | MYSQL_ERR=$MYSQL_PATH/error.log
172   # grant permissions to CMS MySQL DBS account
173   echo "+++ Grand permission to dbs account, DBS schema %{dbs_version} ..."
174   #echo "$MYSQL_ROOT/bin/mysql -udbs -pcmsdbs --socket=$MYSQL_SOCK"
175 < echo "$DBS_SCHEMA_ROOT/lib/DBS-NeXtGen-MySQL_DEPLOYABLE.sql"
175 > echo "$DBS_SCHEMA_ROOT/lib/Schema/NeXtGen/DBS-NeXtGen-MySQL_DEPLOYABLE.sql"
176   # DBS uses trigger which requires to have SUPER priveleges, so we'll create DB using root
177   # and delegate this to dbs account.
178   $MYSQL_ROOT/bin/mysql -uroot -pcms --socket=$MYSQL_SOCK < $DBS_SCHEMA_ROOT/lib/Schema/NeXtGen/DBS-NeXtGen-MySQL_DEPLOYABLE.sql

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines