Professional Documents
Culture Documents
DN4500817.0507
EDA, EDA/SQL, FIDEL, FOCCALC, FOCUS, FOCUS Fusion, FOCUS Vision, Hospital-Trac, Information Builders, the
Information Builders logo, Parlay, PC/FOCUS, SmartMart, SmartMode, SNAPpack, TableTalk, WALDO, Web390,
WebFOCUS and WorldMART are registered trademarks, and iWay and iWay Software are trademarks of Information
Builders, Inc.
Due to the nature of this material, this document refers to numerous hardware and software products by their
trademarks. In most, if not all cases, these designations are claimed as trademarks or registered trademarks by their
respective companies. It is not this publisher’s intent to use any of these names generically. The reader is therefore
cautioned to investigate all claimed trademark rights before using any of these names other than to refer to the
product described.
Copyright © 2007, by Information Builders, Inc. and iWay Software. All rights reserved. Patent Pending. This manual,
or parts thereof, may not be reproduced in any form without the written permission of Information Builders, Inc.
7
WebFOCUS
Contents
Preface................................................................................................................7
Documentation Conventions..............................................................................................8
Related Publications..........................................................................................................9
Customer Support.............................................................................................................9
Information You Should Have.............................................................................................9
User Feedback................................................................................................................10
Information Builders Consulting and Training.....................................................................11
7
4 WebFOCUS
Contents
Reader Comments...........................................................................................113
7
6 WebFOCUS
7
WebFOCUS
Preface
This documentation describes how to install and configure WebFOCUS Developer Studio on
machines running Windows 2000, XP, or 2003 operating systems. This documentation is
intended for developers with some knowledge of Windows operating systems.
Chapter/Appendix Contents
Chapter/Appendix Contents
Documentation Conventions
The following table lists and describes the conventions that apply in this manual.
Convention Description
THIS TYPEFACE Denotes syntax that you must enter exactly as shown.
or
this typeface
this typeface Highlights a file name or command. It may also indicate a button,
menu item, or dialog box option you can click or select.
{} Indicates two or three choices; type one of them, not the braces.
... Indicates that you can enter a parameter multiple times. Type only
the parameter, not the ellipsis points (...).
7
8 WebFOCUS
Preface
Related Publications
To view a current listing of our publications and to place an order, visit our Technical
Documentation Library, http://documentation.informationbuilders.com. You can also contact
the Publications Order Department at (800) 969-4636.
Customer Support
Do you have any questions about this product?
Join the Focal Point community. Focal Point is our online developer center and more than a
message board. It is an interactive network of more than 3,000 developers from almost
every profession and industry, collaborating on solutions and sharing tips and techniques,
http://forums.informationbuilders.com/eve/forums.
You can also access support services electronically, 24 hours a day, with InfoResponse
Online. InfoResponse Online is accessible through our World Wide Web site,
http://www.informationbuilders.com. It connects you to the tracking system and known-
problem database at the Information Builders support center. Registered users can open,
update, and view the status of cases in the tracking system and read descriptions of reported
software issues. New users can register immediately for this service. The technical support
section of www.informationbuilders.com also provides usage techniques, diagnostic tips,
and answers to frequently asked questions.
Call Information Builders Customer Support Service (CSS) at (800) 736-6130 or (212) 736-
6130. Customer Support Consultants are available Monday through Friday between 8:00
a.m. and 8:00 p.m. EST to address all your WebFOCUS Managed Reporting questions.
Information Builders consultants can also give you general guidance regarding product
capabilities and documentation. Please be ready to provide your six-digit site code number
(xxxx.xx) when you call.
To learn about the full range of available support services, ask your Information Builders
representative about InfoResponse Online, or call (800) 969-INFO.
User Feedback
In an effort to produce effective documentation, the Documentation Services staff welcomes
your opinions regarding this manual. Please use the Reader Comments form at the end of
this manual to communicate suggestions for improving this publication or to alert us to
corrections. You can also use the Documentation Feedback form on our Web site,
http://documentation.informationbuilders.com/feedback.asp.
Thank you, in advance, for your comments.
7
10 WebFOCUS
Preface
7
12 WebFOCUS
7
WebFOCUS
7
14 WebFOCUS
1. Introducing WebFOCUS and WebFOCUS Developer Studio
7
16 WebFOCUS
1. Introducing WebFOCUS and WebFOCUS Developer Studio
WebFOCUS employs a distributed architecture. This means that the WebFOCUS Client and
its WebFOCUS Reporting Servers can either be on the same machine and operating system
or distributed across multiple machines running different operating systems. You can easily
connect an Apache Web server running on UNIX to SQL Server data on Windows and DB2
data on z/OS.
For more information on WebFOCUS components and configuration options, refer to
WebFOCUS and iWay installation and configuration documentation.
Note: To ensure proper communication, WebFOCUS components should be the same release
number as each other and Developer Studio.
WebFOCUS Processing
The following steps accompany the figure below and describe how WebFOCUS or Developer
Studio processes requests:
1. A user requests a report and passes parameters by calling the WebFOCUS servlet through
links and forms on a Web page or through Developer Studio.
2. The request and parameters come to the WebFOCUS Client through the Web and/or
application servers, and the WebFOCUS Client processes the parameters to create a
request for the WebFOCUS Reporting Server.
3. The WebFOCUS Reporting Server receives the request, processes it, and accesses any
needed data.
4. Data is retrieved from data sources to process the request.
5. The WebFOCUS Reporting Server processes the user's request using the retrieved data.
6. The response is returned to the WebFOCUS Client.
7. The response is returned to the user.
7
18 WebFOCUS
1. Introducing WebFOCUS and WebFOCUS Developer Studio
A network installation of Developer Studio includes only the GUI tools to develop, organize,
maintain, and deploy applications and procedures. Full WebFOCUS Client connectivity (CGI,
ISAPI, servlet) is not included. After installing the networked Developer Studio option, you
must set up a connection to a WebFOCUS environment somewhere on your network. Developer
Studio then uses the Web server configuration, application server configuration, WebFOCUS
Client connectivity, and WebFOCUS Reporting Server of that WebFOCUS environment.
Network installations are discussed in Configuring a Network Installation on page 65.
The steps to install and configure Developer Studio vary depending on how you plan to
develop applications.
Local Processing. Install Developer Studio on each developer's machine and then
ensure a Web and/or application server is configured on each machine. To access data,
configure the local WebFOCUS Reporting Server. Developers will develop applications
and run reports on their machines.
Remote Processing. Install Developer Studio on each developer's machine. Then, set
up a connection from each Developer Studio machine to a WebFOCUS environment
installed somewhere on your network. To access data, configure the WebFOCUS Reporting
Server in the WebFOCUS environment. A Web and/or application server is not needed
on the Developer Studio machines because developers connect to environments running
elsewhere to develop applications and run reports.
7
20 WebFOCUS
1. Introducing WebFOCUS and WebFOCUS Developer Studio
Network Installation. Install Developer Studio on one shared machine. Developers will
run Developer Studio from their desktop by accessing the files installed on the shared
machine over the network. You must set up a connection from Developer Studio on the
shared machine to a WebFOCUS environment. To access data, configure the WebFOCUS
Reporting Server in the WebFOCUS environment. A special license code is needed for a
network installation.
Installation on a WebFOCUS Machine. Install Developer Studio after WebFOCUS is
installed and configured. Developer Studio connects to the WebFOCUS environment that
is already installed.
6. Configure data adapters and metadata to report on your data through the WebFOCUS
Reporting Server (see Developer Studio Application Development Getting Started guide).
For remote processing and network installations, you use the adapters and metadata of
the remote environment.
7. For network installations, configure access from developer's desktops to the shared
machine where you installed Developer Studio (see Configuring a Network Installation on
page 65).
7
22 WebFOCUS
7
WebFOCUS
Review the following requirements to ensure your machine supports Developer Studio.
Hardware Requirements
Verify that your Windows machine meets the Developer Studio hardware requirements:
Pentium 3 or higher at 600 MHz or higher.
VGA or higher resolution graphics card. Display of 1027x768 is recommended.
512 MB of RAM.
500 MB free hard disk space for CD installation. 1 GB for downloaded installation.
Software Requirements
Verify that your Windows machine meets the Developer Studio software requirements:
Windows 2000, XP, or 2003 Server and Professional Editions. Windows 2000 must
have Service Pack 2 or higher.
Internet Explorer 6 and higher. Internet Explorer components are required for Developer
Studio. If possible, upgrade to the most recent version of Internet Explorer.
Adobe Acrobat Reader 6.0 and higher. Acrobat Reader 6 and 7 are certified to view
PDF reports generated by Developer Studio.
To use the WebFOCUS servlet, the required third party components are included with
Developer Studio. Developer Studio can install and configure Apache Tomcat for use as both
a Web server and application server. However, to use local processing with CGI or ISAPI, a
Web server that supports aliasing and the CGI or ISAPI protocol must be separately installed.
At this time though, CGI and ISAPI are not supported with Developer Studio.
Note: You must be an administrator to the Windows machine to run the installation.
7
24 WebFOCUS
2. Installing Developer Studio
Silent Installation. In a silent installation, you launch the installation and specify a text
file. The text file contains the installation parameters, so no GUI windows are launched.
For silent installations, see Silent Developer Studio Installation on page 41.
Caution: When updating Developer Studio from a previous 7.6 release, either apply a service
pack installation or completely uninstall the older 7.6 product before running the full
installation. To uninstall Developer Studio, use the Uninstall option in the WebFOCUS 76
Developer Studio program group. If you manually delete Developer Studio directories, you
may leave files and registry settings that could affect future installs. If prompted to reboot
after uninstalling, do so before reinstalling.
7
26 WebFOCUS
2. Installing Developer Studio
The Developer Studio installation program will detect that WebFOCUS is already installed
and will not provide options to automatically configure a Web and/or application server. You
do not need to configure a Web and/or application server for Developer Studio if one is
already configured for WebFOCUS on the machine. Developer Studio will use the existing
WebFOCUS environment including the Web and/or application server configuration. All
products can co-exist and use the WebFOCUS environment through Developer Studio or a
browser.
How to:
Install Developer Studio
4. Type the product serial number when prompted and click Next. The serial number can
be found on the back of the CD case.It is based on your license agreement and controls
the software edition that is installed.
Note: If you wish to use Visual Discovery or a network installation, ensure you have the
correct license.
If you type a valid serial number, the Registration Confirmation window appears.
7
28 WebFOCUS
2. Installing Developer Studio
Java 2 SDK, SE 1.5.0_09. When selected, this installs Java components needed
for Developer Studio. If Java SDK 1.4.1 or higher is not already installed, you must
install this SDK. If you choose to install Tomcat 5.5, and Java SDK 1.5.0 or higher
is not installed, you must install this SDK.
Apache Tomcat 5.5.17. When selected, this installs Apache Tomcat for use as the
Web and/or application server. Java SDK 1.5.0 or higher is required.
The following configuration options appear:
Configure Apache Tomcat 5.5.17 standalone. When selected, this configures
Apache Tomcat 5.0 or 5.5 for use with Developer Studio as both a Web and
application server. This can also be manually configured as explained in Configuring
the Web Server and/or Application Server on page 45.
Configure Apache Tomcat 5.5.17 connector (plug-in) for Microsoft IIS. When
selected, this configures Apache Tomcat 5.0 or 5.5 as the application server,
configures IIS as the Web server, and configures communications between IIS and
Tomcat. IIS must be installed to use this option. This can also be manually configured
as explained in Configuring the Web Server and/or Application Server on page 45.
WebFOCUS Quick Data. This option installs an Excel Add-In that allows developers
to create WebFOCUS reports directly from Microsoft Excel. Developers create reports
using the HTML Report Assistant, and output is displayed in the active Excel
Workbook.
Enabling this option through Developer Studio provides a single-user license applicable
only to the Developer Studio user and functions against the local Developer Studio
environment or against licensed WebFOCUS environments.
This feature must be licensed separately for use in multi-user WebFOCUS
environments. This also applies when Developer Studio and WebFOCUS are installed
on the same PC. For configuration information on WebFOCUS Quick Data, see Enabling
WebFOCUS Quick Data on page 83
The configuration options are not available if WebFOCUS is detected, if you perform a
network installation, or if you install the Managed Reporting Developer edition. If
WebFOCUS is detected, Developer Studio uses the existing WebFOCUS environment.
For a network installation or Managed Reporting Developer edition, you must connect
Developer Studio to a WebFOCUS environment after installation.
To manually configure a different application server, deselect the configuration options
and refer to Configuring Additional Web and/or Application Servers on page 62.
7. Select the components you wish to install and configure, and then click Next.
You are prompted for the directory where Developer Studio components are installed.
8. Choose the directory for Developer Studio components and click Next. You cannot include
spaces in the folder name.
Note: If you are installing Developer Studio on the same machine as other WebFOCUS
products, it is recommended that all products be installed on the same drive in the
same ibi directory.
The Start Copying Files window appears.
9. Review the settings at the Start Copying Files window and click Next to begin the
installation.
The installation may take some time. When the installation completes, you have the
option to view the WebFOCUS New Features PDF.
Contains applications and data. By default, this is the APPROOT directory where
WebFOCUS looks for application files. Sample files are provided in the \ibinccen and
\ibisamp directories.
\DevStudio76\backup
Contains a backup of the cgivars.wfs file. If your main cgivars.wfs configuration becomes
corrupt, you can use this backup file to replace a corrupt version.
\DevStudio76\bin
7
30 WebFOCUS
2. Installing Developer Studio
\DevStudio76\client
Contains WebFOCUS Client configuration files. Many of these files were installed with
the WebFOCUS Reporting Server in previous versions. However, the main communications
file odin.cfg is still installed under the srv76\wfs\etc directory instead.
\DevStudio76\config
Contains Web page components that provide local processing, Web based tools, and
other features.
\DevStudio76\logs
Contains a WebFOCUS Reporting Server installed and configured for Developer Studio.
\DevStudio76\temp
User ID Issues
The Developer Studio installation created registry settings under HKEY_CURRENT_USER
that are only available to the user ID that installed Developer Studio. If you log on to the
Developer Studio machine as another user ID and attempt to run Developer Studio, the
missing registry settings may cause problems with certain features (e.g., Quick Links, Impact
Analysis, etc.).
To run Developer Studio as a user ID that did not install Developer Studio, log on to the
machine as the user ID under which you wish to run Developer Studio and executing the
following utility:
drive:\ibi\DevStudio76\Utilities\import_reg.bat
7
32 WebFOCUS
2. Installing Developer Studio
This adds the registry settings for the user ID logged on when you execute it. If you receive
an error, ensure that the user ID can write to the registry under HKEY_CURRENT_USER.
In addition, you must also configure security for the WebFOCUS Reporting Server as explained
in WebFOCUS Reporting Server Security and User IDs on page 88. By default only the user
that installed Developer Studio can start the WebFOCUS Reporting Server, so this must be
changed if you use the local server.
Reference:
Apache Tomcat Installation Information
If you are not using Tomcat, proceed to Verifying Developer Studio on page 34.
To start, stop, and restart Tomcat, you can use the Services window (Control Panel,
Administrative Tools, Services). The Tomcat service is listed as Apache Tomcat and is
configured to start automatically with Windows.
By default, a Tomcat user ID of "admin" is defined with no password. This user ID is only
for Tomcat Web-based administration tools and is not related to WebFOCUS or Windows
user IDs. Tomcat user IDs and passwords are defined, unencrypted in:
C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\tomcat-users.xml
If you are not safely behind a firewall, you can add a password for the admin user ID by
editing this file. For example:
<user username="admin" password="xxxxxxx" roles="admin,manager"/>
Tomcat uses TCP ports 8080, 8009, and 8005 by default. Port 8080 is the HTTP listener
through which you access Tomcat in a Web browser. Port 8009 is needed for the Tomcat
Connector (plugin) for IIS. If you need to change these ports, you must edit the following
file:
C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\server.xml
See Tomcat Ports on page 51. If you change defaults, substitute accordingly in procedures
and examples. You also need to update Developer Studio's connection settings so it
knows the correct Tomcat HTTP port if you change the default.
If you choose to install the Tomcat Connector (plugin) for IIS, it is installed silently in:
C:\Program Files\Apache Software Foundation\Jakarta Isapi Redirector
The default Tomcat Java memory settings are increased when Tomcat is installed with
WebFOCUS 7.6. If you did not install Tomcat with Developer Studio 7.6, you should
increase the Java memory options as explained in Java Memory Issues on page 96.
The Tomcat Administration Tool is also installed within the Tomcat directory structure.
This is available for debugging purposes and is not fully stabilized for creating contexts.
7
34 WebFOCUS
2. Installing Developer Studio
How to:
Start Apache Tomcat or Microsoft IIS
Verify the Web Server
Verify the WebFOCUS Web Application Deployment
If Tomcat is configured for you, you should restart it to ensure all settings are correct. If you
are using Tomcat with IIS, you should restart IIS as well.
2. Right-click Apache Tomcat and/or IIS Admin Service and choose Start, Stop, or Restart.
For IIS, also make sure the World Wide Web Publishing Service is started.
Note:
If you install Tomcat with Developer Studio, the Tomcat service starts automatically
with Windows. If you want to change this behavior, right-click Apache Tomcat in the
Services window, choose Properties, and change the Startup type to Manual. However,
be sure to start Tomcat before starting Developer Studio.
You can also start Tomcat from the Start menu by selecting Programs, Apache Tomcat
5.5, and Configure Tomcat. A window appears where you can start Tomcat and change
some settings related to how Tomcat runs as a service.
A WebFOCUS 76 Server for Developer Studio service appears in the Services windows.
However, you should not start this server from here. This WebFOCUS Reporting Server
cannot run as a service or with security OPSYS until you configure security as
explained in WebFOCUS Reporting Server Security and User IDs on page 88.
If the home page does not appear, the Tomcat may still be loading. Wait a few minutes
and try again.
7
36 WebFOCUS
2. Installing Developer Studio
How to:
Run the Verification Tool
A verification tool is installed along with Developer Studio as part of the WebFOCUS
Administration Console.
3. Log on using an administrator user ID. By default, "admin" is a valid administrator ID,
and the password is not initially authenticated.
The WebFOCUS Administration Console appears.
7
38 WebFOCUS
2. Installing Developer Studio
Using this console, you can edit communication and security settings. This console is
documented in the WebFOCUS Security and Administration manual and relevant sections
are available by clicking Help. The WebFOCUS Administration Console contains a
verification tool to further test the configuration.
The verification tool is supported only with Internet Explorer at this time, and you may
receive errors if you use other browsers.
7
40 WebFOCUS
2. Installing Developer Studio
When you open the Project Migration Tool, it lists any GFA files for Developer Studio 4
applications in the APPROOT directory.
If you have applications in a different directory, specify the directory by clicking the Browse
button next to the Look for projects in field. Uncheck any applications that you do not want
to migrate, and then click the Migrate button to migrate the checked applications. The migrate
utility updates the application files and places a new GFA file inside the application directory.
After you are familiar with the Developer Studio installation, you can install in silent mode
if you need to reinstall Developer Studio on several different machines. In a silent installation,
dialog boxes do not appear to prompt you for parameters. Instead, you place the parameters
in a text file that you specify when launching the silent installation. This is useful for sites
where Developer Studio is installed on many developer machines.
To install in silent mode, you must first create a file containing your installation parameters.
Note: If you received the installation via a download rather than a CD, you need to run the
installation and choose the option to keep the unpacked files on your computer. The silent
installation must be run with the files on the CD or the files that are unpacked from a
downloaded installation.
7
42 WebFOCUS
2. Installing Developer Studio
where:
drive:\PATH_TO\optionsFile.txt
Is the full path to the text file containing your installation options.
7
44 WebFOCUS
7
WebFOCUS
Note: CGI and ISAPI are not supported Configuring Microsoft IIS
with Developer Studio at this time.
Configuring Microsoft IIS to Use the
Tomcat Connector (Plug-In)
Configuring Additional Web and/or
Application Servers
Configuration Options
This chapter is not necessary if any of the following apply:
This chapter is not needed if you chose the automatic configuration option during the
Developer Studio installation and successfully ran the verification tool in Installing
Developer Studio on page 23. You can optionally review this information to understand
the configuration or proceed to Configuring the Local Reporting Server Security on page
87.
This chapter is not needed if you installed Developer Studio on a machine where
WebFOCUS was already installed and configured. In this case, Developer Studio can use
the existing WebFOCUS configuration. Proceed to Configuring the Local Reporting Server
Security on page 87.
This chapter is not needed if you plan to perform only remote development or a network
installation. In this case, you must configure Developer Studio to access a WebFOCUS
environment installed elsewhere. See Configuring the Local Reporting Server Security on
page 87 for information on connecting to WebFOCUS environments. See Configuring a
Network Installation on page 65 for additional network installation steps.
This chapter is needed if a Web or application server is not configured or if you need to
troubleshoot the configuration. Developer Studio requires a Web and/or application server
to perform standalone Project-based development and to process reports locally. Configuration
steps vary depending on which Web and/or application servers you use:
Apache Tomcat Stand Alone
Tomcat can be used as both the Web server and application server. If you choose this
option, be aware that the default HTTP port for Tomcat is 8080 rather than 80. Therefore
when calling Web server pages in a browser, you must use:
http://hostname:8080
rather than:
http://hostname
Manual configuration is described in Configuring Apache Tomcat on page 47.
Microsoft IIS and Apache Tomcat
Tomcat can be used as the application server while Microsoft IIS can be used as the
Web server. This requires two servers and the configuration of their communications.
Manual configuration is described in Configuring Apache Tomcat on page 47, Configuring
Microsoft IIS on page 53, and Configuring Microsoft IIS to Use the Tomcat Connector (Plug-
In) on page 56.
7
46 WebFOCUS
3. Configuring the Web Server and/or Application Server
Other
Other Web and/or application servers, such as IBM WebSphere, can be manually
configured as explained in Configuring Additional Web and/or Application Servers on page
62.
Note: New Atlanta ServletExec ISAPI is not supported at this time.
For convenience, the term application server is used to refer to either a servlet container,
J2EE Engine, or application server.
The Developer Studio installation provided the option to install and configure Apache Tomcat
for you. If you chose this option and the verification tool ran successfully, you do not need
to manually configure Tomcat. However, if you are not familiar with Tomcat, you may wish
to review this section to understand the configuration process.
Note:
If Tomcat is not yet installed, install it at this time. You can install Tomcat by restarting
the Developer Studio installation program, choosing the Full Install option, choosing the
Apache Tomcat installation option, and deselecting the Developer Studio option.
Tomcat uses TCP ports 8080, 8009, and 8005 by default. If you need to change them,
see Tomcat Ports on page 51.
If Developer Studio installs Tomcat, it increases the default Java VM memory options. If
you manually install Tomcat or need to troubleshoot memory issues, see Java Memory
Issues on page 96.
Tomcat must know to serve files from the Web application when it receives a request for
the ibi_apps context path. For example:
http://localhost:8080/ibi_apps
Tomcat can be used as both a Web server and application server, so Tomcat can also serve
files outside of a Web application after it knows their location and context. On a traditional
Web server you create aliases. With Tomcat, an alias is treated like a context root, even
when serving files outside of a Web application.
When using Tomcat as both Web and application server, the following contexts must be
created:
/ibi_apps drive:\ibi\DevStudio76\Webapps\webfocus76
/ibi_html drive:\ibi\DevStudio76\ibi_html
/approot drive:\ibi\apps
When using Tomcat as the application server and IIS as the Web server, create only one
context on Tomcat:
/ibi_apps drive:\ibi\DevStudio76\Webapps\webfocus76
The ibi_html and approot contexts are then created as aliases (Virtual Directories) on IIS
and IIS is configured to send requests for ibi_apps to Tomcat.
Configuring Tomcat
How to:
Create Contexts for Apache Tomcat
Test the Tomcat Configuration
There are many ways to configure Tomcat. Information Builders recommends creating XML
files under TOMCAT_HOME\conf\Catalina\localhost. The Tomcat 5.5 Admin Tool is useful
for debugging, but is not a stable environment for creating contexts. Creating XML files under
TOMCAT_HOME\conf\Catalina\localhost works with both Tomcat 5.0 and Tomcat 5.5.
7
48 WebFOCUS
3. Configuring the Web Server and/or Application Server
Note: In Tomcat 5.5, do not create contexts using the Manager tool. The Managed Tool
copies directories under Tomcat 5.5/webapps rather than creating the XML files that define
contexts.
3. If the ibi_apps.xml file does not exist, create it using Notepad. For example:
<?xml version='1.0' encoding='utf-8'?>
<Context docBase="c:\ibi\DevStudio76\Webapps\webfocus76" path="/ibi_apps">
</Context>
Be sure to specify the correct directory on your machine and change the context root if
you are not using the default (ibi_apps).
4. If you are using Tomcat standalone and approot.xml does not exist, create it using
Notepad. For example:
<?xml version='1.0' encoding='utf-8'?>
<Context docBase="C:\ibi\apps" path="/approot">
</Context>
Be sure to specify the correct directory on your machine.
5. If you are using Tomcat standalone and ibi_html.xml does not exist, create it using
Notepad. For example:
<?xml version='1.0' encoding='utf-8'?>
<Context docBase="c:\ibi\DevStudio76\ibi_html" path="/ibi_html">
</Context>
Be sure to specify the correct directory on your machine.
Note: The ibi_bid context is no longer needed in WebFOCUS 7.6.
3. If you created the ibi_html context, test it by going to the following URL in a Web browser:
http://localhost:8080/ibi_html/index.html
The WebFOCUS home page should appear.
Note: Until you start the WebFOCUS Reporting Server, you cannot actually run reports
from this page.
7
50 WebFOCUS
3. Configuring the Web Server and/or Application Server
How to:
Set Security for the Tomcat Web Tools
Reference:
Tomcat Ports
Reloading Web Applications
Additional Configuration Steps
You should be aware of how to secure the Administration and Manager tools, Tomcat's TCP
ports, and how to reload Web applications.
8080 HTTP Listener You access Tomcat in a Web browser using this port.
Port For example:
http://localhost:8080
8005 Shutdown Tomcat uses this port for internal operations and for
Port shutting down.
If these ports are not available or you wish to change them, do the following:
1. Open the following file in a text editor:
C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\server.xml
2. Search for the port numbers you wish to replace (8080, 8009, 8005) and replace them
with the ports you wish to use.
3. Save and exit the file.
4. Restart Tomcat.
If you change defaults, substitute accordingly in procedures and examples. You also need
to update Developer Studio's connection settings so it knows the correct Tomcat HTTP port
if you change the default.
7
52 WebFOCUS
3. Configuring the Web Server and/or Application Server
For a Tomcat standalone configuration, remove the approot.xml and ibi_html.xml files as
well.
This section only applies when using Microsoft IIS as your Web server.
IIS is a Web server and does not process Java on its own. Therefore, to run the WebFOCUS
Servlet, IIS should be used with Apache Tomcat or another application server. This document
assumes you are using Apache Tomcat. New Atlanta ServletExec ISAPI is not supported at
this time.
Configuration steps are the following:
1. Configure Tomcat as explained in Configuring Apache Tomcat on page 47.
2. Define aliases that map directories containing Developer Studio files to directories the
Web server can reference as explained in How to Confirm or Create Virtual Directories
(Aliases) on page 54. IIS calls these mappings Virtual Directories.
3. Configure communications between IIS and Tomcat as explained in Configuring Microsoft
IIS to Use the Tomcat Connector (Plug-In) on page 56.
How to:
Confirm or Create Virtual Directories (Aliases)
Developer Studio connectivity components and other Web based features sometimes run
as part of the Web server. Therefore, IIS must be told the locations of Developer Studio files
and have sufficient access to those files.
Before configuring IIS, it is a good idea to restart it. You can start and stop IIS from the
Services Window as explained in How to Start Apache Tomcat or Microsoft IIS on page 35.
4. Confirm that the Name and Path columns of the following table appear on the right of
the window:
If the above names and paths appear, proceed to Setting Permissions on page 55.
If ibi_html or approot do not appear, you should add them.
5. To add ibi_html or approot, select the Default Web Site or site you are using for
WebFOCUS, and then use the menu bar to select Action, New, and then Virtual Directory.
This launches the New Virtual Directory Wizard. Go through the wizard one time for each
virtual directory you wish to create.
7
54 WebFOCUS
3. Configuring the Web Server and/or Application Server
8. For the directory, browse to and select the directory for the alias. For example:
Alias DirectoryPath
ibi_html drive:\ibi\DevStudio76\ibi_html
approot drive:\ibi\apps
9. Leave the defaults when defining ibi_html or approot and click Next.
10. Click Finish.
11. Select the Default Web Site or site you are using for WebFOCUS, and then use the menu
bar to select Action, New, and then Virtual Directory.
Repeat the steps if you need to define another virtual directory. Your Web site must be
selected so that the virtual directories become its subdirectories. After creating a virtual
directory, ensure your site is selected and not the virtual directory you just created.
Setting Permissions
Two kinds of permissions issues are involved when using IIS:
IIS permissions determine what IIS is allowed to do. You can set this through the Internet
Services Manager for the WebFOCUS aliases (virtual directories).
If the Developer Studio installation configures IIS for you, they should default correctly.
However, on some Windows Servers, the ibi_html alias may require Scripts executable
permissions to serve .html files (though not .htm files).
NTFS permissions determine what each user ID is allowed to do through the file system.
You can set this in Windows Explorer or My Computer by right-clicking a folder, choosing
Properties, and clicking the Security tab. NTFS permissions take precedence over IIS
permissions. If the user ID that IIS runs under does not have NTFS permissions to write
to a directory, then IIS cannot write to that directory.
IIS and Tomcat need access to the Developer Studio directories. However, when using
IIS with Apache Tomcat, you normally do not need to set NTFS permissions. IIS needs
only Read NTFS permissions, which it should have by default. Tomcat runs as the Local
System account, which automatically has full access. These defaults can be changed if
you require.
If you need to set NTFS permissions, determine which user IDs require access to Developer
Studio directories. Then set NTFS permissions to allow those user IDs full access.
To use Tomcat as the application server, while using Microsoft IIS as the Web server, you
must do the following if the installation did not do it for you:
1. On Tomcat, deploy the WebFOCUS Web application by creating the ibi_apps context as
explained in Configuring Tomcat on page 48.
2. On IIS, set the /ibi_html and /approot aliases (virtual directories) as explained in
Configuring IIS Virtual Directories (Aliases) on page 53.
3. Install and configure the Tomcat plug-in (Jakarta Tomcat Connector JK1.2 for IIS) as
explained in this section.
Note:
The Tomcat Connector (plug-in) for IIS is not supported on 64 bit Windows systems.
If ServletExec ISAPI is installed, stop IIS, uninstall it, and reboot. If this is not possible,
you can disable the filter. To disable the filter, open the Internet Service Manager,
right-click your Web site, choose Properties, and remove the ISAPI filter from the ISAPI
FIlters tab. If no filter appears, move the ServletExec_ISAPI.dll file out of the
C:\Inetpub\Scripts directory.
7
56 WebFOCUS
3. Configuring the Web Server and/or Application Server
How to:
Configure the Redirection for Developer Studio
Configure a Windows 2003 Server to Use the Tomcat Plug-In
Reference:
Tomcat Connector (Plug-In) Installation
A simple installation program installs the Tomcat plug-in and configures the default IIS Web
site to use it. After installing the plug-in, you can change which IIS Web sites use the plug-
in if you wish. If you chose to configure the Tomcat plug-in when installing Developer Studio,
the plug-in should be installed in:
C:\Program Files\Apache Software Foundation\Jakarta Isapi Redirector
If the plug-in is not installed, you can run the following program to install it:
drive:\ibi\DevStudio76\utilities\isapi_redirect-1.2.8.exe
The installation program is self explanatory and prompts you for the location to install the
connector.
Note: If you manually install the connector a workers.properties.minimal file appears instead
of a workers.properties file. The files are the same except for their names.
extension_uri /jakarta/isapi_redirect.dll
log_level info
3. A Virtual Directory (alias) with scripts and executables permissions is created under the
default IIS Web site.
Alias Path
If you wish to use the plug-in with a different Web site, create this Virtual Directory under
that site as well or instead.
4. The following file is added to the default Web site as an ISAPI Filter.
C:\Program Files\Apache Software Foundation\Jakarta Isapi Redirector\
bin\isapi_redirect.dll
7
58 WebFOCUS
3. Configuring the Web Server and/or Application Server
In some environments, WebFOCUS does not successfully add this and you must do it
manually. You can confirm or add this by right-clicking your Web site in the Internet
Services Manager, choosing Properties, and selecting the ISAPI Filters tab. If the jakarta
filter does not appear as it does in the following image, click Add and add it.
If you wish to use the plug-in with a different Web site, create this filter under that site
as well or instead.
Note: If Developer Studio installed the Tomcat Connector, you can manually uninstall it by
removing the registry settings, ISAPI Filter, Virtual Directory, and Jakarta Isapi Redirector
directory. If you ran the Tomcat Connector installation utility, you can uninstall it using
Add/Remove Programs in the Control Panel.
2. Confirm that the following line appears and manually add it if it does not appear:
/ibi_apps/*=ajp13w
This line tells IIS to send requests for ibi_apps to Tomcat. If you changed the default
context root, substitute accordingly. The /ibi_apps/* context can only appear once.
Procedure: How to Configure a Windows 2003 Server to Use the Tomcat Plug-In
If you are not using Windows 2003 Server, you can proceed to Verifying the Configuration
on page 61.
On Windows 2003 Server, you must create a Web Services Extension for the Tomcat plug-
in.
1. Open the Internet Services Manager. You can access this from the Start menu by
selecting Run and typing the following:
inetmgr
The Internet Information Services window appears when you press Enter.
2. Expand your hostname on the left, right-click Web Service Extensions, and select Add a
new Web service extension.
3. In the Extension name field, type:
jakarta
6. Click Open and then OK to close windows and return to the main Internet Services
Manager window.
7. Ensure the Jakarta-Tomcat Web service extension status is set to allow.
8. Restart IIS.
7
60 WebFOCUS
3. Configuring the Web Server and/or Application Server
How to:
Run Test Calls
After configuring the Tomcat plug-in, ensure that IIS can route requests to Tomcat.
2. Ensure the ibi_apps context is created on Tomcat by typing the following URL:
http://localhost:8080/ibi_apps/about.jsp
A page displaying information about the build should display. If there is a broken image,
do not be concerned. If nothing displays, ensure that Tomcat is started and that you
created this context as explained in Configuring Apache Tomcat on page 47. If you receive
an error, see Troubleshooting Developer Studio on page 95.
3. Ensure IIS routes a request for ibi_apps to Tomcat by typing the following URL:
http://localhost/ibi_apps/about.jsp
The same page should display without the broken image. If IIS is not on port 80,
substitute accordingly.
If you receive an error:
Ensure that all steps have been performed to configure the connector/plug-in.
Ensure that both IIS and Tomcat are started and try restarting them.
Ensure that "/ibi_apps/*" appears only once in the uriworkermap.properties file.
Ensure that ServletExec ISAPI is not installed or is disabled.
This section explains how to manually configure other Web and/or application servers.
How to:
Configure Aliases
Developer Studio connectivity components and other Web based features sometimes run
as part of the Web server. Therefore, your Web server must be told the locations of Developer
Studio files. To enable this, you define aliases that map directories containing Developer
Studio files to directories the Web server can reference.
2. To use CGI, define the following script alias for the directory containing the WebFOCUS
CGI executable:
/cgi-bin/ibi_cgi drive:\ibi\DevStudio76\srv76\wfs\web\cgi
Note: For Apache based Web servers, the /cgi-bin/ibi_cgi/ ScriptAlias must precede
the generic /cgi-bin/ ScriptAlias.
7
62 WebFOCUS
3. Configuring the Web Server and/or Application Server
How to:
Configure the Application Server
WebFOCUS Java servlets are provided as a Web application installed as the following:
drive:\ibi\DevStudio76\webapps\webfocus76.war
The Web application is also provided as an expanded directory:
drive:\ibi\DevStudio76\webapps\webfocus76\
You can deploy either the webfocus76.war file or the webfocus76 directory depending on
your application server.
To run the servlets, you need either a Web server with native servlet support, a Web server
with a servlet engine ®plug-in (for example,
®
ServletExec), or a Web application server (for
example, WebSphere , WebLogic ). Servlet support must meet the J2EE 1.2 Web Container,
JSP 1.1, and Servlet API 2.2 specifications.
drive:\ibi\WebFOCUS76\webapps\webfocus76.war /ibi_apps
2. If necessary, ensure your Web server can route servlet requests to the application server.
3. If necessary, restart your Web and/or application servers.
By default, Developer Studio attempts to connect to the local Web server using Servlet
calls. To use CGI, review the information on WebFOCUS environments in Configuring the
Local Reporting Server Security on page 87 to switch the WebFOCUS Client Path parameter
for the localhost WebFOCUS environment. CGI and ISAPI are not supported with Developer
Studio at this time.
By default, Developer Studio attempts to start IIS when you start Developer Studio. You
can change this behavior as explained in Configuring the Local Reporting Server Security
on page 87.
7
64 WebFOCUS
7
WebFOCUS
7
66 WebFOCUS
A. Configuring a Network Installation
How to:
Define a WebFOCUS Environment
To configure a network installation of Developer Studio, you must set up access to instances
of WebFOCUS that are installed on your network. You do this by defining WebFOCUS
environments.
7
68 WebFOCUS
A. Configuring a Network Installation
The Environments List shows all WebFOCUS environments defined for Developer Studio.
If you had previously installed Developer Studio, WebFOCUS environments may already
be defined. Otherwise, only the localhost environment displays.
Note: If you previously set up this machine for a Developer Studio network installation,
select your development environment and click Set Development Environment. Then click
OK and restart Developer Studio.
6. Change the Description field to a name end users should see when they launch Developer
Studio from remote machines. The name localhost will be misleading since they will be
on their local machines.
7. Change the Host Name and port to access the Web server where WebFOCUS is
configured. Do not use "localhost" for the hostname even if WebFOCUS is installed on
the same machine as Developer Studio. When end user's launch Developer Studio,
localhost will resolve to the end user's machine and not the Developer Studio machine.
7
70 WebFOCUS
A. Configuring a Network Installation
8. Click through the panes of the WebFOCUS Environment Properties window to change
any default options that are customized in your environment.
For additional information on defining environments, see Configuring the Local Reporting
Server Security on page 87.
10. Click OK on the Environments List when you have defined all your environments.
The Developer Studio Explorer opens.
How to:
Set Up Network Shares
Copy the WebFOCUS Environments File (wfscom.xml)
Configure the Network Settings
For developers to run Developer Studio off the network, you must do the following on the
Developer Studio machine:
1. How to Set Up Network Shares on page 72.
2. How to Copy the WebFOCUS Environments File (wfscom.xml) on page 74.
3. How to Configure the Network Settings on page 75.
7
72 WebFOCUS
A. Configuring a Network Installation
f. Click the Security tab and set permissions for the ibi share directory to Read &
Execute and set permissions for the Developer Studio temp folder
(install_directory\ibi\DevStudionn\temp) to Write access.
where:
install_directory
g. Grant access to the share locations for users accessing the network install. You
can add users individually or you can add users to a group. A group is easier to
maintain, and you can grant the required privileges to the group.
h. Click OK.
2. Turn the Java JDK directory into a network share named java:
a. Open Windows Explorer or My Computer on the Developer Studio machine.
b. Navigate to and right-click the Java JDK directory. For example, one of the following:
C:\Program Files\Java\jdk1.5.0_09
C:\j2sdk1.4.2_10
c. Choose Properties.
d. Select the Sharing tab.
e. Select Share this folder.
If the share name is different from java, ensure the new share name is used in the
runfocshell.dat configuration file, as described in How to Configure the Network
Settings on page 75.
g. Click the Security tab and set permissions for the java directory to Read & Execute.
h. Grant access to the share locations for users accessing the network install. You
can add users individually or you can add users to a group. A group is easier to
maintain, and you can grant the required privileges to the group.
i. Click OK.
7
74 WebFOCUS
A. Configuring a Network Installation
When you define WebFOCUS environments, settings are stored in the following file:
drive:\Documents and Settings\userID\Application Data\Information Builder
s\wfscom.xml
where:
userID
Is the user ID logged on to Windows.
Note: This file and directory may not be visible by default. To see this directory, open Windows
Explorer, click Tools, choose Folder Options, and select the View tab. Then select Show
hidden files and folders and click OK.
For remote machines to access the wfscom.xml file, you must copy it to a shared directory.
The default location to use is:
drive:\ibi\DevStudio76\bin
When running Developer Studio off the network, a developer can use settings in this file or
settings stored on the developer's machine. The first time Developer Studio is run off the
network, the settings in this file are used. When settings in this file are used, this wfscom.xml
file is placed in the end user's /Application Data/Information Builders/ directory on the
remote machine each time Developer Studio is run off the network. If all developers use the
settings in this file, they always see the same WebFOCUS environments.
Caution:
If a previous copy of wfscom.xml or wfscom.wfs is on a remote user's machine, it is
overwritten.
If a remote user changes WebFOCUS environment settings while accessing Developer
Studio from the network, those changes are only saved to the end user's machine. They
will not be available to other users. They will also be overwritten the next time Developer
Studio is launched, unless the user chooses not to update the environments from the
network as explained in Customizing WebFOCUS Environments on page 79.
To change WebFOCUS environment settings for all users, you must change them on the
shared Developer Studio machine and not from a remote machine. Then, you must recopy
the wfscom.xml file to the DevStudio76\bin directory so it is available when Developer
Studio is run from a remote machine.
In Developer Studio 5.3 and earlier, wfscom.xml was named wfscom.wfs.
You must edit this file before launching Developer Studio from another machine.
1. Open the runfocshell.dat file in a text editor such as Notepad.
2. Find the following line:
REGSTRING:LastUsedServer=Name to be supplied by Administrator
3. Change this line to specify the name of the default WebFOCUS environment. For example:
REGSTRING:LastUsedServer=WFEnvironment
You should have set up this environment as explained in How to Define a WebFOCUS
Environment on page 68.
4. Ensure that the correct hostname, share name, and UNC directory path appears for
accessing the DevStudio76 directory. The hostname is set by the install, but you should
confirm it and ensure the share name is correct. Several lines contain this. For example:
WFSCOM:\\hostname\Ibi\DevStudio76\bin\wfscom.xml
SHLPATH:\\hostname\Ibi\DevStudio76\bin
If the hostname is incorrect or you changed the share name, update all lines where the
hostname appears.
Be aware that the WFSCOM value specifies where remote machines look for the
wfscom.xml file. You can change the name and location of this file if needed, but the
file name must end in .xml. The file specified is copied to a remote user's /Application
Data/Information Builders/ directory on the remote machine. The file name on the
remote machine will always be wfscom.xml regardless of the file specified by the WFSCOM
value.
5. Ensure that the correct hostname, share name, and UNC directory path appears for
accessing the shared Java directory you set up in How to Set Up Network Shares on page
72. For example:
REGSTRING:IBIJAVAPATH=\\hostname\java\jre\bin\javaw -classpath
\\hostname\java\jre\lib\rt.jar;"\\hostname\Ibi\DevStudio76\ibi_html\
javaassist\IBIGraphEditorFrame.jar" IBIGraphEditorFrame hold.htm
"\\hostname\Ibi\DevStudio76" \\hostname\Ibi\DevStudio76\temp
7
76 WebFOCUS
A. Configuring a Network Installation
How to:
Install Developer Studio Network Shortcuts
7. Click Finish.
Note: To remove the shortcuts from the remote machine, use the Add/Remove Programs
option in the Windows Control Panel. The shortcuts appear as Zero-Footprint WebFOCUS
Developer Studio. Be aware that this does not remove the registry settings or files described
in Network Developer Studio Settings on Remote Machines on page 78.
Reference:
Network Developer Studio Settings on Remote Machines
After installing the Developer Studio shortcuts, you can start Developer Studio off the network
by selecting Programs from the Start menu, and then Zero-Footprint WebFOCUS Developer
Studio.
If the WebFOCUS Reporting Server runs with security OPSYS, you may be prompted to log
on.
If you receive an error that says, "Sorry same demo was reinstalled," ensure you have
administrator access to the desktop where you wish to run Developer Studio.
If you receive other errors, review the steps in Setting Up Access to the Network Installation
on page 71 and ensure WFSCOM is defined correctly in runfocshell.dat.
7
78 WebFOCUS
A. Configuring a Network Installation
You can control whether the Remote Update Server Environment from Network appears and
whether wfscom.xml is automatically copied by editing the runfocshell.dat file. This file was
introduced in How to Configure the Network Settings on page 75. The runfocshell.dat file
specifies registry entries that great created on developer machines. The registry entries are
created each time a developer launches Developer Studio off the network and will overwrite
any previous entries.
By default the following lines appear:
REGISTRY:HKEY_CURRENT_USER\SOFTWARE\Information Builders\ DeveloperStudio
REGDWORD:IsRemote=1
With these lines, wfscom.xml is copied and developers can choose whether or not to
continue copying the file in the future.
You can choose not to show the option by changing the lines to:
REGISTRY:HKEY_CURRENT_USER\SOFTWARE\Information Builders\DeveloperStudio
REGDWORD:IsRemote=0
With these lines, wfscom.xml is always copied and developers do not have the option
to change this behavior.
You can add the following line if you want to force the copying of wfscom.xml regardless of
what a developer has chosen in the past:
REGISTRY:HKEY_CURRENT_USER\SOFTWARE\Information Builders\ DeveloperStudio
REGDWORD:IsRemote=0 REGDWORD:BypassWFSUpdate=0
With these lines, wfscom.xml is always copied, even if a developer has chosen not to
copy it in the past. This is a good way to force all developers to use a new version of
wfscom.xml if you make a major change in the environment settings.
If you never want wfscom.xml to be copied from the network, use the following line:
REGISTRY:HKEY_CURRENT_USER\SOFTWARE\Information Builders\ DeveloperStudio
REGDWORD:IsRemote=0 REGDWORD:BypassWFSUpdate=1
With these lines wfscom.xml is never copied and developers do not have the option to
change this.
7
80 WebFOCUS
A. Configuring a Network Installation
where:
hostname
Is the hostname or IP Address of the machine where Developer Studio is installed.
When this is launched, files and registry settings are created as described in Network
Developer Studio Settings on Remote Machines on page 78.
If developers need to launch Developer Studio from multiple machines, you can create an
HTML page containing links that point to the appropriate DevStudioLaunch.exe file of each
network install.
Creating Developer Studio Traces From a Client PC in Developer Studio Network Edition
For the network version of Developer Studio, the Developer Studio trace utility can be used
to trace requests from a client PC. To accomplish this, copy the Developer Studio
communications layer trace utility (install_directory\Devstudio71\bin\wfscomtrace.exe) from
the network PC to any location on the client PC. Run this utility prior to performing the task
that is having issues and needs to be analyzed by IBI. From the trace utility, enable traces
and specify location of trace files.
7
82 WebFOCUS
7
WebFOCUS
The Developer's Studio installation places the WebFOCUS Quick Data Add-In in the proper
location so that it is detected by Excel. After the installation is complete, you must open
Microsoft Excel and add the Add-In to your Excel configuration.
7
84 WebFOCUS
B. Enabling WebFOCUS Quick Data
4. From the WebFOCUS menu, select Create Query to start building queries.
The Web Server Connection dialog box appears.
5. Click Next.
Note: If the Reporting Server is running with security on, you are prompted to log in.
A list of available master files appears.
7
86 WebFOCUS
7
WebFOCUS
By default, the WebFOCUS Reporting Server installed with Developer Studio can only be
started by the user who installed it. In addition, the WebFOCUS Reporting Server is not
enabled by default to run with security. For use with Developer Studio, this is sufficient
because Developer Studio starts the WebFOCUS Reporting Server with security OFF. This
server is used by a developer for local standalone development (not to be shared by other
developers) and it is not licensed for group development.
How to:
Set Server Security and User IDs
7
88 WebFOCUS
C. Configuring the Local Reporting Server Security
3. Access the Reporting Server Console. You do this through the Windows Start menu by
selecting Programs, Information Builders, WebFOCUS 76 Developer Studio, WebFOCUS
76 Server for Developer Studio, and Web Console. You can also go to the following page
in Internet Explorer:
http://localhost:8121
If no password is defined, the server starts in safe mode and an error displays.
'admin_id' has no valid member
4. Click fix now if the error appears. If no error appears, on top of the Web Console, click
Workspace and Access Control.
The Access Control page appears. User IDs defined as server administrators appear on
the left under Users and Server Administrator. By default, this is only the Windows user
ID used to install Developer Studio. Expand Users and Server Administrator if they are
not expanded.
5. If you need to run with security OPSYS, click your user ID and select Properties. Then
enter and confirm the password used to log on to the Windows machine. Then, click
Apply and Restart.
If a user other than the user who installed Developer Studio needs to use Developer
Studio, click Users and choose New User. Then, type the authentication information, set
the Administration Level to Server Administrator, and click Create. This should be a
Windows user ID and password.
Note: The WebFOCUS Reporting Server must be started by an ID that has administration
rights on the PC. If non-administrators need to run Developer Studio, you can set a
password for the user ID that installed the server. Then set the server's service to start
automatically with Windows.
Note:
The passwords and user IDs stored by the server must be kept in sync with those
used to log on to Windows. If you change your Windows password, you must access
the Server Console to change the password stored by the server.
When using security OPSYS, user IDs and passwords are also needed to run reports
on the server. By default, any ID that can log on to the Windows machine can be
used to run reports. The IDs and passwords needed to run reports do not need to
be stored by the server. Only IDs and passwords used to start and configure the
server must be stored by the server.
How to:
Configure the Server to Run as a Service With Security OFF
To run the Developer Studio development tools, you do not need to be an administrator to
the local machine. However, the WebFOCUS Reporting Server must run as an administrator
to the Windows machine.
To allow users who are not Windows administrators to use the WebFOCUS Reporting Server,
you can configure the server service to run automatically with Windows. If you want to run
it with security off, you can change the user ID it runs under as a service. Normally when
the server runs as a service, it runs with security OPSYS and uses a local system
administrator account that was created by Windows.
Procedure: How to Configure the Server to Run as a Service With Security OFF
1. Open the Windows Services window and right-click WebFOCUS 76 Server for DevStudio.
2. Choose Properties.
3. Click the Log On tab.
4. Click the This account radio-button and specify a Windows user ID and password with
administrator rights to the local machine.
5. Click Apply.
6. Click the General tab.
7. Change the Startup type to Automatic.
8. Click OK.
7
90 WebFOCUS
7
WebFOCUS
Two demo applications are installed with Developer Studio 7.6. These applications help you
learn the Developer Studio interface and develop ideas for your own applications.
How to:
Enable the New Century Corp Demo Data
Access the Older Demo
The older WebFOCUS NCC Demo is still installed with WebFOCUS 7.6 and can be enabled
to help learn basic WebFOCUS features.
7
92 WebFOCUS
D. Enabling and Accessing WebFOCUS Demo Applications
Note: By default, the ibinccen directory containing the demo is not in APP PATH. This means
it is not in the WebFOCUS Reporting Server's search path. The demo functions properly with
out this. However, if you wish to follow along with examples in WebFOCUS documentation,
it is a good idea to add this directory to APP PATH. To do this, open
drive:\ibi\DevStudio76\srv76\wfs\etc\edasprof.prf in a text editor and add IBINCCEN to
the end of the APP PATH line.
7
94 WebFOCUS
7
WebFOCUS
Troubleshooting Tips
In this section:
Tomcat Configuration Options
Java Memory Issues
Starting Developer Studio
Multiple Developer Studio Installations
7
96 WebFOCUS
E. Troubleshooting Developer Studio
The following are the most common Java VM options related to memory settings. Replace
the ### with the size you wish to set:
-Xmx###M
Sets the maximum Java heap size. It is common to make this 1/4 of the system RAM.
-Xms###M
Sets the initial Java heap size. It is common to make this 1/8 of the system RAM.
-Xss###M
Sets the Java thread stack size. You do not need to set this unless you are fine tuning
your environment.
The size is normally set in Megabytes, for example:
-Xms128M
-Xmx512M
Optimum sizes vary depending on your total memory, the needs of your application, how
many other processes require memory, the type of Java VM, and other considerations. A
good starting place is to set the minimum to 1/8 of the total RAM and set the maximum to
1/4 of total RAM.
Where to set these and other Java VM options, depend on your application server.
For Tomcat on Windows, you can set these options using the Apache Tomcat Properties
window.
1. From the Start menu, select Programs, Apache Tomcat 5.5, and Configure Tomcat.
2. Click the Java tab.
3. In the Initial memory pool (-Xms) field, specify the initial Java heap size in megabytes.
For example:
256
4. In the Maximum memory pool (-Xmx) field, specify the maximum Java heap size in
megabytes. For example:
512
5. Click OK.
6. Restart Tomcat.
Troubleshooting Tools
In this section:
Accessing the Verification Tools in the WebFOCUS Administration Console
WebFOCUS Client Traces
Developer Studio Trace Utility
WebFOCUS Reporting Server Traces
7
98 WebFOCUS
E. Troubleshooting Developer Studio
How to:
Access the WebFOCUS Administration Console
Use Automatic Verification
Verify WebFOCUS Client Connections and Permissions
Test the WebFOCUS Reporting Server
To run the verification tools installed with the WebFOCUS Administration Console, access
the console.
Note: The verification tools are only supported with Internet Explorer, and you may receive
errors if you use other browsers.
3. Log on using an administrator user ID. By default, "admin" is a valid administrator ID,
and the password is not initially authenticated.
Using this console, you can edit communication and security settings. This console is
documented in the WebFOCUS Security and Administration manual and relevant sections
are available by clicking Help. The WebFOCUS Administration Console contains a
verification tool to further test the configuration.
7
100 WebFOCUS
E. Troubleshooting Developer Studio
If a test fails, a Possibilities link appears proving information on what the problem might be
and possible solutions. The verification tools are only supported with Internet Explorer, and
you may receive errors if you use other browsers.
7
102 WebFOCUS
E. Troubleshooting Developer Studio
How to:
Turn on Tracing
View WebFOCUS Client Traces
The Diagnostics menu in the WebFOCUS Administration Console lets you view and delete
WebFOCUS Client trace files. Trace files track requests processed by the WebFOCUS Client.
You must turn on traces before viewing them in the console. Since tracing can slow
performance, you should only turn on traces when troubleshooting.
A page lists any generated traces. The first column lists the generated trace file. The second
column shows a timestamp for when the request ran. You can view a trace file by clicking
it.
How to:
Use the Communication Layer Trace
Developer Studio's trace utility (Communication Layer Trace) generates trace files for tasks
performed by the Developer Studio development environment's communication layer. It
captures information for tasks performed by Developer Studio when a request is submitted
or retrieved by the product.
You can use this utility to help troubleshoot issues such as communicate failures, connection
problems, and transfer of files.
To generate traces for issues you might encounter at startup, you should start the trace
utility prior to launching Developer Studio.
7
104 WebFOCUS
E. Troubleshooting Developer Studio
To generate traces for a failure to connect to a Data Server or to determine why applications
are not listed, you should start and enable the trace at the point prior to performing the task
that fails.
Note: The Application Data directory may not be visible by default. To see this directory,
open Windows Explorer, click Tools, choose Folder Options, and select the View tab.
Then select Show hidden files and folders and click OK.
4. In the Trace Levels area, keep the default All levels to capture all required information
or specify a specify level.
How to:
View a Trace File
You can turn WebFOCUS Reporting Server traces on when you start the server or dynamically
after the server has started.
To start the server with traces, you should start it before Developer Studio by selecting
Programs from the Start menu, then Information Builders, WebFOCUS 76 Developer Studio,
WebFOCUS 76 Server for DevStudio, Diagnostic Functions, and Start Security OFF with
Traces.
To turn traces on dynamically, access the Server Console and select Workspace,
Diagnostics, and Traces.
Note: Viewing traces is only available to a server administrator.
You can use the WebFOCUS Reporting Server Web Console to view server traces as well as
turn them dynamically on or off for a running server.
If tracing is set to off and it was never turned on, the page shows that no traces are available
and enables you to turn traces on. If tracing is on, the page displays the available traces in
drop-down boxes. Which traces are available depends on what requests were made against
the server.
To turn traces on dynamically, click Enable Traces. Be aware that a dynamic trace is not the
same as turning traces on at server startup. A dynamic trace is usually not sufficient for
following a problem through with Customer Support, but it may suffice for other purposes,
such as seeing how something is parsed.
Note: The default for tracing is to trace all components when tracing is turned on. However,
the trace settings file (ibitrace.fex) may have been altered. Therefore, components that you
expect to be traced may not be traced. Click Configuration to access the Traces Configuration
page to view and set a trace setting.
7
106 WebFOCUS
E. Troubleshooting Developer Studio
2. Click a specific trace file and then choose from the following options:
Open. Displays the trace in the right-hand browser pane.
Open in New Window. Displays the trace in a new browser window.
Open or Save. Enables you to open the trace in a local editor or to save it to a local
disk.
Delete. Deletes the selected trace.
The file opens (or is deleted) according the option you choose.
7
108 WebFOCUS
7
WebFOCUS
Index
A Developer Studio 14, 23
aliases 54
Administration Console 38, 100 components 15, 28
configuration options 20
Adobe Acrobat requirements 24 directory structure 30
aliases for WebFOCUS Developer Studio 53 installation options 18
installing 18, 26, 27
Apache Tomcat 25 installing non-interactive version 41
Administration Tool 51 network installation 65
configuration options 26, 46 processing 18
IIS plug-in/connector configuration 26, 29, 46, requirements 24
56 silent installation 41
Java configuration 96 troubleshooting 95
ports 51 diagnostic tools 39, 100
security 33 Developer Studio 104
standalone configuration 26, 29, 46 WebFOCUS Client 104
troubleshooting 96 WebFOCUS Reporting Server 106
application servers 46
configuration options 26, 29, 46
overview 16 E
requirements 24
environments
APPROOT directory 54
overview for WebFOCUS 16
automatic verification 38, 101 remote development 18
C F
file permissions 55
CGI requirements 24
for ServletExec ISAPI 55
Communication Layer Trace 104
creating aliases for Developer Studio 54 G
GUI installation 25
D
debugging 95 H
demos for Developer Studio 91
hardware requirements for Developer Studio 24
I NTFS permissions 55
for ServletExec ISAPI 55
IBI Demonstration application 91
IIS (Internet Information Server) 53 O
configuration options 26, 29, 46
configuring for Developer Studio 53 operating system requirements for Developer Studio
starting and stopping 54
24, 67
installation options 18
installation verification tool 39
P
installing Developer Studio 26, 27
prefixes for WebFOCUS 53
Internet Explorer requirements 24, 67
Project Migration Tool 40
network installation for Developer Studio 65 security for the WebFOCUS Reporting Server 88
Server Console
New Century Corp application 91
security 88
non-interactive (silent) Developer Studio installation troubleshooting 106
41 server diagnostic trace files 106
7
110 WebFOCUS
Index
ServletExec 55 V
automatic configuration option 26, 29
file permissions 55 verification 38, 101
servlets for WebFOCUS 16 automatic 38, 101
configuring manually 63 WebFOCUS Reporting Server 102
configuring with Tomcat 47 verification tool 38, 100, 101, 102
silent installations 26
verifying Client connections 102
software requirements for Developer Studio 24
virtual directories for Developer Studio 53
starting and stopping 35
IIS 35, 54 Visual Discovery 14, 28
Tomcat 35
WebFOCUS Reporting Server 89
W
T Web servers 46
configuration options 26, 29, 46
third party components for Developer Studio 25 overview 16
Tomcat 25 requirements 24
Administration Tool 51 webapps 63
configuration options 26, 46 WebFOCUS 14
IIS plug-in/connector configuration 26, 29, 46
Java configuration 96 WebFOCUS Administration Console 38, 100
ports 51 accessing 38, 99
security 33 authentication 40
standalone configuration 26, 29, 46 security 40
troubleshooting 96 verification tool 100
tracing 98, 104 WebFOCUS Client 16
CGI 103 tracing 103
Developer Studio 104 verification tool 39
servlet 103 WebFOCUS configurations 17
WebFOCUS Client 103 WebFOCUS environments
WebFOCUS Reporting Server 106 overview 16
troubleshooting Developer Studio 95 WebFOCUS Maintain 14
troubleshooting servers 106 WebFOCUS processing 17
WebFOCUS Quick Data 83
U WebFOCUS Reporting Server 16, 88, 102
connection 102
utilities in Developer Studio 40 for Developer Studio 32
Communication Layer Trace 104 security 88
verification tool 100 tracing 106
7
112 WebFOCUS
7
WebFOCUS
Reader Comments
Name:
Company:
Address:
Telephone: Date:
Email:
Comments:
Information Builders, Two Penn Plaza, New York, NY 10121-2898 (212) 736-4433
WebFOCUS Developer Studio Installation and Configuration DN4500817.0507
Version 7 Release 6.1 & 7.6.2
Reader Comments
Information Builders, Two Penn Plaza, New York, NY 10121-2898 (212) 736-4433
WebFOCUS Developer Studio Installation and Configuration DN4500817.0507
Version 7 Release 6.1 & 7.6.2