Skip Headers

Oracle® Application Server 10g Release Notes
10g (9.0.4) for Linux x86

Part Number B12261-03
Go To Documentation Library
Home
Go To Table Of Contents
Contents

Go to previous page Go to next page

13
OracleAS Wireless

This chapter describes issues with OracleAS Wireless. It includes the following topics:

13.1 General Issues and Workarounds

This section includes information and workarounds for general issues in OracleAS Wireless. It includes the following topics:

13.1.1 Performance Optimization and JSP Files Modification

In general, Oracle Application Server Containers for J2EE (OC4J) examines JavaServer Pages (JSP) files to detect changes, then recompiles. However, this OC4J behavior was changed in regards to the JSP files that are deployed inside the ptg web application.

If you make changes to these included, precompiled JSP files, OC4J will not detect and compile the changes in those JSP files.


See:

For more information on OC4J Configuration, see "JSP Configuration Parameters" in Oracle Application Server Containers for J2EE Support for JavaServer Pages Developer's Guide.


For example, all JSP files that are deployed inside the ptg web application are precompiled. If for some reason you want to modify those JSP files, then you can no longer use the precompiled class files; you must change the OC4J settings to enable JSP compilation. To do that, modify the web.xml file for the ptg application, located in:

[ORACLE_HOME]/OC4J_Wireless/applications/ptg/ptg-web/WEB-INF/web.xml.

