Skip Headers

Oracle Workflow Administrator's Guide
Release 2.6.3.5

Part Number B12160-02
Previous Next       Contents Index Glossary
         Previous  Next          Contents  Index  Glossary

Frequently Asked Questions for Standalone Oracle Workflow

The following sections provides answers to frequently asked questions about installing and configuring the standalone version of Oracle Workflow.

How can I verify my Oracle Workflow installation?

Use the wfver.sql script to display the version of the Oracle Workflow server, the status and version of the Oracle Workflow PL/SQL packages, and the version of the Oracle Workflow views installed. See: Wfver.sql.

How can I manually set the Oracle Workflow Web agent?

The Oracle Workflow Web agent must be defined before you can access Oracle Workflow's Web pages. If necessary, you can load this value manually using a script called wftoken.sql. This script is located in the ORACLE_HOME/wf/sql directory. Connect to SQL*Plus with the Oracle Workflow database account and run the script using the following command:

sqlplus <username>/<pwd> @wftoken WF_WEB_AGENT <web_agent_value>

Replace <web_agent_value> with the Oracle Workflow web agent name in the following format:

http://<host:portID>/pls/wf

where <host:portID> represents the host server and TCP/IP port number on which your Web listener accepts requests and wf is the default Database Access Descriptor (DAD) created during the Oracle Workflow middle tier installation.

How can I verify the Oracle Workflow virtual directory mappings?

The Oracle Workflow Web interface requires three virtual directory mappings, which are set by default during installation and configuration. If necessary, you can manually verify and add or edit the virtual directory mappings.

To manually add the required virtual directory mappings in Oracle HTTP Server, add aliases for the jlib directory and the Oracle Workflow icon and documentation areas to the ORACLE_HOME/wf/admin/wf.conf file. The path to this configuration file must be included in the ORACLE_HOME/Apache/Apache/conf/oracle_apache.conf file which helps define the behavior of Oracle HTTP Server. Add the aliases using the following format:

Alias /OA_JAVA/ "$ORACLE_HOME/jlib/"
Alias /OA_MEDIA/ "$ORACLE_HOME/wf/java/oracle/apps/fnd/wf/icons/"
Alias /OA_DOC/ "$ORACLE_HOME/wf/doc/"

...
#
# Aliases: Add here as many aliases as you need (with no limit).
# The format is
# Alias fakename realname
#
...
Alias /OA_JAVA/ "/oracleas/jlib/"
Alias /OA_MEDIA/ "/oracleas/wf/java/oracle/apps/fnd/wf/icons/"
Alias /OA_DOC/ "/oracleas/wf/doc/"
...

Alias /OA_JAVA/ "ORACLE_HOME\jlib/"
Alias /OA_MEDIA/ "ORACLE_HOME\wf\java\oracle\apps\fnd\wf\icons/"
Alias /OA_DOC/ "ORACLE_HOME\wf\doc/"

...
#
# Aliases: Add here as many aliases as you need (with no limit).
# The format is
# Alias fakename realname
#
...
Alias /OA_JAVA/ "C:\oracleas\jlib/"
Alias /OA_MEDIA/ "C:\oracleas\wf\java\oracle\apps\fnd\wf\icons/"
Alias /OA_DOC/ "C:\oracleas\wf\doc/"
...

Ensure that you add a trailing slash to each alias name and physical directory path. After adding the aliases, restart Oracle HTTP Server.

How can I ensure that icons appear on Oracle Workflow pages?

If the icons on the Oracle Workflow Web pages appear as broken images, check the virtual directory mapping to the Oracle Workflow /OA_MEDIA/ icon area.

How can I access the online help for Oracle Workflow pages?

Before you can view the Oracle Workflow HTML help, you must extract the doc directory from the ORACLE_HOME\wf\wfdoc.zip file to your file system. Use an unzip utility to extract the doc directory into the wf directory. You need at least 7 Mb of free disk space to extract the zip file. After the extraction, you can optionally remove the zip file. Also, check the virtual directory mapping to the Oracle Workflow /OA_DOC/ documentation area.

