Skip Headers
Oracle® Application Server Release Notes
10g Release 3 (10.1.3.2) for Linux x86

Part Number B32200-08
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

9 Oracle Sensor Edge Server

This chapter describes issues with Oracle Sensor Edge Server. It includes the following topics:

9.1 Installation and Configuration Issues

This section describes installation and configuration issues regarding Oracle Sensor Edge Server. It includes the following topics:

9.1.1 OC4J 10.1.2 Must be Stopped if Installing Against It

As noted in Oracle Sensor Edge Server Guide, you can install Oracle Sensor Edge Server along with OC4J 10.1.2 (versus the current 10.1.3 version). If you choose to install Oracle Sensor Edge Server with OC4J 10.1.2, ensure that OC4J is not running at the time. If OC4J 10.1.2 is running when you try to install Oracle Sensor Edge Server against it, the installation fails.

OC4J 10.1.3 standalone is also deployed in this release (it is in an ear file, and not deployed through Oracle Installed).

9.1.2 Default Database Tablespaces

The scripts included with Oracle Sensor Edge Server are for a simple, generic installations. Our testing is accomplished against such generic installations.

However, in enterprise environments, there may be many custom requirements and configurations that customers must design and implement themselves.

For this reason, please ensure that you are familiar with tablespace creation. To learn about database tablespace creation, see the Oracle SQL Reference and Oracle Database Concepts guides for your particular release.

Once you have set up your database (including the server, datafiles, and tablespaces across datafiles), you can modify Oracle Sensor Edge Server install scripts as needed.

create_edg_user.sql is used for SDS, and create_edg_sda_user.sqlis used for SDR.

These scripts must be modified to use newly-created tablespaces for specific customer requirements.

Under the create user command where you specify which tablespace the user is to use, change the line containing 'create user' in the .sql scripts, according to the manual.

9.1.3 DBMS Lock Problem

In rare circumstances when Oracle Universal Installer is attempting to install the SDS into a database that already has an SDR installed, an error occurs. This happens due to a conflict in privileges for the components (you can see the specifics in createedgeuser_SDS.log). To resolve the problem, shut down any other Oracle Sensor Edge Server-related DBMS jobs, then try the installation again.

9.1.4 Unable to Create a JMX Connection

An error was reported in which users were not able to create a JMX connection. The error was caused by the client code trying to access an invalid OC4J instance. To avoid this problem, ensure that your code is connecting to a valid OC4J instance (verify that the name is correct).

9.1.5 Restart Server for Changes to Take Effect

OC4J Enterprise Manager does not automatically warn that the server must be restarted in order for changes to take effect. In order for your server changes to take effect, you must restart the server.

9.1.6 Oracle Sensor Edge Server Installation Fails

When installing the Oracle Sensor Edge Server, do not select the Oracle Containers for J2EE 10.1.3.0.0 option from the companion CD Oracle Universal Installer (OUI); selecting this option along with the SES option causes the Oracle Sensor Edge Server installation to fail. The valid OC4J instance is installed using the Oracle Application Server CD-ROM (or DVD-ROM), not the companion CD OUI. For more information, see the Oracle Application Server Installation Guide appropriate to your platform.

9.1.7 Resolving the Reboot Issue for XML Configuration

Error messages regarding invalid jms.xml typically occur because of an abnormal termination of OC4J, an OC4J crash, or the IP address of the server running OC4J changes.

If you encounter OC4J JMS Server startup problems after an abnormal shutdown, first check that no other OC4J JMS Server is running and using the same persistence files. Remove any.lock files from the ORACLE_HOME/j2ee/instance_name/persistence directory and then try restarting again.

If problems persist, confirm that the jms.xml file is valid.

If problems still persist, remove the jms.state file from the persistence directory and try again. Removing this file may result in the loss of transaction information. See also the section entitled "Abnormal Termination", located in the "Resource Providers" in "Chapter 3: Oracle Enterprise Messaging Service (OEMS)" of Oracle Containers for J2EE Services Guide.

In rare instances, one may be able to log in to Oracle Sensor Edge Server, but not into Oracle Enterprise Manager. If you encounter this problem, try to log in repeatedly (4-6 times); this will clear the error.

9.2 General Issues

This section describes general issues encountered in Oracle Sensor Edge Server. It includes the following topics:

9.2.1 Using UTL_EDG.REMOVE_RULE Displays an Error

When using the API UTL_EDG.REMOVE_RULE, an error may be encountered. This API only works if your rule was created through other Oracle Sensor Edge Server APIs.

9.2.2 Adding a Rule Displays an Error

In this release, be sure to use the syntax ':event' instead of 'TAB.USER_DATA'.

9.2.3 Localization -- Navigation Tree in the SES Console Renders as the Server Locale-Defined Character Set

The character set defined in the Server Locale overrides the characters set in the browser locale even when you switch the browser locale. For example, if you switch the browser locale to Japanese, the Server Locale is defined as traditional Chinese, the strings in the Navigation Tree of the SES Console (such as the Available Extensions, filters, devices, and device group nodes) and the error and confirmation messages render in traditional Chinese rather than in Japanese. To correct this problem, reset the Server Locale, or override the Server Locale-defined character set by overloading MsgTranslator methods to take locale. String literals in the SESConfig tree control must be non-static and fetched using Locale on each page request.

9.2.4 Reassignment of Audio Event Type (207)

The Audio Event Type (which is the event supported by the Simple Audio Driver) has been reassigned from 207 to 104, and is now included in the group Generic Instructions to Devices (Event Types 100 - 199). Its Subtype remains 1 (Play audio jobs in the .xml file in the Datafield).

9.3 Documentation Issues

This section describes documentation issues regarding Oracle Sensor Edge Server. It includes the following topic:

9.3.1 Documentation for Oracle Sensor Edge Server Extensions

Once the server is installed, you can see documentation for extensions at: http://<host on which SES is installed>:<oc4j port>/edge/extensions. Or, see Oracle Sensor Edge Server information on Oracle Technology Network at: http://www.oracle.com/technology/products/sensor_edge_server/extensions.html.

9.3.2 Manually Deploying Sensor Data Streams Against an Existing Sensor Data Repository

Oracle Sensor Edge Server Guide omits a step in describing how to manually deploy Sensor Data Streams if you have already created a Sensor Data Repository. The procedure for manually deploying Sensor Data Streams if the Sensor Data Repository exists is as follows:

  1. Use SQL*Plus to connect to the database as sysdba, by running sqlplus /nolog.

  2. Run sqlplus; connect as sys/your_pwd@your_db as sysdba.

  3. Run the script grant_edg_user.sql, located in Oracle_Home /edge/stage/sql/10.1.3.

  4. Disconnect as sys and then reconnect to the database as the edge user.

  5. Run the script edg_create_streams.sql, located in Oracle_Home /edge/stage/sql/10.1.3.

  6. Follow the procedure described in "Connecting Oracle Sensor Edge Server to Sensor Data Streams".

    When installing the SDS on an Oracle 10g database, this privilege must be granted to the EDGE database user. This step is not necessary on an Oracle 9i database. If you do it on an Oracle 9i database, you receive an error during user creation, but you may ignore the error message.