Oracle Database Lite 10g Guide
Oracle Database Lite 10g Guide
June 2005
Oracle Database Lite Getting Started Guide 10g (10.2.0)
The Programs (which include both the software and documentation) contain proprietary information; they
are provided under a license agreement containing restrictions on use and disclosure and are also protected
by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly,
or decompilation of the Programs, except to the extent required to obtain interoperability with other
independently created software or as specified by law, is prohibited.
The information contained in this document is subject to change without notice. If you find any problems in
the documentation, please report them to us in writing. This document is not warranted to be error-free.
Except as may be expressly permitted in your license agreement for these Programs, no part of these
Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any
purpose.
If the Programs are delivered to the United States Government or anyone licensing or using the Programs on
behalf of the United States Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data
delivered to U.S. Government customers are "commercial computer software" or "commercial technical data"
pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As
such, use, duplication, disclosure, modification, and adaptation of the Programs, including documentation
and technical data, shall be subject to the licensing restrictions set forth in the applicable Oracle license
agreement, and, to the extent applicable, the additional rights set forth in FAR 52.227-19, Commercial
Computer Software—Restricted Rights (June 1987). Oracle Corporation, 500 Oracle Parkway, Redwood City,
CA 94065
The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently
dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup,
redundancy and other measures to ensure the safe use of such applications if the Programs are used for such
purposes, and we disclaim liability for any damages caused by such use of the Programs.
Oracle, JD Edwards, PeopleSoft, and Retek are registered trademarks of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective owners.
The Programs may provide links to Web sites and access to content, products, and services from third
parties. Oracle is not responsible for the availability of, or any content provided on, third-party Web sites.
You bear all risks associated with the use of such content. If you choose to purchase any products or services
from a third party, the relationship is directly between you and the third party. Oracle is not responsible for:
(a) the quality of third-party products or services; or (b) fulfilling any of the terms of the agreement with the
third party, including delivery of products or services and warranty obligations related to purchased
products or services. Oracle is not responsible for any loss or damage of any sort that you may incur from
dealing with any third party.
Contents
Preface ................................................................................................................................................................. ix
Intended Audience...................................................................................................................................... ix
Documentation Accessibility ..................................................................................................................... ix
Structure ....................................................................................................................................................... x
Related Documents ..................................................................................................................................... x
Conventions ................................................................................................................................................. x
1 Pre-Installation Requirements
1.1 Include the Latest Patches ......................................................................................................... 1-1
1.2 Release Notes............................................................................................................................... 1-1
1.3 Supported Components and Technologies ............................................................................. 1-1
1.3.1 Certified Platforms for the Mobile Server ........................................................................ 1-2
1.3.2 Certified Application Server Configurations................................................................... 1-2
1.3.3 Supported Technologies for the Mobile Server............................................................... 1-2
1.3.4 Oracle Universal Installer ................................................................................................... 1-3
1.3.5 Supported Browsers ............................................................................................................ 1-3
1.3.6 Certified Oracle RDBMS to Use With Oracle Database Lite ......................................... 1-3
1.3.7 Oracle Database Lite Web................................................................................................... 1-3
[Link] Certified Platforms for Oracle Database Lite Web .................................................. 1-3
[Link] Supported Technologies for Oracle Database Lite Web ......................................... 1-3
[Link] Certified Technologies for Oracle Database Lite Web ............................................ 1-4
[Link] Notes for Oracle Database Lite Web.......................................................................... 1-4
1.3.8 Oracle Database Lite Branch Office................................................................................... 1-4
[Link] Certified Platforms for Branch Office ....................................................................... 1-4
[Link] Supported Technologies for Branch Office............................................................... 1-4
[Link] Certified Technologies for Branch Office.................................................................. 1-4
[Link] Notes for Branch Office ............................................................................................... 1-4
1.3.9 Oracle Database Lite BC4J .................................................................................................. 1-4
[Link] Certified Platforms for Oracle Database Lite BC4J.................................................. 1-5
[Link] Supported Technologies for Oracle Database Lite BC4J......................................... 1-5
[Link] Certified Technologies for Oracle Database Lite BC4J............................................ 1-5
[Link] Notes for Oracle Database Lite BC4J ......................................................................... 1-5
1.3.10 Oracle Database Lite WIN32 .............................................................................................. 1-5
iii
[Link] Certified Platforms for Oracle Database Lite WIN32.............................................. 1-5
[Link] Supported Technologies for Oracle Database Lite WIN32..................................... 1-5
[Link] Notes for Oracle Database Lite WIN32 ..................................................................... 1-6
1.3.11 Oracle Database Lite WinCE.............................................................................................. 1-6
[Link] Supported Platforms for Oracle Database Lite WinCE........................................... 1-6
[Link] Supported Technologies for Oracle Database Lite WinCE .................................... 1-6
[Link] Certified Technologies for Oracle Database Lite WinCE........................................ 1-6
[Link] Notes for Oracle Database Lite WinCE ..................................................................... 1-7
1.3.12 Oracle Database Lite PALM ............................................................................................... 1-7
[Link] Certified Platforms for Oracle Database Lite PALM............................................... 1-7
[Link] Certified Platforms for Oracle Database Lite PALM............................................... 1-7
[Link] Supported Technologies for Oracle Database Lite PALM...................................... 1-7
[Link] Notes for Oracle Database Lite PALM ...................................................................... 1-7
1.4 Oracle Components That Work With Oracle Database Lite................................................. 1-8
1.5 System Requirements For Mobile Clients ............................................................................... 1-8
1.5.1 Hardware Requirements For Your Mobile Clients......................................................... 1-8
1.5.2 Software Requirements For Your Mobile Clients ........................................................... 1-9
1.6 System Requirements For Windows Systems ........................................................................ 1-9
1.6.1 Hardware Requirements For Windows ........................................................................ 1-10
1.6.2 Software Requirements For Windows........................................................................... 1-10
1.7 System Requirements For UNIX Systems ............................................................................ 1-10
1.7.1 Hardware Requirements For UNIX Systems................................................................ 1-10
1.7.2 Operating System Requirements For UNIX ................................................................. 1-11
1.7.3 Software Requirements For UNIX Systems .................................................................. 1-13
1.8 Recommended System Configuration For UNIX................................................................ 1-13
1.8.1 Setting UNIX Environment Variables ........................................................................... 1-13
[Link] ORACLE_HOME....................................................................................................... 1-14
[Link] JAVA13_HOME ......................................................................................................... 1-14
[Link] DISPLAY..................................................................................................................... 1-14
[Link] TMP and TMPDIR..................................................................................................... 1-15
1.8.2 Creating UNIX Accounts and Groups........................................................................... 1-16
[Link] UNIX Group Name For the Oracle Universal Installer Inventory ..................... 1-16
[Link] UNIX Account to Own Oracle Software ................................................................ 1-16
1.8.3 Configuring Kernel Parameters and Shell Limits for UNIX ...................................... 1-16
[Link] Configuring Shell Limits and System Configuration Parameters on AIX ........ 1-17
[Link] Configuring Kernel Parameters on HP-UX ........................................................... 1-18
[Link] Configuring the Kernel Parameters on Linux ....................................................... 1-18
[Link] Set Shell Limits for the User oracle ......................................................................... 1-19
1.9 Mounting the Installation CD-ROM For UNIX Systems ................................................... 1-20
1.9.1 Mounting CD-ROMs For AIX......................................................................................... 1-20
1.9.2 Mounting CD-ROMs For HP .......................................................................................... 1-21
1.9.3 Mounting CD-ROMs For Linux...................................................................................... 1-22
[Link] Mounting CD-ROMs For Linux With Auto Mounting Software ....................... 1-22
[Link] Mounting CD-ROMs For Linux Manually ............................................................ 1-22
1.9.4 Mounting CD-ROMs For Tru64...................................................................................... 1-23
1.10 Defining Synchronization Tablespace Layout for Performance ....................................... 1-24
1.11 WebCache Installation Considerations................................................................................. 1-24
iv
2 Installation of Oracle Database Lite
2.1 Starting Oracle Universal Installer ........................................................................................... 2-1
2.1.1 Starting the Oracle Universal Installer on Windows...................................................... 2-2
2.1.2 Starting Oracle Universal Installer on UNIX ................................................................... 2-2
[Link] Using the oraInventory Directory .............................................................................. 2-2
[Link] Location of Files on UNIX ........................................................................................... 2-2
2.2 Oracle Database Lite Installation Considerations .................................................................. 2-3
2.2.1 Installing Multiple Languages on a Single Solaris Machine ......................................... 2-3
2.2.2 Mobile Server on a DHCP Server is Not Supported....................................................... 2-3
2.3 Installing Oracle Database Lite ................................................................................................. 2-3
2.3.1 GUI Install of the Mobile Server and MDK Components.............................................. 2-3
[Link] Installation of Mobile Development Kit.................................................................... 2-4
[Link] Installation of Mobile Server....................................................................................... 2-4
2.3.2 Silent Install of Mobile Server and MDK Components.................................................. 2-6
[Link] Silent Install Mobile Server or the Mobile Development Kit on UNIX ................ 2-6
[Link] Silent Install for Mobile Server or Mobile Development Kit on Windows .......... 2-8
2.3.3 Installation of Multiple Mobile Servers Against the Same Mobile Server Repository ......
.................................................................................................................................... 2-9
2.3.4 Custom Install ................................................................................................................... 2-10
2.3.5 Client Install....................................................................................................................... 2-10
2.4 Post-Installation Configuration Requirements.................................................................... 2-10
2.4.1 Setup DISPLAY Variable for UNIX Systems in Oracle Application Server............. 2-10
2.4.2 Enabling Branch Office on Windows XP Service Pack 2 ............................................ 2-10
2.5 Starting Mobile Server............................................................................................................. 2-10
2.6 Testing Your Mobile Server Installation............................................................................... 2-11
2.7 Removing Demo Applications............................................................................................... 2-12
v
3.2.4 Upgrade Your Existing Applications ............................................................................ 3-10
3.2.5 Installing Sample Applications....................................................................................... 3-10
3.2.6 Upgrading Branch Office 10g Release 1 to version 10g Release 2 ............................ 3-11
3.2.7 Migrate Your Users From the Mobile Server Repostory to the Oracle Internet Directory
.................................................................................................................................. 3-11
3.2.8 Remove the 10g Release 1 Installation .......................................................................... 3-13
3.2.9 Remove Duplicate Mobile Server IDs from the Repository ....................................... 3-13
Index
vi
Send Us Your Comments
Oracle welcomes your comments and suggestions on the quality and usefulness of this
publication. Your input is an important part of the information used for revision.
■ Did you find any errors?
■ Is the information clearly presented?
■ Do you need more information? If so, where?
■ Are the examples correct? Do you need more examples?
■ What features did you like most about this manual?
If you find any errors or have any other suggestions for improvement, please indicate
the title and part number of the documentation and the chapter, section, and page
number (if available). You can send comments to us in the following ways:
■ Electronic mail: olitedoc_us@[Link]
■ FAX: (650) 506-7355. Attn: Oracle Database Lite
■ Postal service:
Oracle Corporation
Oracle Database Lite Documentation
500 Oracle Parkway, Mailstop 1op2
Redwood Shores, CA 94065
U.S.A.
If you would like a reply, please give your name, address, telephone number, and
electronic mail address (optional).
If you have problems with the software, please contact your local Oracle Support
Services.
vii
viii
Preface
This preface introduces you to the Oracle Database Lite Getting Started Guide, discussing
the intended audience, documentation accessibility, structure, and conventions of this
document.
Intended Audience
This manual is intended for users, who are new to the product, and administrators
who are installing or upgrading Oracle Database Lite.
Documentation Accessibility
Our goal is to make Oracle products, services, and supporting documentation
accessible, with good usability, to the disabled community. To that end, our
documentation includes features that make information available to users of assistive
technology. This documentation is available in HTML format, and contains markup to
facilitate access by the disabled community. Accessibility standards will continue to
evolve over time, and Oracle is actively engaged with other market-leading
technology vendors to address technical obstacles so that our documentation can be
accessible to all of our customers. For more information, visit the Oracle Accessibility
Program Web site at
[Link]
ix
Structure
This guide includes the following topics:
Related Documents
Since both the standalone Mobile Server and the Mobile Server with Oracle9iAS or
OracleAS use the Oracle Containers for J2EE (OC4J), the following manuals can be
used as reference when configuring your application server:
■ Oracle Containers for J2EE Standalone User’s Guide
■ Oracle Containers for J2EE User’s Guide
■ Oracle Containers for J2EE Security Guide
Conventions
The following conventions are also used in this manual:
Convention Meaning
. Vertical ellipsis points in an example mean that information not directly
. related to the example has been omitted.
.
... Horizontal ellipsis points in statements or commands mean that parts
of the statement or command not directly related to the example have
been omitted
boldface text Boldface type in text indicates a term defined in the text, the glossary,
or in both locations.
<> Angle brackets enclose user-supplied names.
[] Brackets enclose optional clauses from which you can choose one or
none.
x
1
Pre-Installation Requirements
Before you install, you must check to see that you have the correct hardware and
software necessary for using Oracle Database Lite on your operating system. The
requirements for each type of operating system are detailed in the following sections:
■ Section 1.1, "Include the Latest Patches"
■ Section 1.2, "Release Notes"
■ Section 1.3, "Supported Components and Technologies"
■ Section 1.4, "Oracle Components That Work With Oracle Database Lite"
■ Section 1.5, "System Requirements For Mobile Clients"
■ Section 1.6, "System Requirements For Windows Systems"
■ Section 1.7, "System Requirements For UNIX Systems"
■ Section 1.8, "Recommended System Configuration For UNIX"
■ Section 1.9, "Mounting the Installation CD-ROM For UNIX Systems"
You should install all of the patches required for the JDK 1.4.2 for the Windows
operating system. This is constantly under review and published on the JDK
download page on the Sun Microsystems Web site.
You should install all of the patches required for the JDK 1.4.2 for the Windows
operating system. This is constantly under review and published on the JDK
download page on the Sun Microsystems Web site.
Table 1–12 Operating System Requirements for Red Hat Enterprise Linux AS/ES 2.1
Item Requirement
Operating System Red Hat Enterprise Linux AS/ES 2.1
Patches Red Hat Patches Errata 25 kernel or a higher errata patch that
is approved by Red Hat
Software Packages pdksh-5.2.14-13
Table 1–13 Operating System Requirements for Red Hat Enterprise Linux AS 3.0
Item Requirement
Operating System Red Hat Enterprise Linux Advanced Server 3.0
The minimum supported kernel and glibc versions are
2.4.21-4-EL and glibc-2.3.2-95.3
Patches Apply patch 3006854, which is downloadable from
OracleMetaLink.
Software packages pdksh-5.2.14
Table 1–16 lists the names of the library path environment variables for each platform.
[Link] ORACLE_HOME
The Oracle Home directory is the root directory in which Oracle software is installed.
There are limits to the length of the values of the CLASSPATH values with JDK. If the
ORACLE_HOME path is long, this will result in a long CLASSPATH and might cause
problems running Oracle Database Lite. The workaround is to shorten ORACLE_HOME
path.
The ORACLE_HOME environment variable must be set before starting the installer,
which must be set to the directory where you want to install.
[Link] JAVA13_HOME
The JAVA13_HOME environment variable must be set to the directory where the Java
Development Kit has been installed. If the JDK has not been installed, please install it
before proceeding with the installation. If installed on top of Oracle9iAS version 9.0.4
standalone or OracleAS 10g, use JDK 1.4.2 or higher.
Table 1–17 provides examples for the location where the JDK 1.4.2 could be installed
on the system.
[Link] DISPLAY
Set the DISPLAY environment variable to refer to the X Server that will display the
installer and Oracle Database Lite. The format of the DISPLAY environment variable
is:
hostname:display_number.screen_number
Note: In order for the Oracle Database Lite to install correctly, you
must add a line to the [Link] file. This is a post-installation step
that is described in .
Oracle Database Lite requires a running X server to properly create graphics for the
installer, Web applications, and management tools. The frame buffer X server installed
with your operating system requires that you remain logged in and have the frame
buffer running at all times. If you do not want to do this, then you must use a virtual
frame buffer, such as X Virtual Frame Buffer (XVFB) or Virtual Network Computing
(VNC).
See Also:
■ Your operating system documentation for more information on
the DISPLAY environment variable.
■ Oracle Technology Network ([Link] for
further information about obtaining and installing XVFB or
other virtual frame buffer solutions. Search OTN for "frame
buffer".
[Link].1 Installing From a Remote Machine Setting the DISPLAY environment variable
enables you to run the Oracle Universal Installer remotely from another workstation.
On the system where you launch the Oracle Universal Installer, set DISPLAY to the
system name or IP address of your local workstation.
If you get an Xlib error similar to "Failed to connect to server", "Connection refused by
server," or "Can't open display" when starting the installer, then run the commands on
your local workstations as listed in the following table.
Requirements For UNIX Systems" before installing Oracle Database Lite. The
installation may fail if you do not have sufficient space. The installer checks for the
TMP and TMPDIR environment variable to locate the temporary directory. If the TMP
environment variable is not set, then the installer uses the /tmp directory. If the
TMPDIR environment variable is not set, then the installer uses the /var/tmp
directory. Set the TMP and TMPDIR environment variable using the commands in the
following table.
[Link] UNIX Group Name For the Oracle Universal Installer Inventory
Use the admintool or groupadd utility to create a group name. In the following text
the group name is oinstall. The oinstall group will own Oracle Universal
Installer's oraInventory directory. The oracle user account that runs the installer
must have the oinstall group as its primary group.
For more information on these utilities, refer to your operating system documentation.
[Link].1 Configuring Shell Limits for AIX Systems Verify that the shell limits shown in the
following table are set to the values shown. The procedure following the table
describes how to verify and set the values.
To view or change the current value specified for these shell limits, follow these steps:
1. Enter the smit command: #smit chuser
2. In the User Name field, enter the user name of the Oracle software owner, such as
oracle.
3. Scroll down the list and verify that the value shown for the soft limits listed in the
previous table is -1. If necessary, modify the existing value to be -1.
4. Press F10 to exit.
[Link].2 Configure System Configuration Parameters for AIX Verify that the Maximum
number of processes allowed for each user is set to 2048 or greater. The procedure
following the table describes how to verify and set the value.
1. Enter the smit command: #smit chgsys
2. Verify that the value shown for Maximum number of PROCESSES allowed per
user is greater than or equal to 2048.
3. Press F10 to exit.
Ensure that the ARG_MAX setting is set to the maximum value for AIX 5L:
1. Check the ARG_MAX setting, as follows:
prompt> getconf ARG_MAX
2. If the value is less than 524288, then run the following command as the root user:
#chdev -l sys0 -a ncargs=128
To view or modify the current value or formula specified for these kernel parameters,
do the following:
1. Optionally, set the DISPLAY environment variable to specify the display of the
local system, as follows:
■ Bourne, Bash, or Korn shell:
$ DISPLAY=localhost:0.0 ; export DISPLAY
■ C shell:
$ setenv DISPLAY localhost:0.0
2. Start System Administration Manager (SAM): #/usr/sbin/sam
3. Choose the Kernel Configuration area, then choose the Configurable Parameters
area.
4. Check and possibly modify the value or formula specified for each of these
parameters.
5. Exit from SAM.
6. If you modified the value specified for any parameter, then reboot the system with
the following: # /sbin/shutdown -r -now
7. If necessary, when the system restarts, log in and switch the user to root.
To view or modify the current value specified for these kernel parameters, do the
following:
1. Enter the following command to view the current value of the file-max kernel
parameter:
# /sbin/sysctl -a | grep file-max
[Link]-max = 131072
Review the output from this command to verify that the values are correct. If
the values are incorrect, then perform these steps again.
c. On UnitedLinux only, enter the following command to cause the system to
read the /etc/[Link] file when it reboots:
# chkconfig [Link] on
2. Add the following line to the /etc/pam.d/login file, if it does not already exist:
session required /lib/security/pam_limits.so
3. Depending on the oracle user’s default shell, make the following changes to the
default shell start-up file:
■ For the Bourne, Bash, or Korn shell, add the following lines to the
/etc/profile file:
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 16384
else
ulimit -u 16384 -n 16384
fi
fi
■ For the C or tcsh shell, add the following lines to the /etc/[Link] file:
if ( $USER == "oracle" ) then
4. Mount the CD-ROM drive on the mount point directory by entering the following
commands:
# mount options device_name cdrom_mount_point_directory
Example 1–1 shows how to mount the CD-ROM manually for AIX. In the following
example, /dev/cd0 is the CD-ROM device and /cdrom is the mount point.
4. If there is not already an entry in the /etc/pfs_fstab file for your CD-ROM
device, you must add one. As the root user, use a text editor to add a line, in the
following format, to the /etc/pfs_fstab file:
device_file mount_point filesystem_type translation_method
In the preceding format, the first entry is the CD-ROM device, the second entry is
the mount point, and the third entry indicates that the CD-ROM to be mounted is
in ISO9660 format with Rockridge extensions.
The device_file in this example is /dev/dsk/c4t2d0. For a CD-ROM device
with the path /dev/dsk/c4t2d0, you would enter the following:
/dev/dsk/c4t2d0 /SD_CDROM pfs-rrip xlat=unix 1 0
7. Place the Oracle Database Lite CD-ROM Disk in the CD-ROM drive and mount
the CD-ROM by entering the following command:
# /usr/sbin/pfs_mount /SD_CDROM
If you have auto mounting software, the output must be similar to the following:
root 628 0.0 0.2 1148 588 ? S 17:32 0:00 /usr/sbin/automount /misc file
/etc/[Link]
In the preceding output, the /etc/[Link] section defines the directory under the
/misc file where the CD-ROM will be mounted.
■ If the auto mounting software is running and configured properly, the CD-ROM is
mounted automatically.
■ If no lines are returned, the auto mounting software is not running, and you will
have to mount the CD-ROM manually. Proceed to Section [Link].
3. Mount the CD-ROM drive on the mount point directory by using the following
commands:
# mount options device_name cdrom_mount_point_directory
If you are unsure of the correct device name, consult your system administrator.
Typically, the device name is /dev/cdrom.
Example 1–2 shows how to mount the CD-ROM manually for Linux.
4. Mount the CD-ROM drive on the mount point directory, by using the following
command:
# mount options device_name cdrom_mount_point_directory
Example 1–3 shows how to mount the CD-ROM manually for Tru64.
This chapter describes all of the details for you to install Oracle Database Lite,
including the following:
■ Section 2.1, "Starting Oracle Universal Installer"
■ Section 2.2, "Oracle Database Lite Installation Considerations"
■ Section 2.3, "Installing Oracle Database Lite"
■ Section 2.4, "Post-Installation Configuration Requirements"
■ Section 2.5, "Starting Mobile Server"
■ Section 2.6, "Testing Your Mobile Server Installation"
You start the Oracle Universal Installer using different methods for each type of
operating system, as detailed in the following steps:
■ Section 2.1.1, "Starting the Oracle Universal Installer on Windows"
■ Section 2.1.2, "Starting Oracle Universal Installer on UNIX"
Note: Ensure you are not logged in as the root user when you
start the Oracle Universal Installer.
The your_base_directory identifier is the location for your installation files and
todays_date_time is the date and time of installation. Log file names of previous
installation sessions take the form installActionstodays_date_time.log.
Do not delete or manually alter the oraInventory directory or its contents. Doing so
can prevent the installer from locating products that you have installed on your
system.
If you need to retrieve the port number, check the [Link] file on the
back-end database.
Click Next.
3. Click Yes to install the Mobile Server Repository. For this option, always click Yes
to install the repository—even if one has already been created. If you are installing
a Mobile Server on another host that shares an existing repository, selecting yes
updates the repository with the shared Mobile Server information. You only select
No if instructed to for a certain environment. Click Next.
4. On the Mobile Server Configuration Options screen, enter the HTTP listener port
for OC4J. Provide a port number for the OC4J HTTP listener if you are executing
in standalone mode. The default value is 80. This screen only appears if you are
using standalone. If you are using Oracle9iAS or OracleAS, the default ports are
used. Click Next.
Note: If, after installation, you have port conflicts and need to
change the port number for OC4J standalone, edit the file ORACLE_
HOME\mobile_oc4j\j2ee\mobileserver\
config\[Link] and modify the following with the
alternate port number:
<web-site port="80" display-name="OracleAS Containers for J2EE HTTP
Web Site">
5. Click Yes or No indicating if you want the demo applications installed on the
server.
6. On the Summary page, click Install to start the installation of Mobile Server, which
is installed in your Oracle Home.
7. If, previously, you clicked Yes to installing the Mobile Server Repository, then the
Repository Wizard is now launched to create and populate the repository with the
Mobile Server schema.
The Repository Wizard asks for a user name and password which will be used to
connect to the back-end database, create the schema and assign database
privileges for the Mobile Server. Before you provide the username, this user has to
have the following privileges to create the Mobile Server repository in the
back-end database:
■ CREATE TABLESPACE, CREATE USER
■ The following privileges are required with the Admin option:
ALTER ANY TABLE, ALTER SESSION, ALTER SYSTEM, CREATE SESSION,
CREATE ANY SEQUENCE, CREATE ANY VIEW, CREATE ANY TRIGGER,
CREATE ANY INDEX, CREATE ANY TABLE, CREATE ANY SYNONYM,
CREATE ANY PROCEDURE, CREATE PROCEDURE, CREATE SEQUENCE,
CREATE SYNONYM, CREATE TABLE, CREATE VIEW, CREATE
INDEXTYPE, DELETE ANY TABLE, DROP ANY SEQUENCE, DROP ANY
PROCEDURE, DROP ANY VIEW, DROP ANY TABLE, DROP ANY
SYNONYM, DROP ANY TRIGGER, DROP ANY INDEX, DROP ANY TABLE,
SELECT ANY TABLE , SELECT ANY DICTIONARY, UPDATE ANY TABLE
Click Next.
9. Enter the schema name and password for the Mobile Server Repository. The
default name is MOBILEADMIN. This schema contains all database objects used by
the Mobile Server. Also, check whether you want to install sample applications or
not. Click Next.
10. Enter the username and password that you will use to log into the Mobile Server
administration GUI.
11. Enter the schema username and password for the schema where the demo
applications are installed.
12. A summary screen appears informing you if a repository is installed or not. Click
Next.
13. The installation screen appears. Wait until the install is completed. Click Next.
14. Once the repository wizard is finished, click Finish to leave the wizard.
16. Review the installation log files for any errors, which are located in ORACLE_
HOME\mobile\server. The [Link] file contains the log file of all
general installation errors; the [Link] file contains a log of the sample
installation errors.
17. If you are installing on top of any version of the application server, then restart the
application server.
[Link] Silent Install Mobile Server or the Mobile Development Kit on UNIX
You can install the Mobile Server and/or the Mobile Development Kit by using the
runInstaller command, which is on the top level of the CD or the downloaded ZIP
file for the product.
There are two response files that contain variables that define how the Mobile Server
or the MDK are installed, which are located in the stage/Response folder of the CD
or ZIP file.
Note: If you use Mobile Server in standalone mode for your middle-tier,
do not use an Oracle Home that has any version of Oracle9iAS or OracleAS
installed.
If you use Oracle9iAS or OracleAS as your middle-tier, then you must
install Oracle Database Lite into the same Oracle Home where the
application server is installed.
■ Provide the hostname, port, and user for the back-end database, where the
repository is to be installed, as follows:
db_info={"[Link]","1521","myuser"}
■ Provide the Mobile Server port number, where incoming clients connect to it,
as follows:
s_mobile_port="80"
■ Provide the Mobile Server demo schema user name and password, as follows:
s_olite_demoschema_username="demoschema"
s_olite_demoschema_pwd="demoschemapwd"
■ Provide the Mobile Server admin user name and password, as follows:
s_olite_admin_username="adminuser"
s_olite_admin_pwd="adminpwd"
If you want to install both the Mobile Server and the MDK, execute the
runInstaller command twice; each execution is provided a different response file.
The following installs the Mobile Server, as follows:
./runInstaller -responseFile
/full_directory_path_to_response_file/[Link].install_type_2.rsp
-silent -nowelcome
[Link] Silent Install for Mobile Server or Mobile Development Kit on Windows
Command to run the installer in silent mode for Windows.
[Link] -responseFile
/full_directory_path/stage/Response/[Link].install_type_2.rsp
-silent -nowelcome
■ Provide the hostname, port, and user for the back-end database, where the
repository is to be installed, as follows:
db_info={"[Link]","1521","myuser"}
■ Provide the Mobile Server port number, where incoming clients connect to it, as
follows:
s_mobile_port="80"
■ Provide the Mobile Server demo schema user name and password, as follows:
s_olite_demoschema_username="demoschema"
s_olite_demoschema_pwd="demoschemapwd"
■ Provide the Mobile Server admin user name and password, as follows:
s_olite_admin_username="adminuser"
s_olite_admin_pwd="adminpwd"
2.3.3 Installation of Multiple Mobile Servers Against the Same Mobile Server
Repository
In some cases, you may want to have multiple Mobile Servers using the same Mobile
Server repository. For example, as Figure 2–1 shows, if you wanted to load balance
your Mobile Clients across multiple Mobile Servers, you could add a load balancer,
such as BIG-IP or Oracle WebCache, before the shared Mobile Servers, and then your
clients would be balanced across these Mobiles Servers, of which each accesses the
same data in the shared repository.
You can install multiple Mobile Servers, each on its own host, that use the same Mobile
Server Repository, as follows:
1. Install the first Mobile Server and the Mobile Server Repository following the
instructions in Section [Link], "Installation of Mobile Server".
2. For each subsequent Mobile Server, follow the instructions in Section [Link],
"Installation of Mobile Server", supplying the same host name, port and SID where
the Mobile Server Repository exists and select Yes for creating the repository,
which registers the shared Mobile Server with the repository.
2.4.1 Setup DISPLAY Variable for UNIX Systems in Oracle Application Server
If you are using a UNIX system, you may have to configure the DISPLAY variable.
Mobile Manager uses UIX to create the graphics in its display, which requires access to
your XServer. If you have the XServer on the local machine where the Mobile Manager
is executing, then you do not have to perform any configuration. However, if the
XServer is on another machine, then set the DISPLAY variable in the OPMN
component of the Oracle Application Server to point to that machine. In the
[Link] file, modify the <environment> section and add the following property:
<prop name="DISPLAY" value="hostname:display_number.screen_number"
where the host is the machine where the XServer is available. For example, if the
XServer is on myhost, then set the DISPLAY environment variable, as follows:
<environment>
<prop name="DISPLAY" value="myhost:0.0"
</environment>
cd ORACLE_HOME\Mobile\Server\bin
runmobileserver
OR
■ Start Oracle9iAS (9.0.4) or OracleAS through the Windows Services panel.
Alternatively, you can start the application server from the Oracle9iAS or
OracleAS GUI.
Note: If you have installed the Web Cache with your application
server installation, then you must always start the Web Cache in order
for Mobile Server to execute properly. If Web Cache has not been
started, you will receive a Page Not Found when directed to the
[Link] server
host>:7777/webtogo/[Link] page.
Note: If, after installation, you have port conflicts and need to
change the port number for OC4J standalone, edit the file ORACLE_
HOME\mobile_oc4j\j2ee\
mobileserver\config\[Link] and modify the
following with an alternate port number. For all UNIX and Linux
platforms, if you are not running as root or superuser when you start
the server, then use a port number greater than 1024.
The following shows the port set to 80:
<web-site port="80" display-name="OracleAS Containers for J2EE HTTP
Web Site">
■ If you are using Oracle9iAS or OracleAS as your middle-tier, test Mobile Server
through a browser with the following URL:
[Link]
For more information on testing your installation using the samples, see Chapter 4,
"Quick Start for Oracle Database Lite".
Option Description
-i or -u -i: install the demos
-u: remove the demos
<sys_user> <sys_pwd> Provide the system username and password that are
used to drop the schema in which the demos are
installed.
<mobile_user> <mobile_pwd> Provide the Mobile Server log on username and
password, which is necessary to remove the demos from
the repository.
The removal process enables you to delete the schema into which the applications
were installed. If you did not use the schema for any other purpose, then allow the
batch file to remove the demo application schema.
The following sections describe the steps for upgrading your Oracle Database Lite
software:
■ Section 3.1, "Upgrade Your Oracle Database Lite from 5.0.2.x to 10g Release 2"
■ Section 3.2, "Upgrade Your Oracle Database Lite from 10g Release 1 to 10g Release
2"
3.1 Upgrade Your Oracle Database Lite from 5.0.2.x to 10g Release 2
The following sections describe the steps for upgrading your Oracle Database Lite
software from 5.0.2.x to 10g Release 2:
■ Section 3.1.1, "What 5.0.2.x Versions Can I Upgrade to 10g Release 2?"
■ Section 3.1.2, "Pre-Upgrade Instructions for the 5.0.2.x Version"
■ Section 3.1.3, "Upgrade Your 5.0.2.x Version Mobile Server Repository"
■ Section 3.1.4, "Upgrade Your 5.0.2.x Version Existing Applications"
■ Section 3.1.5, "Upgrading BC4J Mobile Client 5.0.2.x to Version 10g Release 2"
■ Section 3.1.6, "Upgrading 5.0.2.x Version Branch Office"
■ Section 3.1.7, "Use the Appropriate Context for Your Mobile Server"
■ Section 3.1.8, "Migrate Your 5.0.2.x Version Users From the Mobile Server
Repostory to the Oracle Internet Directory"
■ Section 3.1.9, "Post-Upgrade Instructions for 5.0.2.x Version"
■ Section 3.1.10, "Remove the 5.0.2.x Installation"
■ Section 3.1.11, "New Consolidator Sequence Properties Added During Upgrade"
2. If you have multiple Mobile Servers that use the same Mobile Server Repository
on a back-end database, you must shut down all of these Mobile Servers before
you start the upgrade. Then, upgrade one of these Mobile Servers and the Mobile
Server Repository. After this upgrade completes successfully, you can upgrade
each additional Mobile Server that uses the Repository. After all of the shared
Mobile Servers are upgraded, you can restart them.
3. Install the current version of Oracle Database Lite in a separate Oracle Home than
your 5.0.2.x version.
Note: If you need to start the Repository Wizard outside of the install
process, execute
ORACLE_HOME\Mobile\Server\admin\repwizard
The Application Upgrade Assistant moves the applications from the 5.0.2.x Oracle
Home to your new 10g Release 2 Oracle Home. In addition, the assistant transforms
your Mobile applications to the new application model. In previous versions, you
could create a single Mobile application for all platforms with a single dataset. In 10g,
you must create a single Mobile application for each platform, each with its own
dataset. Thus, if you have the myapp application, the Application Upgrade Assistant
transforms your myapp application into the following:
■ Web platform: named myapp and exists in the myapp directory
■ Win32 platform: named myapp_win32 and exists in the myapp/win32 directory
■ Palm OS platform: named myapp_palm and exists in the myapp/palm directory
■ WinCE platform: named appropriately by the language and in a directory that is
also named according to the language, as follows:
– English: The application is named myapp_wce_Pocket_PC_us_arm and
exists in the /myapp/wce/Pocket_PC/us/arm directory.
– Chinese: The application is named myapp_wce_Pocket_PC_cn_arm and
exists in the /myapp/wce/Pocket_PC/cn/arm directory.
– Japanese: The application is named myapp_wce_Pocket_PC_jn_arm and
exists in the /myapp/wce/Pocket_PC/jn/arm directory.
■ On a UNIX environment:
ORACLE_HOME/mobile/server/admin/[Link]
On the command-line, supply the Mobile Server Repository Name, the Mobile Server
Repository Password, the old Oracle Home and the new Oracle Home. For example,
on a Windows system, where the repository name is mobileadmin, its password is
manager, the old Oracle Home is c:\oracle\ora502 and the new Oracle Home is
c:\oracle\ora10g, execute as follows:
ApplicationUpgradeAssistant mobileadmin manager c:\oracle\ora502 c:\oracle\ora10g
For Oracle Database Lite 10g, all existing and future Mobile applications must retrieve
the OraUserProfile class with the following lines:
HttpSession s = [Link](true);
OraUserProfile p = (OraUserProfile)[Link] ("x-mobileserver-user");
You must manually modify all existing Mobile applications to use the new method of
retrieving the OraUserProfile class and then republish the application to complete
the upgrade process for your 5.0.2.x Mobile applications.
CLIENT_502_UPGRADE_TYPE = BC4J
4. Login into the BC4J mobile client using the 5.0.2.x BC4J mobile client user.
5. Perform a synchronization.
6. Select Yes when prompted for "Do you want to upgrade".
7. The upgrade progran prompts for username and password, use the 5.0.2.x BC4J
mobile client username and password.
8. After all the BC4J mobile clients are upgraded, remove the CLIENT_502_
UPGRADE_TYPE = BC4J parameter from the server side [Link] file and
restart the Mobile Server.
4. Login into the Branch Office Client using the 5.0.2.x Branch Office user.
5. Perform a synchronization.
6. Select Yes when prompted for "Do you want to upgrade".
7. The upgrade program prompts for a username and password, where you will
provide the 5.0.2.x Branch Office username and password.
8. After all of the Branch Office clients are upgraded, remove the CLIENT_502_
UPGRADE_TYPE = BOS parameter from the server side [Link] and restart
the Mobile Server.
3.1.8 Migrate Your 5.0.2.x Version Users From the Mobile Server Repostory to the
Oracle Internet Directory
If you want, you can use the Oracle Internet Directory (OID) for storing and retrieving
user information instead of the Mobile Server Repository. To facilitate using OID, you
must first migrate all user information from the repository into OID. Once migrated,
you can use OID instead of the repository.
OID is part of the Oracle9iAS or OracleAS application server.
Migrate your existing users in the repository to the OID through the oiduser tool,
which is located in ORACLE_HOME\mobile\server\bin. The oiduser tool
migrates your existing users with either randomly-generated passwords or a common
password.
1. Set the SSO_ENABLED parameter in the [Link] file to YES.
2. If you are using Oracle9iAS, then explicitly grant permission to the [Link]
file to enable calls originating from this JAR file by adding the following content to
the [Link] file, which is located in the ORACLE_HOME/config
directory:
<grant>
<grantee>
<codesource>
<url>file:$MIDTIER_ORACLE_HOME/mobile/server/bin/[Link]</url>
</codesource>
</grantee>
<permissions>
<permission>
<class>[Link]</class>
<name>connectAs</name>
</permission>
</permissions>
</grant>
3. Migrate the user information using the oiduser tool, for either
randomly-generated passwords or a common password, as follows:
■ To use randomly-generated passwords for each user, execute the oiduser
tool without the -P option, as follows:
oiduser <Oracle_Home> <Mobile Server Repository username> <Mobile Server
Repository password> <OID port number> <OID host name> <OID password>
■ To use a common password for all users, provide the common password with
the -P option, as follows:
oiduser <Oracle_Home> <Mobile Server Repository username> <Mobile Server
Repository password> <-P> <common password> <OID port number> <OID host
name> <OID password>
12. Restart both the application server and the Mobile Server.
■ THRESHOLD: 100
■ INCREMENT_BY: 1
■ SEQUENCE_MODE: NA_SEQ
You can modify any of these properties through the Java modifySequence API,
which is described fully in the Consolidator Admin API Specification JavaDoc.
3.2 Upgrade Your Oracle Database Lite from 10g Release 1 to 10g
Release 2
If you have Oracle Database Lite 10g Release 1, you must upgrade to the latest version.
The following sections describe the steps for upgrading your software:
■ Section 3.2.1, "To What Versions Can I Upgrade Oracle Database Lite?"
■ Section 3.2.2, "Pre-Upgrade Instructions"
■ Section 3.2.3, "Upgrade Your Mobile Server Repository"
■ Section 3.2.4, "Upgrade Your Existing Applications"
■ Section 3.2.5, "Installing Sample Applications"
■ Section 3.2.6, "Upgrading Branch Office 10g Release 1 to version 10g Release 2"
■ Section 3.2.7, "Migrate Your Users From the Mobile Server Repostory to the Oracle
Internet Directory"
■ Section 3.2.8, "Remove the 10g Release 1 Installation"
■ Section 3.2.9, "Remove Duplicate Mobile Server IDs from the Repository"
Table 3–2 Upgrading 10g Release 1 Oracle Database Lite to 10g Release 2
10gR2 10g R2 and iAS 10g R2 and iAS
Standalone 10.1.x 10g R2 and iAS 9.0.4 10g R2 and iAS
10.1.x with OID 9.0.4 with OID
10g R1 Supported Supported Not Supported Supported Not Supported
Standalone
10g R1 and iAS Supported Supported Not Supported Supported Not Supported
9.0.2
10g R1 and iAS Not Supported Not Supported Supported Not Supported Supported
9.0.2 with OID
10g R1 and iAS Supported Supported Not Supported Supported Not Supported
9.0.3
Table 3–2 (Cont.) Upgrading 10g Release 1 Oracle Database Lite to 10g Release 2
10gR2 10g R2 and iAS 10g R2 and iAS
Standalone 10.1.x 10g R2 and iAS 9.0.4 10g R2 and iAS
10.1.x with OID 9.0.4 with OID
10g R1 and iAS Not Supported Not Supported Supported Not Supported Supported
9.0.3 with OID
10g R1 and iAS Supported Supported Not Supported Supported Not Supported
9.0.4
10g R1 and iAS Not Supported Not Supported Supported Not Supported Supported
9.0.4 with OID
Note: If you need to start the Repository Wizard outside of the install
process, execute
ORACLE_HOME\Mobile\Server\admin\repwizard
■ On a UNIX environment:
ORACLE_HOME/mobile/server/admin/[Link]
■ On a UNIX environment:
ORACLE_HOME/mobile/server/demos/[Link]
Note: These steps assume that you have a 10g Release 1 Branch
Office environment already configured and synchronized. If you do
not have this environment currently configured, you do not need to
upgrade.
1. Install Oracle Lite 10g Release 2 Mobile Server in the same ORACLE_HOME
directory where you installed Release 1.
2. Stop the Branch Office client executing as a Windows Service.
3. Open a command prompt, navigate to the BO_CLIENT_HOME\bin directory, and
start the Branch Office Client by issuing the webtogo -d0 command.
4. Login into the Branch Office Client using the Release 1 Branch Office user.
5. Perform a synchronization.
6. Select Yes when prompted for "Do you want to upgrade". The Web-to-Go
component of the Branch Office Client upgrades.
Once the upgrade completes, then the Branch Office client restarts as a Windows
Service. In order to perform the next step, stop the service.
7. Open another command prompt, navigate to the BO_CLIENT_HOME\bin
directory, and invoke [Link] to upgrade the Branch Office Component.
8. Start the Branch Office client either as a Windows Service or from the command
prompt invoking webtogo -d0.
3.2.7 Migrate Your Users From the Mobile Server Repostory to the Oracle Internet
Directory
You can use the Oracle Internet Directory (OID), which is part of the Oracle
application server, for storing and retrieving user information instead of the Mobile
Server Repository. To use OID, you must migrate all user information from the existing
repository into OID.
Migrate existing users in the repository to OID through the oiduser tool, which is
located in ORACLE_HOME\Mobile\Server\bin. The oiduser tool migrates existing
users with either randomly-generated passwords or a common password.
1. Set the SSO_ENABLED parameter in the [Link] file to YES.
2. If you are using Oracle9iAS, then explicitly grant permission to the [Link]
file, which enable calls originating from this JAR file. Grant this permission by
adding the following to the [Link] file, which is located in the ORACLE_
HOME/config directory:
<grant>
<grantee>
<codesource>
<url>file:$MIDTIER_ORACLE_HOME/mobile/server/bin/[Link]</url>
</codesource>
</grantee>
<permissions>
<permission>
<class>[Link]</class>
<name>connectAs</name>
</permission>
</permissions>
</grant>
3. Migrate the user information using the oiduser tool, for either
randomly-generated passwords or a common password, as follows:
■ To use randomly-generated passwords for each user, execute the oiduser tool
without the -P option, as follows:
oiduser <ORACLE_HOME> <Mobile Server Repository username> <Mobile Server
Repository password> <OID port number> <OID host name> <OID password>
For example, the default setting would be:
oiduser <ORACLE_HOME> mobileadmin manager 389 [Link] welcome1
■ To use a common password for all users, provide the common password with
the -P option, as follows:
oiduser <ORACLE_HOME> <Mobile Server Repository username> <Mobile Server
Repository password> <-P> <common password> <OID port number> <OID host
name> <OID password>
11. Restart both the application server and the Mobile Server.
■ On a UNIX environment:
ORACLE_HOME/mobile/server/admin/[Link]
As a user, there are three tasks that you normally perform—software distribution,
application deployment, and data synchronization. This chapter uses the installed
samples in Oracle Database Lite to demonstrate—quickly—how to perform these three
functions on the Windows 32, Web-based, Pocket PC, and Palm OS platforms. The
following sections describe how to install the sample applications, start Oracle
Database Lite, and then distribute, deploy, and sync your application on separate
platforms.
■ Section 4.1, "Installing the Sample Applications"
■ Section 4.2, "Starting Oracle Database Lite and Its Job Scheduler"
■ Section 4.3, "Starting a Windows 32 Application"
■ Section 4.4, "Starting a Web-Based Application"
■ Section 4.5, "Starting an Application on Your Pocket PC Device"
■ Section 4.6, "Starting a Palm OS Application"
Figure 4–1 demonstrates how the Mobile Server accesses the Mobile Server Repository,
which exists in a back-end database. The Mobile Client and client applications are on
the Win32 machine. The Mobile Client database synchronizes with the Mobile Server.
To install and use the sample application on your Windows 32 machine, verify that
you have the correct environment, retrieve the sample from the Mobile Server and
install it on your Win32 machine, as follows:
1. Software Requirements for the Win32 Demo
2. Download the Mobile Client from the Mobile Server
3. Install the Mobile Client on the Win32 Device
4. Start the Win32 Sample Application
Note: This section demonstrates how to install, deploy and use the
transport demo. However, if you want to see how to build the
transport demo, see Chapter 10, "Building Offline Mobile Applications
for Win32: A Tutorial" in the Oracle Database Lite Developer’s Guide.
6. On the Oracle Lite Software Update window, click Install to install the Transport
Demo (Transport_WIN32) on your system.
7. Select the directory where you would like to install the demo and click OK.
synchronize the data to the database, click the mSync button, which is the icon of a
database with dual arrows.
You can check to see if the transport applications data was synchronized with the
database by viewing the tables used by the sample—the Packages, Trucks and Routes
tables—in the repository in the MASTER schema with username/password of
MASTER/MASTER.
To install and use the Web-based Mobile Client, verify that you have the correct
environment, retrieve the sample from the Mobile Server and install it on your
machine, as follows:
Note: You cannot access the Mobile Server from a Web application
that is local to the Mobile Server; that is, you must access the Mobile
Server from a machine that is remote to the host where Mobile Server
is installed. Direct access is not supported.
a. In a browser on your remote machine, point the browser to the Mobile Server
using the URL [Link] Server>/webtogo/.
b. On the upper right corner, click Setup.
2. Click Oracle Lite WEB.
3. The Save As dialog box appears. The file name field displays the executable setup
file for the selected platform. Save the executable to a local directory on your
machine—which is remote from the Mobile Server host.
To install and use the Mobile client for your Pocket PC, verify that you have the correct
environment, retrieve the sample from the Mobile Server and install it on your
machine, as follows:
■ Section 4.5.1, "Verify the Software and Hardware Requirements for the Pocket PC
Demo"
■ Section 4.5.2, "Download the Mobile Client from the Mobile Server"
■ Section 4.5.3, "Install the Pocket PC Mobile Client"
■ Section 4.5.4, "Enter and View Data in the Pocket PC Sample Application"
■ Section 4.5.5, "Synchronize the Pocket PC Application Data to the Database"
The Pocket PC sample application is the transport application.
Note: This section demonstrates how to install, deploy and use the
transport demo. However, if you want to see how to build the
transport demo, see Chapter 11, "Building Offline Mobile Applications
for Windows CE: A Tutorial" in the Oracle Database Lite Developer’s
Guide.
4.5.1 Verify the Software and Hardware Requirements for the Pocket PC Demo
The Pocket PC sample application requires the following:
■ Software requirements: ActiveSync 3.5 or higher and Microsoft .NET Compact
Framework 1.0. For information on how to install Microsoft .NET Compact
Framework, see the following:
[Link]
6. When the synchronization completes, the Sync Result Dialog appears. Click OK.
7. On the Oracle Lite Software Update window, click Install to install the Transport
Demo (Transport_PPC) on your system.
8. Select the directory where you would like to install the demo and click OK.
2. On the Transport Demo screen, you can create or view a package. Click Create
Package.
3. On the Create Package screen, fill in the following information about the package
and the truck on which it is to be delivered:
■ Name of the package: Oracle Lite CD
■ Package weight: 5
■ Truck number: 1
■ The route taken to deliver package: Santa Clara Route
■ Package priority: HIGH
Click Next.
On the next screen, fill in the package delivery location, as follows:
■ Street: 500 Oracle Parkway
■ City: Redwood Shores
■ State: CA
Click Save.
4. The "Package created successfully" dialog box displays. Click OK.
5. Click the OK button in the upper right-hand corner to return to the main screen.
6. On the Transport Demo screen, click View Packages to see the data you just
entered.
7. Click the Exit button—which is the icon with a red sphere—to return to the main
screen.
To install and use the Palm OS Mobile Client, verify that you have the correct
environment, retrieve the sample from the Mobile Server and install it on your
machine, as follows:
■ Section 4.6.1, "Verify the Software and Hardware Requirements for the Palm OS
Demo"
■ Section 4.6.2, "Download the Mobile Client from the Mobile Server"
■ Section 4.6.3, "Install the Palm OS Mobile Client"
■ Section 4.6.4, "Execute the Palm OS Sample Application"
Instructions for building a Palm OS application are detailed in Chapter 7, "Developing
Mobile Applications for Palm OS Devices" in the Oracle Database Lite Developer’s Guide.
4.6.1 Verify the Software and Hardware Requirements for the Palm OS Demo
The Palm OS sample application requires the following:
■ Software requirements: Palm Desktop 3.1 of higher and HotSync
■ Hardware requirements: Palm OS 4.0 or higher device and a device cradle
Normally, the Mobile client synchronizes data inside a firewall on the corporate
intranet, where the Mobile Server also resides. However, what if the user wishes to
synchronize the Mobile client either from outside the firewall from the internet into a
Mobile Server that exists inside the firewall? Or what if the Mobile Server exists on the
public internet and the Mobile client is inside the firewall on the corporate intranet?
Either way, you have to modify your configuration to enable a Mobile client and
Mobile Server to communicate through a firewall.
The following sections describe how to configure the Mobile Server and Mobile client
to enable communication through a firewall:
■ Section 5.1, "Using HTTP Proxy to Communicate From Inside a Firewall"
■ Section 5.2, "Using Reverse Proxy to Communicate from Internet to Intranet"
Internet Intranet
Oracle
RDBMS Mobile Firewall
Server with Proxy Mobile Client
For example, in order for communication to occur between Web browsers—where the
browser is located in the corporate network behind the firewall—and Internet Web
servers—where the web server is located on the public Internet—you must configure
the proxy settings in the browser. In the same sense, if the Mobile client is located in
the corporate intranet and the Mobile Server is located somewhere in the public
Internet—where both are separated by a firewall—then the firewall must be
configured to let HTTP traffic travel through by means of a proxy server.
To enable communication from the Mobile client to a Mobile Server outside the
corporate firewall, do one of two things:
For all Mobile clients other than the Web-to-Go Mobile clients, perform the following
when you synchronize using the [Link] tool:
1. Check the Use Proxy checkbox.
2. Enter the hostname and port number of the proxy server.
For all Web-to-Go Mobile clients, add the proxy server settings as follows in the
[Link] file:
[WEBTOGO]
PROXY_SERVER=hostname_proxy_server
PROXY_PORT=port_proxy_server
Figure 5–2 Mobile Client Communicating With Mobile Server Through Firewall Using
Reverse Proxy
Internet Intranet
Oracle
RDBMS
Firewall Mobile
with Proxy Server
Mobile Client
When you configure the reverse proxy, then the Mobile client communicates directly
with the reverse proxy, which turns around and communicates with the Mobile Server.
In order for this communication to occur seamlessly, do the following:
1. Configure the Mobile client to communicate with the reverse proxy in one of the
two following methods:
■ Download Mobile client software directly from the reverse proxy. If you
download the Mobilc client [Link] program from the reverse proxy from
the internet, then the configuration is automatic to point to the reverse proxy
when you perform the installation of the Mobile client.
■ Configure the [Link] configuration file for your Mobile client.
However, if you installed the Mobile client from within the corporate intranet,
you must modify the SERVER_URL parameter in the [Link]
configuration file to point to the host/port of the reverse proxy server, as
follows:
SERVER_URL=HTTP://<reverse_proxy_host>:<port>/webtogo
If you use the [Link] to synchronize, then enter the hostname of the
reverse proxy in the Server box.
Note: If you are planning on using the Mobile client both inside and
outside of the corporate internet, you may want to have two SERVER_
URL definitions—one for the internal corporate Mobile Server address
and one for the reverse proxy address. Then, comment the one that
you are not using and uncomment the one that you are using.
4. Configure the Mobile Server to accept communication from the reverse proxy.
Configure the reverse_proxy parameter in the [Link] configuration file
on the Mobile Server, as follows:
[WEBTOGO]
REVERSE_PROXY=[Link] <port_number>/webtogo
5. If your server is a Windows XP machine, you must have the Service Pack 2
installed.
6. When you use reverse proxy authentication, you must upper-case the username of
the proxy digest.
Index-1
enabling ports, 2-10 OID
migrating to use, 3-5
migrating users, 3-5
J
operating system
JAVA13_HOME, 1-14 UNIX requirements, 1-11
Job Scheduler Oracle Database Lite
starting, 4-1 quick start, 4-1
starting, 4-1
K upgrade, 3-2
Oracle Internet Directory, see OID
kernel parameters Oracle Lite 5.0.2
configuring, 1-16 removal, 3-7
Oracle WebCache
L using as load balancer, 2-9
ORACLE_HOME, 1-14
language
Oracle9iAS
multiple language install, 2-3
port number, 2-5
LD_LIBRARY_PATH, 1-14
OracleAS
LIBPATH, 1-14
port number, 2-5
load balancing, 2-9
OraUserProfile class
upgrade requirements, 3-4
M
migration P
Oracle Database Lite, 3-1 Page Not Found error, 2-11
MIN_VALUE property, 3-7 Palm OS
Mobile Client application example, 4-1
download, 4-3, 4-5, 4-7, 4-10 client download, 4-10
hardware requirements, 1-8 environment, 4-9
install, 4-6, 4-8, 4-11 example, 4-9
software requirements, 1-9 hardware requirements, 4-10
system requirements, 1-8 install client, 4-11
Mobile client sample application, 4-9
configuring reverse proxy, 5-2 synchronizing data, 4-12
proxy, 5-1 software requirements, 4-10
Mobile Development Kit performance
install, 2-4 synchronization, 1-24
Mobile Manager Pocket PC
GUI, 4-2 environment, 4-6
Mobile Server example, 4-6
configuring reverse proxy, 5-3 sample application
GUI, 4-2 creating data, 4-8
install, 2-4 synchronizing data, 4-9
load balancing, 2-9 port number
logging in, 4-1 conflict, 2-5
multiple servers, 2-9 Mobile Server, 4-2
port number, 4-2 retrieving, 2-5
quick start, 4-1 ports
starting, 2-10, 4-1 enabling on Windows Service Pack 2, 2-10
testing install, 2-11 proxy, 5-1
Mobile Server Repository, see repository reverse, 5-1
mounting
UNIX, 1-20
[Link] Q
communicating with proxy, 5-2 quick start, 4-1
O R
OC4J repository
port number, 2-5 install, 2-5
starting, 4-1 migrating users to OID, 3-5
Index-2
schema name, 2-6 creating groups, 1-16
upgrade, 3-2 environment variables, 1-13
Repository Wizard hardware requirements, 1-10
command-line startup, 4-1 kernel parameters, 1-16
install, 2-5 mounting, 1-20
samples, 4-1 operating system requirements, 1-11
reverse proxy, 5-1, 5-2 setting display, 2-10
configuring Mobile client, 5-2 shell limits, 1-16
reverse_proxy parameter, 5-3 software requirements, 1-13
runmobileserver script, 2-10 system configuration, 1-13
system requirements, 1-10
upgrade
S
applications, 3-3
samples BC4J applications, 3-4
install, 4-1 Branch Office, 3-5
Palm OS, 4-9 Consolidator, 3-7
Pocket PC, 4-6 Mobile Server Repository, 3-2
Web application, 4-5 Oracle Database Lite, 3-1, 3-2
Win32 application, 4-2 OraUserProfile class, 3-4
WinCE application, 4-6 Web-to-Go applications, 3-4, 3-5
SEQUENCE_MODE property, 3-8 users
Sequences migrating to OID, 3-5
upgrade, 3-7
SERVER_URL parameter
reverse proxy, 5-2
W
servlet context Web application
Web-to-Go applications, 3-5 client download, 4-5
shell limits environment, 4-5
UNIX, 1-16 example, 4-1, 4-5
SHLIB_PATH, 1-14 install client, 4-6
SID sample application
retrieving, 2-5 creating data, 4-6
software synchronizing data, 4-6
distribution, 4-1 Web Cache, 2-11
Mobile Client requirements, 1-9 WebCache
UNIX requirements, 1-13 pre-install consideration, 1-24
Windows requirements, 1-10 Web-to-Go
synchronization performance, 1-24
performance, 1-24 proxy communication, 5-2
synchronizing data Web-to-Go applications
example, 4-1 servlet context, 3-5
sample application, 4-4, 4-9 upgrade, 3-4, 3-5
system requirements, 1-1, 1-8, 1-9, 1-10 [Link], 2-11
hardware, 1-8, 1-10 [Link]
Oracle software, 1-8 configuring reverse proxy, 5-2, 5-3
software, 1-9, 1-10 Win32
client download, 4-3
default client username, 4-3
T
environment, 4-2
THRESHOLD property, 3-8 example, 4-1
TMP, 1-15 install client, 4-3
TMPDIR, 1-15 sample application, 4-2
troubleshooting creating data, 4-4
Page Not Found, 2-11 synchronizing data, 4-4
software requirements, 4-3
U WinCE
application example, 4-1
UIX client download, 4-7
setting DISPLAY, 2-10 environment, 4-6
UNIX example, 4-6
creating accounts, 1-16
Index-3
hardware requirements, 4-7
install client, 4-8
software requirements, 4-7
WINDOW_SIZE property, 3-7
Windows
hardware requirements, 1-10
Service Pack 2, 2-10
software requirements, 1-10
system requirements, 1-9
Windows 32, see Win32
Windows CE, see WinCE
Index-4