0% found this document useful (1 vote)
1K views153 pages

OmniDocs 10.1 Service Administration Guide

Uploaded by

cuthbert
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
1K views153 pages

OmniDocs 10.1 Service Administration Guide

Uploaded by

cuthbert
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 153

OMNIDOCS 10.

1
SERVICE ADMINISTRATION

ADMIN GUIDE

Newgen Software Technologies Ltd


A-6, Satsang Vihar Marg, Qutab Institutional Area
New Delhi - 110067, INDIA
Tel: 91-11-40770100, 26964733, 26963571
Fax: +91-11-26856936
E-mail: [email protected]

August - 2019
Disclaimer
This document contains information proprietary to Newgen Software Technologies Limited. User
may not disclose or use any proprietary information or use any part of this document without
written permission from Newgen Software Technologies Limited.
Newgen Software Technologies Limited makes no representations or warranties regarding any
software or to the contents or use of this manual. It also specifically disclaims any express or
implied warranties of merchantability, title, or fitness for any particular purpose. Even though
Newgen Software Technologies Limited has tested the hardware and software and reviewed the
documentation, it does not guarantee or imply that this document is error free or accurate
regarding any particular specification. As a result, this product is sold as it is and user, the
purchaser, is assuming the entire risk as to its quality and performance. Further, Newgen Software
Technologies Limited reserves the right to revise this publication and make changes in its content
without any obligation to notify any person, of such revisions or changes. Newgen Software
Technologies Limited authorizes no Newgen agent, dealer or employee to make any modification,
extension, or addition to the above statements.

Newgen Software Technologies Limited has attempted to supply trademark information about
company names, products, and services mentioned in this document.

Copyright © 2019 Newgen Software Technologies Ltd. All Rights Reserved.

No part of this publication may be reproduced and distributed without the prior permission of:

Newgen Software Technologies Limited,

A-6, Satsang Vihar Marg, Qutab Institutional Area,

New Delhi - 110067

INDIA

OmniDocs 10.1 Service Administrator Admin Guide Page 2


TABLE OF CONTENTS
About OmniDocs Service Administration Admin Guide ................................................................................. 5
1 Introduction ........................................................................................................................................... 6
2 OmniDocs Service Administration .......................................................................................................... 8
2.1 Getting Started ................................................................................................................................................. 9
2.1.1 Registering a Server .................................................................................................................................... 11
2.1.2 Connecting to the Server ............................................................................................................................ 14
2.1.3 Managing the Server................................................................................................................................... 14
2.1.4 SMS Server Operations ............................................................................................................................... 15
2.1.5 Adding Label ............................................................................................................................................... 19
2.1.6 Removing Label .......................................................................................................................................... 20
2.1.7 Changing the Label ..................................................................................................................................... 22
2.2 JTS Server Operations ..................................................................................................................................... 24
2.2.1 Registering JTS server ................................................................................................................................. 25
2.2.2 Connecting OSA to JTS ................................................................................................................................ 26
2.2.3 Managing JTS.............................................................................................................................................. 27
2.2.4 Editing JTS Properties.................................................................................................................................. 29
2.2.5 Creating a Cabinet ...................................................................................................................................... 37
2.2.6 Creating a MSSQL Database Cabinet ........................................................................................................... 39
2.2.7 Creating Oracle Database Cabinet ............................................................................................................... 66
2.2.8 Creating a PostgreSQL Database Cabinet..................................................................................................... 78
2.2.9 Creating a Microsoft Azure Database Cabinet.............................................................................................. 80
2.2.10 Associating a Cabinet .............................................................................................................................. 81
2.2.11 Disassociating a Cabinet ......................................................................................................................... 97
2.2.12 Upgrading cabinet .................................................................................................................................. 98
2.3 Viewing Properties of the Cabinet ..................................................................................................................102
2.4 Testing the cabinet ........................................................................................................................................107
2.5 Viewing Locks ................................................................................................................................................107
2.6 Viewing Users ................................................................................................................................................114
2.7 Ways of Logging .............................................................................................................................................116
2.7.1 Login as System .........................................................................................................................................116
2.7.2 Login as Supervisor ....................................................................................................................................117
2.8 Thumbnail Manager Operations.....................................................................................................................117
2.8.1 Adding a Cabinet .......................................................................................................................................121
2.8.2 Removing Cabinet......................................................................................................................................122

OmniDocs 10.1 Service Administrator Admin Guide Page 3


2.8.3 Changing the Cabinet property ..................................................................................................................123
2.9 Alarm Mailer Operations................................................................................................................................124
2.9.1 Adding a Cabinet .......................................................................................................................................126
2.9.2 Removing Cabinet......................................................................................................................................127
2.9.3 Changing the Cabinet property ..................................................................................................................128
2.10 Menu Options................................................................................................................................................128
2.10.1 Server Menu..........................................................................................................................................128
2.10.2 JTS Menu...............................................................................................................................................129
2.10.3 SMS Menu .............................................................................................................................................130
2.11 Change Password...........................................................................................................................................130
3 Call Interception Architecture ............................................................................................................ 132
3.1 Classes and Components Required for Hook Implementation .........................................................................133
3.1.1 Steps for Deploying User’s Hook Implementation.......................................................................................136
4 Configuration File Management Architecture .................................................................................... 138
4.1 Introduction to OmniDocs Configuration File Management Architecture ........................................................139
4.2 Managing OmniDocs Configurations ..............................................................................................................140
4.2.1 Omni_Configurations.xml ..........................................................................................................................140
5 Component Integration Framework ................................................................................................... 142
5.1 Component Integration Framework for Web Module .....................................................................................143
5.2 Component Integration Framework for Backend Module ...............................................................................146
5.2.1 Introduction to OmniDocs Integration Framework .....................................................................................146
6 Glossary ............................................................................................................................................. 150

OmniDocs 10.1 Service Administrator Admin Guide Page 4


About OmniDocs Service Administration Admin Guide
OmniDocs Service Administration (OSA) is used for remote administration of the Java Transaction
Server (JTS), Storage Management Server (SMS) and LDAP service, Alarm Mailer, Thumbnail
Manager and Listener. The chapters of this Admin guide are:-

Chapter 1 Introduction: This chapter discusses about the overview of OmniDocs.


Chapter 2 OmniDocs Service This chapter discusses about remote administration of JTS, SMS, LDAP Service, Alarm
Administration: Mailer, Thumbnail Manager and Listener.
Chapter 3 Call Interception This chapter discusses about how to intercept and extend OmniDocs API.
Architecture:
Chapter 4 Configuration File This chapter discusses about OmniDocs Configuration File Management Architecture.
Management Architecture:
Chapter 5 Component This chapter discusses about Component Integration Framework for Web Module and
Integration Framework: Component Integration Framework for Backend Module.
Glossary This chapter contains an alphabetical list of technical words with explanations.

OmniDocs 10.1 Service Administrator Admin Guide Page 5


Chapter

1
1 Introduction

This chapter consists of:-

 OmniDocs Overview

OmniDocs 10.1 Service Administrator Admin Guide Page 6


Introduction to OmniDocs
OmniDocs is an Enterprise Document Management platform for creating, capturing, managing,
delivering and archiving large volumes of documents. It provides highly scalable, unified repository
for securely storing and managing the documents in an enterprise. It provides access to enterprise
documents directly and through integration with business applications.

OmniDocs offers a centralized repository for enterprise documents and supports rights-based
archival. It manages the complete lifecycle of documents through record retention, storage and
retrieval policies. It also supports exhaustive document and folder searches based on date, indexes
and general parameters as well as Full Text Search (FTS) on image and electronic documents.

The very basic operation of the system is to access documents from a remote site and working on
them, without archival and retrieval hassles. In an enterprise-wide scenario, the Document
Management System (DMS) can be centralized with the robust and efficient “OmniDocs”. Further,
this DMS can also be accessed from any part of the world through OmniDocs Web.

OmniDocs 10.1 Service Administrator Admin Guide Page 7


Chapter

2
2 OmniDocs Service
Administration

This chapter consists of:-

 OSA Overview  Viewing Users


 Getting Started  Ways of Logging
 JTS Server Operations  Thumbnail Manager Operations
 Viewing Properties of the Cabinet  Alarm Mailer Operations
 Testing the Cabinet  Menu Options
 Viewing Locks  Change Password

OmniDocs 10.1 Service Administrator Admin Guide Page 8


OmniDocs Service Administration
The OmniDocs Service Administration (OSA) is used for remote administration of the Java
Transaction Server (JTS), Storage Management Server (SMS) and LDAP service, Alarm Mailer,
Thumbnail Manager and Listener.
The JTS, SMS and Listener listen on a port called the Admin Port in addition to the client ports (for
OmniDocs client’s request). The OSA manages these servers by connecting to their Admin port.
LDAP Service, Alarm Mailer and the Thumbnail Manager do not have the additional Admin Port and
hence these services can be managed on the local computer where the OSA is installed.

2.1 Getting Started


To login into OmniDocs Service Administration module:
1. Start the OmniDocs Service Administration module.
2. When the application is launched, the Login dialog box is invoked.

Figure 2.1

3. Select the username from the User dropdown list.

Figure 2.2

4. Specify the password in the Password textbox.

OmniDocs 10.1 Service Administrator Admin Guide Page 9


5. Click OK button to login. You can click Cancel button to exit from the application at any stage.
6. On clicking OK, OSA screen is invoked displaying the list of all registered servers.

Figure 2.3

There are no registered servers when the screen is invoked for the first time. The sequences of
steps to register the servers are:
1. Register the server.
2. Connect to the specific server (applicable only for JTS, SMS and Listener)
3. Once the OSA (OmniDocs Service Administration) is connected with the server various
operations like, Start, Stop and Manage can be performed on the selected server.

OmniDocs 10.1 Service Administrator Admin Guide Page 10


NOTE:
The OSA has to be first disconnected from the server and only then it can be unregistered (applicable only for JTS, SMS
and Listener).
For LDAP service, Alarm Mailer and Thumbnail manager, there is no need to connect to these services. These services
can be directly managed on the host machine

2.1.1 Registering a Server


To register a server
1. Click the Register button.
2. The Register New Server dialog box is invoked.

Figure 2.4

(Similar dialog applicable to SMS and Listener service also)

Figure 2.5

(Similar dialog applicable to Thumbnail Manager and LDAP service also)


3. Select the type of the server from the Server Type dropdown list. It can be:-

OmniDocs 10.1 Service Administrator Admin Guide Page 11


4. Specify the IP address of the server in the IP Address textbox.
5. Specify the Admin Port in the Admin Port textbox (applicable only for JTS, SMS and Listener).
6. Specify the path of the INI file of the service in the Ini Path textbox. The path can also be
specified by clicking the ‘…’ button, which opens a file open dialog box from where the required
INI File can be selected (this is applicable only for Alarm Mailer, Thumbnail Manager and LDAP
service).

NOTE:
Once the server is registered it is displayed in the list and is in a disconnected state (applicable only for JTS and SMS).

7. A filter can be performed on the server (Alarm Mailer, JTS, LDAP, Listener, SMS and Thumbnail
Manager).

OmniDocs 10.1 Service Administrator Admin Guide Page 12


Figure 2.6

