Oracle® Sensor Edge Server Administrator's Guide
10g Release 2 (10.1.2) B14455-02 |
|
Previous |
Next |
This appendix describes the configuration file for the Oracle Sensor Edge Sever, edgeserver.xml
.
Example A-1 illustrates edgeserver.xml
with comments. In this example, the configuration connects an Intermec device to the Oracle Sensor Edge Server, which disaptches events using the Oracle Streams dispatcher.
Example A-1 edgeserver.xml
<EdgeServer id="1"> <Name>MyEdgeServer</Name> <SiteName>MySite</SiteName> <DispatcherMode>persist</DispatcherMode> <IsRunJmx>false</IsRunJmx> <JmxConsolePort>8989</JmxConsolePort> <JmxConsolePassword>welcome</JmxConsolePassword> <IsExtensionMonitorEnabled>false</IsExtensionMonitorEnabled> <LogLevel>notify</LogLevel> <ShutDownTimeOut>10000</ShutDownTimeOut> <DispatcherList id="2"> <Dispatcher id="3"> <ClassName>oracle.edge.rt.NullDispatcher</ClassName> <Description>Dispatcher that does nothing</Description> <Name>NullDispatcher</Name> <Parameters id="4"/> <Version>1.0</Version> </Dispatcher> <Dispatcher id="5"> <ClassName>oracle.edge.impl.dispatcher.StreamsConnector</ClassName> <Description>StreamsDispatcher</Description> <Name>StreamsDispatcher</Name> <Parameters id="6"> <Parameter id="7" name="username" defaultValue="edge" description="stream access user name" displayName="DBUsername" encrypted="false"> <valueType type="string"/> </Parameter> --**CHANGED default value for password <Parameter id="8" name="password" defaultValue="oracle" description="stream access password" displayName="DB password" encrypted="false"> <valueType type="string"/> </Parameter> --**CHANGED value for URL to machine name PORT to 9105 and SID to PRJ1 <Parameter id="9" name="url"defaultValue="jdbc:oracle:thin:@(description=(address=(host=soclxs3db02) defaultValue="jdbc:oracle:thin:@(description=(address=(host=soclxs3db02) (protocol=tcp)(port=9105))(connect_data=(sid=PRJ1)))" description="stream access url" displayName="DB Connect String" encrypted="false"> <valueType type="string"/> </Parameter> </Parameters> <Version>1.0</Version> </Dispatcher> <Dispatcher id="10"> <ClassName>oracle.edge.impl.dispatcher.HTTPEventDispatcher</ClassName> <Description>Http Dispatcher</Description> <Name>HTTP Dispatcher</Name> <Parameters id="11"> <Parameter id="12" name="url" defaultValue="http://localhost:8888/rfid/test" description="HTTP url" encrypted="false"> <valueType type="string"/> </Parameter> <Parameter id="13" name="disableAcceptCookieDialog" defaultValue="true" description="Whether to disable the accept/reject cookie dialog from HttpClient" encrypted="false"> <valueType type="boolean"/> </Parameter> </Parameters> <Version>1.0</Version> </Dispatcher> <Dispatcher id="14"> <ClassName>oracle.edge.impl.dispatcher.JMSEventDispatcher</ClassName> <Description>JMS Dispatcher</Description> <Name>JMS Dispatcher</Name> <Parameters id="15"> <Parameter id="16" name="provider" defaultValue="ormi://localhost" description="JMS provider url" encrypted="false"> <valueType type="string"/> </Parameter> <Parameter id="17" name="username" defaultValue="admin" description="JMS user name" encrypted="false"> <valueType type="string"/> </Parameter> <Parameter id="18" name="password" defaultValue="mobile" description="JMS user password" encrypted="false"> <valueType type="string"/> </Parameter> <Parameter id="19" name="ack" defaultValue="CLIENT_ACKNOWLEDGE" description="JMS acknowledge mode" encrypted="false"> <valueType type="string"/> </Parameter> </Parameters> <Version>1.0</Version> </Dispatcher> <Dispatcher id="20"> <ClassName>oracle.edge.impl.dispatcher.WSEventDispatcher</ClassName> <Description>WebService Dispatcher</Description> <Name>WebService Dispatcher</Name> <Parameters id="21"> <Parameter id="22" name="url" defaultValue="http://localhost:8888/wsdl/" description="url to locate wsdl" encrypted="false"> <valueType type="string"/> </Parameter> </Parameters> <Version>1.0</Version> </Dispatcher> </DispatcherList> <DriverList id="23"> <Driver id="24"> <ClassName>oracle.edge.impl.driver.EdgeSimulator</ClassName> <Description>This is internal simulator</Description> <Name>Edge Simulator Driver</Name> <Parameters id="25"> <Parameter id="26" name="FileName" defaultValue="..\..\edge\config\Simulation.xml" description="Simulator's configuration file" encrypted="false"> <valueType type="string"/> </Parameter> </Parameters> <Version>1.0</Version> </Driver> <Driver id="27"> <ClassName>oracle.edge.impl.driver.AlienReader</ClassName> <Description>This is an alien device</Description> <Name>AlienDevice</Name> <Parameters id="28"> <Parameter id="29" name="PortNo" defaultValue="23" description="Alien reader's open port number that edge device listens to" encrypted="false"> <valueType type="int"/> </Parameter> <Parameter id="30" name="IPAddress" defaultValue="144.25.171.23" description="Alien reader's IP address" encrypted="false"> <valueType type="string"/> </Parameter> <Parameter id="31" name="UserName" defaultValue="alien" description="Alien reader's access user" encrypted="false"> <valueType type="string"/> </Parameter> <Parameter id="32" name="Password" defaultValue="password" description="Alien reader's access password" encrypted="false"> <valueType type="string"/> </Parameter> <Parameter id="33" name="AntennaSeqIdList" defaultValue="" description="List of identifiers to identify each antenna" encrypted="false"> <valueType type="string"/> </Parameter> <Parameter id="34" name="AntennaMappedDeviceNameList" defaultValue="" description="List of mapped device names associated with each antenna" encrypted="false"> <valueType type="string"/> </Parameter> </Parameters> <Version>1.0</Version> </Driver> <Driver id="35"> <ClassName>oracle.edge.impl.driver.IntermecReader</ClassName> <Description>This is Intermec reader: IntelliTag 500</Description> <Name>IntermecDevice</Name> <Parameters id="36"> --**CHANGED default value for PORTNO to 6543 (where DeviceManager is listening <Parameter id="37" name="PortNo" defaultValue="6543" description="Reader's open port number that edge device listens to" encrypted="false"> <valueType type="int"/> </Parameter> --**CHANGED value for IPADDRESS (IP of machine RFID hardware is connected to) <Parameter id="38" name="IPAddress" defaultValue="192.168.0.52" description="Reader's IP address" encrypted="false"> <valueType type="string"/> </Parameter> <Parameter id="39" name="AntennaSeqIdList" defaultValue="" description="List of identifiers to identify each antenna" encrypted="false"> <valueType type="string"/> </Parameter> <Parameter id="40" name="AntennaMappedDeviceNameList" defaultValue="" description="List of mapped device names associated with each antenna" encrypted="false"> <valueType type="string"/> </Parameter> </Parameters> <Version>1.0</Version> </Driver> <Driver id="41"> <ClassName>oracle.edge.impl.driver.EdgeEventDevice</ClassName> <Description>This is EMS reader.</Description> <Name>EMSDevice</Name> <Parameters id="42"> <Parameter id="43" name="PortNo" defaultValue="6666" description="Reader's open port number that edge device listens to" encrypted="false"> <valueType type="int"/> </Parameter> <Parameter id="44" name="IPAddress" defaultValue="144.25.168.131" description="Reader's IP address" encrypted="false" <valueType type="string"/> </Parameter> <Parameter id="45" name="AntennaSeqIdList" defaultValue="" escription="List of identifiers to identify each antenna" encrypted="false"> <valueType type="string"/> </Parameter> <Parameter id="46" name="AntennaMappedDeviceNameList" defaultValue="" description="List of mapped device names associated with each antenna" encrypted="false"> <valueType type="string"/> </Parameter> </Parameters> <Version>1.0</Version> </Driver> <Driver id="47"> <ClassName>oracle.edge.impl.driver.EdgeDevice</ClassName> <Description>Edge Device Driver</Description> <Name>Edge Device Driver</Name> <Parameters id="48"> <Parameter id="49" name="PortNo" defaultValue="23" description="Edge device's open port number that edge device listens to" displayName="Port Number" encrypted="false"> <valueType type="int"/> </Parameter> <Parameter id="50" name="IPAddress" defaultValue="" description="Edge device's IP address" displayName="IP Address" encrypted="false"> <valueType type="string"/> </Parameter> </Parameters> <Version>1.0</Version> </Driver> </DriverList> <FilterList id="51"> <Filter id="52"> <ClassName>oracle.edge.impl.filter.PassFilter</ClassName> <Description>Filter redundant in range tag ids from a single reader.</Description> <Name>PassRedundantFilter</Name> <Parameters id="53"> <Parameter id="54" name="ExitEventThresholdTime" defaultValue="800" description="Time elapsed in milliseconds since a tag has been seen last time" encrypted="false"> <valueType type="int"/> </Parameter> </Parameters> <Version>1.0</Version> </Filter> <Filter id="55"> <ClassName>oracle.edge.impl.filter.PalletPassFilter</ClassName> <Description>Filter redundant in range tag ids from a single reader.</Description> <Name>PalletPassFilter</Name> <Parameters id="56"> <Parameter id="57" name="ExitEventThresholdTime" defaultValue="800" description="Time elapsed in milliseconds since a tag has been seen last time" encrypted="false"> <valueType type="int"/> </Parameter> <Parameter id="58" name="EventCollectControlTime" defaultValue="1500" description="Time elapsed in milliseconds since a new tag has been detected last time" encrypted="false"> <valueType type="int"/> </Parameter> </Parameters> <Version>1.0</Version> </Filter> <Filter id="59"> <ClassName>oracle.edge.impl.filter.PalletShelfFilter</ClassName> <Description>Filter redundant in range tag ids from a single reader.</Description> <Name>PalletShelfFilter</Name> <Parameters id="60"> <Parameter id="61" name="ExitEventThresholdTime" defaultValue="800" description="Time elapsed in milliseconds since a tag has been seen last time" encrypted="false"> <valueType type="int"/> </Parameter> <Parameter id="62" name="EventCollectControlTime" defaultValue="1500" description="Time elapsed in milliseconds since a new tag has been detected last time" encrypted="false"> <valueType type="int"/> </Parameter> </Parameters> <Version>1.0</Version> </Filter> <Filter id="63"> <ClassName>oracle.edge.impl.filter.ShelfFilter</ClassName> <Description>Filter redundant in range tag ids from a single reader.</Description> <Name>ShelfRedundantFilter</Name> <Parameters id="64"> <Parameter id="65" name="ExitEventThresholdTime" defaultValue="800" description="Time elapsed in milliseconds since a tag has been seen last time" encrypted="false"> <valueType type="int"/> </Parameter> </Parameters> <Version>1.0</Version> </Filter> <Filter id="66"> <ClassName>oracle.edge.impl.filter.CrossReaderRedundantFilter</ClassName> <Description>Filter redundant tag ids from multiple readers.</Description> <Name>CrossReaderRedundantFilter</Name> <Parameters id="67"/> <Version>1.0</Version> </Filter> <Filter id="68"> <ClassName>oracle.edge.impl.filter.CheckTagFilter</ClassName> <Description>Check Tag Filter</Description> <Name>Check Tag Filter</Name> <Parameters id="69"> <Parameter id="70" name="CheckTagId" defaultValue="" description="Tag id to be checked" displayName="Check Tag Id" encrypted="false"> <valueType type="string"/> </Parameter> <Parameter id="71" name="TagCheckInterval" defaultValue="60000" description="Time interval in milliseconds between two tag-checking window" displayName="Tag Check Interval" encrypted="false"> <valueType type="int"/> </Parameter> <Parameter id="72" name="TagCheckTimeWindow" defaultValue="60000" description="Time window in milliseconds for each tag-checking" displayName="Tag Check Time Window" encrypted="false"> <valueType type="int"/> </Parameter> </Parameters> <Version>1.0</Version> </Filter> <Filter id="73"> <ClassName>oracle.edge.impl.filter.DebugFilter</ClassName> <Description>Debug Filter</Description> <Name>Debug Filter</Name> <Parameters id="74"> <Parameter id="75" name="EventOutputFile" defaultValue="" description="Output file for dumping events" displayName="Debug Output File" encrypted="false"> <valueType type="string"/> </Parameter> </Parameters> <Version>1.0</Version> </Filter> </FilterList> <CurrentDispatcher id="76"> --**CHANGED DispatcherName to StreamsDispatcher <DispatcherName>StreamsDispatcher</DispatcherName> --**CHANGED reference to point to StreamsDispatcher "5" <Extension class="Dispatcher" reference="5"/> --**CHANGED default identify name to StreamsDispatcher <Name>StreamsDispatcher</Name> <NeedReload>false</NeedReload> --**ADDED ParameterInsts tag <ParameterInsts id="77"> --**ADDED ParameterInst tag for username <ParameterInst id="78"> <Name>username</Name> <ParameterMetaData reference="7"/> <Value>edge</Value> </ParameterInst> -**ADDED ParameterInst tag for password <ParameterInst id="79"> <Name>password</Name> <ParameterMetaData reference="8"/> <Value>oracle</Value> </ParameterInst> --**ADDED ParameterInst tag for URL <ParameterInst id="80"> <Name>url</Name> <ParameterMetaData reference="9"/> <Value>jdbc:oracle:thin:@(description=(address=(host=soclxs3db02) (protocol=tcp)(port=9105))(connect_data=(sid=PRJ1)))</Value> </ParameterInst> </ParameterInsts> </CurrentDispatcher> <DeviceGroups id="81"> <DeviceGroup id="82"> <DeviceList id="83"> --**ADDED Device tag for Intermec reader <Device id="84"> <Name>Intermec Device</Name> <DriverName>IntermecDevice</DriverName> --**NOTE make sure that extension reference points to IntermecDevice listed above <Extension reference="35"/> <ParameterInsts id="85"> <ParameterInst id="86"> <Name>PortNo</Name> --**NOTE make sure that extension reference points to IntermecDevice listed above <ParameterMetaData reference="37"/> <Value>6543</Value> </ParameterInst> <ParameterInst id="87"> <Name>IPAddress</Name> --**NOTE make sure that extension reference points to IntermecDevice listed above <ParameterMetaData reference="38"/> <Value>192.168.0.52</Value> </ParameterInst> <ParameterInst id="88"> <Name>AntennaSeqIdList</Name> --**NOTE make sure that extension reference points to IntermecDevice listed above <ParameterMetaData reference="39"/> <Value>12000000</Value> </ParameterInst> <ParameterInst id="89"> <Name>AntennaMappedDeviceNameList</Name> --**NOTE make sure that extension reference points to IntermecDevice listed above <ParameterMetaData reference="40"/> <Value>IT500_READER</Value> </ParameterInst> </ParameterInsts> <FilterInsts id="90"/> </Device> </DeviceList> <EventCollectWaitTime>500</EventCollectWaitTime> <FilterInsts id="91"/> <IsDefault>false</IsDefault> <IsSystem>true</IsSystem> <Name>Unassigned</Name> </DeviceGroup> </DeviceGroups> </EdgeServer>