I get this
error when deploying a new Edge Extension. Why?
----------
Tue Nov 02 11:08:31
GMT-05:002004:oracle.edge.driver.DeviceException:
Error occurswhen receiving events...
atoracle.edge.impl.driver.TycoReader.interpretDeviceEvents(TycoReader.java:309)
atoracle.edge.driver.AbstractEventDevice.processEvents(UnknownSource)
at
oracle.edge.driver.AbstractDevice.run(UnknownSource)
at java.lang.Thread.run(Unknown Source)
---------
The
error in your log file means that the driver
is unreachable from the Edge Server. Check to see
that the physical and port connections to the Edge Server are properly connected and the reader is
configured correctly both in the hardware and the Edge Server. This error is thrown any time the Edge
Server attempts to contact the device based on
its configuration parameters but cannot reach
the device.
What can I do
if I get an error message when loggin to EM?
- open console
- go to $ORACLE_HOME\opmn\bin
- opmnctl.exe shutdown
- opmnctl.exe startall
To check if instance is up
try:opmnctl.exe status -l
What can I do
if I get an error message when loggin to EM?
Delete all *.lock files subdirectories
of $ORACLE_HOME\j2ee\home\persistence\
(by default the files are
in $ORACLE_HOME\j2ee\home\persistence\home_default_group_1\)
What can I do if I
get an Out of Memory message when accessing EM?
Open $ORACLE_HOME\opmn\config\opmn.xml and add:
-Xmx512m -Xms512m -XX:MaxPermSize=128m at thelocation
indicated belwo.
<ias-component id="OC4J">
<process-type
id="home"module-id="OC4J" status="enabled">
<module-data>
<category
id="start-parameters">
<data
id="java-options" value="
-Xmx512m
-Xms512m-XX:MaxPermSize=128m...
I can access the SES Admin Console (localhost:port/ses)
but not the Enterprise Manager (localhost:port/em).
What's wrong?
In this
case you might have selected the wrong option when you
installed the Application server.
Make sure that you select "J2EE Server and Process
Management" on the "Select Installation Type" screen.
How can I find out why my application does not receive any events from SES?
The
four tips should help you to resolve/identify your
problem.
-
Login SES admin page, check the monitor level is "Monitor" or above. If yes, click Monitor tab, see whether events are displayed
-
Login SQL plus as edge user. Do a SELECT * FROM EDG_EVENT_TAB, see is there any event inserted
-
Associate a debugger filter to the reader in use. The events will be logged to the file specified by the debug filter
-
Open ORACLE_HOME\j2ee\home\applications\edge\edge\log\edge.*.log. All events and activities will be logged in those files. (Monitor level decides the log level,
which is defined on monitor level in main server
settings)
Back
to top
What are the minimal system requirements to deploy
SES?
Details for prerequisites for AS can be found
here.
The
prerequisites for SES are:
| |
SES + OC4J |
SES |
| Memory |
512MB |
128MB |
| Disk space |
550MB |
150MB |
| Space in TEMP directory |
256MB |
256MB |
| Swap space |
1.5GB |
1.5GB |
Is
there recommended standard deployment
architecture?
The
Edge Server is flexible, and can be deployed
in multiple ways. There is no standard
deployment architecture, so the deployment
architecture will vary depending on your needs. The
most common deployment method seen by larger
enterprises is a hub and spokes model, where the
Sensor Edge Server resides locally to a particular
network or distribution center. The Sensor Edge
Server—by directly connecting readers through Ethernet or
serial port—controls the sensors and actuators
for that area. All of the Sensor Edge Servers within the
enterprise will point to a central data
warehouse, where the Sensor Data Repository stores the
information from all sites.
Where should
I deploy Sensor Edge Server in
my network?
The reason the product is called a Sensor Edge Server
is because it is supposed to sit at the edge of
your network, near the readers and sensors. The idea
is that each local location (i.e. warehouse, shop
floor, manufacturing center) can have one or more
Sensor Edge Servers controlling all of the readers
and sensors in that local area. In your example
above, you would have many more Sensor Edge Servers
than just one.
Back
to top
How do I test
the basic setup of Oracle Sensor Edge Server?
Here is an example you can follow to test the basic
setup. In this example,
HOME_URL=http://your_server_name:port_number/.
AFTER you have verified that OC4J and Oracle Sensor
Edge Server10.1.3 are properly installed, follow
these steps:
- Print a Label
- Write a Tag
- Read the Tag
Print a Label
To print a label:
- Add a new device printer .
- Configure the printer .
- Restart Oracle Sensor Edge Server.
- Open HOME_URL/edge/tools/printLabel.jsp.
- Select a printer.
- Enter values into the text fields.
- Click Send.
- Check printer output.
Write a Tag
To write a tag:
- Open HOME_URL/edge/tools/printLabel.jsp.
- Select a printer .
- Enter values into the text fields.
- Click Send.
- Check printer output.
Read a Tag
To read a tag:
- Add a new device reader.
- Configure the reader.
- Restart Oracle Sensor Edge Server.
- Place the Tag in front of the reader.
- Go to Monitor Events in the
SES Console, and verify that an event
has been registered.
Back
to top
What kind
of devices does Sensor Edge Server 10.1.3
support?
The Sensor Edge Server can interface to any
generic sensor or response device accessible through
a computer. This includes RFID readers,
message boards, light stacks, carousels, thermal
sensors, and chemical sensors.
List of available drivers
can be found on
OTN.
How can I
find the latest supported driver
list?
For
a list of devices supported out of the product,
please see the latest
Sensor Edge Server documentation
and
extensions list in OTN
How can I package
my own driver extensions?
Please refer to
the
Sensor Edge Server Administrator's guide
(page 3-33) on OTN.
What level can
I control sensor devices?
Oracle provides a UI interface
for configuration/start/stop/delete/adding devices,
and can expose custom configuration parameters
made available by the device manufacturer. The UI
however, does not allow exposure of dynamic controls.
If you would like more fine-grained control, this can
be obtained by implementing the driver such that
these commands are exposed to higher-level
applications through command events sent to
the driver.
How
can we connect a large number of serial-connection
based devices to the Sensor Edge
Server?
You can deploy a serial-to-Ethernet bridge between
Sensor Edge Server and the serial
device. Such devices are inexpensive and
are readily available from many vendors.
How many TCP-enabled devices can Sensor Edge server connect?
How many TCP-enabled devices can
be connected to the Sensor Edge Server?
Theoretically the amount of
TCP-enabled devices that can be connected to SES is only
limited by the network. To keep the group and device
layout clean, we suggest not to connect more than 20-30
devices
Does the Sensor
Edge Server support a serial
connection directly?
Yes. However, we do not recommend this configuration,
as you are limited in the number of additional
serial devices that can be connected to the Sensor
Edge Server box by the number of serial ports. A
network bridge will allow you to connect many more
serial devices to the Sensor Edge Server.
What will
happen to sensor data if Sensor Edge Server is down. Is
there any recovery mechanism?
There are several available
ways how
to implement fault tolerance. One option is to have to
parallel cloned systems. And use Oracle Process
Management (opmn) to start the backup machine if the
production machine goes down.
How does Sensor
Edge Server ensure to receive read data
from devices?
Sensor Edge Server only ensures the data that the
device sent is correctly passed up to the rest of
the application infrastructure. Since we have
only limited control over readers from other
vendors, there is little we can do to ensure that
there are no errors at the
Reader/Device level.
How can I confirm
if a reader works properly?
To confirm a reader is working after setting it up
for the first time, run the Sensor Edge Server,
make sure that you set the "Log Level" in the
"Configuration" tab to "Monitor" or higher, generate some reads by waving a tag in front of the
reader, and then switch to the "Monitor Events" tab,
where you should see the tag reads.
How can I see
the data that comes from the reader?
Just click on the
"Monitor Events" tab where you can see both the Inbound
and Outbound Queue. (Make sure you set the "Log Level"
in the "Configuration" tab to "Monitor" or higher.
I want to know how to
simulate the Edge Server behavior without any
real tags and readers. Do you have any idea about
the testing?
1) You
can use Simulator Driver included with the Sensor
Edge Server. Sample simulation formats
are available in the /edge/config
directory.
2) Follow the the
Animation Demo on OTN.
How can I
use Remote Driver?
The Remote Driver is a
generic driver that talks to any hardware or software
driver using standard Oracle Sensor Edge Server Event XML
schema. Use the Remote Driver
to write a driver that talks to the Oracle Sensor Edge
Server without having to deploy
it into the Oracle Sensor Edge Server itself. For
example, if you have a device that only
works on the Win32 platform and the driver has to be
written in native code or in .Net,
then you can either write actual driver code in native
code and make it a DLL and then
write a Oracle Sensor Edge Server driver to call the DLL
using JNI, or you can write
the native code as a program that waits for the socket
connection from the Remote
Driver. In the latter case, there is only one piece of
code to write.
For more information please
check the driver documentation please check on you local
instance e.g. http://localhost:8888/edge/extensions/doc/remoteDriver.html
How can I
use Simulator Driver?
You
can specify the file name for the simulator driver
and the file must be XML format. See the
edge/config directory on the standalone edition for a
sample oft his file format.
Back
to top
What kind
of filters does Sensor Edge Server provide?
For
a list of filters supported out of the product,
please see the latest
Sensor Edge Server
Guide
or select "Filters" under "Available Extensions" in
the tree control on the "Configuration" tab.
How can I get
the detailed specification about
each filter?
Please see the latest Sensor Edge Server
Guide
How can I
ensure the filter works correctly?
You
can use other debug filters alongside the
particular filter you are testing to determine
its behavior.
Back
to top
What kind
of dispatchers does Sensor Edge Server provide?
For
a list of dispatchers supported out of the
box, please see the latest Sensor Edge Server
Guide
or select "Dispatchers" under "Available
Extensions" in the tree control on the "Configuration"
tab.
What is the advantage of using Oracle
Streams Dispatcher?
The main reson for using the the Streams dispatcher is
for performance reasons. It can handle up to 1200 Events
per second. But it also provides robust rule base distribution and messaging system in
the database.
Back
to top
I got errors when
I installed the SDR. That seems to be
causing problems. How can I uninstall?
To delete the
entire schema and reinstall, do the following: You must
stop the job by logging in as edge, then executing the
sql command by typing exec edg_utl.deschedule_job; Then
connect as the system user and drop the user by running:
"drop user edge cascade;".
I Do I have to use one SDR for each SES?
The purpose of the SDR is to
provide a "single source of truth" for all RFID data.
Hence, the SDR allows multiple SES to be connected to
it. The user can access the different SES instances over
the "Topology" button on the upper right side of the
SES-Console. (As long as they are connected to the same
SDR)
Back
to top
I need help.
Is there a resource I can turn to?
If you have
purchased the product, contact Oracle
Support.Also available are discussionboards where
you can chat with other members.
Which platform
does Sensor Edge Server support?
Sensor Edge Server is generally supported on all the platforms supported by Oracle Application
Server. Any exceptions to this are noted in Oracle Application Server Platform Certification Guide. While Windows XP is a supported platform, it is not recommended for highly scalable, production server deployments.
Back
to top
Does SES have some
good analyzer? Should I read the log file
in SES?
SES
also outputs information on the log file and we
can analyze the log file. In addition, a debug filter
can be used to pipe out the events to
a file.
I am not
seeing any events in my application. What is
wrong?
If you have checked
all of your settings on the dispatcher and filters,
and have verified that the driver is generating
events, double check to see that the dispatcher you
intend to use is set to be the current dispatcher
Back
to top
Does Sensor
Edge Server support EPC-Global ?
Yes
Back
to top
What license is Oracle Sensor
Edge Server ?
It is included in the
Application Server license.
Can I use Named
User Plus license for Sensor Edge
Server.
No.
You can only use CPU license.
Is Sensor Edge Server
in the Application Server CD package?
No. It is on the companion
CD..
Back
to top