8. Select All option from Select Service dropdown list, to display all the servers.
9. Select JTS option from Select Service dropdown list, to display only the JTS servers on the list.
10. Select Alarm Mailer option from Select Service dropdown list, to display only the Alarm Mailers
on the list.
11. Select LDAP option from Select Service dropdown list, to display only the LDAP services on the
list.
12. Select Listener option from Select Service dropdown list, to display only the Listeners on the
list.
13. Select Thumbnail Manager option from Select Service dropdown list, to display only the
Thumbnail managers on the list.
14. Select SMS option from Select Service dropdown list box, to display only the SMS servers on the
list.

OmniDocs 10.1 Service Administrator Admin Guide Page 13


2.1.2 Connecting to the Server
To connect to the server
1. Select the server from the Select Service list box.
2. Click the Connect button to connect the OSA with the selected server.

NOTE:
Once the OSA connects with a server the start / stop operations can be performed on that server from the server
screen.
Only JTS, SMS, and Listener services need to be connected to from the OSA for their management. The Alarm Mailer,
Thumbnail Manager and LDAP services are managed directly on the host machine and therefore there is no need to
connect to them.

2.1.3 Managing the Server


To perform operations other than start/stop, the server needs to be managed.
To manage the connected server:
1. Select the connected server from the list of registered servers.
2. Click the Manage button. An entry of the connected server along with its IP Address is displayed
on the Servers list box of the Repository view.

Figure 2.7

OmniDocs 10.1 Service Administrator Admin Guide Page 14


3. Select the SMS server from the list of servers in the Repository view.

Figure 2.8

NOTE:
Once a server is managed, all the server operations can be performed on it.

2.1.4 SMS Server Operations


To perform operations on the SMS server
1. Click the SMS server from the Servers list.
2. Server information such as the IP Address, Server Port, and the Admin Port are displayed.

OmniDocs 10.1 Service Administrator Admin Guide Page 15


Figure 2.9

3. Select the SMS server from the list of servers in the Repository view.
4. If you wish to stop SMS server operations then click the Stop button to stop the server.

Figure
2.10

NOTE:
Once the server is stopped, Start, Remove and Change buttons gets enabled.

OmniDocs 10.1 Service Administrator Admin Guide Page 16


Figure 2.11

5. Click the Disconnect button to disconnect directly from the SMS.


6. A Confirm message box is invoked prompting whether, or not, you wish to disconnect from the
SMS server.

Figure 2.12

 Click Yes button to disconnect from the connected server. Or,


 Click No button to stop the disconnection process.
7. Click Edit to edit the SMS Port.

NOTE:
Edit button is a toggle button, which changes to Update.

OmniDocs 10.1 Service Administrator Admin Guide Page 17


Figure 2.13

8. Make the required changes and click Update. A screen with updated information appears.

NOTE:
Clicking Update, updates the server port.

Figure 2.14

OmniDocs 10.1 Service Administrator Admin Guide Page 18


NOTE:
The status Mounted implies that the selected label exists on the specified directory path of the hard disk.

2.1.5 Adding Label


To add a label:
1. Visit the Server Information page.

Figure 2.15
2. Click the Add button.
3. The Add a Label dialog box is invoked.

Figure 2.16

OmniDocs 10.1 Service Administrator Admin Guide Page 19


4. Specify the location where the label has to be created in the Location of Media textbox.
5. Specify the name of the label in the SMS Volume Label Name textbox.
6. Select the option Create Directory to create the directory in the specified location.
7. Click the OK button to create the label at the specified location.
8. Or, Click the Cancel button to close the Add a Label dialog box.

NOTE:
If there exists no path as that specified in the Location of Media and the Create Directory option is not checked then
the specified label is not created.

Figure 2.17

2.1.6 Removing Label


To remove the label:
1. Visit the Server Information page.

NOTE:
To enable the option of "Remove" & "Change" stop the SMS server from OSA.

OmniDocs 10.1 Service Administrator Admin Guide Page 20


Figure 2.18

2. Select the label that needs to be removed from the list.


3. If label is running, click Stop, to stop the label.
4. Click Remove button.

NOTE:
A message box is promptings you to confirm whether you want to remove the selected label from the list.

Figure 2.19

5. Click Yes button to remove the selected label from the list.
6. Click No button to avoid the removing the selected label from the list.

OmniDocs 10.1 Service Administrator Admin Guide Page 21


2.1.7 Changing the Label
To change the label:
1. Visit the Server Information page.

Figure 2.20

2. Select the required label, which needs to be changed from the list.

OmniDocs 10.1 Service Administrator Admin Guide Page 22


Figure 2.21

3. If the label is running, then click Stop.


4. Click the Change button. Set Label Property dialog box is invoked.

Figure 2.22

5. The only editable mode is the Location of Media, which displays the location where the specific
label is located.
6. If you wish to change the path of the location of media, you do so by typing the path name in
the Location of Media textbox.

OmniDocs 10.1 Service Administrator Admin Guide Page 23


7. Click the OK button to close the Set Label Property dialog box and to save the changes made.
The following Confirm dialog box is evoked.
8. Click Yes to confirm, else, click No.

NOTE:
Click the Cancel button to quit from changing the label.

Figure 2.23

2.2 JTS Server Operations


To start operations on the JTS server
1. Select the JTS option from the Select Service dropdown list.
2. List of all registered JTS servers are displayed.

OmniDocs 10.1 Service Administrator Admin Guide Page 24


Figure 2.24

2.2.1 Registering JTS server


To register the JTS server
1. Click the Register button.
2. The Register dialog box is invoked.

Figure 2.25

3. Enter IP Address and Admin Port Details.


4. Click OK to register, else click Cancel.

OmniDocs 10.1 Service Administrator Admin Guide Page 25


NOTE:
Once the server is registered it is displayed in the list and is in a disconnected state.

2.2.2 Connecting OSA to JTS


To connect the JTS server:
1. Select the server that needs to be connected from the servers displayed on the list.

Figure 2.26

2. Click the Connect button. OSA gets connected with the JTS.

Figure 2.27

OmniDocs 10.1 Service Administrator Admin Guide Page 26


2.2.3 Managing JTS
Only when the JTS is managed, all the server operations (other than Start and Stop) can be
performed on it. To manage the connected server:
1. Select the connected server from the list of registered servers.
2. Click the Manage button.

Figure 2.28

3. An entry of the connected server along with its IP Address is displayed in the Servers tree in the
repository view.

OmniDocs 10.1 Service Administrator Admin Guide Page 27


Figure 2.29

4. Select the JTS from the repository view.


5. The following screen is invoked displaying the JTS server information.

Figure 2.30

Server Port Server Port signifies the port at which the JTS would listen to the OmniDocs client's request.
Socket Timeout Socket Timeout signifies the time after which the OmniDocs Client would be timed out.
Batch Size Batch Size signifies the maximum number of records that have to be fetched for a request.

OmniDocs 10.1 Service Administrator Admin Guide Page 28


2.2.4 Editing JTS Properties
To edit the properties of the JTS server:
1. Select the Server.
2. Click Stop.
3. Click Edit.

NOTE:
Edit is a toggle button and changes to Update.

Figure 2.31

The editable modes are:

Server Port Enter the Server Port Number of the System.


Transaction log Select this checkbox to generate Transaction Log.
Connection log Select this checkbox to generate Connection Log.
Batch Size System takes the entered value, and crates a batch of that size.
SocketTimeout (mins) Enter the SocketTimeout Duration in minutes.
Error Log Size (MB) System takes the entered value and creates error log of that size.
Log Count System takes the entered value and creates error logs equal to the count.
XML Log Select this checkbox to generate XML log.

OmniDocs 10.1 Service Administrator Admin Guide Page 29


Error Log Select this checkbox to generate Error log.
Socket Log Select this checkbox to generate Socket log.

4. Make the changes as per the requirement.

Figure 2.32

5. Click the Update button to save the changes made.

OmniDocs 10.1 Service Administrator Admin Guide Page 30


Figure 2.33

OmniDocs provides following features:

 Option to generate XML log files.  Manipulate the value of Error Log Size.
 Enable or Disable Trace option.  Unlock button on the JTS properties screen of the
OmniDocs Service Administration (OSA).

These features help to:

 Optimize the function of OSA.  Reduce time in identifying the properties.


 Rectifying errors in operations.  Increase the speed of processing tasks using the
OmniDocs server.

There are various features which when added to the JTS properties screen of the OSA in OmniDocs,
helps optimize and increase the speed of operations of the OmniDocs server. These features are:-

 Option to generate XML log files to record all the  Error Log Size textbox to define the maximum size of
actions that you perform on the OmniDocs server the error log file
 Enable Trace or Disable Trace toggle button on the  Unlock button on the Cabinet Operations frame to
Cabinet Operations frame to generate trace files of unlock a locked user account
all SQL statements run at the database

OmniDocs 10.1 Service Administrator Admin Guide Page 31


Figure below shows the screen with new features added to the JTS properties screen of the OSA:

Figure 2.34

Generating XML Log Files


The Xml option on the Log frame of the JTS properties screen enables you to generate or prevent
generating a XML log file named xml.log. The XML log file consists of code in the form of XML tags
and maintains a record of all actions performed on the OmniDocs server. You need to set the value
of the XML log file to ‘true’ to enable generation of XML log file.
You select the Xml option on the Log frame to generate the XML log file of all operations performed
on the OmniDocs server. The record of all operations on the XML log file helps identify errors in an
operation and rectify the errors which helps reduce the time needed for errors identification and
rectification. With continuous generation of the logs of operations performed on the OmniDocs
server, the size of the log file increases and the log file occupies more storage space. The
generation of logs reduces the speed of operation of the server computer. You clear the Xml option
on the Log frame to prevent generation of logs of the operations performed on the server
computer.

OmniDocs 10.1 Service Administrator Admin Guide Page 32


To generate XML logs of all operations performed on the server:
1. Select the Xml option on the Log frame of the JTS properties screen of the OSA.
2. The Edit button, which is a toggle button present on the lower section of the Server Information
frame of the JTS properties screen and was unavailable, is made available.
3. The name of the Edit toggle button is changed to Update when the toggle button is made
available.
Figure below shows the Update toggle button on selecting the Xml option:

Figure 2.35

4. Click the Update button to save the changes made.


5. The Update toggle button changes to the Edit button and remains unavailable.

Steps to prevent generating XML logs of all operations performed on the server using the OSA:
1. Clear the Xml option on the Log frame of the JTS properties screen of the OSA.
2. The Edit toggle button, which was unavailable, changes to Update button and is made available.
3. Click the Update button to save the changes made.

OmniDocs 10.1 Service Administrator Admin Guide Page 33


4. The Update toggle button changes to the Edit button and remains unavailable.
5. The generating of XML logs of all operations performed on the server is terminated.

Defining Size of Error Log File


OmniDocs provides the Error Log Size textbox on the Server Information frame of the JTS Properties
screen to enable you type the maximum size of the error log file, err.log, present on the server
computer. This helps to control the size of the error log file and prevents the err.log file from
occupying more storage space of the CPU and increases the speed of operation of the server
computer. If size of the error log file increases, than defined on the Error Log Size textbox, the
earlier error log records are deleted and replaced by current error log records to enable the error
log file remain within defined limits of size.

