IBM SG24-6526-00 manual Testing Java Web Start, HTTP Server for iSeries original, Ejbdefault.cfg

Models: SG24-6526-00

1 184
Download 184 pages 3.35 Kb
Page 79
Image 79
Testing Java Web Start

Important: You must maintain this structure. For example, the jre folder must be at the same level in your file structure as the client folder.

3.Verify that the files within c:\callConnect\CCClient are correctly configured as listed in the following sections.

Ejb_default.cfg

Verify the contents of this file as they are shown here:

environment.dir=C:\\callConnect\\test\\CCClient\\

jndi.as400Source=jdbc/jt400

log.config=C:\\callConnect\\test\\CCClient\\log.cfg

Log.cfg

Check the following line:

log4j.appender.basic.File=C:\\callConnect\\test\\CCClient\\callConnect.log

callConnect.bat

Verify that the ROSEAO_PATH is set as follows:

set ROSEAO_PATH=C:\callConnect\test set SERVER=<iSeries>

Verify that the CLIENT_PATH is set as follows:

set CLIENT_PATH=%ROSEAO_PATH%\CCClient

If using a test instance, change the port number in the following line to 902, for example:

start javaw -Djava.naming.provider.url=iiop://%SERVER%:900 etc

Running the manually configured client

Create a desktop icon pointing to callConnect.bat. The first time you run this, it displays:

￿Default User: User for call.connect

￿Default Password: Password for user

￿S21 Company: XX (the AR company to be used)

￿S21 GL Company: XX (the GL company to be used)

￿S21 User Name: OMUSER or user set up in 3.2.6, “User profiles” on page 36

￿S21 Password: OMUSER

￿Datasource: as400Source. This must be the JNDI name used in ejb_default. It is not the name of the datasource set up in WebSphere.

After the first time, the system requests only the user and password to sign on. Remember, users and passwords are case sensitive.

Testing Java Web Start

Follow the steps for a standard configuration until you reach the create configuration step. Then complete the steps in the following sections for your HTTP Server.

HTTP Server for iSeries (original)

Configure your IBM HTTP Server for iSeries (original) as explained in the following steps:

1.Under the Configurations option, select the Create Configuration link.

2.The Create Configuration page appears (see Figure 3-14 on page 43 for an example). Follow these steps:

Chapter 3. Installing and setting up call.connect 67

Page 79
Image 79
IBM SG24-6526-00 manual Testing Java Web Start, HTTP Server for iSeries original, Ejbdefault.cfg, Log.cfg, callConnect.bat