comparison config/rio_blitz.xml @ 0:3dc0c5604566

Initial checkin of blitz 2.0 fcs - no installer yet.
author Dan Creswell <dan.creswell@gmail.com>
date Sat, 21 Mar 2009 11:00:06 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:3dc0c5604566
1 <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2 <!DOCTYPE opstring SYSTEM "java://com/sun/rio/dtd/rio_opstring.dtd" [
3 <!ENTITY Local.IP SYSTEM "java://java.net.InetAddress.getLocalHost().getHostAddress()" >
4 <!ENTITY Local.Port "9000" >
5 <!ENTITY CodeServerURL "http://&Local.IP;:&Local.Port;/" >
6 ]>
7
8 <!--
9 This opstring requires Rio 3.0.1 and Blitz Pure Java Edition.
10 This opstring is largely based on the outrigger opstring from the Rio distribution.
11
12 The easiest way to get things going is to put this file in the "xml" folder of your Rio install dir.
13 Also put blitz.jar, blitz-dl.jar, blitzui.jar, stats.jar and je.jar in the "lib" dir.
14
15 Don't forget to change configures below. Note the group name is set in two places. Add config parameters if you need.
16 I just included the minimal to get Blitz running.
17
18 Please contact me at mingfang@mac.com comments/errors/suggestions.
19 Updated by jeje@jini.org for ServiceUI and Dashboard support.
20 -->
21
22 <opstring>
23 <OperationalString Name="Blitz">
24
25 <ServiceBean Name="Blitz" MatchOnName="yes">
26 <Codebase>&CodeServerURL;</Codebase>
27 <Interfaces>
28 <Interface>net.jini.space.JavaSpace</Interface>
29 <Resources>
30 <JAR>blitz-dl.jar</JAR>
31 <JAR>blitzui.jar</JAR>
32 <JAR>rio-dl.jar</JAR>
33 </Resources>
34 </Interfaces>
35
36 <ImplementationClass>org.dancres.blitz.remote.BlitzServiceImpl
37 <Resources>
38 <JAR>blitz.jar</JAR>
39 <JAR>blitzui.jar</JAR>
40 <JAR>je.jar</JAR>
41 <JAR>stats.jar</JAR>
42 <JAR>jsk-lib.jar</JAR>
43 <JAR>sun-util.jar</JAR>
44 <JAR>serviceui-1.1.jar</JAR>
45 <JAR>backport-util-concurrent50.jar</JAR>
46 </Resources>
47 </ImplementationClass>
48
49 <Configuration>
50 <Component Name="org.dancres.blitz">
51 <Parameter Name="name" Value="&quot;dancres&quot;"/>
52 <Parameter Name="persistDir" Value="&quot;blitz_db&quot;"/>
53 <Parameter Name="storageModel" Value="new org.dancres.blitz.config.Persistent(false, false, 20, true, 10000, 8192)"/>
54 <Parameter Name="initialGroups" Value="new java.lang.String[]{&quot;rio&quot;}"/>
55 <Parameter Name="logDir" Value="&quot;blitz_log&quot;"/>
56
57 <Parameter Name="initialAttrs" Value="new net.jini.core.entry.Entry[] {org.dancres.blitz.serviceui.DashboardUI.getUIDescriptor()}"/>
58 <Parameter Name="stats" Value="new org.dancres.blitz.stats.Switch[] {new org.dancres.blitz.stats.OpSwitch(org.dancres.blitz.stats.OpSwitch.ALL_TYPES, org.dancres.blitz.stats.OpSwitch.TAKE_OPS, true), new org.dancres.blitz.stats.OpSwitch(org.dancres.blitz.stats.OpSwitch.ALL_TYPES, org.dancres.blitz.stats.OpSwitch.READ_OPS, true), new org.dancres.blitz.stats.OpSwitch(org.dancres.blitz.stats.OpSwitch.ALL_TYPES, org.dancres.blitz.stats.OpSwitch.WRITE_OPS, true), new org.dancres.blitz.stats.InstanceSwitch(org.dancres.blitz.stats.InstanceSwitch.ALL_TYPES, true)}"/>
59 </Component>
60 </Configuration>
61
62
63 <ServiceLevelAgreements>
64 <SystemRequirements>
65 <Utilization ID="System" High=".7"/>
66 <Utilization ID="CPU" High=".8"/>
67 </SystemRequirements>
68 </ServiceLevelAgreements>
69
70 <Groups>
71 <Group>rio</Group>
72 </Groups>
73
74 <Maintain>1</Maintain>
75
76 <MaxPerMachine>1</MaxPerMachine>
77
78 <Comment>Blitz JavaSpace</Comment>
79
80 </ServiceBean>
81
82 <Include>infrastructure.xml</Include>
83
84 </OperationalString>
85 </opstring>