You can now view the HTML help using a Web browser. Choose the Help button on any Oracle Workflow Web page to access the HTML help. You can also access any HTML help file directly by appending its virtual path to your Web listener base URL. The path for the contents page of the Oracle Workflow help is:

http://host:portID/OA_DOC/lang/wf/toc.htm

If you want to add custom help, you can replace the ORACLE_HOME/wf/doc/lang/wfcust/wfcust.htm placeholder file with your own help material. The HTM file that is the main entry point for your custom help must be named wfcust.htm and must contain an anchor named contents. Your custom help will be accessible through the Custom Help link on the contents page of the Oracle Workflow help, or you can access your custom help directly through the following path:

http://host:portID/OA_DOC/lang/wfcust/wfcust.htm

You can also view context-sensitive help for the Oracle Workflow Builder in Winhelp format by choosing Contents from the Help menu within the Oracle Workflow Builder.

How can I change Oracle Workflow configuration parameters after installation?

You can update your LDAP configuration parameters in the Global Workflow Preferences Web page. See: To Set Global Preferences for Standalone Oracle Workflow.

You can update the configuration parameters for the Workflow Notification Mailer using the notification mailer configuration wizard in Oracle Workflow Manager. If you installed Oracle Workflow along with Oracle Application Server, access Oracle Workflow Manager from the Oracle Enterprise Manager Application Server Control. If you installed Oracle Workflow along with Oracle Database, access Oracle Workflow Manager as part of the Oracle Enterprise Manager Database Control. For more information, see the Oracle Workflow Manager online help.

How can I access existing user information after integrating with Oracle Internet Directory?

If you upgrade a previous installation of Oracle Workflow, and you choose to integrate with Oracle Internet Directory for the first time, migrate your Oracle Workflow user information to Oracle Internet Directory. You must perform a one-time migration to enable single sign-on and single administration of your existing user information. Ensure that you migrate all the necessary data from the WF_LOCAL_ROLES table as well as any other tables in which you previously stored user information. After performing the migration, you should maintain your user information only through Oracle Internet Directory.

Oracle Internet Directory provides a migration tool called ldifmigrator. To use this tool, you must extract your user information from the database into an intermediate LDAP Data Interchange Format (LDIF) file, with substitution variables wherever necessary. The ldifmigrator tool converts the intermediate entries in the file to actual LDIF entries by replacing the variables based on arguments provided at runtime or information retrieved from the LDAP directory. The LDIF file produced by the ldifmigrator can then be uploaded into Oracle Internet Directory using Oracle Internet Directory bulk tools.

For more information about the ldifmigrator, the format required for the intermediate LDIF file, and Oracle Internet Directory bulk upload tools, see: Appendix A: Syntax for LDIF and Command-Line Tools, Oracle Internet Directory Administrator's Guide.

How can I load the DBMS_LDAP package?

The DBMS_LDAP package contains the functions and procedures that can be used to access data from LDAP servers and is required for LDAP synchronization. If you run the Oracle Universal Installer and the Oracle Workflow Configuration Assistant specifying LDAP values for Oracle Internet Directory integration, without having the DBMS_LDAP package installed in your database, you may encounter invalid packages after the Oracle Workflow Configuration Assistant completes. In this case, load the package manually by running the catldap.sql script located in the <ORACLE_HOME>/rdbms/admin directory. Run this script as the SYS user. For example, use the following command:

sqlplus "SYS/<SYS password> as sysdba" @$ORACLE_HOME/rdbms/admin/catldap.sql

After loading DBMS_LDAP, recompile the Oracle Workflow schema. See: Oracle Database Supplied PL/SQL Packages and Types Reference.

How can I give database users access to the Oracle Workflow Web pages?

Grant database users the wf_plsql_ui database role to provide them with privileges to access the Oracle Workflow Web pages. See: Integrating Oracle Workflow Directory Services with Oracle Database Users.

How can I change my directory service implementation after installation?

