Professional Documents
Culture Documents
OpenText AppWorks Platform 22.1 Troubleshooting Guide
OpenText AppWorks Platform 22.1 Troubleshooting Guide
Troubleshooting Guide
Release 22.1
This documentation has been created for software version OpenText™ AppWorks
Platform CE 22.1.
It is also valid for subsequent software releases unless OpenText has made newer
documentation available with the product, on an OpenText website, or by any other means.
Open Text Corporation
275 Frank Tompa Drive, Waterloo, Ontario, Canada, N2L 0A1
Tel: +1-519-888-7111
Toll Free Canada/USA: 1-800-499-6544 | International: +800-4996-5440
Fax: +1-519-888-0677
Support: https://support.opentext.com
For more information, visit http://www.opentext.com
Copyright © 2022 Open Text. All Rights Reserved.
Trademarks owned by Open Text.
One or more patents may cover this product. For more information, please visit
https://www.opentext.com/patents
Disclaimer
No Warranties and Limitation of Liability
Every effort has been made to ensure the accuracy of the features and techniques presented
in this publication. However, Open Text Corporation and its affiliates accept no responsibility
and offer no warranty whether expressed or implied, for the accuracy of this publication.
Last updated: 12/27/2021
Table of Contents
Chapter 1 Introduction 7
Audience 7
Chapter 2 Installation issues 8
AppWorks Platform installer issues 8
Security certificates are not generated 8
Password reset has failed 9
Key store and trust store are not generated 10
Incorrect user credentials causing an LDAP error 11
Incorrect port number 11
Installation errors 12
Installation fails with TomEE 7 12
Errors while loading applications 13
Application loading – ORA-12519 13
Credentials requested repeatedly during installation on a secondary or
distributed computer in a cluster 13
Exception while resolving the artifact 13
Out of virtual memory 14
Loading large CAP files results in an error 14
Application loading: Exception occurs while deploying the Business Activity
Monitoring package 14
Application loading: Error while loading the application using the network load
balancer URL 15
Null pointer exception after Oracle server restart 15
Application Package loading or upgrading errors 15
Script error while loading application packages 15
MySQL error while loading application packages 15
iii
Loading failure – XDS client failed to create 16
Errors in Explorer 16
Explorer – User not authenticated in AppWorks Platform 16
Server communication failure 16
Server communication failure 17
Error while installing or upgrading AppWorks Platform 17
Timeout error while installing or upgrading large packages 18
Unable to find jvm.dll in the JRE client or Java unresponsive with the Oracle
native client 18
Installer is unable to select the correct Java version 19
AppWorks Platform service does not start in the daemon mode 19
Timeout issue when deploying application packages during the AppWorks
Platform upgrade 20
Chapter 3 Post installation issues 21
WS-AppServer 21
Rule Explorer - Page Not Found 21
Exception when starting the WS-AppServer service container 21
Unable to insert a record into a table having an auto identity field as the primary
key and insert trigger defined on the table 21
Issues with AppWorks Platform monitor service container 22
AppWorks Platform monitor service container is unable to start 22
AppWorks Platform monitor service container is unable to start in a distributed
computer 23
Starting and stopping AppWorks Platform 25
AppWorks Platform is unable to start 25
AppWorks Platform monitor service container is unable to start in a distributed
computer 26
Error 193 0xc1- Could not start OpenText CARS 26
Status of one of the AppWorks Platform monitor service container does not
appear in the System Resource Manager and Management Console 27
Errors in monitor log file 27
Configuration or uninstallation issues 27
Unable to open AppWorks Administation for a non-system organization 27
Data synchronization fails when the primary key has nchar() data type 28
Errors occur when creating organizational units 28
iv
Communication link failure TCP Provider 29
Documentation – Documentation icon is not appearing 29
AppWorks Platform Email service does not start 29
Web services for large database are not generated if AppWorks Platform is
installed on MySQL 30
Delay in process execution in Internet Explorer 30
Out of memory exceptions 31
Event service is unable to connect to the server 31
Java Virtual Machine (JVM) stops responding 31
Unable to start service containers on Linux 32
Unable to connect to LDAP using the Management Console 32
Missing documents related to translation 32
NOM initialization issue 33
Repository service container does not start in a cluster 33
MDM publisher service containers are unable to start 34
Working with CWS in AppWorks Platform becomes very slow and many
operations are timing out 34
Unable to generate Web services on tables or columns whose names contain
multibyte alphanumeric characters 34
Document service container is unable to start when configured with Content
Management Information Systems or Archive Center using Web service binding 35
Response not received in time 35
Unable to connect to the database when XA is enabled 36
Unable to start service containers configured with Oracle on Linux 36
Unable to reload database metadata when the database configuration is modified
for WS-AppServer 36
When an application package installation fails, Platform, BPM and Notification
service containers are not moved inside TomEE 37
AppWorks Platform - Process Intelligence replication encountered an exception 37
Application package deployment fails during upgrade 38
Out of virtual memory errors 38
Unable to push the AD synced partition from OTDS into AppWorks Platform 38
Service container restart issues 39
Retrieval of AppWorks Platform user interfaces (.caf files) 39
Response not received in time error 39
v
Errors in the Incognito mode of the Google Chrome browser 40
vi
Chapter 1 Introduction
Chapter 1
Introduction
The AppWorks Platform Troubleshooting Guide helps troubleshoot issues that might arise
during AppWorks Platform installation or configuration. If the issue is related to AppWorks
Platform installation, contact Support and provide the installation log files <AppWorks
Platform Version> Installation.log and AppWorks Platform <version>_<build>_
debug.log available in the <AppWorks Platform_installdir>/install_log directory.
Audience
The AppWorks Platform Troubleshooting Guide is written for administrators or users to
troubleshoot the issues that arise during installation or while using AppWorks Platform 22.1.
Troubleshooting Guide 7
Chapter 2 Installation issues
Chapter 2
Installation issues
This chapter lists the frequently encountered issues during AppWorks Platform installation
and describes the possible solutions.
Note: AppWorks Platform_server_1 and bcp_server_1 are used as sample server
names in this chapter.
The installation logs are available at <AppWorks Platform_installdir>/install_log.
However, if the installation aborts, the debug log is available in the AppWorks Platform_
custom_log.log file at:
Linux /tmp
n Open the command prompt to <AppWorks Platform_installdir> and run the following
commands:
n Open the command prompt to <AppWorks Platform_installdir> and run the following
commands:
8 Troubleshooting Guide
Chapter 2 Installation issues
CORDYS_HOME=<AppWorks Platform_installdir>
JAVA_HOME=$JAVA_HOME
PATH=<AppWorks Platform_installdir>/bin:$JAVA_HOME/bin:$PATH
CLASSPATH=<AppWorks Platform_installdir>/cordyscp.jar:$CLASSPATH
LD_LIBRARY_PATH=$CORDYS_HOME/lib:$JAVA_HOME/lib:$JAVA_HOME/lib/amd64:$JAVA_
HOME/lib/amd64/server:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
export PATH
export CLASSPATH
java -DCORDYS_INSTALL_DIR="<AppWorks Platform_installdir>"
com.cordys.installer.PostInstallationHook generate_keystore
n Open the command prompt to <AppWorks Platform_installdir> and run the following
commands:
n Open the command prompt to <AppWorks Platform_installdir> and run the following
commands:
CORDYS_HOME=<AppWorks Platform_installdir>
JAVA_HOME=$JAVA_HOME
PATH=<AppWorks Platform_installdir>/bin:$JAVA_HOME/bin:$PATH
CLASSPATH=<AppWorks Platform_installdir>/cordyscp.jar:$CLASSPATH
LD_LIBRARY_PATH=$CORDYS_HOME/lib:$JAVA_HOME/lib:$JAVA_HOME/lib/amd64:$JAVA_
HOME/lib/amd64/server:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
export PATH
Troubleshooting Guide 9
Chapter 2 Installation issues
export CLASSPATH
java -DCORDYS_INSTALL_DIR="<AppWorks Platform_installdir>"
com.cordys.installer.PostInstallationHook set_password "<SAML_USER_NAME>" "<SAML_
PASSWORD>"
1. Create the keystore file for AppWorks Platform with a self-signed certificate.
a. To generate the key and key store, run this command from the command prompt:
keytool-genkey -keysize 1024 -keyalg RSA -alias <name> -dname
"CN=<hostname> < hostname >" -validity 1825 -keystore KeyStore.jks -
keypass <keypassword>
10 Troubleshooting Guide
Chapter 2 Installation issues
Note: Where <hostname> is the server's fully qualified domain name and
<truststorepassword> is the password for trust store.
3. Configure the key store and trust store for AppWorks Platform.
a. Generate the Base 64 encoded password.
b. Open the command line and type:
cd <OpenText CARS_installdir>\binEncodePassword <password>
Note the encoded password and use it for filling bus.ssl.
keystorepassword/bus.ssl.truststorepassword in wcp.properties.
c. Configure the key store and trust store in AppWorks Platform by modifying these
attributes in the wcp.properties file:
n bus.ldap.processor.ssl=true
n bus.ssl.keystore=<AppWorks Platform_installdir>
\certificates\keystore\keystore.jks
n bus.ssl.keystorepassword=<base64 encoded password>
n bus.ssl.truststore=<AppWorks Platform_installdir>
\certificates\truststore\truststore.jks
n bus.ssl.truststorepassword=<base64 encoded password>
n Could not connect to the LDAP server: Verify that the LDAP Host, port, or SSL
option (check box) are correct. If yes, verify that SSL is enabled.
n Invalid Credentials: Verify that the user name and password are correct.
n No such object: Verify that the suffix for the LDAP server is correct.
1. The database instance name is not provided. Type the name in the <computer_
name\instance name> format.
The instance name is in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL
Troubleshooting Guide 11
Chapter 2 Installation issues
The TCP/IP port value displayed in IPAll provides the correct database port option.
c. Type the correct port number.
Installation errors
Note: This issue is specific to Windows.
Problem description: The baseline installation completes and a message is displayed:
The installation is successful, but some serious errors occurred. Refer to the installation log.
Solution: The NTEventLogAppender.dll might not be replaced by the installer. Verify the
installation log at <AppWorks Platform_installdir> -> Install_Log -> <AppWorks
Platform version> installation.log . If the .dll file is not replaced, perform these
steps:
1. Stop TomEE.
2. Copy the file from the temp folder to <AppWorks Platform_installdir>\lib>.
3. Restart TomEE.
12 Troubleshooting Guide
Chapter 2 Installation issues
1. The Application loader page opens after baseline installation with AppWorks Platform
Authentication.
2. Sign-in AppWorks Platform configured with AppWorks Platform Authentication.
Solution: An incorrect cookie that is not recognized by AppWorks Platform must be in the
browser's cache. Clear the cache and repeat the process.
Troubleshooting Guide 13
Chapter 2 Installation issues
1. Increase the virtual memory allocation for XML operations using NOM and increase the
JVM memory for the CAP service container by adding these properties in its JRE
configuration:
n -Dbus.xml.vm.maxsize=<SIZE_IN_MB>. For example,
-Dbus.xml.vm.maxsize=2048
14 Troubleshooting Guide
Chapter 2 Installation issues
n MS SQL: BAM_MSSQL_DROP.sql
n Oracle: BAM_ORACLE_DROP.sql
n MySQL: BAM_MYSQL_DROP.sql
After deleting the database content, enable Create Database Tables, and then redeploy
the package.
Troubleshooting Guide 15
Chapter 2 Installation issues
n Move the MySQL temp folder from system temp to another folder by adding
tmpdir=<tempfolder path> in my.ini (for Windows) or my.cnf (for Linux) files.
n Ensure that the user has write permission to that folder.
n Exclude the folder from the anti-virus scan.
For more information, see http://dev.mysql.com/doc/refman/5.6/en/cannot-
create.html.
Errors in Explorer
This section lists the problems you might encounter while opening Explorer.
16 Troubleshooting Guide
Chapter 2 Installation issues
If the TomEE service does not start, open Management Console. Verify whether
cn=licinfo,cn=cordys,cn=<instance-name>,o=<…> exists in LDAP and that it contains
a license key.
If not, obtain a license key and configure it in the LDAP server.
n If the problem persists, verify whether the folders containing thejava and libjvm.so
files exist in the LD_LIBRARY_PATH environment variable in the <AppWorks Platform_
installdir>/WCP/bin/wcpenv .sh file. If not, include those folders in the LD_
LIBRARY_PATH and restart TomEE.
n If AppWorks Platform does not start, open Management Console. Verify whether
cn=licinfo,cn=cordys,cn=<instance-name>,o=<…> exists in LDAP and that it contains
a license key.
Troubleshooting Guide 17
Chapter 2 Installation issues
computer name to resolve in the FQDN format. Contact your network administrator for
more information.
Problem description: Unable to proceed with the upgrade of AppWorks Platform
installation and a message is displayed:
Unable to start the service container.
Solution: The upgrade process fails in these cases:
1. Before starting the upgrade process, stop the service container and change the Startup
Type to Manual.
2. From Management Console > Content Management, go to 'system/soap
nodes/<service group>/<service container>' and set the automatic start of the
service container to false.
3. Restart the TomEE service.
18 Troubleshooting Guide
Chapter 2 Installation issues
installed on the server. For example, if first Java 6 is installed and later Java 7 is also
installed. The CurrentVersion attribute at Windows registry key HKEY_LOCAL_
MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment is changed while installing a
new Java release.
Solution: For a Windows 64-bit computer, ensure that the registry entry of the Java JRE
installation is correct.
For example:
./OpenText_Cordys_10.7.bin LAX_VM '/usr/java/jdk1.8.0_65/bin/java'
Troubleshooting Guide 19
Chapter 2 Installation issues
As part of the AppWorks Platform upgrade, the latest JAR files are copied to the AppWorks
Platform installation directory, but some of the the WAR files are old because they are
deployed at a later stage of the upgrade. Therefore, such WAR files can be in an error state.
During the upgrade process, TomEE is expected to automatically recover from the error
state when the new WAR files are deployed by the upgrade. In specific scenarios, it is
observed that TomEE is unable to recover and the upgrade process fails.
Solution: Restart the TomEE service to proceed with the AppWorks Platform upgrade.
20 Troubleshooting Guide
Chapter 3 Post installation issues
Chapter 3
Post installation issues
This section lists some problems that might arise while working with AppWorks Platform.
WS-AppServer
This section provides solutions for the problems that might occur in WS-AppServer.
Troubleshooting Guide 21
Chapter 3 Post installation issues
Solution: WS-AppServer internally uses the configured JDBC driver (Microsoft SQL server
JDBC driver for SQL server) to perform database operations and uses JDBC APIs to retrieve
the generated values in case of auto identity fields. The JDBC API cannot retrieve the auto
identity values if the insert trigger is defined on the table with auto identity fields.
To resolve this issue:
n Modify the trigger to add SET NOCOUNT ON at the beginning of the trigger. For example:
n Use reply="no" in the update request. When reply="no" is set in the <Update> tag,
the WS-AppServer layer does not retrieve the generated values.
1. Go to Start -> All Programs -> <AppWorks Platform version> -> <Instance
Name> -> Tools.
2. Launch the Management Console from the menu.
3. Ensure that you have a valid license key in the LDAP server.
4. Close the Management Console.
22 Troubleshooting Guide
Chapter 3 Post installation issues
Note: If the exception "Unable to open Inbound Queue. Address already in use" is
displayed, perform these steps:
n In Management Console > Content Management, navigate to
LDAP Root > cn=cordys > o=system > cn=soap nodes > <Service Group> >
<Service Container> > <Connection Point>.
n Double-click labeleduri and change the connection point port number.
6. Click Monitor Service Containers to view if all the service containers (importantly
Monitor, LDAP, XML Store, Event service, and Java call) have started. Start the service
containers that are not running.
Note:
If a service container status displays a connection error, perform these steps:
a. In Management Console > Content Management, navigate to:
LDAP Root -> cn=cordys -> o=system -> cn=soap nodes -> <Service Group>
-> <Service Container> -> <Connection Point>
b. Double-click labeleduri and change the connection point port number.
c. Click Monitor Service Containers and verify the status.
Troubleshooting Guide 23
Chapter 3 Post installation issues
2. Based on the number of hops, set the ttl property in all computers (primary and
distributed):
a. Go to Management Console > Properties.
b. Add the property: bus.network.udp.ttl = <no of hops>.
24 Troubleshooting Guide
Chapter 3 Post installation issues
2. Based on the number of hops, set the ttl property in all computers (primary and
distributed):
a. Open Management Console > Properties.
b. Add the property:bus.network.udp.ttl = <no of hops>.
Troubleshooting Guide 25
Chapter 3 Post installation issues
2. Ensure that you have a valid license key in the LDAP server.
3. Close Management Console.
4. Open another session of the console.
5. Stop TomEE service.
6. Stop the processes that are running in the TomEE service user context.
n The distributed computer might not be reachable from the primary computer.
n The ports might be blocked by a firewall on the distributed computer.
1. Add the distributed computer details to the /etc/hosts file if LAN DNS is not available.
2. Open all ports used by AppWorks Platform in the distributed computer or disable the
firewall if opening the ports is not possible.
26 Troubleshooting Guide
Chapter 3 Post installation issues
-XX:PermSize=<value>.
4. Restart the monitor service.
Troubleshooting Guide 27
Chapter 3 Post installation issues
Note: If all the statements are not applied to the database and there are pending
statements, they appear again in the Pending database statements panel when the
Statements have been applied button is clicked. To clear the panel, apply all the
listed statements completely and then click Statements have been applied.
28 Troubleshooting Guide
Chapter 3 Post installation issues
Both Notification and Business Process Management service containers starts running inside
TomEE.
Troubleshooting Guide 29
Chapter 3 Post installation issues
Solution: The anti-virus program running on your computer might prevent the service from
starting.
Disable the anti-virus program, start the email service, and then enable the anti-virus
program.
30 Troubleshooting Guide
Chapter 3 Post installation issues
n Restart the Internet Explorer browser and delete temporary data in the browser to
save the changes.
Note: Modifying the registry entry for MaxScriptStatements affects non-AppWorks
Platform browsing in Internet Explorer.
Troubleshooting Guide 31
Chapter 3 Post installation issues
Solution: This issue can occur if the memory usage is high and the operating system is
unable to meet the memory requirement. Ensure that the number of NOM, XPath, and XSLT
objects created are kept to a minimum. Enforce garbage collection of these objects by using
System.gc () in the code.
Note:
32 Troubleshooting Guide
Chapter 3 Post installation issues
n Manually deleting the translation related documents from the sync folder.
n Moving the documents, such as XForms and BPM from one project to another project,
and deleting the source project.
To resolve this issue, reconstruct the missing translations. See the Reconstructing
Missing Translations topic in the help ( ) accessible from the shortcut bar on the
AppWorks Platform user interface.
2. Update the values for <ipAddress> and <portNo>. The <ipAddress> maps to the
current computer name and <portNo> maps to an unused free port captured within the
specified port range. Use these utility APIs in a standalone Java application to capture
these values.
Troubleshooting Guide 33
Chapter 3 Post installation issues
1. Identify the database configuration used by the corresponding service container. If the
JDBC connection string contains sendStringParametersAsUnicode=false, remove the
string or convert it to sendStringParametersAsUnicode=true.
2. Restart all the MDM related service containers.
1. Identify the database configuration used by the CWS service container and verify that
the JDBC connection string contains sendStringParametersAsUnicode=false or add
sendStringParametersAsUnicode=false to the connection string.
2. Restart all the CWS service containers.
34 Troubleshooting Guide
Chapter 3 Post installation issues
Troubleshooting Guide 35
Chapter 3 Post installation issues
36 Troubleshooting Guide
Chapter 3 Post installation issues
Note: Reload database metadata option works when the table schema is modified, for
example, when a new column is added or when a data type is changed.
3. Right-click the desired search result (CreateOSProcess), and then click Test.
Troubleshooting Guide 37
Chapter 3 Post installation issues
Note: If the SQL Server Agent is down, events are stored and sent to Process Intelligence
only after the agent is up.
n Increase the timeout - Add the following properties to the wcp.properties file:
com.eibus.web.gateway.timeout=1600000
bus.bdf.manager.timeout=1600000
Dbus.xml.vm.maxsize=512
n Set ALLOW_PAGE_LOCKS to OFF for all the indexes, including the primary key index of the
O<OrganizationNumber> OpenTextEntityIdentityComponentsIdentity table.
n Use the following command to set ALLOW_PAGE_LOCKS to OFF:
38 Troubleshooting Guide
Chapter 3 Post installation issues
3. View properties of the Task Service Connector, which is by default a part of the
Repository service container.
This results in an increase in the number of objects in the memory. Therefore, also consider
increasing the Java Heap size and NOM Memory for the Repository service container.
<log4j:event logger="com.eibus.applicationconnector.sql.XQYLogger"
timestamp="1509769680172" level="ERROR" thread="Problem resolver thread">
<log4j:message><![CDATA[Error occurred while connecting to the database
server. org.apache.tomcat.jdbc.pool.PoolExhaustedException:[Problem
resolver thread] Timeout: Pool empty. Unable to fetch a connection in 30
Troubleshooting Guide 39
Chapter 3 Post installation issues
Solution: Increase the number of database connections in the pool. The default size of the
pool is 100.
To increase the connections in the pool:
40 Troubleshooting Guide