Skip Headers

Oracle® Application Server Release Notes 10g Release 3 (10.1.3) for Linux x86 B25216-01 |
| Home | Contents

Previous |

# 10 Oracle Sensor Edge Server

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

- Section 10.1, "Installation and Configuration Issues"

- Section 10.2, "General Issues"

- Section 10.3, "Documentation Issues"

## 10.1 Installation and Configuration Issues

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

- Section 10.1.1, "Valid 10.1.3 OC4J in Correct Oracle Home Required for Oracle Sensor Edge Mobile"

- Section 10.1.2, "OC4J 10.1.2 Must be Stopped if Installing Against It"

- Section 10.1.3, "Default Database Tablespaces"

- Section 10.1.4, "Oracle Sensor Edge Server Installation Fails"

### 10.1.1 Valid 10.1.3 OC4J in Correct Oracle Home Required for Oracle Sensor Edge Mobile

You must have OC4J 10.1.3 installed into the same Oracle home into which you are going to install Oracle Sensor Edge Mobile. Having OC4J in another location is not supported by Oracle Universal Installer.

After confirming that OC4J is installed in the proper place, you can install Oracle Sensor Edge Server products. To install any Oracle Sensor Edge Server products, you must first select Oracle Sensor Edge Server in the Installation screen. Subsequently, you will be able to install Oracle Sensor Edge Server, Oracle Sensor Edge Mobile, or both products.

If you install both products, you will be given the option of launching the Sensor Edge Welcome twice. Both products are trying to open the same Welcome page; opening either one opens the same page.

### 10.1.2 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 will fail.

### 10.1.3 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.sql`is 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.

### 10.1.4 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.

## 10.2 General Issues

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

- Section 10.2.1, "Using UTL_EDG.REMOVE_RULE Displays an Error"

- Section 10.2.2, "Adding a Rule Displays an Error"

- Section 10.2.2, "Adding a Rule Displays an Error"

- Section 10.2.3, "Localization -- Navigation Tree in the SES Console Renders as the Server Locale-Defined Character Set"

- Section 10.2.4, "Reassignment of Audio Event Type (207)"

### 10.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.

### 10.2.2 Adding a Rule Displays an Error

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

### 10.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.

### 10.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`).

## 10.3 Documentation Issues

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

- Section 10.3.1, "Documentation for Oracle Sensor Edge Server Extensions"

- Section 10.3.2, "Manually Deploying Sensor Data Streams Against an Existing Sensor Data Repository"

### 10.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`.

### 10.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".