Steps to type or modify the size of the error.log file present on the server computer:-
1. Type file size in Error Log Size textbox on the Server Information frame of JTS Properties screen.
2. Edit toggle button, which was unavailable, changes to Update button and is made available.
3. Figure below shows the Update toggle button after you type the size of the error.log file:

Figure 2.36

OmniDocs 10.1 Service Administrator Admin Guide Page 34


4. Click the Update button to save the changes made.
5. The Update toggle button changes to the Edit button and remains unavailable.

Generating Trace Files


OmniDocs provides Enable Trace or Disable Trace toggle button on the Cabinet Operations frame to
generate a trace file with the extension .trc to maintain a record of all SQL statements run at the
database for a cabinet. The trace file helps analyze the time needed to process a SQL statement and
helps reduce the time for processing a SQL statement and optimizes the processing speed of the
server computer.

Steps to generate a trace file for a cabinet:


1. Select a cabinet from the list of cabinets shown on the Cabinet tab of the JTS Properties screen.
2. Disable Trace toggle button, which is unavailable changes to Enable Trace button and is made
available.
3. Figure below shows the Enable Trace button after selecting a cabinet:

Figure 2.37

OmniDocs 10.1 Service Administrator Admin Guide Page 35


4. Click Enable Trace toggle button to generate trace files for the cabinet that you select on the
Cabinet tab.
5. Enable Trace toggle button changes to the Disable trace toggle button and remains available.
The continuous generating of trace files for cabinets that you select from the cabinets listed on the
Cabinet tab occupies more memory and CPU spaces and reduces the speed of processing SQL
statements on the server.

Steps to prevent generating of trace files for cabinets that you selected from the list on the Cabinet
tab:
1. Click the Disable Trace button available state.
2. The Disable Trace button is made unavailable.

Using Unlock Button to Unlock a Locked User Account


OmniDocs provides the Unlock button on the Cabinet Operations frame of the JTS Properties screen
to enable you unlock a locked user account. You use the Unlock button of the OSA to unlock a
locked account for the Supervisor. The Supervisor can unlock all other locked user accounts.

To unlock a locked user account:


1. Click the name of the cabinet shown on the list of cabinets on the Cabinet Tab of the JTS
Properties screen of the OSA.
2. The Unlock button, which was unavailable, is made available.
3. Click the Unlock button.
4. The Unlock User dialog box appears.

Figure 2.38

5. Type the user name and the password of the user account that is locked.

OmniDocs 10.1 Service Administrator Admin Guide Page 36


6. Click OK to unlock the user account, else click Cancel to exit from the Unlock User dialog box.

Figure 2.39

2.2.5 Creating a Cabinet


Cabinet Creation can be done by two ways:
 By using Superuser like ‘sa’ (SQL) or ‘sys’ (Oracle).
 By using normal user with cabinet creation rights.

To create a cabinet using Superuser:


1. Click Create button.
2. Create Cabinet dialog box is invoked.

OmniDocs 10.1 Service Administrator Admin Guide Page 37


Figure 2.40

3. Select the cabinet type that needs to be created from the Cabinet Type area.
4. The Cabinet can be a Document database, an Image server database or both.
5. Select the required Database Type from the options available in Database Type area.
6. The types of database available are MSSQL, Oracle, PostgreSQL and Azure.

OmniDocs 10.1 Service Administrator Admin Guide Page 38


2.2.6 Creating a MSSQL Database Cabinet
Using Superuser
To create a MSSQL database cabinet:
1. Select the MSSQL database option from the Database Type.

Figure 2.41

2. Select the Enable FTS option in the MSSQL information area to enable the FTS.
3. Specify the initial database size in Device Size textbox.
4. Specify the initial log size in Log Size textbox.
5. Specify the cabinet information in the various textboxes of Cabinet Information area:
a. Specify the cabinet name in the Cabinet Name textbox.

OmniDocs 10.1 Service Administrator Admin Guide Page 39


b. Specify the server name (name of the machine where MSSQL server is running) in the Server
Name textbox.
c. Specify the username in the User name textbox.
d. Specify the password in the Password textbox.
e. Specify the path where the database information is to be stored in the Database Path
textbox.

NOTE:
The database (DAT) file is formed on the computer that we specify in the Server Name textbox i.e. the computer where
the MSSQL Server is installed.

f. Specify the CD key in the CD Key textbox.


g. Select the required security level from the Security Level dropdown list. Right now, there is
one level of security:-

 Object Level Security This means that all the rights and privileges are assigned to all the objects of
OmniDocs.
 Cabinet Level Security This means that all the rights and privileges are assigned to at the Cabinet
level.

6. Click OK button to create the cabinet as per the requirements.


Else, click Cancel button to close the Create Cabinet dialog box.

Using Normal user to create MSSQL 2008 cabinet

NOTE:
For Creating cabinet, please avail the services of a DBA (Database Administrator) or of someone who has prior
experience of creating a MSSQL cabinet.

Use SQL Server Management Studio and perform the following steps:
1. Select the particular SQL Server on the left panel and expand it.

OmniDocs 10.1 Service Administrator Admin Guide Page 40


Figure 2.42

OmniDocs 10.1 Service Administrator Admin Guide Page 41


2. Expand Security.

Figure 2.43

OmniDocs 10.1 Service Administrator Admin Guide Page 42


3. Select Logins and then do a right click on it. Click on New Login from the pop-up menu.

Figure 2.44

OmniDocs 10.1 Service Administrator Admin Guide Page 43


4. In the Login- New window, specify the Login name, select SQL Server Authentication and enter
password. The Default database should be master. Click OK.

Figure 2.45

OmniDocs 10.1 Service Administrator Admin Guide Page 44


5. On the left panel expand Databases (corresponding to the particular SQL server) then expand
System databases then expand master database then expand Security then Select Users and do
a right click on it.

Figure 2.46

OmniDocs 10.1 Service Administrator Admin Guide Page 45


6. Perform the steps below:
i. Click on New User.

Figure 2.47

OmniDocs 10.1 Service Administrator Admin Guide Page 46


ii. In the Database User- New window, browse the user created above for Login Name and
click OK.

Figure 2.48

OmniDocs 10.1 Service Administrator Admin Guide Page 47


7. On the left panel, expand Databases (corresponding to the particular SQL server) and then
System Databases, then expand master database, then expand Security, then Select Schema
and do a right click on it.

Figure 2.49

OmniDocs 10.1 Service Administrator Admin Guide Page 48


8. Perform the steps below:
i. Click on New Schema.
ii. A Schema- New window will open up. Enter the name of the user created above in the fields
Schema name and Schema owner name and Click OK.

Figure 2.50

OmniDocs 10.1 Service Administrator Admin Guide Page 49


9. On the left panel expand Databases (corresponding to the particular SQL server) -> System
databases->Master database->Security->Users. Select the User created above, right-click on it
and then select Properties.

Figure 2.51

OmniDocs 10.1 Service Administrator Admin Guide Page 50


10. Perform the steps below:
i. Click on Properties.
ii. A Database User window opens, select the above created schema as default schema for the
user.
iii. Click OK.

Figure 2.52

OmniDocs 10.1 Service Administrator Admin Guide Page 51


11. Perform the steps below:
i. Select Master Database.
ii. Right click. Click on Properties of the pop-up menu.
iii. A new window opens.

Figure 2.53

OmniDocs 10.1 Service Administrator Admin Guide Page 52


12. Perform the steps below:
i. Click on Permissions tab then select the newly created user from the list of users.
ii. Now assign Create database and Create procedure permission to the user.
iii. Click OK.

Figure 2.54

13. Now cabinets should be created using the above created database user, instead of “sa”

OmniDocs 10.1 Service Administrator Admin Guide Page 53


Using Normal user to create MSSQL 2012 cabinet

NOTE:
For Creating cabinet, please avail the services of a DBA (Database Administrator) or a user who has prior experience of
creating a MSSQL cabinet.

Use SQL Server Management Studio and perform the following steps:
1. Select the particular SQL Server on the left panel and expand it.

Figure 2.55

OmniDocs 10.1 Service Administrator Admin Guide Page 54


2. Expand Security.

Figure 2.56

OmniDocs 10.1 Service Administrator Admin Guide Page 55


3. Select Login and then do a right click on it. Click on New Login from the pop-up menu.

Figure 2.57

OmniDocs 10.1 Service Administrator Admin Guide Page 56


4. In the Login- New window, enter the Login name, select SQL Server Authentication and enter
password. Default database should be master. Click OK.

Figure 2.58

OmniDocs 10.1 Service Administrator Admin Guide Page 57


5. On the left panel expand Databases (corresponding to the particular SQL server) -> System
databases->master-> Security and Select and right-click on Users.

Figure 2.59

OmniDocs 10.1 Service Administrator Admin Guide Page 58


6. Perform the steps below:
i. Click on New User.

Figure 2.60

ii. In the new window, browse the user created above for Login Name and click OK.

Figure 2.61

OmniDocs 10.1 Service Administrator Admin Guide Page 59


7. On the left panel expand Databases (corresponding to the particular SQL server) ->System
databases->master database->Security and then select and right-click on Schema.

Figure 2.62

OmniDocs 10.1 Service Administrator Admin Guide Page 60


8. Perform the steps below:
i. Click on New Schema.
ii. A Schema-New window will open
iii. Enter the Schema name and Schema owner name.
 You can search for a Schema owner by clicking on Search button.
iv. Click OK to create the new schema. This schema gets added in the list of Schemas.

Figure 2.63

9. On the left panel expand Databases (corresponding to the particular SQL server) ->System
databases->master database->Security->Users. Select and right-click on the User. Select
Properties.

OmniDocs 10.1 Service Administrator Admin Guide Page 61


Figure 2.64

OmniDocs 10.1 Service Administrator Admin Guide Page 62


10. Click on Properties. A new window opens. Select the above created schema as default schema
for the user.
11. Click OK.

Figure 2.65

OmniDocs 10.1 Service Administrator Admin Guide Page 63


12. Perform the steps below:
i. Select Master Database and right click.
ii. Click on properties of the pop-up menu.
iii. A new window opens.

Figure 2.66

OmniDocs 10.1 Service Administrator Admin Guide Page 64


13. Perform the steps below:
i. Click on Permissions tab.
ii. Then select the newly created user from the list of users.
iii. Now assign Create database and Create procedure permission to the user.
iv. Click OK.

Figure 2.67

14. Now cabinets should be created using the above created database user, instead of “sa”.

OmniDocs 10.1 Service Administrator Admin Guide Page 65


2.2.7 Creating Oracle Database Cabinet
Cabinet Creation can be done by two ways:
A. By using Superuser like ‘sys’ (Oracle).
B. By using normal user with cabinet creation rights.
The two ways are explained below:
A. Creating Cabinet using Superuser
To create an Oracle database cabinet:
1. Select the Oracle database option from the Database Type area.

Figure 2.68

2. Check the Enable FTS option under the Oracle Information area to enable the FTS.
3. Specify the Oracle Service Name in Service Name textbox.

OmniDocs 10.1 Service Administrator Admin Guide Page 66


