Skip Headers
Oracle® Application Server Release Notes
10g Release 2 (10.1.2) for hp-ux Itanium
B25195-09
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents

Previous
Previous
 
Next
Next
 

11 Oracle Application Server Wireless

This chapter describes issues with Oracle Application Server Wireless (OracleAS Wireless). It includes the following topics:

11.1 General Issues

This section describes general issues encountered in OracleAS Wireless. It includes the following topics:

11.1.1 Unable to Test Locally Deployed JSPs

Users reported being unable to test local JSPs using the 10.1.2.1 version of the WDK. In order to test locally deployed JSPs, follow these steps:

  1. Modify the ORACLE_HOME/j2ee/OC4J_Wireless/applications/wdk/wdk-web/WEB-INF/web.xml file by removing the xml comments (in lines 6 and 31 in this example):

    1.    <!-- For Transcoder -->
    2.   <filter-mapping>
    3.        <filter-name>SdkTranscoder</filter-name>
    4.        <servlet-name>SdkContentRetriever</servlet-name>
    5.    </filter-mapping>
    6. <!--
    7.    <filter-mapping>
    8.        <filter-name>SdkTranscoder</filter-name>
    9.        <url-pattern>*.jsp</url-pattern>
    10.    </filter-mapping>
    11.    <filter-mapping>
    12.        <filter-name>SdkTranscoder</filter-name>
    13.        <url-pattern>*.mxml</url-pattern>
    14.    </filter-mapping>
    15.    <filter-mapping>
    16.        <filter-name>SdkTranscoder</filter-name>
    17.        <url-pattern>*.xhtml</url-pattern>
    18.    </filter-mapping>
    19.    <filter-mapping>
    20.        <filter-name>SdkTranscoder</filter-name>
    21.        <url-pattern>*.html</url-pattern>
    22.    </filter-mapping>
    23.    <filter-mapping>
    24.        <filter-name>SdkTranscoder</filter-name>
    25.        <url-pattern>*.htm</url-pattern>
    26.    </filter-mapping>
    27.    <filter-mapping>
    28.        <filter-name>SdkTranscoder</filter-name>
    29.        <url-pattern>*.xml</url-pattern>
    30.    </filter-mapping>
    31. -->
    
  2. Restart the OC4J_Wireless process.

11.1.2 EDGE_CREATE Script Errors

Some users have reported receiving an error when trying to create the edge schema on an Oracle Application Server 10g installation. This is because the dbms_aq package is often locked by other sessions when one tries to create the edge user (using the create_edge_user.sql script). When trying to create the edge schema (after connecting as edge/<password>@<db name> and running edg_create_streams.sql), table and queue creation fails.

To fix this problem:

  1. Unlock the package. This is a database administrator function. The session locking the package must relinquish the lock. This may require restarting the entire database instance. It ensures that no session is holding a lock on the dbms_aq package.

  2. Explicitly give execute privilege to the edge user on the dbma_aq package:

    1. Log in as system.

    2. Execute SQL> grant execute on dbms_aq to edge;

  3. Connect as edge/<password>@<db name> and run edg_create_streams.sql, again.

11.1.3 Database Lock Hangs STREAMS Dispatcher

The STREAMS dispatcher runs as a database job. If your PL/SQL development activities require you to constantly recompile packages, a database lock can hang the STREAMS dispatcher. Generally, you can restart the dispatcher by executing:

exec edg_utl.deschedule_job;

To check whether or not the job exits gracefully, check the edg_jobs table. Run the following query:

select component_name, status from edg_jobs;

If the job has exited gracefully, this query will return no rows. If this job is in the process of exiting, the status will be Stopping. It may take up to 30-40 seconds for the job to finish completely. If this query continues to return a status of Stopping, the dispatch job has frozen. To correct this, first clear this row from the table. Execute:

delete from edg_jobs where component_name = 'EdgeDispatchJob';

Next, restart the database. Once the database is restarted, restart (or reschedule) the job. Do this by executing:

exec edg_utl.schedule_job;

The job will restart. To verify, use this query:

select component_name, status from edg_jobs;

This should return a status of Started.

11.1.4 OracleAS Wireless Patch Required after XDK Patch is Applied

If you are using Apache Axis and the wireless feature in Oracle Application Server 10.1.2, and you have already applied a Release 10.1.2 XDK patch, you must download an OracleAS Wireless one-off patch from Metalink.

The OracleAS Wireless one-off patch fixes a problem introduced by the XDK fix. If you do not apply the OracleAS Wireless patch, logging in from the voice channel will fail.

11.1.5 Broken Icons in Wireless Device Portal Homepage

Icons on the OracleAS Wireless Device Portal Home page for an upgraded instance in SSL mode are broken. This is because Mod_rewrite of the icons in an SSL configuration does not work.

To fix the problem, you must enable rewrite in SSL mode by adding the following entries to the SSL Virtual Host configuration:

RewriteEngine on
RewriteOptions inherit

Here is a sample entry:

<VirtualHost _default_:4444>
# General setup for the virtual host
DocumentRoot "/Portal1012/Apache/Apache/htdocs"
@ ServerName iwinrea05.us.oracle.com
ServerAdmin you@your.address
ErrorLog "|/Portal1012/Apache/Apache/bin/rotatelogs logs/error_log 43200"
TransferLog "|/Portal1012/Apache/Apache/bin/rotatelogs logs/access_log 43200"
Port 443

11.1.6 HDML Error When Using Expense Demo Application

A problem has been reported by users running the Expense Demo application on HDML-enabled devices. An error may appear when one attempts to click the Approve or Reject button using an HDML-enabled device to access the built-in Expense Demo application in Device Portal. Users should avoid using the Approve/Reject functionality for this demo when using HDML-enabled devices.

11.2 Configuration Issues and Workarounds

This section describes OracleAS Wireless configuration issues and workarounds. It includes the following topic:

11.2.1 Configuration Assistant Error Message

You may see Configuration Assistant error messages in ORACLE_HOME/wireless/logs/upgrade_CA.out similar to this:

SQL Exception: java.sql.BatchUpdateException: error occurred during batching: ORA-01430: column being added already exists in table

This message can be safely ignored if your 10.1.2 instance is a fresh instance, that is, it has not been upgraded from a previous release of Oracle Application Server.

11.2.2 IBM WebSphere Required Patch Version 6.0.2

If you are using IBM WebSphere Application Server, install the following patch:

http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg24009813

Doing so will help you avoid problems when using Oracle Industrial Telnet Server and (potentially) other products.