If you no longer want to use the type of directory service you chose during installation, you can change your directory service implementation after the initial installation and configuration are complete.

arrow icon   To convert from Oracle Database users to Oracle Internet Directory:

	desc DBMS_LDAP

	sqlplus "SYS/<SYS password> as sysdba" 
@$ORACLE_HOME/rdbms/admin/catldap.sql

	sqlplus owf_mgr/<passwd> @$ORACLE_HOME/wf/sql/wfdircsv.sql

 	sqlplus owf_mgr/<passwd> @$ORACLE_HOME/wf/sql/wfsecssb.sql

	<Location /pls/your_Workflow_DAD>
require valid-user
authType Basic
</Location>

	declare
res boolean := FALSE;
begin

res := wf_ldap.synch_all();
if (res) then
dbms_output.put_line('succeeded');
else
dbms_output.put_line('failed ');
end if;
end;
/

arrow icon   To convert from Oracle Internet Directory to Oracle Database users:

 	sqlplus owf_mgr/<passwd> @$ORACLE_HOME/wf/sql/wfdirouv.sql

	sqlplus owf_mgr/<passwd> @$ORACLE_HOME/wf/sql/wfsecwsb.sql

How can I access the Oracle Workflow demonstration users?

When you install Oracle Workflow and its demonstration workflow processes, you also install a demonstration data model that seeds a set of demonstration users in the directory service. The users are sysadmin, wfadmin, blewis, cdouglas, kwalker, and spierson. Their passwords are the same as their usernames.

For security reasons, the installation process automatically locks the demonstration user accounts after they are created. Before you can begin using the accounts, you must unlock them using a script called wfdemoul.sql. This script is located in the ORACLE_HOME/wf/demo directory. Connect to the SYSTEM database account using SQL*Plus and run the script using the following command:

sqlplus SYSTEM/<SYSTEM pwd> @wfdemoul

See your Oracle DBA if you need more information about the SYSTEM account and password.

How can I enable custom packages in the Oracle Workflow DAD?

If you create custom PL/SQL packages for Web pages that you want to display through the Oracle Workflow Database Access Descriptor (DAD), you must add your custom packages to the list of valid Web packages maintained in the WF_WEB_CONFIG package. Edit the wfwbcfgb.pls file in the $ORACLE_HOME/wf/sql directory to add your packages to the g_packages list. Enter the package names at the end of the list, in upper case, between single quotation marks.

How can I ensure that propagation is executed for Business Event System queues?

Oracle Workflow leverages Oracle Advanced Queuing, which requires job queue processes to handle message propagation. The minimum recommended number of processes for Oracle Workflow is ten. If you schedule propagation for your Business Event System queues but no processes are being allocated to execute the propagation, you may need to increase the JOB_QUEUE_PROCESSES database initialization parameter to ensure the processes are available for propgation. Use Oracle Workflow Manager to check the setting of the JOB_QUEUE_PROCESSES parameter for your instance.

How can I manually register files for an Oracle Workflow client installation?

In some cases you may see the following error message while installing Oracle Workflow client components: "Error encountered when registering filename, please run regsvr32.exe manually to register this file after the installation completes". For example, you may see this error for the wfnvg.ocx file.

If you encounter this error, close the error message and proceed with the installation. After the installation is complete, register the specified file manually by running the following command from a DOS prompt:

regsvr32 path\filename  

Replace path with the path to the file and filename with the name of the file to register. The wfnvg.ocx file is normally located in the ORACLE_HOME\bin directory.

How can I modify the font in Oracle Workflow Builder?

If you install the Oracle Workflow Builder in another language such as Japanese, you can modify the font used by the windows in the Oracle Workflow Builder to a font that is appropriate for your language. For example, when using the Oracle Workflow Builder in Japanese, you might choose the font MS PGothic. Any change you make applies to all windows within the program. See: Modifying Fonts in Oracle Workflow Builder, Oracle Workflow Developer's Guide.


         Previous  Next          Contents  Index  Glossary



Oracle Logo
Copyright © 2003, 2004, Oracle. All rights reserved.