4. Specify the Oracle Port in Port textbox.
5. Specify the cabinet details under the Cabinet Information:
i. Specify the cabinet name in the Cabinet Name textbox.
ii. Specify the server IP Address in the Server IP textbox.
iii. Specify the username in the User name textbox.
iv. Specify the password in the Password textbox.
v. Specify the path where the database information is to be stored in the Database Path
textbox.
vi. Specify the CD key for user licenses in the CD Key textbox.
vii. Select the required security level from the Security Level dropdown list.
viii. Click the OK button to create the cabinet as per the requirements.
ix. Or, Click the Cancel button to close the Create Cabinet dialog box at any stage of
creating the Cabinet.

B. Creating Cabinet using Normal User

NOTE:
For Creating cabinet, please avail the services of an Oracle DBA (Database Administrator) or of someone who has prior
experience of creating an Oracle cabinet.

A normal user should be given following rights to be able to create a cabinet:


 Cabinet Creation Rights
 Administration Rights

To create Oracle 11g Cabinet, Perform the following steps using Enterprise Manager Console.
1. Enter the Login Details in the “Oracle Enterprise Manager 11g” login screen.
2. Connect as SYSDBA for this operation.

OmniDocs 10.1 Service Administrator Admin Guide Page 67


Figure 2.69

3. From the Security section, select Users.

Figure 2.70

4. Users screen appears.


5. Click on Create button.

OmniDocs 10.1 Service Administrator Admin Guide Page 68


Figure 2.71

6. In General tab, provide Name and Password of the user.

Figure 2.72

OmniDocs 10.1 Service Administrator Admin Guide Page 69


7. In Default Tablespace and Temporary Tablespace, search and select the required tablespace.

Figure 2.73

8. Select the System Privileges tab.


9. Click on Edit List.

Figure 2.74

OmniDocs 10.1 Service Administrator Admin Guide Page 70


10. Modify System Privilege screen appears.

Figure 2.75

11. From Available System Privileges, move the following privileges to Selected System Privileges.
a. CREATE ANY PROCEDURE
b. CREATE ANY TYPE-- WITH ADMIN OPTION
c. CREATE TABLESPACE
d. CREATE USER
e. CREATE PROCEDURE -- WITH ADMIN OPTION
f. CREATE SEQUENCE -- WITH ADMIN OPTION
g. CREATE SESSION-- WITH ADMIN OPTION
h. CREATE TABLE-- WITH ADMIN OPTION
i. CREATE TRIGGER-- WITH ADMIN OPTION
j. CREATE VIEW-- WITH ADMIN OPTION
k. SELECT ANY DICTIONARY-- WITH ADMIN OPTION

OmniDocs 10.1 Service Administrator Admin Guide Page 71


Figure 2.76

12. Once the necessary Privileges from Available System Privileges are moved to Selected System
Privileges, click on OK button. The command returns back to System Privileges tab. Here, all the
selected privileges are enlisted in the System Privileges list.

OmniDocs 10.1 Service Administrator Admin Guide Page 72


Figure 2.77

13. Select the Object Privileges tab.


14. From Select Object Type dropdown button, select the Package option.

Figure 2.78

15. Add Package Object Privileges screen appears.

OmniDocs 10.1 Service Administrator Admin Guide Page 73


16. In Select Package Objects section, click on Torch symbol.

Figure 2.79

17. Select Package Objects dialog box appears.

OmniDocs 10.1 Service Administrator Admin Guide Page 74


Figure 2.80

18. From the dropdown list (available in front of the Schema option), select CTXSYS.
19. From the Package Name list present below, select CTX_DDL.
20. Click on Select to save the changes made and then close the dialog box.
21. Else, click Cancel to close the Dialog Box, without saving the changes made.
22. Add Package Object Privileges screen appears.
23. From the Available Privileges Select EXECUTE and move it to Selected Privileges.
24. Click OK to save the changes made and get back to the Object Privileges Screen.
Else, click Cancel to get back to the Object Privileges screen, without saving the made changes.

OmniDocs 10.1 Service Administrator Admin Guide Page 75


Figure 2.81

25. Object Privileges tab appears.


26. Click OK to save the changes made.

Figure 2.82

OmniDocs 10.1 Service Administrator Admin Guide Page 76


27. Users Screen appears.
28. Select required user from the list of UserName and click on Create to create the Oracle user.

Figure 2.83

29. Use the above created user for creating cabinets.

OmniDocs 10.1 Service Administrator Admin Guide Page 77


2.2.8 Creating a PostgreSQL Database Cabinet
Using Superuser
To create a PostgreSQL database cabinet:
1. Select the PostgreSQL database option from the Database Type.

Figure 2.84

2. Select the Enable FTS option in the PostgreSQL information area to enable the FTS.
3. Specify the initial database size in Device Size textbox.
4. Specify the initial log size in Log Size textbox.
5. Specify the cabinet information in the various textboxes of Cabinet Information area:

OmniDocs 10.1 Service Administrator Admin Guide Page 78


i. Specify the cabinet name in the Cabinet Name textbox.
ii. Specify the server name (name of the machine where PostgreSQL server is running) in the
Server Name textbox.
iii. Specify the username in the User name textbox.
iv. Specify the password in the Password textbox.

NOTE:
The database (DAT) file is formed on the computer that we specify in the Server Name textbox i.e. the computer where
the PostgreSQL Server is installed.

v. Specify the CD key in the CD Key textbox.


vi. Select the required security level from the Security Level dropdown list. Right now, there
are two level of security:
 Object Level Security: This means that all the rights and privileges are assigned to all the
objects of OmniDocs.
 Cabinet Level Security: This means that all the rights and privileges are assigned at the
Cabinet level.
6. Click the OK button to create the cabinet as per the requirements.
Else, click Cancel button to close the Create Cabinet dialog box.

OmniDocs 10.1 Service Administrator Admin Guide Page 79


2.2.9 Creating a Microsoft Azure Database Cabinet
Using Superuser
To create a Microsoft Azure database cabinet:
1. Select the Azure database option from the Database Type.

Figure 2.85

2. Select the Enable FTS option in the Azure information area to enable the FTS.
3. Specify the initial database size in Device Size textbox.
4. Specify the initial log size in Log Size textbox.
5. Specify the cabinet information in the various textboxes of Cabinet Information area:
i. Specify the cabinet name in the Cabinet Name textbox.

OmniDocs 10.1 Service Administrator Admin Guide Page 80


ii. Specify the server name (name of the machine where Azure server is running) in the Server
Name textbox.
iii. Specify the username in the User name textbox.
iv. Specify the password in the Password textbox.

NOTE:
The database (DAT) file is formed on the computer that we specify in the Server Name textbox i.e. the computer where
the Azure Server is installed.

v. Specify the CD key in the CD Key textbox.


vi. Select the required security level from the Security Level dropdown list. Right now, there
are two level of security:
 Object Level Security: This means that all the rights and privileges are assigned to all the
objects of OmniDocs.
 Cabinet Level Security: This means that all the rights and privileges are assigned at the
Cabinet level.
6. Click the OK button to create the cabinet as per the requirements.
Else, click Cancel button to close the Create Cabinet dialog box.

2.2.10 Associating a Cabinet


A cabinet can be associated by three ways:
A. Using Superuser
B. Using Normal user to associate an MSQL 2008 cabinet
C. Using Normal user to associate an MSSQL 2012 cabinet

A. Using Superuser
Cabinet Association can be done by two ways:
a. By using Superuser like ‘sa’ (SQL) or ‘sys’ (Oracle).
b. By using normal user with cabinet creation rights.

OmniDocs 10.1 Service Administrator Admin Guide Page 81


To associate a selected cabinet:
1. Click Associate button.
2. Associate a Cabinet dialog box is invoked.
3. Associate a Cabinet dialog box has three tabs:
 Database tab
 Cabinet properties tab
 Connection tab

Using the Database tab


1. Click the Database tab (Database tab is shown by default when you click the Associate button).

Figure 2.86

2. Select the required database type from the options available.


3. Select the Microsoft SQL Server option to associate the selected cabinet with the SQL database.

OmniDocs 10.1 Service Administrator Admin Guide Page 82


Figure 2.87

Using Cabinet Properties Tab


1. Click the Cabinet properties tab. The Cabinet properties tab page appears.

OmniDocs 10.1 Service Administrator Admin Guide Page 83


Figure 2.88

2. Specify the cabinet name in the Cabinet Name textbox.

NOTE:
The cabinet name should be same as that of the cabinet name given while creating cabinet.

3. Select the option Document database, if the database is a Document database.


4. Or, select the option Image Server database, if the database is an Image Server Database.

NOTE:
Both the checkboxes Document Database and Image Server Database have to be checked in order to associate a
cabinet on which both Image Server and database operations are to be performed.

5. Specify the Server name in Server Name textbox.


6. Specify the user name in the User name textbox.
7. Specify the password in the Password textbox.
8. Click the Back button to go to the previous screen.

OmniDocs 10.1 Service Administrator Admin Guide Page 84


9. Or, click the Next button to proceed.

Using Connection tab


1. Click the Connection tab. The Connection tab page appears.

Figure 2.89

2. Specify the maximum number of connections that the JTS should maintain with the database in
the Maximum connection textbox.
3. Specify the minimum number of connections that the JTS should maintain with the database in
the Minimum connection textbox.
4. Specify the query time out for the selected cabinet in the Query timeout textbox.
5. Click the Done button to associate the selected cabinet or click the Cancel button to close the
Associate a Cabinet dialog box without associating.
6. Click the Back button to go to the previous screen.

OmniDocs 10.1 Service Administrator Admin Guide Page 85


B. Using Normal user to associate an MSQL 2008 cabinet
1. Select the particular SQL Server on the left panel and expand it.

Figure 2.90

2. Expand Security then Select Login. Right click on Login and select New Login.

OmniDocs 10.1 Service Administrator Admin Guide Page 86


Figure 2.91

3. Perform the steps below:


i. In the Login – New window enter name, select SQL Server Authentication and enter
password.

OmniDocs 10.1 Service Administrator Admin Guide Page 87


Figure 2.92

4. Perform the steps below:


i. From the above window select the UserMapping tab.
ii. Select the cabinet from the given lists and click on the Map checkbox so that it is checked.
iii. From the bottom panel check on the db_ddladmin, db_datareader, db_datawriter
checkboxes and then click OK.

NOTE:
Check on the db_owner also along with db_ddladmin, db_datareader, db_datawriter, if FTS has to be used.

OmniDocs 10.1 Service Administrator Admin Guide Page 88


Figure 2.93

5. Run the following script.


SELECT 'GRANT EXECUTE ON ' + RTRIM(NAME) + ' TO USER' FROM SYSOBJECTS WHERE XTYPE IN ('P', 'FN')

NOTE:
Replace the USER with the name of the user created above.

OmniDocs 10.1 Service Administrator Admin Guide Page 89


Figure 2.94

6. Copy the output of the above script and run the output as a script this will assign the EXEC
permission to the user created above on each procedures and functions.

OmniDocs 10.1 Service Administrator Admin Guide Page 90


Figure 2.95

7. Use the above created user for associating a cabinet.

OmniDocs 10.1 Service Administrator Admin Guide Page 91


C. Using Normal user to associate an MSSQL 2012 cabinet
1. Select the particular SQL Server on the left panel and expand it.

Figure 2.96

OmniDocs 10.1 Service Administrator Admin Guide Page 92


2. Expand Security then Select Logins and right-click.

Figure 2.97