In order to avoid this problem (in which modifications to JSP files do not take effect), and to optimize the performance of some of the JSP files included in Oracle Application Server Wireless, you must modify the web.xml file, as detailed below:

  1. Delete the following from the file:

    <!--
    WARNING!!! Overridden JSP engine settings
    With this configuration the JSP files in this application will NOT be recompiled.
    Any changes to the JSP source files will NOT take effect.
    If you want to switch back to the default JSP engine settings simply comment out
    the servlet declaration and mapping for the jsp servlet below.
    -->
    <servlet>
    <servlet-name>jsp</servlet-name>
    <servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
    <!-- you can disable page scope listener if you
    don't need this function. -->
    <init-param>
    <param-name>check_page_scope</param-name>
    <param-value>true</param-value>
    </init-param>
    <!-- you can set main_mode to "justrun" to speed up
    JSP dispatching, if you don't need to recompile
    your JSP anymore. You can always switch your
    main_mode. Please see our doc for details -->
    <init-param>
    <param-name>main_mode</param-name>
    <param-value>justrun</param-value>
    </init-param>
    <load-on-startup>0</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>jsp</servlet-name>
    <url-pattern>/*.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>jsp</servlet-name>
    <url-pattern>/*.JSP</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>jsp</servlet-name>
    <url-pattern>/*.jspx</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>jsp</servlet-name>
    <url-pattern>/*.sqljsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>jsp</servlet-name>
    <url-pattern>/*.SQLJSP</url-pattern>
    </servlet-mapping>
  2. Restart the OC4J_Wireless application.

13.1.2 Messaging Transport

The following Messaging issues exist:

13.1.3 Multi-byte Usernames in Jabber Not Supported

Jabber, the backend used with Instant Messaging, does not support multi-byte usernames; the Instant Messaging module consequently does not support multi-byte usernames.

13.1.4 Driver Name Change

In the User Interface and documentation, all references to XMSDriver should read PushDriver.

13.1.5 Push SOAP URL

The Push SOAP URL has changed in this release. If you are using the XMS client against a newly installed instance of Oracle Application Server Wireless, the client must be updated to use the new URL. By default, the new URL will be /xms/webservices (rather than /push/webservices) as in earlier releases.

If the instance has been upgraded from the 9.0.2 to the 9.0.4 release, the old URL (/push/webservices) will still be valid, though the application will in fact be running the 9.0.2 codebase. As such, this URL is intended for backward compatibility only; you should update the clients of the SOAP API to use the new URL (/xms/webservices).

13.1.6 Broken Images in Some MXML Messages

MXML messages containing an image reference with the attribute addImageExtension=true, when sent using XMS to an email recipient, may appear with broken in-line images on certain email clients. The workaround for this problem is to:

  1. Go to the Foundation tab in Oracle Application Server Wireless Tools.

  2. Select the ASYNC device.

  3. Click Edit.

  4. Go to the Browser section and navigate to the Image File MIME types table.

  5. Move the following MIME types from the left pane to the right pane:

    • image/bmp bmp

    • image/png png

    • image/tiff tif

    • image/gif gif

    • image/jpeg jpg

  6. Click Apply to save the changes.

13.1.7 Premature Delivery of Notifications

Notification messages sent through email to users that have a sending window specified in their contact rules may be delivered prematurely. That is, if a notification is generated at 9:00AM, and the user has specified in his contact rules that he does not want any emails until 10:00AM, the message will be sent immediately, rather than delayed for 60 minutes.

There is no workaround for this issue.

13.1.8 XHTML and XForms

This section describes issues with XHTML and XForms. It includes the following topics:

13.1.8.1 Async Support for XHTML/XForms

To develop Async services using XForms, item element, instead of itemset, should be used to represent the option list for the elements select and select1.

13.1.8.2 Error Using Back Button with XForms

The browser Back button cannot be (reliably) used with XForms web applications. Oracle Application Server caches the state of a form on the server to support multiple round trips between the browser and the Application Server. When using the browser Back button, the browser (cache) does not fetch the current state from the server; this may result in a conflict. Also on certain actions (such as XForms submit) the Application Server (after the submit) clears the state (on the server), and the server throws an error if resubmit is tried (using the browser Back button).

13.1.8.3 Showing Radio Buttons, Checkboxes and Select List with XForms

XForms uses the select1 and select controls to show the intent that one or more may be selected from a list of values. To show radio buttons, checkboxes or select lists, use these controls. Also use the appearance attribute to control the type of select1 or select the UI will display. Use appearance="full" to display a radio button (in the case of select1) or checkbox (in the case of select).

13.1.8.4 Form Submission using XForms

When XForms documents use the post submission method, the XForms processor does not submit the xmlns namespace attributes (default namespace and namespace prefixes used) in the submitted XML (instance) data. This is a known bug, and authors can work around this problem by defining the namespace prefixes in the instance data's root element.

13.1.9 Errors with Localized Voice Message for Device Validation in Customization Portal

The device validation message through the voice channel will only work when the user's locale is set to English, and the message is rendered by a voice gateway with an English Automatic Speech Recognition (ASR) engine. Any other settings for the user locale or the gateway ASR engine are unsupported and will likely cause errors in message delivery.

13.1.10 Unavailable Functionality for Re-Created SSO Users

Re-created SSO users of the Oracle Application Server Wireless Tools cannot access some of the tools' functionality. If a user is deleted and then re-created, then that user cannot use all of the functionality of the Wireless Tools. This problem occurs because of the way the SSO server caches GUID information for the users. To solve this problem, restart the SSO server.

13.1.11 Working with Signature Capture Form Control

Some browsers (such as the Spectrum24® WebClient for Palm Computing Platform) support the ability to capture signatures. Applications developed using OracleAS Wireless XML can generate the target markup required to support signature capture. In this release, the following browsers are supported for signature capture:

On supported Microsoft Pocket PC and Windows Mobile platforms, the Oracle Signature Capture Plug-in for Pocket Internet Explorer must be installed. The Oracle Signature Capture Plug-in is available for download from Oracle MetaLink at http://metalink.oracle.com or contact Oracle Support.

13.1.12 Integrating Oracle Application Server Wireless with Web Cache

WebCache supports MobileXML documents, but does not support documents that are written in XHTML+XForms or XHTML-MP.

13.1.13 Integrating Oracle Application Server Wireless with Oracle Portal

In order for devices to use this function, they (devices) must send the appropriate HTTP Accept header.

13.1.14 Oracle Application Server Wireless log.xml File does not Support NLS

In this release, the Oracle Application Server Wireless log.xml file does not support NLS.

13.1.15 POST Method is Not Supported by All Markup Languages

The XForms transformer sometimes outputs markup language that includes the POST method. Therefore devices that do not support the POST method, such as old J-Phone Type C2 devices in Japan, are not supported with XForms.

13.1.16 Wireless User LDIF File Generation Fails

The $ORACLE_HOME/wireless/bin/generateUserLdif.sh script fails to generate a wireless user LDIF file. There is currently no known workaround for this issue. See bug number 3298675 for more information.

13.2 Configuration Issues and Workarounds

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

13.2.1 Potential Conflicts in Application Entities Based on OID

Oracle Application Server Wireless middle tiers installed against the common meta data repository (Oracle Application Server Wireless schema) share a common application entity in OID. The application entity is created as part of the first Oracle Application Server Wireless middle tier installation, and is owned by the OID user who installs that middle tier. Subsequent Oracle Application Server Wireless middle tiers installed against the same meta data repository use the application entity that was created as part of the first middle tier installation.

Subsequent Oracle Application Server Wireless middle tier installations against a meta data repository should be done by the same OID user who installed the first Oracle Application Server Wireless middle tier.

If you want to use a different OID user to install subsequent Oracle Application Server Wireless middle tiers, then you must add the OID user as a shared owner of the application entity before starting any subsequent Oracle Application Server Wireless middle tier installations.

To add a shared owner for a Oracle Application Server Wireless application entity:

  1. Find the name of the Oracle Application Server Wireless application entity by executing

    $ORACLE_HOME/wireless/bin/getAppEntityName.sh[bat]

    from the first middle tier. This script prints the name of the Oracle Application Server Wireless application entity.

  2. Use the OID Deployment Delegation Console or OID Directory Manager to add the new OID user as a Component Owner for the Oracle Application Server Wireless application entity name returned in the previous step.


    See:

    For more details, see "Using Deployment Delegation Console to Add Users to Groups" in Oracle Application Server 10g Installation Guide.


13.2.2 OC4J_Wireless

If your OC4J_Wireless server must support a large number of concurrent users, increase the maximum memory size to 1 GB (or more) using the following JVM options:

You can increase the MaxClients parameter in httpd.conf to support higher hit rates. For example, by setting MaxClients to 1024 in httpd.conf, you can allow up to 1024 concurrent HTTP requests. Consequently, you can expect an increased number of Application Server threads in the OC4J_Wireless instance. Ensure you reduce the thread stack size to 256k in order to support large numbers of Application Server threads in OC4J_Wireless. The stack size is set by the following JVM option:

If you are running OC4J_Wireless instances on multi-CPU machines, you can set the JVM options to enable the Parallel GC algorithm in JDK 1.4. You may set the ParallelGCThreads parameter to the number of CPUs in your host. For 4-CPU machines, you can try the following JDK 1.4 JVM options to increase the performance of the OC4J_Wireless instances:

The following GC tuning parameters provide better performance for the OC4J_Wireless:

13.2.3 Oracle Application Server Workflow Integration

For a user to be able to receive Workflow notifications properly, ensure the following settings in the customization portal are set properly:

Also, a setting must be set properly on the Workflow home page.

To do so:

  1. Log on to your Workflow home page.

  2. Click User Preferences. The value for Send me electronic mail notifications cannot be Do not send me mail. If it is, the user must change it by clicking Update. Choose any option except for Do not send me mail or Plain text summary mail.

  3. To confirm your change, click OK.

To enable the Workflow worklist application, the Workflow folder must be made visible. To do this:

  1. Log on to the Oracle Application Server Wireless tool.

  2. Click the Content tab on the top right to go to the Publish Content page.

  3. Select the Workflow folder and click Edit.

  4. Check the Visible box and click Apply.

13.2.4 OracleAS Wireless Site URLs Incorrect

During 9.0.4 middle tier installation, WebCache must be configured with the HTTPS Port number. If WebCache is not configured with the HTTPS Port number, then Oracle Application Server Wireless will by default set its HTTPS Port to zero.

After you configure WebCache with the correct HTTPS Port, you must use Oracle Enterprise Manager to reconfigure all of the HTTPS-related URL parameters.

13.2.5 Discovering New Devices or Simulators Using the Openwave Plug-in

If you use the plug-in interface that is provided by Openwave, change the user agent of the HDML_EZweb logical device to:

UP.Browser/3.0*UP.Link/3*, UP.Browser/3.2.9.1-*UP.Link/3*"

13.2.6 Integrating Oracle Application Server Wireless with Oracle Internet Directory (OID)

Run Oracle Directory Integration Server (odisrv) when you want to synchronize data between Oracle Application Server Wireless and OID.

13.2.7 Additional Post-Installation Step for Wireless Calendar PIM Module

In addition to the post-installation configuration steps listed in the Oracle Application Server Wireless Administrator's Guide, complete the following step to configure the Wireless Calendar PIM Module on Linux:

Add the following entries to the system /etc/services file:

unieng          5730/tcp
unisnc          5731/tcp
unidas          5732/tcp
unicsm          5734/tcp

13.3 Documentation Errata

This section describes documentation errata for OracleAS Wireless. It includes the following topics:

13.3.1 Determining a User's Locale

Section 15.2.2.1 of the Oracle Application Server Wireless Administrator's Guide should read as follows:

The Oracle Application Server Wireless Web Server (ptg/rm) determines the locale of a user in the following order:

  1. Use PAlocale (if present).

  2. Use the Accept_Language HTTP header (if present).

  3. Use the site default locale.

13.3.2 Documenting UNIX Ports

Throughout the Oracle Application Server Wireless Administrator's Guide and Oracle Application Server Wireless Developer's Guide, you can substitute UNIX for Solaris in all instances except for the Oracle Application Server Wireless tuning described in Chapter 13 of the Oracle Application Server Wireless Administrator's Guide ("Optimizing Oracle Application Server Wireless"). The tuning knobs described in this chapter are Solaris-specific.

13.3.3 Account Numbers in Oracle Application Server Wireless Tool

When you create or modify a device using the Oracle Application Server Wireless Tool, you enter the Primary Phone Number for the device. This number becomes the Account Number for the device. The online Help sometimes refers to the Primary Phone Number in places where the user interface displays the label Account Number. The correct usage is Account Number.

13.3.4 MXML Tag Glossary

The online MXML tag glossary omits the dtmf attribute <SimpleMenu>.

This attribute controls whether or not DTMF keys are assigned to the first 9 <SimpleMenuItem>s automatically.

Values for the dtmf attribute are true or false; the default is false.

13.3.5 Configuring Oracle Application Server Wireless for Voice Applications

The following changes to the documentation in Oracle Application Server Wireless Administrator's Guide have occurred since the book was released:

13.3.6 Locations of Audio Parameters

The ORACLE_SERVICES_PIM_MAIL_AUDIO_TMP_DIR and ORACLE_SERVICES_PIM_MAIL_AUDIO_TMP_URL parameters are in the Mail application, not the Voice Main Menu application as stated in Section 9.2.3.2.5, "Configuring the Voice Main Menu to Prefetch the Mail Application" in Oracle Application Server Wireless Administrator's Guide.

13.3.7 Grammar.jsp

The following notes apply to Section 9.2.4.1, "Testing the General Commands" in Oracle Application Server Wireless Administrator's Guide:

13.3.8 Driver Attributes

The following changes to driver attributes (in Section 10.6.1, "Pre-Built Drivers" of Oracle Application Server Developer's Guide) have been made:

13.3.9 Jabber Example

In Section 10.6.1.9.1, "About Jabber" in Oracle Application Server Wireless Developer's Guide, a figure is mistakenly referenced. Instead, this paragraph is appropriate:

Consider a scenario in which an Oracle Application Server Wireless instance is connected to MSN through Jabber's MSN transport gateway using the ID oracleagent@msn.com. End users on MSN can then access applications on the Oracle Application Server Wireless instance by sending messages to this ID (oracleagent@msn.com) from their client.

13.3.10 More Tuning Information

Tuning information has changed and has been enhanced since publication of the Oracle Application Server Wireless books. See Oracle Technology Network for the latest information about tuning Oracle Application Server Wireless.

13.3.11 Updated URLs

Some URLs have changed since publication of the OracleAS Wireless books. Table 13-1 details the changes.

Table 13-1 OracleAS Wireless Changed URL  
Existing URL Should Be...

http://software.palm.com/download.jsp

http://software.palm.com

http://java.sun.com/products/Javacomm/

http://java.sun.com/products/javacomm/

http://messenger.us.oracle.com/push/webservices

http://messenger.oracle.com/push/webservices

http://mobile.us.oracle.com/ompm/site/product/devices/certified/certified_gateways_wap.jsp

http://www.otn.oracle.com/. Go to the Mobile Tech Center.

http://mservice.oracle.com/

http://www.otn.oracle.com/. Go to the Mobile Tech Center.

http://software.palm.com/download.jsp

http://software.palm.com/

http://vvsp.local.hostname:vvsp.local.port/

Not a link; example only.

http://www.otn.oracle.com/docs/products/oracle9i/doc_library/901_%20doc/nav/docindex.htm

Disregard reference.

http://www.otn.oracle.com/wireless

http://www.otn.oracle.com

http://xmlns.oracle.com/2002/MobileXML

http://xmlns.oracle.com

13.3.12 Generating Wireless User LDIF file

Section 5.4.3.1 of the Oracle Application Server 10g Upgrading to 10g (9.0.4) Guide states that the account number and PIN migration tool requires an LDIF file containing user account numbers and PINs. However, the guide does not document how to generate this file.

Use the following script to generate the LDIF file:

$ORACLE_HOME/wireless/bin/generateUserLdif.sh


Go to previous page Go to next page
Oracle
Copyright © 2003 Oracle.

All Rights Reserved.
Go To Documentation Library
Home
Go To Table Of Contents
Contents