Iwp Setup Guide
Iwp Setup Guide
Ver. 7.1
Setup Guide
Page ii Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
1 System Configuration
1 System Configuration
1.1 The intra-mart WebPlatform
The intra-mart WebPlatform (Resin) Ver. 7.1 is made up of four servers (Server Manager, Server Platform, BPM
Server, ESB Server) and one Web Server Connector.
The intra-mart Web Platform (JBoss) Ver. 7.1 is made up of four servers (Server Manager, Server Platform,
BPM Server, and ESB Server).
Resource Service
This service manages all of the presentation pages and function container source that is required to run
the intra-mart system, and distributes the necessary programs to the Application Runtime.
Storage Service
This service manages the shared files.
When operating in a distributed system that uses multiple Application Runtimes, this is used for
consolidated management of files that you have uploaded and files that you want to share throughout
the system.
Serialization Service
This is a collection of functions for the purpose of general system-wide usage.
This service performs application locking control.
Page 2 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
1 System Configuration
Schedule Service
This is a scheduling service for batch processing.
This service makes requests to the Application Runtime to run the corresponding batch program at the
designated time. As a result, the batch programs are run by the Application Runtime.
1.5 Prerequisites
When using this product, the system requirements detailed in the release notes need to be satisfied.
Refer to the release notes for details.
Page 4 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
2 Installation Procedure
2 Installation Procedure
Use the following installation procedure when running this product.
Other settings
Refer to Page
3.3.5.1 Changing the Alias 72
3.3.5.2 Registering Web Application Software the User Have Made 76
3.3.5.3 Changing the URL of the Login Screen 77
Page 6 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
2 Installation Procedure
3 Installation
3.1 Preparation
Add the JDBC driver that you installed to the class path of the Application Server running the Application Runtime.
* This needs to be installed on all of the computers on which the Application Server is installed.
Refer to the release notes for various information about verifying operation.
Microsoft SQL Server JDBC Driver 2.0 is available at the Microsoft website.
It can be downloaded from
http://www.microsoft.com/downloads/details.aspx?FamilyID=99b21b65-e98f-4a61-b811-19912601fdc9&DisplayL
ang=ja.
Page 8 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
Install the DB2 JDBC Driver Type 4 that is included with IBM DB2.
Refer to the DB2 guide for details.
3. Enter "java -version" on the command line and press the return key.
4. Version information is displayed on the command line, which shows that the installation was successful.
Page 10 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
Apache 2.2.x
IIS 6.0
IIS 7.0
Install the web server by following the instructions given in the web server guide, etc.
On Windows
1. Make sure that the java.exe command is in the command path.
2. Use Explorer to navigate to the directory of the CD-ROM for this product.
3. Navigate to the directory iwp_afw_en¥install.
4. Double-click on setup.jar to start the installer.
It can also be started by double-clicking on setup.bat.
5. The installer screen is displayed.
6. Configure the settings on the screen, and then click the [Next] button. Continue with the configuration on
the subsequent screens.
7. Finally, a list of settings is displayed. If these settings are correct, click the [OK] button.
Otherwise, click the [Prev] button to go back and change the settings.
8. The installation begins.
On a UNIX-Based OS
1. Make sure that the java command is in the command path.
2. Use the console screen to navigate to the directory of the CD-ROM for this product.
3. Change to the directory iwp_afw/install.
4. Enter java -jar ./setup.jar -con from the console to start the installer.
It can also be started by executing setup.sh.
5. The installer runs in a dialog format.
6. Fill in the settings. Continue with the configuration on the subsequent screens.
7. Finally, a list of settings is displayed. If these settings are correct, enter [y].
Otherwise, enter [!] to go back and change the settings.
8. The installation begins.
Page 12 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
Page 14 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
Page 16 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
Page 18 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
Page 20 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
3.2.2.10 Samples
If [Install the samples] is selected in the installer, directories and files for the samples are installed in addition to the
directory structures described above.
Page 22 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
3.2.3.1 Cautions
The following describes cautions regarding items that need to be input during installation.
(*2) The Service Platform ID is an ID for uniquely identifying the intra-mart server.
Always set this to an ID that is different from other Service Platforms.
If specifying duplicate IDs, the intra-mart will not operate correctly.
These are also used for displaying the intra-mart Administrator.
The only characters that can be entered in strings are half-width alphanumerics, underscores (_),
colons (:), and periods (.).
In the machine configuration examples, "IP address:Port number" is specified as the Service Platform ID.
(Example) ·When the IP address where the Service Platform was installed is 192.168.0.2.
·When the port number where the Service Platform was installed is 49150.
The Service Platform ID is 192.168.0.2:49150.
Since Oracle 11g uses port number "8080" under the standard installation,
if the Application Runtime (including for Standalone configurations) is installed on the same computer,
there may be a conflict in the network port settings and the server might not start.
During the installation, avoid setting duplicate port numbers.
(*5) When building a multiple language environment, set the "Character encoding of the server module" and
the "Character encoding sent to web browsers" to [UTF-8].
(*6) In items where to enter the address and port number of the BPSM HTTP server,
enter the IP address and the port number of the server being used for BPMS.
Since BPMS uses port number "8080" under the standard installation,
if the Application Runtime (including for Standalone configurations) is installed on the same computer, there
may be a conflict in the network port settings and the server might not start.
During the installation, avoid setting duplicate port numbers.
Page 24 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
* If installing Advanced or Enterprise for BPM, select [Advanced] or [Enterprise for BPM] in the type of product
to install. Refer to [3.2.3.4 Installing Enterprise for BPM] for details on Enterprise for BPM.
* When building a multiple language environment, set the "Character encoding of the server module" and
the "Character encoding sent to web browsers" to [UTF-8].
* When using the distributed machine configuration (Machine Configuration 3 and Machine Configuration 4 in the
following examples), any other services cannot be installed on the Service Platform that is running the Application
Runtime.
Page 26 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
Page 28 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
* Server 1 or Server 2 can also be used as a database server, depending on the access frequency and content of
application software. Furthermore, the Application Runtime can also be installed as a web server (HTTP server).
Page 30 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
Page 32 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
Page 34 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
Page 36 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
* When installing Advanced or Enterprise for BPM, select [Advanced] or [Enterprise for BPM] in the type of
product to install. Refer to [3.2.3.4 Installing Enterprise for BPM] for details on Enterprise for BPM.
* When building a multiple language environment, set the "Character encoding of the server module" and
the "Character encoding sent to web browsers" to [UTF-8].
* When using the distributed machine configuration (Machine Configuration 2 and Machine Configuration 3 in the
following examples), any other services cannot be installed on the JBoss that is running the Application Runtime.
Page 38 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
ServerManager[49152]
Application Server[8080]
(all services)
Client Server 1
(web browser) 192.168.0.1 (example)
Square brackets [] indicate port numbers
Shared Service +
Permanent Service +
Server Manager[49152]
Resource Service +
Storage Service +
Application Server [8080] Serialization Service +
(Application Runtime) Schedule Service [49150]
Page 40 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
* Storage Service can also be installed on Server 4 if the usage level is low.
* Server 2 or Server 3 can also be used as a database server, depending on the access frequency and content of
application software.
Server Manager[49152]
Server 1
192.168.0.1 (example)
Server 4
192.168.0.4 (example)
Page 42 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
Page 44 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
Page 46 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
Take note of the following points when installing Enterprise for BPM.
* Cautions when installing Enterprise for BPM
The procedure for installing Enterprise for BPM is described by using Machine Configuration 5 as an example.
Use this procedure as a reference when setting up other machine configurations using Enterprise for BPM.
Installation on Server 1
Install all of the server modules
1. Run the installer. Refer to [3.2.1 Starting and Operating the Installer] for details.
2. Perform the installation in the following sequence. The following example is for the Standard product
type on Windows.
Step Input
Select the product 1
(1: intra-mart WebPlatform (Resin), 2: intra-mart WebPlatform (JBoss),
3: intra-mart AppFramework, 4: intra-mart DebugServer) ?
Select the type of product 3
(1: Standard, 2: Advanced, 3: Enterprise for BPM) ?
Install the server module (y/n) ? y
Install the Web Server Connector (y/n) ? n
Install the IM-Administrator (y/n) ? y
Enter the JDK home directory Enter the path as a full path
Enter the installation destination Enter the path as a full path
This location is represented
by %im_path%
Select the server module configuration 1
(1: Standalone environment configuration, 2: Distributed environment
configuration) ?
Select the HTTP server configuration 1
(1: Use the intra-mart HTTP server, 2: Use the Web Server Connector) ?
Select the character encoding of the server module 4 (*5)
(1: Windows-31J, 2: Shift_JIS, 3: EUC-JP, 4: UTF-8) ?
Select the character encoding to send to web browsers 4 (*5)
(1: Windows-31J, 2: Shift_JIS, 3: EUC-JP, 4: UTF-8) ?
Enter the address of this host 192.168.0.1 (*1)
Enter the address of the HTTP server 192.168.0.1 (*3)
Enter the port number of the HTTP server 8080 (*4)
Enter the address of the BPMS HTTP server 192.168.0.1 (*6)
Enter the port number of the BPMS HTTP server 8081 (*6)
Enter the port number for Server Manager to use 49152 (*8)
Enter the Service Platform ID APP: 192.168.0.1:8080 (*2)
Initial heap size of Service Platform (-Xms) [MB] (Example: 64) 64 (*7)
Maximum heap size of Service Platform (-Xms) [MB] (Example: 128) 128 (*7)
Install the samples (y/n) ? n
Folder to register in the Start menu intra-mart Web Platform Ver. 7.1
Is this configuration correct (y/n) ? y
Refer to [3.2.3.1 Cautions] for details on the (*) notes.
Page 48 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
The machine configurations described above are only "examples of machine configurations" that can operate.
It is also possible to operate under machine configurations other than those described above.
It is recommended to create a machine configuration diagram prior to installation by referring to the machine
configuration examples.
The key point to creating a machine configuration diagram is that it describes the IP address of each machine, the
port number of each Service Platform that is operating, and each of the services operating on each Service Platform.
The installation will be able to proceed smoothly if the above information is clearly stated.
Page 50 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
Although in the machine configuration examples described earlier, each service except for the Application Runtime
was only installed on a single server, if a second instance of the same service is installed on other server, the
information about itself will be notified to the Server Manager and automatically establish a secondary service.
In regards to the assignment of primary and secondary roles when two instances of the same service are installed,
the service that starts first becomes the primary and the service that starts later becomes the secondary.
If a secondary service is setup for the Permanent Data Service, Resource Service, or Storage Service, the designated
directory needs to be on a shared disk.
If the shared disk directories are in different locations from where each of the services were installed, the pointers
to the directories can be changed.
Edit the <%im_path%>/conf/imart.xml setting file that is saved in the installation directory of each service.
Any arbitrary directory in the computer can be used as the directory for saving data by specifying the absolute path
to the directory in the setting shown in [Setting in imart.xml] for each service in the above table.
For example, data can be shared with another computer by specifying a directory that is configured as a network
drive.
* Refer to [Service Platform Setting Guide] for details on each of the settings.
Memory-to-Memory System
The transfer of session information If Server 1 goes down, the destination for
is performed between servers from the primary connections from the Web Connector is updated
to the secondary. to Server 2, the session information is transferred
to Server 2, and it can be accessed in the same
On Server 1, Server 2 is secondary, way as Server 1.
on Server 2, Server 3 is secondary, Under these circumstances, if Server 2 also goes
and on Server 3, Server 1 is secondary. down at the same time, the session information is
lost.
Memory-to-RDB System
Session information is shared using a relational If Server 1 goes down, the destination for connections
database (RDB). from the Web Connector is updated to Server 2, Server
2 retrieves the session information that was used by
Server 1 from the RDB, and Server 2 can be accessed
in the same way as Server 1.
The difference from the Memory to Memory System
is that the session is shared even if Server 2 goes down
in this case.
However, there is a slight degradation in terms of
responsiveness due to the use of an RDB.
Page 52 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
2. The license tool starts and a menu is displayed for registering licenses.
3. Enter [2] from the menu and register the license key.
After registering a license correctly, the registered license is displayed.
4. Enter [1] from the menu to view the state of licenses.
5. Enter [3] from the menu to delete a license key.
When the list of registered license keys is displayed, enter the number of the license key to delete.
6. Enter [4] from the menu to exit the license tool.
7. Reboot all of the servers.
6. The installer starts. The installation proceeds in a dialog format on the console.
7. Enter the values by following the directions of the installer.
8. Finally, a list of settings is displayed. If these settings are correct, enter [y].
9. The installation begins.
The setup procedure for the installation performed above is output to a setting file.
Page 54 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
In this section, the installation directory of the Web Server Connector is represented by <%web_path%>.
The installation directory of the Service Platform that is running the Application Runtime is represented by
<%im_path%>.
For UNIX-based OSs, grant the following permissions to the following files and directories.
Grant write permission to the <%web_path%>/log directory.
Grant read permission to the <%web_path%> directory.
Grant write permission to the directories where each of the server modules are installed.
<Directory "<%web_path%>">
Order allow,deny
Allow from all
</Directory>
Commands
gcc
make
ld
Check that the above commands are in the command path by using the which command, etc. If they are
not, the system needs to be configured so that these commands can be used.
Autotools
aclocal (Note that aclocal is included in automake.)
The following tools are required in order to use automake.
make
m4
autoconf
Refer to http://www.gnu.org/software/automake/ for details on automake.
If "mod_so.c" is displayed when you run the following command, DSO support is enabled in Apache 2.
unix> /usr/local/apache/bin/httpd -l
Compiled-in modules:
...
mod_so.c
...
Execute the following commands from the directory where the Apache 2 source is extracted.
unix> ./configure --prefix=<Directory to install Apache 2> --enable-so
unix> make
unix> make install
On Solaris, additional flags may be required when running configure on Apache 2. If a link error occurs when
Resin loads, add the flag to enable DSO. Refer to the Apache 2 documentation for details. An example of running
configure is shown below.
Page 56 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
A special flag needs to be specified when running configure if you are compiling Apache 2 as a 64-bit executable.
An example of running configure is shown below.
The option "with-expat=builtin" specified above is from the example of "RedHat Enterprise Linux Advanced
Platform 5 + Apache 2.2.8" described in the verified systems in the release notes.
When recompiling Apache 2, specify the flags that match your system.
For Solaris 10
In the case of Solaris 10, some preparation is required before compiling the built-in module. An example of this is
described in this section. Modify this example to suit your OS environment.
4. Change macros
Open <%web_path%>/round_robin/source/configure.ac in a text editor and change the following two
macro declarations.
AC_PROG_LD
Before edit
dnl Checks for programs.
AC_PROG_CC
AC_PROG_LD
AC_PROG_EGREP
After edit
dnl Checks for programs.
AC_PROG_CC
#AC_PROG_LD
LD=/usr/ccs/bin/ld
AC_PROG_EGREP
AC_PROG_LIBTOOL
Before edit
AC_PROG_LIBTOOL
#
# libtool stuff
#
After edit
#AC_PROG_LIBTOOL
#
# libtool stuff
#
5. Edit libtool
In Solaris 10, usr/sfw/lib/libstdc++.la and /usr/sfw/lib/64/libstdc++.la are empty, and need to have the
appropriate content added. This section gives an example of libtool. Modify this example to suit your OS
environment.
Page 58 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
After making the files writable, write the following content in usr/sfw/lib/libstdc++.la and
/usr/sfw/lib/64/libstdc++.la and save the files.
/usr/sfw/lib/libstdc++.la
# The name that we can dlopen(3).
dlname='libstdc++.so.6'
# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''
/usr/sfw/lib/64/libstdc++.la
# The name that we can dlopen(3).
dlname='libstdc++.so.6'
# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''
unix> cd <%web_path%>/round_robin/source
unix> ./configure --with-apache=<Path to apache2>
unix> make
unix> make install
1. mod_caucho.so is created in the Apache 2 module directory (typically the Apache 2 libexec or modules
directory).
Page 60 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
2. Right-click the [Default Web Site] folder, and select [New] - [Virtual Directory].
4. Enter the virtual directory name and click the [Next] button.
In this description, the virtual directory name is "imart".
5. Specify <%web_path%> in the physical path and click the [Next] button.
<%web_path%> is the directory where Web Server Connector is installed.
6. Select the check boxes for the required access privileges and click the [Next] button.
Always select the following two check boxes.
Read
Execute (such as ISAPI application software or CGI)
8. Right-click the "imart" virtual directory that is created by the above procedure, and select [Properties].
9. Select the [HTTP Headers] tab and click the [MIME types] button.
11. Enter "json" as the [Extension] and enter "application/json" as the [MIME type], and then click the
[OK] button.
Verify that the settings are configured as follows, and click the [OK] button.
Page 62 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
12. Create a "scripts" directory in the web content root (C:¥Inetpub by default).
If the "scripts" directory already exists, it does not need to be created.
13. Copy the following files into the "scripts" directory that are created in the above procedure.
In this example, the 32-bit version is used as an example.
<%web_path%>¥round_robin¥win32¥isapi¥isapi_srun.dll
<%web_path%>¥round_robin¥win32¥isapi¥resin.ini
16. Specify [Scripts and Executables] in the execute permissions of the "scripts" virtual directory that is
created in the above procedure.
17. Right-click the [Default Web Site] folder, and select [Properties].
18. Select the [ISAPI Filters] tab, and click the [Add] button.
19. Enter "intra-mart" as the [Filter name], specify the isapi_srun.dll that is copied in step 13 as the
[Executable] and click the [OK] button.
20. Right-click the web service extensions, and select [Add a new Web service extension].
21. Enter "intra-mart" as the [Filter name], and specify the isapi_srun.dll that is copied in step 13 as the
[Required files]. Select the [Set extension status to Allowed] check box, and click the [OK] button.
Page 64 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
2. Stop IIS.
3. Create "<%web_path%>/web.config".
Copy "<%web_path%>/round_robin/winXX/isapi/iis7_sample_web.config" directly into the
<%web_path%> directory. Next, change the filename to "web.config".
Replace the "XX" in "winXX" above as appropriate for the "Enable 32-bit Application Software" setting
of the application software pool that is being used.
7. Click the [Connect as] button and set [Specific user]. At this point, specify a user who can access
<%web_path%>.
8. Click the [Test Settings] button and verify that the connection is successful.
Page 66 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
9. Select the "imart" virtual directory, and select [Error Pages] in the features view.
10. Select the [Edit Feature Settings] menu in the right-side pane. Select the
[Detailed errors] check box in the [Edit Error Pages Settings] window, and click [OK].
11. Select the computer name in the right-side pane, and select [ISAPI and CGI Restrictions] in the functions
view.
12. Select the [Add] menu in the right-side pane. In the [Edit ISAPI or CGI Restriction] window,
enter "<%web_path%>/round_robin/winXX/isapi/isapi_srun.dll" in the [ISAPI or CGI path] and
"isapi_srun.dll" in the [Description], and select the [Allow extension path to execute] check box.
Page 68 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
1. Select the "imart" virtual directory, and select [Handler Mappings] in the features view.
2. In the right-side pane, select the [Add Module Mapping] menu item. In the [Add Script Map] window,
enter "*.ext" in [Request Path], "StaticFileModule" in [Module], and "intra-mart (*.ext)" in [Name].
[Executable] does not need to be configured.
3. Click the [Request Restrictions] button, select the [Invoke handler only if request is mapped to] check
box in the [Map] tab, and select the [File or Folder] radio button. Then, click the [OK] button.
Click [View Ordered List] in the right-side pane of the [Handler Mappings] screen, and verify the order of the
handler mappings.
Verify that the file extension mapping that you configured is set before the
<%web_path%>/round_robin/winXX/isapi/isapi_srun.dll mapping.
Page 70 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
Figure 3-1
<resin xmlns="http://caucho.com/ns/resin"
xmlns:resin="http://caucho.com/ns/resin/core">
<cluster>
•••
<server id="ID of Server (A) " address="IP Address of Server (A)">
<cluster-port port="Port Number for Connecting to WSC of Server (A)"/>
</server>
<server id="ID of Server (B) " address="IP Address of Server (B)">
<cluster-port port="Port Number for Connecting to WSC of Server (B)"/>
</server>
<server id="ID of Server (C) " address="IP Address of Server (C)">
<cluster-port port="Port Number for Connecting to WSC of Server (C)"/>
</server>
•••
</cluster>
</resin>
1. Edit the http.xml files of all of the Service Platforms where the Application Runtime is installed.
Refer to [3.3.5.1.1 Changing the Alias in http.xml] for details.
If using round robin, change this to the same alias on all of the Service Platforms where the Application
Runtime is installed.
If these are not changed to the same alias, round robin will not function correctly.
3. Edit the imart.xml file of the Service Platform where the Schedule Service is installed.
Refer to [3.3.5.1.3 Changing the URL of the Application Runtime to Connect to When Executing the
Schedule Service] for details.
If Enterprise for BPM is installed, the following steps are also required.
5. Edit <%im_path%>/doc/imart/WEB-INF/services/DirectoryForEachWebService/META-INF/
WebServiceName.wsdl. Refer to [3.3.5.1.5 Changing the Alias in the WSDL File] for details.
After the initial data import, or if you change the alias without performing the initial data import, the following step
is also required.
Page 72 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
For IIS
1. Repeat the steps described in "3.3.2 For IIS 6.0" or "3.3.3 For IIS 7.0" using "imv7" as the virtual
directory name.
3.3.5.1.3 Changing the URL of the Application Runtime to Connect to When Executing the Schedule Service
Edit the intra-mart/platform/service/scheduler/connection-url tag in conf/imart.xml
in the installation directory of the Service Platform that is running the Schedule Service.
wsdl:service/wsdl:port/http:address tag
Before change: <http:address
location="http://192.168.108.1:8080/imart/services/im_workflow.im_workflowHttpEndpoint"/>
After change: <http:address
location="http://192.168.108.1:8080/imv7/services/im_workflow.im_workflowHttpEndpoint"/>
wsdl:service/wsdl:port/soap:address tag
Before change: <http:address
location="http://192.168.108.1:8080/imart/services/im_workflow.im_workflowHttpSoap11Endpoint"/>
After change: <http:address
location="http://192.168.108.1:8080/imv7/services/ im_workflow.im_workflowHttpSoap11Endpoint"/>
wsdl:service/wsdl:port/soap12:address tag
Before change: <http:address
location="http://192.168.108.1:8080/imart/services/ im_workflow.im_workflowHttpSoap12Endpoint"/>
After change: <http:address
location="http://192.168.108.1:8080/imv7/services/ im_workflow.im_workflowHttpSoap12Endpoint"/>
The portal function information is managed by the XML file and database.
Strings "imart" in following XML files and table records all need to be changed to the new alias name.
XML Files
<% root of the Storage Service %>/portal/data/portlet-app-registry.xml
<% root of the Storage Service %>/portal/data/portlet-window-preference-registry.xml
<% root of the Storage Service %>/portal/data/portlet-window-registry.xml
Database Tables
b_m_portlet_info
If installing the intra-mart in a UNIX environment, grant execute permission to the ant command.
Page 74 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
Direct access is required to the files directly under the <% root of the Storage Service %>.
1. Set the alias names before and after the change, and the database connection information in the
corresponding locations in the property file. Refer to *.
Property file: <% root of the Storage Service %>/portal/tool/change_context.properties
(Caution) Application software that originally made by the user cannot use the custom intra-mart API.
<servlet-mapping>
<servlet-name>hello-servlet</servlet-name>
<url-pattern>/hello</url-pattern>
</servlet-mapping>
</web-app>
3. Map to the virtual directory. Add the following to the end of the resin/cluster/host/web-app tag
in http.xml on the Service Platform where the Application Runtime is running.
<web-app id="/usr" root-directory="<%usr_path%>" />
By writing the web-app, servlets under the actual mapped WEB-INF/classes directory are recognized.
Page 76 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
<servlet-mapping>
<servlet-name>GroupSuperUserInitialServlet</servlet-name>
<url-pattern>/*.NameYouWantToChange</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>UserInitialServlet</servlet-name>
<url-pattern>/*.NameYouWantToChange</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>UserInitialServletForMobile</servlet-name>
<url-pattern>/*.NameYouWantToChange</url-pattern>
</servlet-mapping>
Page 78 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
WAR file deployment is performed in systems where these conditions are satisfied.
* If the contents are changed or the class is recompiled, the WAR file needs to be recreated and redeployed.
* Steps 1, 2, 3, 4, 5, 6, 7, and 9 do not need to be performed every time.
3.4.1.2 Delete JAXB and Web-Service Related Libraries Included with JBoss
Delete the following files from the <%JBoss_path%>/lib/endorsed/ directory.
jaxb-api.jar
jboss-jaxrpc.jar
jboss-jaxws.jar
jboss-jaxws-ext.jar
jboss-saaj.jar
* Caution
In Windows systems, an error may occur when the server starts if file:/ is not added at the front of the codebase.
(Example)
<classpath codebase="file:/C:/ imart/v7.1/iAF/imart/bin/im_portal_common" archives="*"/>
Page 80 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
1. Delete hsqldb-ds.xml
Delete the datasource setting file that exists in JBoss by default.
<%JBoss_path%> /server/imart/deploy/hsqldb-ds.xml
2. Copy the datasource setting file for PostgreSQL
Copy the file <%JBoss_path%>/docs/examples/jca/postgres-ds.xml
into <%JBoss_path%>/server/imart/deploy/.
3. Edit postgres-ds.xml
Modify <%JBoss_path%>/server/imart/deploy/postgres-ds.xml as follows.
<datasources>
<local-tx-datasource>
•
•
•
<jndi-name><%DatasourceReferenceName%></jndi-name>
<connection-url>jdbc:postgresql://<%AddressOfPostgreSQL%>:<%PortNumber%>/<%DatabaseName%>
</connection-url>
<driver-class>org.postgresql.Driver</driver-class>
<user-name>DBConnectionUserName</user-name>
<password>DBConnectionUserPassword</password>
<metadata>
<type-mapping>PostgreSQL 8.3</type-mapping>
</metadata>
•
•
•
</local-tx-datasource>
</datasources>
When the above command is executed, the Ant build file "bin/tools/build/for_jboss/create_war_file_jboss.xml" is
executed.
The main processing performed by this Ant build file is as follows.
Moves the Toplink related jar files.
Moves the following files to the "<%im_path%>/ bin/tools/build/log/" directory.
<%im_path%>/doc/imart/WEB-INF/lib/toplink-essentials-agent.jar
<%im_path%>/doc/imart/WEB-INF/lib/toplink-essentials.jar
Creates the imart.war file.
Page 82 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
2. Edit data-source.xml.
Edit <% root of the Server Manager %>/conf/data-source.xml.
Refer to [3.5.3 Configuring data-source.xml] for details.
4. Start JBoss.
* If it is already running, reboot it.
Change to the directory <%JBoss_path%>/bin, and run the following command to start JBoss.
[Example]
Windows : run -c imart -b 0.0.0.0
UNIX : run.sh -c imart -b 0.0.0.0
3.5.1 Preparation
Prepare an account on the database for this product to connect to.
Make sure that the sufficient size of tablespaces is available for this product to use for saving data.
* Cautions when using Oracle
Verify that CREATE VIEW privileges have been granted.
In Oracle Database 11g Release 1, the CONNECT role is not preassigned CREATE VIEW
privileges. Explicitly grant CREATE VIEW privileges.
Examples of how to register tablespace and users in Oracle 11g are described in [Appendix D:
How to Create Tablespaces and Users in Oracle 11g (page 115)]. Please refer to this.
Example of change:
plugin/jp.co.intra_mart.foundation.system.ddl_converter.standard.nvarchar_7.1.0/plugin.xml
<plugin>
<extension
point="jp.co.intra_mart.foundation.system.ddlConverter" >
<ddl-converter
name="standard DDL Converter nvarchar"
id="jp.co.intra_mart.foundation.system.ddlConverter.standard.nvarchar"
version="7.1.0"
rank="0"
enable="true"> ← Change this to true
<replace db-type="SQLServer" regexp="(\W)varchar(\W)" replacement="$1nvarchar$2"/>
</ddl-converter>
</extension>
</plugin>
Page 84 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
For Oracle
<database>
<jndi-name><%DatasourceReferenceName%></jndi-name>
<driver>
<type>oracle.jdbc.pool.OracleConnectionPoolDataSource</type>
<url>jdbc:oracle:thin:@<%OracleAddress%>:<%PortNumber%>:<%InstanceName%></url>
<user>DBConnectionUserName</user>
<password>DBConnectionUserPassword</password>
</driver>
<prepared-statement-cache-size>8</prepared-statement-cache-size>
<max-connections>20</max-connections>
<max-idle-time>30s</max-idle-time>
</database>
For PostgreSQL
<database>
<jndi-name><%DatasourceReferenceName%></jndi-name>
<driver>
<type>org.postgresql.Driver</type>
<url>jdbc:postgresql://<%PostgreSQLAddress%>:<%PortNumber%>/<%DatabaseName%></url>
<user>DBConnectionUserName</user>
<password>DBConnectionUserPassword</password>
</driver>
<prepared-statement-cache-size>8</prepared-statement-cache-size>
<max-connections>20</max-connections>
<max-idle-time>30s</max-idle-time>
</database>
Page 86 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
<system-data-source>
<connect-id>default</connect-id>
<resource-ref-name>java:comp/env/<%DatasourceReferenceName%></resource-ref-name>
</system-data-source>
<group-data-source>
<login-group-id>default</login-group-id>
<resource-ref-name>java:comp/env/<%DatasourceReferenceName%></resource-ref-name>
</group-data-source>
</data-source>
* If the database settings are changed, the Server Manager and Application Runtime need to be restarted.
Before change
<?xml version="1.0" encoding="UTF-8"?>
<system>
•
•
<client-config>
<client-type>
<client-type-name>pc</client-type-name>
<attribute name="redirect" value="true"/>
<attribute name="mobile" value="false"/>
<attribute name="extension" value=".portal"/>
</client-type>
<!--
<client-type>
<client-type-name>mobile</client-type-name>
<attribute name="redirect" value="false"/>
<attribute name="mobile" value="true"/>
<attribute name="extension" value=".mobile"/>
</client-type>
-->
<default-client-type-name>pc</default-client-type-name>
</client-config>
•
•
After change
<?xml version="1.0" encoding="UTF-8"?>
<system>
•
•
<client-config>
<client-type>
<client-type-name>pc</client-type-name>
<attribute name="redirect" value="true"/>
<attribute name="mobile" value="false"/>
<attribute name="extension" value=".portal"/>
</client-type>
<client-type>
<client-type-name>mobile</client-type-name>
<attribute name="redirect" value="false"/>
<attribute name="mobile" value="true"/>
<attribute name="extension" value=".mobile"/>
</client-type>
<default-client-type-name>pc</default-client-type-name>
</client-config>
•
•
Page 88 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
3 Installation
JavaMail 1.4.1
JAF (JavaBeans Activation Framework) 1.1.1
When the intra-mart is installed, the above libraries are also installed. Using the intra-mart is taken as agreement to
the licenses of the above libraries. If you do not agree with all of the terms, please delete all of the JAR files.
Copy the libraries after unpacking them into the following directory. If using round robin, copy these into all of the
Service Platforms where the Application Runtime is installed.
Page 90 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
4 Startup and Shutdown
4.2 How to Start and Stop the Server Manager and Service Platform
4.2.1 On Windows
Usually, these .bat files do not need to be edited in this product. If you want to change the startup commands for
each of the servers, edit the .bat files for each of the servers.
Server Manager has finished starting up if the message [Server-Manager started offer of service] is displayed in
the command prompt.
Service Platform has finished starting up if the message [Service-Platform started offer of service] is displayed in
the command prompt.
To abort the startup, press the [Ctrl+C] keys in the command prompt.
4.2.1.2.1 Cautions
When running as a Windows service, it may occur that the server stops when the user logs out after the
service starts. To prevent this, configure each of the servers you are running as follows.
Add the option -Xrs to the item
intra-mart/platform/java/server/command/option
in <%im_path%>/conf/imart.xml.
Immediately after performing the installation, first start each of the servers from the command prompt and
check that they are operating correctly before registering them as a service. Refer to [4.2.1.2.3 Turning
Servers into Services] for details.
It is recommended to start servers from the command prompt while developing programs.
This is useful for resolving problems because error messages and other information are output to the
command prompt.
When the intra-mart is installed, on Windows, a menu item is added for starting up the intra-mart ServiceManager.
Run the intra-mart Service Manager using the following startup menu items.
Page 92 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
4 Startup and Shutdown
2. Enter the path where the server is installed in [intra-mart installation directory].
It can be chosen from the directories by pressing the button.
The servers that can be turned into services are displayed.
3. Select the server to turn into a service, and press the [Register] button.
4. The [Service Title Confirmation] screen is displayed. Change the name of the service if necessary.
Press the [OK] button to register the service.
5. Once the service registered screen is displayed, turning the server into a service is complete.
(*1) stdout.log is only output when the "log" setting in the service startup setting file is set to "true".
Page 94 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
4 Startup and Shutdown
4.2.2 On a UNIX-Based OS
manager.sh
Once the message [Server-Manager started offer of service] is displayed, the startup is complete.
* This is only displayed when outputting the system log is enabled (disabled by default).
(Caution) The startup command file (manager.sh) provided with the installation is a sample.
The content needs to be changed to suit the system environment.
server.sh
(Caution) The startup command file (server.sh) provided with the installation is a sample.
The content needs to be changed to suit the system environment.
4.2.2.2.1 Cautions
Immediately after performing the installation, first start each of the servers from the shell and check that
they are operating correctly before performing the following procedure to execute them in the background.
Refer to [4.2.2.2.2 Server Manager Background Execution] and [4.2.2.2.3 Service Platform Background
Execution] for details.
It is recommended to start servers from the shell while developing programs.
This is useful for resolving problems because error messages and other information are output to the shell.
In the samples of each of the shell files, the examples of the startup commands for background execution
are commented out (#). To perform background execution, change the content as necessary by referring to
the comments sections (#).
Page 96 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
4 Startup and Shutdown
The Application Runtime is started in the JBoss Application Server. When starting the Application Runtime, the
Server Manager and Service Platform (only when using the distributed configuration) needs to be started in
advance.
Change to the directory <%JBoss_path%>/bin, and run the following command to start JBoss.
run –c imart -b 0.0.0.0
[Example]
Windows : run -c imart -b 0.0.0.0
UNIX : run.sh -c imart -b 0.0.0.0
Change to the directory <%JBoss_path%>/bin, and run the following command to start JBoss.
shutdown -S imart 0.0.0.0
[Example]
Windows : shutdown -S imart 0.0.0.0
UNIX : shutdown.sh -S imart 0.0.0.0
Refer to the JBoss Application Server guide for details on how to start up and shut down the JBoss Application
Server.
5.1.1 On Windows
Directory File (Line Number)
<%im_path%>/bin admin.bat(1)
manager.bat(1)
server.bat(2) *
srvcom.bat(1)
zippack.bat(1)
zipmelt.bat(1)
<%im_path%>/bin/tools licedit.bat(1)
js2class.bat(1)
<%im_path%>/conf imart.xml(214,221)
5.1.2 On a UNIX-Based OS
Directory File (Line Number)
<%im_path%>/bin admin.sh(16)
manager.sh(16)
server.sh(16) *
srvcom.sh(16)
zippack.sh(16)
zipmelt.sh(16)
<%im_path%>/bin/tools licedit.sh(1)
<%im_path%>/conf imart.xml(214,221)
Page 98 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
5 Rebuilding the intra-mart Environment
<intra-mart>
<platform>
•
•
<java>
<home>C:/jdk1.6.0_10</home>
<server>
•
•
<command>
<exefile>C:/jdk1.6.0_10/bin/java</exefile>
<option>-cp %SYSTEMCLASSPATH% -Xms%XMS% -Xmx%XMX% -Djava.awt.headless=true</option>
<argument/>
</command>
</server>
•
•
</java>
•
•
After change
<intra-mart>
<platform>
•
•
<java>
<home>C:/jdk1.6.0_12</home>
<server>
•
•
<command>
<exefile>C:/jdk1.6.0_12/bin/java</exefile>
<option>-cp %SYSTEMCLASSPATH% -Xms%XMS% -Xmx%XMX% -Djava.awt.headless=true</option>
<argument/>
</command>
</server>
•
•
</java>
•
•
After change
After change
Page 100 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
5 Rebuilding the intra-mart Environment
* When using IIS with WSC connection, the resin.ini configured in [3.3 Configuring the Web Server –
3.3.2 For IIS 6.0] needs to be modified.
resin.ini
ResinConfigServer IP Address of AppRuntime Port Number of AppRuntime
CauchoStatus no
IISPriority high
Page 102 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
5 Rebuilding the intra-mart Environment
* When using IIS with WSC connection, the resin.ini configured in [3.3 Configuring the Web Server –
3.3.2 For IIS 6.0] needs to be modified.
resin.ini
ResinConfigServer IPAddressOfAppRuntime PortNumberOfAppRuntime
CauchoStatus no
IISPriority high
Page 104 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
5 Rebuilding the intra-mart Environment
Note that the login group name cannot be changed while the system is operating.
The descriptions in this section assume that the system has not yet started operating.
Before change
<?xml version="1.0" encoding="UTF-8"?>
<data-source>
<system-data-source>
<connect-id>default</connect-id>
<resource-ref-name>java:comp/env/<%DatasourceReferenceName%></resource-ref-name>
</system-data-source>
<group-data-source>
<login-group-id>default</login-group-id>
<resource-ref-name>java:comp/env/<%DatasourceReferenceName%></resource-ref-name>
</group-data-source>
</data-source>
After change
<?xml version="1.0" encoding="UTF-8"?>
<data-source>
<system-data-source>
<connect-id>default</connect-id>
<resource-ref-name>java:comp/env/<%DatasourceReferenceName%></resource-ref-name>
</system-data-source>
<group-data-source>
<login-group-id>nttd_im</login-group-id>
<resource-ref-name>java:comp/env/<%DatasourceReferenceName%></resource-ref-name>
</group-data-source>
</data-source>
2. Restart Server Manager and Application Runtime, and then login as a system administrator.
3. Select [Login group settings] from the menu, and create the login group under the ID "nttd_im".
4. Select [License] from the menu, and perform the initial data import and sample data import on the login
group that is created.
Page 106 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
5 Rebuilding the intra-mart Environment
5.5.2 Exporting the Data Stored in the Database From the Migration Source
Database
Export the data from the database that is designated for the migration source login group using the best method for
that particular database software.
5.5.3 Importing the Data Stored in the Database into the Migration Destination
Database
Import the data that is exported in [5.5.2 Exporting the Data Stored in the Database From the Migration Source
Database] into the database designated for the migration destination login group by using the best method for that
particular database software.
When creating application software, migrate the following files and directories.
The static content (image files, CSS files, and CSJS files) installed in the Web Server Connector
The HTML and JS files developed using the script-based development model
(The files and directories under % Path to [Resource Service] %/pages/src)
The JSP, class, and jar files developed using the JavaEE-based development model
Move the files and directories under % Path to [Application Runtime] %/doc/imart, and then create
the war files and deploy them to the web application servers at the migration destination.
Message file (properties file)
(Each of the files in % Path to [Service Manager] %/conf/message)
If your system uses the Storage Service, such as PDF Designer, the intra-mart Intranet Start Pack, Quick
Binder, EX Applications, etc., migrate all of the directories in % Path to [Storage Service] %/storage/.
This completes the procedure for migrating the system from a test system, etc.
Page 108 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
6 Uninstalling
6 Uninstalling
6.1 Running From the Command Prompt
If the system is running, stop it by using the [Ctrl+C] keys.
Delete the Web Server Connector connection information from the web server.
Delete <%web_path%> and <%im_path%> directories that are installed.
Delete the Web Server Connector connection information from the web server.
Delete <%web_path%> and <%im_path%> directories that are installed.
6.3 On Windows
Delete the intra-mart start menu that is registered in the Windows start menu.
* The above descriptions show the directory when IWP is installed using the default values.
* If the name registered in the start menu when IWP was installed has been changed, the location of the
directory will also be different.
Page 110 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
7 Appendix A: The intra-mart System Administration Sheet
8.1 Cautions
If the operation of the screens is unstable, clear the browser cache and configure it to compare to the server
documents each time, and then restart the browser.
If the login screen or other screens do not display correctly after installation for reasons other than those described
above, check the following points because it is possible that they were not set correctly during installation.
If the problem is not resolved even after checking the above, it is possible that the basic installation and settings are
inappropriate. Since this product of the version that is described in this guide is extremely delicate, it can be faster
to resolve problems by performing a re-installation. Please consider this option.
Page 112 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
9 Appendix C: Tips For Starting Operation and Operation (In Order to
Re-configure and re-build the system environment based on the information that is obtained during the
period for verifying the operating state after beginning operation.
Change the environment settings of the "OS", "Java VM", etc. and change the programs based on the
information acquired.
Examples of environment settings
Investigating expanding the hardware due to CPU utilization and throughput.
Investigating changing the programs to increase the efficiency of frequently used processing.
If the memory utilization or FullGC occurrence rate (occurrence interval) is high, investigate
reducing the memory usage by changing programs, etc. and reducing the occurrence rate of FullGC
using the Java VM parameter settings (-Xms, -Xmx, etc.)*4. Investigate also increasing the amount
of memory if the physical memory capacity is low.
9.2 Operation
Always allocate periods for periodically verifying the operating state.
These periods are required in order to periodically get a grasp of the "access patterns", "usage status",
"operation status (system environment)".
Examples of the information that is acquired
The same as when starting operation as described above.
Re-configure and re-build the system environment based on the information that is obtained during the
periods for periodically verifying the operating state.
Change the environment settings of the "OS", "Java VM", etc. and change the programs based on the
information acquired.
Examples of environment settings
The same as when starting operation as described above.
9.3 Backups
The following items are backed up in the intra-mart regular backup.
Each of the files under the /storage directory of the Storage Service (mandatory)
Each of the files under the /treasure directory of the Permanent Data Service (mandatory)
Content of the database used by the intra-mart (mandatory)
All of the log files under the <%im_path%>/log directory of each service (optional)
For files and directories other than those listed above, back them up separately when needed such as after the initial
installation, adding application software, or changing settings.
The system administrator's account information and menu information, or license information for the user accounts
of each login group are managed by the Permanent Data Service (each file under the treasure directory). Because
these are the most important information, ensure that a backup can be taken. In addition, take a backup of the data
in the database that is configured in the group datasource in order to be synchronized with the data in the
application common master stored in the database. This should be done by using the most appropriate method for
the particular database software when backing up the files of the Permanent Data Service (all of the files under the
treasure directory) .
The Permanent Data Service (all of the files under the treasure directory) are backed up into a zip file in
<%im_path%>/treasure/history by the periodic backup function (configured in
intra-mart/platform/service/permanent/history of imart.xml). However, it is necessary to periodically perform a
backup to external media in preparation for data loss such as due to disk hardware failure.
9.4 Remarks
*1 The number of accesses (average, peak) are collected from the access log, CPU utilization is acquired by the top
command or performance monitor, etc., and the throughput is acquired by measuring the actual accesses
*2 Statistics on processing content are collected from access logs, program logs, etc.
*3 The Java VM memory usage state (memory utilization within the Java VM over time) is
acquired from the intra-mart Administrator memory log, and the occurrence rate of FullGC is acquired from the
intra-mart Administrator memory log (the number of times usable memory suddenly increases) and Java VM
parameter -verbose:gc, etc.
*4 Because FullGC stops all processing other than GC processing for a fixed period of time (from several seconds
to 20 to 30 seconds), reduce the number of times that a FullGC is performed down to around once per day.
Furthermore, the effect of a FullGC during operation can be extremely reduced by adjusting the FullGC to be
performed during the night. (Consider also rebooting overnight.)
Details on other Java VM parameters can be acquired from the Sun Java website "http://java.sun.com".
Page 114 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
10 Appendix D: How to Create Tablespaces and Users in Oracle 11g
1. Display the Oracle 11g Enterprise Manager login screen, and connect to the DB using administrator
privileges.
Example of the connection URL "https://localhost:1158/em"
4. Enter the tablespace name in [Name] and click the [Add] button.
Page 116 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
10 Appendix D: How to Create Tablespaces and Users in Oracle 11g
The procedure has completely successfully if "The object was created successfully" is displayed.
Refer to the [Creating, Editing, and Deleting Tablespaces] topic in the Oracle Enterprise Manager Online
Help for details.
1. Display the Oracle 11g Enterprise Manager login screen, and connect to the DB using administrator
privileges. Example of the connection URL "https://localhost:1158/em"
Page 118 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
10 Appendix D: How to Create Tablespaces and Users in Oracle 11g
4. Set the name, password, tablespace, etc. and select the [Roles] tab.
6. Assign the CONNECT role and RESOURCE role and then click the [OK] button.
The procedure has completely successfully if "The object was created successfully" is displayed.
Refer to the [Creating, Editing, and Deleting Database Users] topic in the Oracle Enterprise Manager
Online Help for details.
Page 120 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
10 Appendix D: How to Create Tablespaces and Users in Oracle 11g
1. Specify the user to grant the CREATE VIEW privilege to, and click the [Edit] button.
4. Grant the CREATE VIEW privilege and click the [OK] button.
The procedure has completely successfully if "User XXXX was changed successfully" is displayed.
Page 122 Copyright 2000-2009 NTT DATA INTRAMART CORP. All Rights Reserved.
intra-mart WebPlatform Ver. 7.1
Setup Guide