OmniDocs 10.1 Service Administrator Admin Guide Page 93


3. Perform the steps below:
i. Click on New Login from the popup menu.
ii. In the Login-New window, enter the Login name, select SQL Server authentication and
enter password.

Figure 2.98

4. Perform the steps below:


i. From the above window select the UserMapping tab.
ii. Select the cabinet from the given lists and click on the Map checkbox so that it is checked.
iii. From the bottom panel check on the db_ddladmin, db_datareader, db_datawriter
checkboxes.

OmniDocs 10.1 Service Administrator Admin Guide Page 94


iv. Click OK.

NOTE:
Check on the db_owner also along with db_ddladmin, db_datareader, db_datawriter if FTS has to be used.

Figure 2.99

5. Run the following script.


SELECT 'GRANT EXECUTE ON ' + RTRIM (NAME) + ' TO USER' FROM SYSOBJECTS WHERE XTYPE IN ('P', 'FN')

NOTE:
Replace the USER with the name of the user created above.

OmniDocs 10.1 Service Administrator Admin Guide Page 95


Figure 2.100

6. Copy the output of the above script and run the output as a script, this will assign the EXEC
permission to the user created above on each procedures and functions.

OmniDocs 10.1 Service Administrator Admin Guide Page 96


Figure 2.101

7. Use the above created user for associating a cabinet.

2.2.11 Disassociating a Cabinet


To disassociate a cabinet:
1. Select the cabinet that needs to be disassociated from the list.
2. Click the Disassociate button.
3. A Confirm message box is invoked prompting whether you want to remove the association with
the selected cabinet.

Figure 2.102

OmniDocs 10.1 Service Administrator Admin Guide Page 97


 Click the Yes button to remove the disassociation with the selected cabinet, or
 Click the No button to avoid the disassociation process.

NOTE:
Here “Disassociate” means removing the entry of the selected cabinet from JTS. The disassociation of the cabinet can
be performed only when the server is stopped.

2.2.12 Upgrading cabinet


In case of the cabinet upgrade, user has the option to install the application without the automatic
configuration and associate the cabinet of any previous version.
To upgrade the selected cabinet:
1. Associate the cabinet.
2. Select the cabinet which is to be upgraded.
3. Click the Upgrade button.

NOTE:
Upgrading a cabinet implies:
 Executing an SQL statement (other than those, which return a result set,) on a cabinet. This may be a DDL or a DML
(which includes updates, deletion etc).
 Any number of queries can be simultaneously executed in a file. An important thing to note is that all the SQL
statements must end with a comma ‘ ,’
 Stored procedures can also be compiled on a cabinet.

4. A Select Operation message box is invoked.

Figure 2.103

OmniDocs 10.1 Service Administrator Admin Guide Page 98


5. Click the Script button to compile a script.
6. Select the script dialog box is invoked.

Figure 2.104

i. Select the required path where the script is located, from the Look in dropdown list. List of
all the files with extension jts are displayed.
ii. Name of the selected file is displayed in the File Name; you can also specify the file name in
File Name.
iii. Select the type of file from the Files of Type dropdown list.

NOTE:
The Files of Type dropdown list consists of one option ‘JTS script files’.

iv. Click the Compile button to run the required script.


v. Click the Cancel button to close the dialog box.
7. Click the Compile button on the Select Operation message box.
8. If you are logged in as the Supervisor, then Compiled Stored Procedures dialog box is invoked.

OmniDocs 10.1 Service Administrator Admin Guide Page 99


Figure 2.105

The Compiled Calls pane displays the list of all the compiled procedures of the selected cabinet.

To recompile the procedures:


a. Select the required procedure from the Compiled Calls left pane and click the > button, to
add the procedure in the Calls to Compile list on the right pane.
b. To recompile all the calls, click >>. The entire list is added to Calls to Compile list on the right
side.

OmniDocs 10.1 Service Administrator Admin Guide Page 100


Figure 2.106

To move the calls from the Calls to Compile list to the Compiled Calls list:
a. Select the call that does not need to be compiled, from the Calls to Compile list.
b. Click the < button to move the call to the Complied Calls list on the left pane.
c. To move all the calls from the Calls to Compile list to the Compiled Calls list, click <<.
d. Click the OK button to close the Calls to Compile list.
e. Click the Cancel button to close the dialog box.
9. If you are logged in as System, then the operation is slightly different.
10. Refer to steps 6-7 for further information.
11. After upgrading the cabinet, data source creation is required. Refer to DataSource Creation
(JBoss/WildFly/WebLogic/WebSphere) section of OmniDocs 10.1 Post Deployment Guide.
12. After creating the data source, register the cabinet. Refer Registration of Cabinet section of
OmniDocs 10.1 Post Deployment Guide.

OmniDocs 10.1 Service Administrator Admin Guide Page 101


2.3 Viewing Properties of the Cabinet
To view properties of the cabinet:
1. Select a cabinet and click the Property button.

Figure 2.107

2. The Cabinet Properties dialog box is invoked.


Cabinet Properties dialog box consists of three tabs:
 Database tab
 Cabinet properties tab
 Connection tab

OmniDocs 10.1 Service Administrator Admin Guide Page 102


Database tab
Database tab displays the cabinet database type. It also displays the Server Port and the Service
Name in case of an Oracle Cabinet and the Server Port in case of a Postgres Cabinet.

Figure 2.108

OmniDocs 10.1 Service Administrator Admin Guide Page 103


Cabinet properties tab
Cabinet properties tab displays the cabinet name, the mapped status of the selected cabinet, the
server name, the user name, and the password.

Figure 2.109

OmniDocs 10.1 Service Administrator Admin Guide Page 104


Connection tab
Connection tab is in an editable mode.

Figure 2.110

Properties of the cabinet can be changed when the server is not running.
You can edit the following:
 Maximum connection
 Minimum connection
 Query timeout

OmniDocs 10.1 Service Administrator Admin Guide Page 105


Figure 2.111
3. Click the Back button to go to the previous screen.
4. Click Cancel button to close Cabinet Properties dialog box without saving the changes made.
5. Click Done button to close the Cabinet Properties dialog box while saving the changes made.
The changes done are immediately reflected.

Figure 2.112

OmniDocs 10.1 Service Administrator Admin Guide Page 106


2.4 Testing the cabinet
Testing the cabinet implies testing the validity of the JTS's database connection.
To test the cabinet:
1. Select the Server which you want to test.
2. Click Test.
3. A message box is invoked displaying the result of the connection test for the selected cabinet.

Figure 2.113

2.5 Viewing Locks


The Lock view displays all the locks that have been applied on objects (folders, documents, forms
and versions) by the user of the specified cabinet.

To view the locks of the selected cabinet:


1. Select the Locks.

OmniDocs 10.1 Service Administrator Admin Guide Page 107


Figure 2.114

2. Select the required cabinet from the Cabinet dropdown list.

NOTE:
JTS can have multiple cabinets associated with it.

OmniDocs 10.1 Service Administrator Admin Guide Page 108


Figure 2.115

3. Specify the password for logging, in Password.

NOTE:
Only Supervisor can change the locks of a cabinet. This is the reason, only Supervisor user is shown. The login password
is same as the cabinet password.

OmniDocs 10.1 Service Administrator Admin Guide Page 109


Figure 2.116

4. Click the OK button to view the locks of the selected cabinet.

OmniDocs 10.1 Service Administrator Admin Guide Page 110


Figure 2.117

5. Select the Folders option to view the locks associated with folders.
6. Select the Documents option to view the locks associated with document.
7. Select the Forms option to view the locks associated with forms.
8. Select the Version option to view the locks associated with the Versions of a document.

To view the locks by specific users


9. Select the required user from the Users dropdown list.

OmniDocs 10.1 Service Administrator Admin Guide Page 111


Figure 2.118

10. The locks associated by the selected user on the selected options (folders, documents, forms,
and versions) are displayed below.

OmniDocs 10.1 Service Administrator Admin Guide Page 112


Figure 2.119

11. Check the locks that have to be released in the Select column.
12. To select all the locks, click Select All.

NOTE:
Select All is a toggle button, which changes to Deselect All.

13. Click Release button to release all the selected locks.


14. Click Refresh button to refresh the screen.
15. Click Quit button to log out from the cabinet.

OmniDocs 10.1 Service Administrator Admin Guide Page 113


2.6 Viewing Users
To view the users who are currently logged into a cabinet:
1. Select Users.

Figure 2.120

2. Select the required cabinet whose login users are to be seen from the Cabinet dropdown list.
Concept:
 The JTS can have multiple cabinets associated with it.
 Each cabinet can have users connected to it. Therefore, the cabinet whose login users are
required has to be selected from the Cabinet dropdown list.
3. Specify the password for the Supervisor of the cabinet in Password edit box.

OmniDocs 10.1 Service Administrator Admin Guide Page 114


Figure 2.121

4. Click OK button to proceed. List of all the users connected on the specified cabinet is displayed.

Figure 2.122

OmniDocs 10.1 Service Administrator Admin Guide Page 115


To disconnect the selected users:
1. Select the users that need to be disconnected.
2. Click the Select All button to select all the users connected with the cabinet.

NOTE:
Select All is a toggle button, which changes to Deselect All.

3. Click the Free button to disconnect the selected users from the cabinet.
4. Click the Refresh button to refresh the screen.
5. Click Quit to logout from the cabinet

2.7 Ways of Logging


The following two users can login to the OmniDocs Service Administration (OSA), these are:
 System and
 Supervisor

NOTE:
The System user needs to have a more comprehensive knowledge of JTS in order to perform additional operations
effectively.

2.7.1 Login as System


To log-in as System:
1. Select the username “System” from the User dropdown list.

Figure 2.123

2. Specify the password in the Password.


3. Click the OK button to connect.
4. Click the Cancel button to close the Login dialog box.

OmniDocs 10.1 Service Administrator Admin Guide Page 116


2.7.2 Login as Supervisor
To log-in as Supervisor:
1. Select the username “Supervisor” from the User dropdown list.

Figure 2.124

2. Specify the password in the Password.


3. Click the OK button to connect.
4. Click the Cancel button to close the Login dialog box.

2.8 Thumbnail Manager Operations


The Thumbnail Manager is a utility that does the following activities:-
 It creates Thumbnails for documents of the registered cabinets.
 It also listens on a port for requests to create thumbnails for specified documents.

NOTE:
Please follow steps written in “How to configure Thumbnail Manager.docx” available in Thumbnail Manager Folder of
the OD-8.2 Installation Folder.

To perform operations on the Thumbnail Manager:


1. Click Thumbnail Manager from the Servers list in the left pane of the OSA screen.

OmniDocs 10.1 Service Administrator Admin Guide Page 117


Figure 2.125

2. Server information displayed are as follows:


 IP Address
 Server Port
3. Click the Stop button to stop the server.
4. Once the server is stopped, following buttons get enabled.
 Start
 Edit
 Remove
 Advanced
 Change
5. Click the Edit button to edit the Server Port.

OmniDocs 10.1 Service Administrator Admin Guide Page 118


NOTE:
Edit is a toggle button, which changes to Update button.

Figure 2.126

6. Make the required changes.


7. Click Update.
8. Click the Advanced button.
9. Advanced dialog box gets invoked.

OmniDocs 10.1 Service Administrator Admin Guide Page 119


Figure 2.127

 Select Instant Thumbnail Generation checkbox to generate Thumbnails instantly.


This feature is applicable in case of OmniDocs Web. When an image document is added to
OmniDocs Web, the thumbnails of only first page (of that document) are generated
instantly.
 Select Scheduled Thumbnail Generation checkbox to generate Thumbnails according to the
scheduled time.
 Specify Start schedule time in Start Schedule At combo box.
 Specify End schedule time in End Schedule At combo box.
 Click the Save button to save the required changes.
Else, click the Cancel button.

OmniDocs 10.1 Service Administrator Admin Guide Page 120


2.8.1 Adding a Cabinet
To add a Cabinet:
1. Click the Add button.
2. The Add Cabinet dialog box is invoked.

Figure 2.128

3. Specify the Cabinet name in the Cabinet Name textbox.


4. Specify the JTS IP Address in JTS IP Address textbox.
(This is the IP Address of the JTS where the cabinet is associated).
5. Specify the JTS Port in JTS Port textbox.
(This is the Port of the JTS where the cabinet is associated).
6. Specify the Cabinet’s user name in User Name textbox.
(This is the user name with which the Thumbnail manager would login into the JTS).
7. Specify the password in Password textbox.
(This the Password for the specified user name).
8. Specify the Priority in Priority text field.
(This is the Priority of the cabinet with respect to the other cabinets registered with the
Thumbnail Manager).
9. Specify the Encoding in the Encoding textbox.
(This is used to identify the language that is used by the user).

OmniDocs 10.1 Service Administrator Admin Guide Page 121


NOTE:
To run a Thumbnail manager, encoding used is UTF-8.

10. Click the OK button.


11. Click the Cancel button to close the Add Cabinet dialog box.
 If the Thumbnail Manager is running then you can add a Cabinet.
 If the Thumbnail Manager is not running then you can,
 Add a Cabinet.
 Remove a Cabinet.

 Change the Cabinet Property.

2.8.2 Removing Cabinet


To remove the Cabinet:
1. Select the Cabinet that needs to be removed from the list.
2. Click the Remove button.
3. A message box is invoked prompting whether you want to remove the selected Cabinet from
the list.

Figure 2.129

a. Click the Yes button to remove the selected Cabinet from the list.
b. Click the No button to avoid removing the selected Cabinet from the list.

OmniDocs 10.1 Service Administrator Admin Guide Page 122


2.8.3 Changing the Cabinet property
To change the property of the Cabinet:
1. Select the required Cabinet, whose user name/password needs to be changed from the list.
2. Click the Change button.
3. The Change Cabinet Property dialog box is invoked.

Figure 2.130

4. The only editable modes are the User Name and Password.
5. Click the OK button to close the Change Cabinet Property while saving the changes made.
6. Else, click the Cancel button.

OmniDocs 10.1 Service Administrator Admin Guide Page 123


2.9 Alarm Mailer Operations
Alarm Mailer is a utility that polls the JTS for alarms and dispatches them in case any alarms are set.
For performing operations on the Alarm Mailer:
1. Click the Alarm Mailer from the Servers list.

Figure 2.131

2. Displayed Server information are:


 IP Address
 Mail Host
 From Address
3. Click the Stop button to stop the server.
4. Once the server is stopped, following buttons get enabled:-
 Start
 Edit

OmniDocs 10.1 Service Administrator Admin Guide Page 124


 Remove
 Change
5. Click the Edit button:
 To edit the Mail Host
 To edit the From Address

NOTE:
Edit is a toggle button, which changes to Update.

Figure 2.132

6. Make the required changes.


7. Click Update. The updated changes are immediately reflected.

OmniDocs 10.1 Service Administrator Admin Guide Page 125


Figure 2.133

2.9.1 Adding a Cabinet


To add a Cabinet:
1. Click the Add button.
2. The Add Cabinet dialog box is invoked.

Figure 2.134

OmniDocs 10.1 Service Administrator Admin Guide Page 126


3. Specify the Cabinet name in the Cabinet Name textbox.
4. Specify the JTS IP Address in JTS IP Address textbox.
(This is the IP Address of the JTS where the cabinet is associated).
5. Specify the JTS Port in JTS Port textbox.
(This is the Port of the JTS where the cabinet is associated).
6. Specify the Cabinet’s User name in User Name textbox.
(This the user name with which the Alarm Mailer would login into the JTS).
7. Specify the Password in Password textbox.
(This the Password for the specified user name).
8. Specify the Poll time in Poll Time textbox.
(This is the time in minutes after which the Alarm Mailer would call the JTS).
9. Click the OK button.
10. Click the Cancel button to close the Add Cabinet dialog box.
 If the Alarm Mailer is running from OSA, the user can add a Cabinet.
 If the Alarm Mailer is not running from OSA, the user can:
 Add a Cabinet.
 Remove a Cabinet.

 Change the Cabinet Property.

2.9.2 Removing Cabinet


To remove the Cabinet:
1. Select the Cabinet that needs to be removed from the list.
2. Click the Remove button.
3. A message box is invoked prompting whether you want to remove the selected Cabinet
from the list.

Figure 2.135

OmniDocs 10.1 Service Administrator Admin Guide Page 127


a. Click the Yes button to remove the selected Cabinet from the list.
b. Click the No button to avoid removing the selected Cabinet from the list.

2.9.3 Changing the Cabinet property


To change the property of the Cabinet:
1. Select the required Cabinet, whose user name/password needs to be changed from the list.
2. Click the Change button.
3. The Change Cabinet Property dialog box is invoked.

Figure 2.136

4. The only editable modes are the User Name and Password.
5. Click the OK button to close the Change Cabinet Property while saving the changes made.
6. Else click the Cancel button.

2.10 Menu Options


The various menu options are:
 Server Menu
 JTS Menu
 SMS Menu

2.10.1 Server Menu


Start: Starts the server
Stop: Stops the server

OmniDocs 10.1 Service Administrator Admin Guide Page 128


Register: Registers a new server.
Unregister: Unregisters the selected server.
Disconnect: Disconnects from the selected server.
Manage: Manages the selected server.
Change Password: Enables to change the password of the connected users.
Exit: Exits from the application.

2.10.2 JTS Menu


Edit: Enables editing of server port, transaction log, connection log, server time out and batch size.
Create: Enables in creating a cabinet.

Figure 2.137

Query
Cabinet: A cabinet is a central storage unit that can be connected to desktop through a server.
Associate: Registers the selected cabinet with JTS.
Disassociate: Unregisters the selected cabinet with JTS.
Upgrade: Upgrades the cabinet.
Properties: Enables viewing/changing the properties of the selected cabinet.
Test: Tests the database validity for the selected cabinet.
Delete: Deletes the selected cabinet along with the associated database.

OmniDocs 10.1 Service Administrator Admin Guide Page 129


2.10.3 SMS Menu

Figure 2.138

Edit: Enables to change the server port.


Label
 Add: Enables to add the SMS label.
 Remove: Enables to change the path associated with the SMS label.
 Change: Enables to change the path associated with the label.

2.11 Change Password


To change the password:
1. Click Server menu and then click Change Password.
2. The Change Password dialog box is invoked.

Figure 2.139

3. Enter the old password in Old Password textbox.


4. Enter the new password in New Password textbox.
5. Re-enter the new password in Confirm Password textbox.

OmniDocs 10.1 Service Administrator Admin Guide Page 130


6. Click OK button to close Change Password dialog box while saving the changes made.
7. Click Cancel button to close the Change Password dialog box without saving the changes made.

OmniDocs 10.1 Service Administrator Admin Guide Page 131


Chapter

3
3 Call Interception
Architecture

This chapter consists of:-

 Classes and Components Required for


Hook Implementation

OmniDocs 10.1 Service Administrator Admin Guide Page 132


Call Interception Architecture
OmniDocs Server Architecture provides framework to extend/customize behaviour of standard XML
based APIs. This framework can be used to perform tasks in addition to the standard behaviour as a
part of same transaction. A typical example of this could be accessing/updating other tables,
extending user authentication policies, validations etc.
This chapter describes how to intercept and extend OmniDocs API. The component that is created
for this is henceforth referred to as API Hook.

3.1 Classes and Components Required for Hook


Implementation
The HookClass, HookHandler, and HookImplementer classes are required for hook implementation.
These classes are provided with OmniDocs Server setup in the following jar files:
 NGJTS.jar file for OmniDocs JTS version.
 omnidocs_hook.jar file for OmniDocs J2EE version.
Specifically, omnidocs_hook.jar will be at the following locations:

For OmniDocs-JBOSS Application Server Setup


In <Drive:>/<Directory in which JBOSS Application Server is installed>/server/<JBOSS
Application Server Configuration for OmniDocs>/lib folder.

For OmniDocs-Oracle10G Application Server Setup


In <Drive:>/<Directory in which Oracle10g Application Server is installed>/j2ee/<OmniDocs Oc4j
instance directory>/applib folder.

For OmniDocs-Sun Java System Application Server Setup


In <Drive:>/<Directory in which Sun Java Application Server is installed>/domains/domain-
n/server-n/lib folder.

OmniDocs 10.1 Service Administrator Admin Guide Page 133


For OmniDocs-WebSphere Application Server Setup
In <Drive:>/<Directory in which WebSphere Application Server is
installed>/AppServer/profiles/<WebSphere Application Server profile directory>/<OmniDocs
Shared Library directory>.

For OmniDocs-WebLogic Application Server Setup


In <Drive:>/<Directory in which WebLogic Application Server is
installed>/user_projects/domains/<Omnidocs domain directory>/Jars folder.

Steps for implementing hooks:


NGJTS.jar/omnidocs_hook.jar has the classes, HookClass, HookHandler and HookImplementer in
the package com.newgen.omni.jts.srvr. HookHandler contains an object of HookClass, namely
hookObject.
HookImplementer is a singleton for reading HOOK properties files, which stores the names of all
API Hook’s that are to be executed.
The following steps need to be taken for creating a hook for a particular transaction:
1. If the name of the transaction is NGOxyz, then name of the hook class should be HOOKxyz. For
example, if the Transaction class is NGOAddUser, the corresponding hook class should be
HOOKAddUser.
2. The hook class should be defined under the package name of com.newgen.omni.jts.hook.
3. The hook class should extend the abstract base class com.newgen.omni.jts.srvr.HookHandler.
4. The abstract base class, HookHandler has two abstract methods defined as
i. abstract public String executeIn(String strInputXML);
ii. abstract public String executeOut(String strOutputXML);
5. The user defined hook class must provide implementation for both the methods. executeIn()
method should be used for any processing that needs to be done prior to the execution of the
actual OmniDocs transaction, and executeOut() method should be used for processing that
needs to be done after execution of the actual OmniDocs transaction.
6. The minimum implementation for these two methods must be to return the input String i.e. the
string passed in the input parameter.
7. To throw any error within these two methods, the setStatus(int) and setMessage(String) should
be called on the object hookObject, e.g

OmniDocs 10.1 Service Administrator Admin Guide Page 134


 hookObject.setStatus(-78999);
 hookObject.setMessage("Test For Error");.
In this case, the outputXML returned to the client will contain the error code along with the
given message.

NOTE:
hookObject is the object of HookClass declared in HookHandler class and will be available by default.

8. Once the hook class has been created and packaged appropriately, the Hook class name must
be added to the HookData.xml, which is located at the following locations:
For OmniDocs-JTS Setup
<Drive:>/Program Files/OmniDocs Server.
For OmniDocs-JBOSS Application Server Setup
In <Drive:>/<Directory in which JBOSS Application Server is installed>/bin/ngdbini folder.
For OmniDocs-Oracle10G Application Server Setup
In <Drive:>/<Directory in which Oracle10g Application Server is
installed>/j2ee/home/ngdbini folder.
For OmniDocs-Sun Java System Application Server Setup
In <Drive:>/<Directory in which Sun Java Application Server is installed>/domains/domain-
n/server-n/config/ngdbini folder.
For OmniDocs-WebSphere Application Server Setup
In <Drive:>/<Directory in which WebSphere Application Server is
installed>/AppServer/profiles/<WebSphere Application Server profile directory>/ ngdbini
folder.
For OmniDocs-WebLogic Application Server Setup
In <Drive:>/<Directory in which WebLogic Application Server is
installed>/user_projects/domains/<Omnidocs domain directory>/ ngdbini folder.
Sample HookData.xml
<HookInfo>
<!-- Hook Names that are intended to exist in the system. -->
<HookName>HookAddUser</HookName>
<HookName>HookAddFolder</HookName>
</HookInfo>

OmniDocs 10.1 Service Administrator Admin Guide Page 135


NOTE:
Only existence of this file at the specified locations and a corresponding entry for each Hook will result the execution of
the Hook.

9. If no hook is defined for a transaction, JTS will continue as usual.


Example: Code for HOOKAddUser class
package com.newgen.omni.jts.hook;
public class HOOKAddUserextendscom.newgen.omni.jts.srvr.HookHandler{
public String executeIn(String strInputXML){
// any processing to be done here.
Connection con = hookObject.getConnection(); // to obtain Connection
object passed to Hook
//hookObject.setStatus(-78999); // to throw any error
//hookObject.setMessage("Test For Error"); // to throw any error
return strInputXML;
}
public String executeOut(String strOutputXML){
// any processing to be done here.
return strOutputXML;
}
}

NOTE:
In case Connection Object passed to Hookclass is being used, then only the Statements and ResultSet objects
obtained using the Connection Object have to be closed. The Connection object should not be closed.

3.1.1 Steps for Deploying User’s Hook Implementation


Create a jar file containing the “.class” files for the user-defined implementation of Hooks.
Assuming that the jar thus created is named “omni_hook.jar”.
For OmniDocs-JTS setup
1. Stop JTS.
2. omni_hook.jar should be placed in <Drive:>/Program Files/OmniDocs Server.
3. Go to command prompt
4. Type regedit.
5. Expand HKEY_LOCAL_MACHINE

OmniDocs 10.1 Service Administrator Admin Guide Page 136


6. Expand SYSTEM-> expand CurrentControlSet.
7. Expand Services.
8. Expand JTS.
9. Expand Parameters.
10. Right click on the AppParameters string and select modify.
11. Then add omni_hook.jar to the classpath.
For example,
Djava.class.path=.;omni_hook.jar;jce1_2_2.jar;SecurityAPI.jar;classes12.zip;msbase.jar;mssqlse
rver.jar;msutil.jar;ngjts.jar;SQLTransaction.jar;ORATransaction.jar
wrkdir=C:\PROGRAMFILES\OMNIDOCSSERVER
12. Add corresponding HookName tag in HookData.xml.
13. Start JTS.

For OmniDocs-J2EE setup


1. “omni_hook.jar” should be placed at the following locations:
For OmniDocs-JBOSS setup
In <Drive:>/<Directory in which JBOSS Application Server is installed>/server/<JBOSS
Application Server Configuration for OmniDocs>/lib folder.
For OmniDocs-Oracle10G setup
In <Drive:>/<Directory in which Oracle10g Application Server is installed>/j2ee/<OmniDocs
Oc4j instance directory>/ applib folder.
For OmniDocs-Sun Java System Application Server setup
In <Drive:>/<Directory in which Sun Java Application Server is installed>/domains/domain-
n/server-n/lib folder.
2. Add corresponding HookName tag in HookData.xml.
3. Restart the application Server Instance.

OmniDocs 10.1 Service Administrator Admin Guide Page 137


Chapter

4
4 Configuration File
Management Architecture

This chapter consists of:-

 Introduction to OmniDocs Configuration


File Management Architecture
 Managing OmniDocs Configurations

OmniDocs 10.1 Service Administrator Admin Guide Page 138


Configuration File Management Architecture
One of the challenges while developing J2EE applications is the management of Application’s
Configuration settings. Configuration parameters could range from logging settings, information
concerning database server, user settings etc, and could be loaded from some configuration files
that reside outside the Application’s deployable components.
Although J2EE provides for some externalization, through J2EE-specific constructs (data sources or
via references etc) but often that is not enough. Applications require some configurable parameters
to be editable by the Application/Server Administrator and hence these files cannot be localized to
the Application’s deployable components, (EAR, WAR or JAR files).
Configuration files could be loaded from the Application Server’s Current Working Directory, (JVM’s
“user.dir” property) but the exact location of Current Working Directory differs with application
servers.

4.1 Introduction to OmniDocs Configuration File


Management Architecture
OmniDocs setup on Application server requires the following configuration files and folders to be
placed in the Current Working Directory of the Application Server:

 Ngdbini : Configuration files exist in this folder.


 Mssql : Mssql Procedures exist in this folder
 Oracle : Oracle Procedures exist in this folder
 IS.ini : Configuration file

OmniDocs Configuration File Management Architecture makes use of URL resources to provide the
user with the flexibility of deciding upon the location of the afore-mentioned configuration files.
Configuration File Management Architecture comprises of:
 OmniConfigLocator.java
 Omni_Configurations.xml

OmniDocs 10.1 Service Administrator Admin Guide Page 139


4.2 Managing OmniDocs Configurations

4.2.1 Omni_Configurations.xml
The idea of this XML file is to store the location of the configuration files and folders. This file has to
be placed at the same level of “omnishared.jar”.

NOTE:
Omnishared.jar’s exact location varies for different Application Server’s and the exact location can be determined from
the corresponding OmniDocs Installation Manual.

“Omni_Configurations.xml” file has the following format:


<PathInfo>
<Location>
<Name>Omni_Config_Location</Name>
<Path></Path>
</Location>
</PathInfo>
First Scenario:
OmniDocs configuration files and folders have been placed at a location other than the Application
Server’s Current Working Directory.
User needs specify the location of OmniDocs configuration files and folders as the
“<Path>…</Path>” tag’s value in “Omni_Configurations.xml” file.
For example if IS.ini file, ngdbini, mssql, and oracle folders have been placed at the location
“C:\Omni_config” then contents of this file need to be updated as follows:
<PathInfo> <Location>
<Name>Omni_Config_Location</Name>
<Path> C:\Omni_config </Path>
</Location>
</PathInfo>

NOTE:
For Linux systems “/“ is to be used as the path separator character, while specifying the “<Path>…</Path>” tag’s value.
Example: “\root\folder” is not acceptable. “/root/folder” is acceptable.

OmniDocs 10.1 Service Administrator Admin Guide Page 140


By default no value is specified for “<Path>…</Path>” tag. On system start up, the Application
Server’s Current Working Directory will be treated as the desired location of the configuration files
and folders and the absolute path of Application Server’s Current Working Directory will
automatically be updated to the “<Path>…</Path>” tag’s value in “Omni_Configurations .xml”.
While specifying path of configuration files and folders in “Omni_Configurations.xml”, space
character is not allowed.
Example: “c:\\New Folder\Dir” is not acceptable.
|
\/
Space exists

Second Scenario:
No value has been specified, for the “<Path>…</Path>” tag in “Omni_Configurations.xml” file.
In this case, start up of OmniDocs application (for WebSphere AS only)/Application Server,
Application Server’s Current Working Directory will be treated as the desired location and the
absolute path of Application Server’s Current Working Directory will automatically be updated to
the “<Path>…</Path>” tag’s value in
“Omni_Configurations.xml” file. Hence in this case all folders and files must be in Application
Server’s Current Working Directory.

NOTE:
This ensures backward compatibility with older versions of OmniDocs.

Third Scenario:
“Omni_Configurations.xml” file has not been placed at level, (read directory) of “omnishared.jar”.
In case of absence of “Omni_Configurations.xml” file at level of “omnishared.jar”, Application
Server’s Current Working Directory will be treated as the desired location and the absolute path of
Application Server’s Current Working Directory will automatically be updated to the
“<Path>…</Path>” tag’s value in “Omni_Configurations.xml” file. Hence, in this case also, all
folders and files must be in Application Server’s Current Working Directory.

OmniDocs 10.1 Service Administrator Admin Guide Page 141


Chapter

5
5 Component
Integration
Framework

This chapter consists of:-

 Component Integration Framework


for Web Module
 Component Integration Framework
for Backend Module

OmniDocs 10.1 Service Administrator Admin Guide Page 142


5.1 Component Integration Framework for Web Module
To ensure easy and simplified integration of add-ons and other applications of OmniDocs the
Integration Framework enhancement is launched.
This enhancement enables the application to run independently without making major changes in
the OmniDocs web source code. The updating of the dependent files at the time of version release
or updates is not required as result of this enhancement. Now onwards OmniDocs web module and
other web module of other applications remain exclusive of each other.
A ComponentIntegration.xml is provided for this integration.
For an application to be integrated a <Component> tag is added in the xml as a child tag of
<Components> tag.

Integration support is provided at three levels:


 OmniDocs Toolbar features
 Folder level features
 Document level features
Below is an example that shows integration with OmniDocs web using this framework:
<Components>
<Component Name="RMS">
<Module Type="Toolbar" Display="true">
<IconURL>http://ServerIP/RMS/images
/RMS.gif</IconURL>
<LaunchURL>http://ServerIP/RMS/login.j sp</LaunchURL>
</Module>
<Module Type="Folder" Display="true">
<DisplayName>RMSFolder</DisplayName>
<ParameterList>VolIndex=#VolIndex,DocListFolderId=#DocListFolderId,</ParameterList>

<LaunchURL>http://ServerIP/RMS/folder/addfolder.jsp</LaunchURL>
</Module>
<Module Type="Document" Display="true">
<DisplayName>RMSAddDoc</DisplayName>
<LaunchURL>http://ServerIP/RMS/Docum ent/adddoc.jsp</LaunchURL>
</Module>
</Component>
</Components>

OmniDocs 10.1 Service Administrator Admin Guide Page 143


Example Explanation:
1. Component Name is “RMS”.
2. There are three module types:
 Toolbar
 Folder
 Document

1. The first Module is Toolbar:


 Display attribute can be set “true” or “false”. True is for enabling the icon and false is for
disabling the icon.
 IconUrl is the url of the icon.
 LaunchURL is the url of the screen that will be launched on clicking the icon.
 On launching the URL following parameters will be passed to the application:

Name of the Parameter Value


CabName Name of the cabinet.
UsrDbId UserDbId of the user logged in.
jtsipadd Ip address of JTS.
jtsport Port of JTS.
CabID Cabinet Id
DataBaseType Type of the database (e.g., mssaql,oracle etc..)
GroupName Group Name of the user logged in.
UserName Name of logged in user.
LoggedInUserIndex User Index of the user logged in.
UserPassword Password of the user logged in.
FromOD Y

2. Second module is Folder:


 Display attribute can be set “true” or “false”. True is for enabling the link and false is for
disabling the link.
 Display name will be the name of the operation that will be displayed as the link (e.g.,
RMSFolder)

OmniDocs 10.1 Service Administrator Admin Guide Page 144


 The parameters for the Folder are:
 Vol Index: Volume Index of the folder
 VolIndex=#VolIndex
The LHS bears the name of the parameter used in the add-on application while in RHS bear the
name of the parameter used in OmniDocs source code.
DocListFolderId: Index of the folder
DocListFolderId=#DocListFolderId The LHS bears the name of the parameter used in the add-on
application while in RHS bears the name of the parameter used in OmniDocs source code.

NOTE:
The parameter values are separated by comma (,).

FolderRights: LoggedIn user has rights on the folder.


FolderRights=#FolderRights
FolderName: The name of the folder
FolderName=# FolderName
FolderOwner: The owner who created the folder
FolderOwner=# FolderOwner
ParentFolderIndex: Index of the Parent folder.
ParentFolderIndex: Index of the parent folder.
ParentFolderIndex=#ParentFolderIndex
3. The third module type is Document.
 The display can be set as True or False, if true the operation is visible else, hidden.
 Display name will be the name of the operation that will be displayed as the link(e.g.,
RMSFolder)
 On launching the URL following parameters will be passed to the application:

OmniDocs 10.1 Service Administrator Admin Guide Page 145


Name of the Parameter Value
DocumentListId Comma separated list of selected document indexes
DocNameList Comma separated list of selected document names.
FolderId Folder index of selected folder.
FolderName Folder name of selected folder.
documentCreatedByAppNameList Comma separated list of selected document
extensions.

NOTE:
The document list is sent as comma separated values.

5.2 Component Integration Framework for Backend


Module
OmniDocs Integration Framework has been devised to provide for smooth and seamless integration
of applications to OmniDocs. Current implementation of the framework targets the following areas:
 Support for secondary applications on Wrapper component.
 Support for compiling Database scripts for secondary applications.

5.2.1 Introduction to OmniDocs Integration Framework


Support for secondary applications on Wrapper component.
In order to use the Wrapper Component secondary applications need to add their client- libraries to
the Wrapper’s classpath and update the <Wrapper_Directory>/ngdbini.
/CallRedirection.xml file to contain the name of various Transactional APIs and fully qualified name
of their corresponding Client.
In order to meet the afore-mentioned requirements and provide for smooth and seamless
integration of applications to Wrapper component, OmniDocs Integration Framework makes use
of “Java Extension Mechanism” and provides support for multiple “CallRedirection.xml” files.
Updating Wrapper’s Classpath
Wrapper component comprises of “Wrapper_Lib” folder, which defines the classpath for Wrapper.
Any jar file placed in the “Wrapper_Lib” folder will be automatically loaded to Wrapper’s classpath,
post restart. User doesn’t need to update the “RunWrapper.bat” and “RunWrapper.sh” files nor the

OmniDocs 10.1 Service Administrator Admin Guide Page 146


parameters for “NewgenWrapper” Service, (in case Wrapper component has been deployed as a
Windows Service).
Wrapper
|_ ngdbini\
|
|_Wrapper_Lib\
|
|_Other Files
Wrapper’s Folder Structure

Application specific CallRedirection.xml


<Wrapper_Directory>/ngdbini/CallRedirection.xml file contains the name of various Transactional
APIs and fully qualified name of their corresponding Client. There used to be a single
“CallRedirection.xml” file that all applications were supposed to update, but with OmniDocs
Integration Framework each application can have its own “CallRedirection_AppName.xml” file,
where “AppName” could be any sequence of printable characters.
Wrapper
|_ ngdbini
||_ CallRedirection.xml
|
|_Wrapper_Lib\
|
|_Other Files
Wrapper’s Folder Structure
Following guidelines must be followed, for all “CallRedirection_AppName.xml” files:
a) File Naming
All “CallRedirection_AppName.xml” files must have the “.xml”extension and their names
must start with the “CallRedirection” string.
For example, “CallRedirection_OF.xml”
b) Location
All “CallRedirection_AppName.xml” files must reside in ngdbini folder.
c) File Format

OmniDocs 10.1 Service Administrator Admin Guide Page 147


All “CallRedirection_AppName.xml” files must be in the given below format:
<Transactions>
<Transaction>
<Name>Call Name_1</Name>
<Path>Specified Path_1</Path>
</Transaction>
<Transaction>
<Name>Call Name_2</Name>
<Path>Specified Path_2</Path>
</Transaction>
<Transactions>
CallRedirection_AppName.xml format

NOTE:
Multiple “CallRedirection_AppName.xml” files must not have an entry for the same Transactional API.

“CallRedirection.xml” also resides at the Application Server level at the following location:
<App_Server_User_Directory>/ngdbini folder,
where “<App_Server_User_Directory>” is the Application Server’s working directory, for
example in case of JBoss Application Server “<App_Server_User_Directory>” would refer
to “<Drive:>/Jboss-4.0.2/bin” directory.

Multiple “CallRedirection_AppName.xml” files and above guidelines also applies at the Application
Server level.
Support for compiling Database scripts for secondary applications.
To provide support for compiling Database Scripts of secondary applications, at the time of Cabinet
creation, OmniDocs Server provides “Post.sql” file, in which database scripts are delimited using “~”
character. These scripts could be used for creating the secondary applications table structure or for
compiling stored procedures. All valid SQL scripts in “Post.sql” would be executed during the
Cabinet creation process.

OmniDocs 10.1 Service Administrator Admin Guide Page 148


Post.sql support
Secondary applications add their SQL scripts in Post.sql using “~” as the script delimiter. All valid
SQL scripts in “Post.sql” would be executed during the Cabinet creation process.
Now with OmniDocs Integration Framework, OmniDocs Server setup will no longer comprise of
“Post.sql”, it will henceforth be used only for providing support for secondary application.
Secondary Applications will have to place the “Post.sql” file in
“<App_Server_User_Directory>/mssql/docdb” or “<App_Server_User_Directory>/oracle/docdb”
folders, where “<App_Server_User_Directory>” is the Application Server’s working directory, for
example, in case of JBoss Application Server “<App_Server_User_Directory>” would refer to
“<Drive:>/Jboss-4.0.2/bin” directory.
Only presence of Post.sql file with valid SQL scripts, separated by the delimiter results in the
functionality being included in the system.

OmniDocs 10.1 Service Administrator Admin Guide Page 149


Chapter

6
6 Glossary

This chapter consists of:-

 Glossary

OmniDocs 10.1 Service Administrator Admin Guide Page 150


Glossary

-A-
Action Action refers to a particular task that has to be automated. For example, it can be a Leave
Request, Purchase Request, Bill Approval, Loan Sanction Request etc. Post Item is defined
in the Administration Desktop.
Administration For administering the Cabinets, Administration Desktop is maintained. Administration
Desktop includes creation of users, groups, data classes, assignment of rights etc.
Alias Synonyms that can be associated with a keyword
Authorize Keywords for Cabinets are also created from the OmniDocs Desktop. But they can be
authorized by Administration Desktop. Administrator authorizes the keywords made by
users. Authorized Keywords cannot be modified.
Audit Trail Audit Trail is a log on all the actions performed on the OmniDocs.

-C-
Cabinet The cabinets are central storage units that can be connected to desktop through a server.
Commit Type Immediate commit type enables to saves the changes directly in the database.
Delayed commit type enables to save the changes in the scratch directory and then save
them in database as you click the Commit command button in the Volume Properties.
Compact Compact means freeing disk space by deleting the already committed files.
Connect Establishes the connection with the registered cabinet.

-D-
Data Class Set of indexes that can be associated with the documents or folder for providing the
unique entity to them.
Disconnect Disconnects the registered cabinet. The documents and folders under the cabinet are not
accessible if you disconnect the cabinet.
DOB Format File format supported by Newgen OmniDocs. It saves the document image along with the
data and annotations associated with it, as one file.

-E-
Everyone Group Everyone group includes all the users created by the Administration Desktop. This group is
not displayed in the group list, so you cannot modify it. But you can assign rights
collectively to all the users by assigning the rights to Everyone group.

OmniDocs 10.1 Service Administrator Admin Guide Page 151


-F-
Filter Sorting on the related keywords by specifying the keyword with or without wild cards.
(Wild card means *,#- for example avi*)
Folder Folder is a repository for the documents.

-G-
Global Index Global indexes are user-defined indexes or fields that could be associated to any document
across the Cabinet. These indexes can be either associated with the data class or defined
separately.
Group The users can be clubbed together as a Group.

-I-
Image Server Stores the document images in form of volume blocks.
Inbox System folder for the Cabinet that contains all the messages and documents received by
the users across the network.

-K-
Keywords Words you would like to associate with the documents, so that you can perform search on
them.

-L-
Locked A particular user can lock a particular folder such that no other user can change the folder
properties. The users can access documents present under that folder.

-M-
Mandatory To make the data entry compulsory with an index, it can be defined as Mandatory. For
example, if you are maintaining the Inventory list, the Item name and Item code indexes
can be made mandatory.
Move Volume Block Moving the contents of the volume block to another Disk.

-O-
Omni Server Caters to the request to the OmniDocs Desktop users, brings data and document images
from database and image storage respectively.
It is divided into two parts: Image Server and Transaction Server.

OmniDocs 10.1 Service Administrator Admin Guide Page 152


-P-
Privileges Specific rights assigned to the specific user by Administrator. It enables the user to perform
certain administrative functions. There are seven privileges.

-R-
Register Registers the Cabinet for accessing the documents and folders under it.
Rights Rights are defined as access permission for the users, for accessing an object. There are 5
rights – READ, CREATE, MODIFY, DELETE and ANNOTATE.

-S-
Supervisor Supervisor has full rights on the Administration Desktop.
Supervisory Group Supervisors are clubbed as a supervisory group and they are responsible for creating the
objects for Cabinets.
Sites Sites store the information on the Image Volumes and Volume Blocks.
SMS SMS (Storage Management Server) is software that manages all kinds of storage devices
used by you through a common front end.
Send Items Send Items folder contains a copy of all the messages sent by the users across the network.

-T-
Transaction Server Transaction Server listens to the request of the OmniDocs Desktop client and fetches the
document image from the database.
Trash Trash folder contains the deleted documents. If the documents are deleted from the trash
folder, they cannot be restored back.

-U-
Unauthorize You can modify or delete only unauthorized keywords and create alias for only Authorized
keywords.
Unique Key Unique key means the value associated with that index cannot be duplicated.
Unregister Unregisters the selected-Cabinet. After unregistering the Cabinet, it cannot be viewed on
the Administration Desktop.
User To access the Cabinets, you should be a user of that cabinet.

-V-
Volume Volume is a logical entity that includes several Volume blocks.
Volume Block Volume Block, corresponds to a data file and provides the actual physical storage for the documents.

OmniDocs 10.1 Service Administrator Admin Guide Page 153

You might also like