wf dev studio install

Upload: aracelint

Post on 02-Mar-2016

89 views

Category:

Documents


0 download

TRANSCRIPT

  • WebFOCUS Developer Studio Installationand ConfigurationVersion 7 Release 6.4 and Higher

    DN4500817.0908

  • EDA, EDA/SQL, FIDEL, FOCCALC, FOCUS, FOCUS Fusion, FOCUS Vision, Hospital-Trac, Information Builders, theInformation 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 InformationBuilders, Inc.

    Due to the nature of this material, this document refers to numerous hardware and software products by theirtrademarks. In most, if not all cases, these designations are claimed as trademarks or registered trademarks by theirrespective companies. It is not this publishers intent to use any of these names generically. The reader is thereforecautioned to investigate all claimed trademark rights before using any of these names other than to refer to theproduct described.

    Copyright 2008, 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.

  • WebFOCUS

    Contents

    Preface................................................................................................................7Documentation Conventions..............................................................................................8

    Related Publications..........................................................................................................9

    Customer Support.............................................................................................................9

    Information You Should Have.............................................................................................9

    User Feedback................................................................................................................10

    Information Builders Consulting and Training.....................................................................11

    1. Introducing WebFOCUS and WebFOCUS Developer Studio............................13About WebFOCUS and Developer Studio...........................................................................14

    WebFOCUS and Developer Studio Overview and Architecture..............................................15

    Developer Studio Components..................................................................................15

    WebFOCUS Environments and Components...............................................................16

    WebFOCUS Processing.............................................................................................17

    Developer Studio Processing....................................................................................18

    Developer Studio Development Options.....................................................................18

    Developer Studio Networked Installation...................................................................19

    Developer Studio on a WebFOCUS Machine...............................................................20

    Developer Studio Installation and Configuration Steps.......................................................20

    Installation and Configuration Steps..........................................................................21

    2. Installing Developer Studio...........................................................................23Developer Studio Requirements.......................................................................................24

    Hardware Requirements...........................................................................................24

    Software Requirements............................................................................................24

    Provided Third Party Components..............................................................................25

    Installing Developer Studio..............................................................................................25

    Web and/or Application Server Options.....................................................................26

    Installing Developer Studio and WebFOCUS on the Same Machine..............................26

    Running the Installation...........................................................................................27

    WebFOCUS Developer Studio Installation and Configuration 3

  • Developer Studio Directory Structure.........................................................................30

    Installation Log Files................................................................................................32

    WebFOCUS Reporting Server for Developer Studio......................................................32

    User ID Issues........................................................................................................32

    Tomcat Security and Settings...................................................................................33

    Verifying Developer Studio...............................................................................................34

    Web and/or Application Server Verification................................................................35

    Developer Studio Web Server Configuration Verification Tool.......................................38

    Migrating From Developer Studio Version 4.......................................................................40

    Silent Developer Studio Installation..................................................................................41

    3. Configuring the Web Server and/or Application Server................................45Configuration Options......................................................................................................46

    Configuring Apache Tomcat..............................................................................................47

    Tomcat Configuration Overview.................................................................................47

    Configuring Tomcat..................................................................................................48

    Additional Tomcat Configuration Options...................................................................51

    Configuring Microsoft IIS..................................................................................................53

    Configuring IIS Virtual Directories (Aliases)................................................................53

    Setting Permissions.................................................................................................55

    Configuring Microsoft IIS to Use the Tomcat Connector (Plug-In)..........................................56

    Installing and Configuring the Tomcat Connector (Plug-In) for IIS..................................57

    Verifying the Configuration........................................................................................61

    Configuring Additional Web and/or Application Servers.......................................................62

    Configuring the Web Server......................................................................................62

    Configuring the Application Server.............................................................................63

    Configuring Developer Studio....................................................................................64

    A. Configuring a Network Installation...............................................................65Network Installation Steps...............................................................................................66

    Ensuring Requirements Are Met................................................................................67

    Installing Developer Studio.......................................................................................68

    Configuring Developer Studio....................................................................................68

    Setting Up Access to the Network Installation............................................................71

    Installing Developer Studio Network Shortcuts...........................................................77

    4 WebFOCUS

    Contents

  • Launching Developer Studio.....................................................................................78

    Customizing WebFOCUS Environments......................................................................79

    Accessing Multiple Networked Developer Studio Installations.....................................80

    Limiting Access to Developer Studio.........................................................................81

    Accessing the Developer Studio Help System............................................................81

    Creating Developer Studio Traces From a Client PC in Developer Studio Network

    Edition...............................................................................................................82

    B. Enabling WebFOCUS Quick Data....................................................................83Configuring WebFOCUS Quick Data...................................................................................84

    C. Configuring the Local Reporting Server Security..........................................87WebFOCUS Reporting Server Security and User IDs...........................................................88

    Configuring WebFOCUS Reporting Server Security and User IDs..................................88

    Running the Server as a Service With Security OFF.....................................................90

    D. Enabling and Accessing WebFOCUS Demo Applications...............................91Enabling and Accessing the WebFOCUS Demos.................................................................92

    New Demo Application.............................................................................................92

    Older NCC Demo Applications...................................................................................92

    E. Troubleshooting Developer Studio................................................................95Troubleshooting Tips.......................................................................................................96

    Tomcat Configuration Options...................................................................................96

    Java Memory Issues................................................................................................96

    Starting Developer Studio.........................................................................................98

    Multiple Developer Studio Installations.....................................................................98

    Troubleshooting Tools.....................................................................................................98

    Accessing the Verification Tools in the WebFOCUS Administration Console..................99

    WebFOCUS Client Traces.......................................................................................103

    Developer Studio Trace Utility.................................................................................104

    WebFOCUS Reporting Server Traces........................................................................106

    Reader Comments...........................................................................................113

    WebFOCUS Developer Studio Installation and Configuration 5

    Contents

  • 6 WebFOCUS

    Contents

  • WebFOCUS

    Preface

    This documentation describes how to install and configure WebFOCUS Developer Studio onmachines running Windows 2000, XP, or 2003 operating systems. This documentation isintended for developers with some knowledge of Windows operating systems.

    How This Manual Is Organized

    This manual includes the following chapters:

    ContentsChapter/Appendix

    Provides an overview of WebFOCUS and DeveloperStudio and their installation configurations.

    Introducing WebFOCUS andWebFOCUS DeveloperStudio

    1

    Provides the installation requirements andinstructions, as well as verification and migrationinformation.

    Installing Developer Studio2

    Provides information on configuring Web and/orapplication servers for stand-alone Project-baseddevelopment and local processing.

    Configuring the Web Serverand/or Application Server

    3

    Provides information for a network installation ofDeveloper Studio.

    Configuring a NetworkInstallation

    A

    Provides information to configure WebFOCUS QuickData.

    Enabling WebFOCUS QuickData

    B

    Provides information needed to configure WebFOCUSReporting Server Security and User IDs.

    Configuring the LocalReporting Server Security

    C

    Provides information to enable and access demoapplications.

    Enabling and AccessingWebFOCUS DemoApplications

    D

    WebFOCUS Developer Studio Installation and Configuration 7

  • ContentsChapter/Appendix

    Provides troubleshooting tips and information onusing verification and tracing tools.

    Troubleshooting DeveloperStudio

    E

    Documentation ConventionsThe following table lists and describes the conventions that apply in this manual.

    DescriptionConvention

    Denotes syntax that you must enter exactly as shown.THIS TYPEFACE

    or

    this typeface

    Represents a placeholder (or variable), a cross-reference, or animportant term.

    this typeface

    Indicates a default setting.underscore

    Highlights a file name or command. It may also indicate a button,menu item, or dialog box option you can click or select.

    this typeface

    Indicates keys that you must press simultaneously.Key + Key

    Indicates two or three choices; type one of them, not the braces.{ }

    Indicates a group of optional parameters. None is required, butyou may select one of them. Type only the parameter in thebrackets, not the brackets.

    [ ]

    Separates mutually exclusive choices in syntax. Type one of them,not the symbol.

    |

    Indicates that you can enter a parameter multiple times. Type onlythe parameter, not the ellipsis points (...).

    ...

    Indicates that there are (or could be) intervening or additionalcommands.

    .

    .

    .

    8 WebFOCUS

    Documentation Conventions

  • Related PublicationsTo view a current listing of our publications and to place an order, visit our TechnicalDocumentation Library, http://documentation.informationbuilders.com. You can also contactthe Publications Order Department at (800) 969-4636.

    Customer SupportDo you have any questions about this product?

    Join the Focal Point community. Focal Point is our online developer center and more than amessage board. It is an interactive network of more than 3,000 developers from almostevery 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 InfoResponseOnline. 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 reportedsoftware issues. New users can register immediately for this service. The technical supportsection 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:00a.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 productcapabilities 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 Buildersrepresentative about InfoResponse Online, or call (800) 969-INFO.

    Information You Should HaveTo help our consultants answer your questions effectively, be prepared to provide the followinginformation when you call:

    Your six-digit site code (xxxx.xx).

    Your WebFOCUS configuration:

    The front-end you are using, including vendor and release.

    The communications protocol (for example, TCP/IP or HLLAPI), including vendor andrelease.

    WebFOCUS Developer Studio Installation and Configuration 9

    Preface

  • The software release.

    Your server version and release. You can find this information using the Version optionin the Web Console.

    The stored procedure (preferably with line numbers) or SQL statements being used inserver access.

    The Master File and Access File.

    The exact nature of the problem:

    Are the results or the format incorrect? Are the text or calculations missing ormisplaced?

    The error message and return code, if applicable.

    Is this related to any other problem?

    Has the procedure or query ever worked in its present form? Has it been changed recently?How often does the problem occur?

    What release of the operating system are you using? Has it, your security system,communications protocol, or front-end software changed?

    Is this problem reproducible? If so, how?

    Have you tried to reproduce your problem in the simplest form possible? For example, ifyou are having problems joining two data sources, have you tried executing a querycontaining just the code to access the data source?

    Do you have a trace file?

    How is the problem affecting your business? Is it halting development or production? Doyou just have questions about functionality or documentation?

    User FeedbackIn an effort to produce effective documentation, the Documentation Services staff welcomesyour opinions regarding this manual. Please use the Reader Comments form at the end ofthis manual to communicate suggestions for improving this publication or to alert us tocorrections. 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.

    10 WebFOCUS

    User Feedback

  • Information Builders Consulting and TrainingInterested in training? Information Builders Education Department offers a wide variety oftraining courses for this and other Information Builders products.

    For information on course descriptions, locations, and dates, or to register for classes, visitour World Wide Web site (http://www.informationbuilders.com) or call (800) 969-INFO tospeak to an Education Representative.

    WebFOCUS Developer Studio Installation and Configuration 11

    Preface

  • 12 WebFOCUS

    Information Builders Consulting and Training

  • WebFOCUS

    Introducing WebFOCUS and WebFOCUSDeveloper Studio

    1

    Topics:The following topics provide an overviewof WebFOCUS and WebFOCUS DeveloperStudio. About WebFOCUS and Developer

    Studio

    WebFOCUS and Developer StudioOverview and Architecture

    Developer Studio Installation andConfiguration Steps

    WebFOCUS Developer Studio Installation and Configuration 13

  • About WebFOCUS and Developer StudioWebFOCUS is a complete Web-ready data access and reporting system that connects usersto data. WebFOCUS accesses and processes information located in any format on anyplatform and presents that information to users through a Web browser or through formatssuch as PDF, HTML, and Excel.

    WebFOCUS Developer Studio is a Windows-based development environment for creatingWebFOCUS applications. Developer Studio provides intuitive graphical tools that help withinterface design, business logic, and data manipulation. Using Developer Studio, developerscan build powerful Web page interfaces that allow users to create and view reports.

    WebFOCUS data access, network communications, and server operations are providedthrough WebFOCUS technology. WebFOCUS technology accesses data without concern for the complexities and incompatibilities of different operating systems, databases, file systems,file formats, and networks. You can access both local and remote data on over 35 platformsfrom more than 65 database formats, including FOCUS, MS SQL Server, Sybase, Oracle,Informix, Ingres, and DB2.

    Other WebFOCUS products and features include the following:

    WebFOCUS Maintain allows you to create applications which update, as well as reporton your data. Maintain development components are installed with Developer Studiodepending on your license.

    WebFOCUS Visual Discovery lets you create advanced data visualizations for executivelevel Dashboards. Visual Discovery displays data as involved geometric shapes (forexample, points, lines, circles, rectangles) with many attributes (for example, proximity,size, color). This lets you view and manipulate your data in a new light to discoverrelationships that are not apparent in normal tables, reports, or graphs. You can useVisual Discovery to turn raw data into insightful images to understand and discover trendsand patterns. If you license Visual Discovery, then its development components areinstalled with Developer Studio. For more information, see the Using WebFOCUS VisualDiscovery Components With Developer Studio manual.

    ReportCaster is an independent application that enables you to schedule the deliveryand automatic running of WebFOCUS reports and alerts as well as independent files andURLs. ReportCaster is not installed with Developer Studio.

    14 WebFOCUS

    About WebFOCUS and Developer Studio

  • WebFOCUS and Developer Studio Overview and Architecture

    In this section:

    Developer Studio Components

    WebFOCUS Environments and Components

    WebFOCUS Processing

    Developer Studio Processing

    Developer Studio Development Options

    Developer Studio Networked Installation

    Developer Studio on a WebFOCUS Machine

    Developer Studio is used to develop and manage WebFOCUS applications as well as toadminister Managed Reporting environments. It is normally assumed, but not required, thatWebFOCUS is installed, or will be installed, somewhere in your enterprise. In addition,Developer Studio architecture and functionality are based on the architecture of WebFOCUS.

    Developer Studio ComponentsThere are two pieces involved when developing or administering with Developer Studio.

    Developer Studio itself is technically the graphical development and code generationtools that organize and create WebFOCUS files. Depending on your license, it may alsoinclude the Maintain Development Environment. It lets you design reports and organizeapplications.

    The graphical and code generation tools do not actually process reports and access data.Instead, they connect to a WebFOCUS environment.

    A WebFOCUS Environment is a complete implementation of WebFOCUS. When youinstall Developer Studio, you have the option to install and create a developmentWebFOCUS environment along with Developer Studio (available for the Developer Studioedition only--this allows local, standalone development). After installing Developer Studio,you can choose to connect to a WebFOCUS Environment installed elsewhere in yourenterprise or use one installed locally.

    Note: For all other editions, including installations of the Network editions, you configureDeveloper Studio to access a WebFOCUS environment you installed separately. This stepis performed from within Developer Studio.

    WebFOCUS Developer Studio Installation and Configuration 15

    1. Introducing WebFOCUS and WebFOCUS Developer Studio

  • WebFOCUS Environments and ComponentsIn a WebFOCUS environment, WebFOCUS connects a Web server and/or application serverto your data. End users then access WebFOCUS applications through a Web browser. Yourenterprise may have multiple WebFOCUS environments each containing the followingcomponents:.

    Third Party Web and/or Application Server. Users access WebFOCUS by makingrequests to a Web or application server. WebFOCUS functionality can be implementedusing either CGI, ISAPI, or Java servlet calls. Java servlets are the default and not allfeatures are supported with CGI and ISAPI. When Developer Studio communicates withWebFOCUS, it does so through the Web and/or application server as well.

    Apache Tomcat is provided along with Developer Studio and WebFOCUS for Windows, sono separate Web or application server is required to get started. Apache Tomcat is aservlet container that Developer Studio can use as a Web server and application server.

    Note: Web servers handle traditional Web content like static HTML and GIF files as wellas CGI requests. Application servers generally handle Java and other processes, butmany application servers can also handle the traditional Web content. If your applicationserver can handle traditional Web content, then a Web server is not required. The termapplication server is used to refer to either an application server or servlet container inWebFOCUS documentation. A servlet container general handles a subset of what anapplication server can handle.

    WebFOCUS Client resides on the Web server and/or application server. When a usermakes a request to the Web server from a Web page or Developer Studio, WebFOCUSClient receives the request, processes it, and passes it to the WebFOCUS ReportingServer. The WebFOCUS Client connection can be implemented through Java servlets,CGI, or ISAPI, although some features are only supported with Java servlets. In addition,WebFOCUS Client may include other WebFOCUS products and interfaces such as ManagedReporting.

    A scaled down WebFOCUS Client is installed with Developer Studio. The functionality available is based on the Developer Studio edition for which you are licensed.

    WebFOCUS Reporting Server. The WebFOCUS Reporting Server provides data access,data processing, and report generation functionality. WebFOCUS Reporting Serversreside on machines that can access your data. There can be multiple WebFOCUSReporting Servers in a WebFOCUS environment. A WebFOCUS Reporting Server isalways installed with Developer Studio because some components are required bythe development tools.

    16 WebFOCUS

    WebFOCUS and Developer Studio Overview and Architecture

  • WebFOCUS employs a distributed architecture. This means that the WebFOCUS Client andits WebFOCUS Reporting Servers can either be on the same machine and operating systemor distributed across multiple machines running different operating systems. You can easilyconnect an Apache Web server running on UNIX to SQL Server data on Windows and DB2data on z/OS.

    For more information on WebFOCUS components and configuration options, refer to theinstallation and configuration documentation.

    Note: To ensure proper communication, WebFOCUS components should be the same releasenumber as each other and Developer Studio.

    WebFOCUS ProcessingThe following steps accompany the figure below and describe how WebFOCUS or DeveloperStudio processes requests:

    1. A user requests a report and passes parameters by calling the WebFOCUS servlet throughlinks and forms on a Web page or through Developer Studio.

    2. The request and parameters come to the WebFOCUS Client through the Web and/orapplication servers, and the WebFOCUS Client processes the parameters to create arequest for the WebFOCUS Reporting Server.

    3. The WebFOCUS Reporting Server receives the request, processes it, and accesses anyneeded 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.

    WebFOCUS Developer Studio Installation and Configuration 17

    1. Introducing WebFOCUS and WebFOCUS Developer Studio

  • Developer Studio ProcessingDeveloper Studio processes requests the same way that WebFOCUS does. Developer Studiomakes calls to a Web and/or application server that is configured to accept a WebFOCUSCGI, ISAPI, or servlet request. The CGI, ISAPI, or servlet then connects to the WebFOCUSReporting Server to process the report request.

    Note: CGI and ISAPI are not supported with Developer Studio at this time.

    The Web and/or application server can be located on the same machine as Developer Studioor located elsewhere in your enterprise.

    Local Web and/or application server. When you install Developer Studio, you canchoose to install and configure a Web and/or application server. Manual configurationinstructions are also provided in Configuring the Web Server and/or Application Server onpage 45. Using a local Web and/or application server creates a development WebFOCUSenvironment and allows you to process reports on the Developer Studio machine.

    Remote Web and/or application server. If you do not wish to use a local Web and/orapplication server, you can configure Developer Studio to connect to a WebFOCUSenvironment elsewhere on your network. Developer Studio then processes reports andfiles on the remote WebFOCUS machines.

    You can also use a combination of local and remote processing.

    Developer Studio Development OptionsDeveloper Studio provides flexibility in how you develop and maintain your WebFOCUSapplications and reports. There are several ways to develop with Developer Studio.

    Project-Based Development. In Project-based development, you use Developer Studioto create and manage applications. These applications are referred to as projects. Whenyou create a project with Developer Studio, a special file with a .gfa (graphical FOCUSapplication) extension is created. The GFA file helps control and organize your applicationthrough the development, testing, deployment, and maintenance phases. Project-baseddevelopment also provides tools to organize your applications based on file types.

    You can test and run your projects either from within Developer Studio or through a Webbrowser. When an application is ready for production, Developer Studio provides toolsto transfer and deploy project files to machines running production WebFOCUSenvironments.

    18 WebFOCUS

    WebFOCUS and Developer Studio Overview and Architecture

  • There are two types of Project-based development:

    In Stand-Alone Project-Based Development, files are developed on the samemachine where you install Developer Studio, or files are accessed through a third-partysource management system (such as Visual SourceSafe). Developers who work alonehave all their files where they can easily edit them. Developers on separate desktopscan share files controlled by a source management system.

    Note: Third party source management client software must be installed on theDeveloper Studio machine to use source management tools.

    With stand-alone Project-based development, a Web and/or application server isrequired on the machine where you run Developer Studio.

    In Remote Project-Based Development, you use Developer Studio to connect toa WebFOCUS environment running elsewhere in your enterprise. Files are then storedin the remote WebFOCUS environment or files are accessed through a third-partysource management system (such as Visual SourceSafe).

    It is recommended for Remote Project-based development that all WebFOCUScomponents in the remote environment reside on the same machine as each other.

    Remote Development. In remote development, a GFA file is not used to organize thefiles in your applications and some tools, such as source management and the deploytool, are not available. In remote development, you use Developer Studio to connect toWebFOCUS environments running elsewhere in your enterprise. After you are connected,you can create and edit files on the remote machines and perform application developmentthrough the Data Servers area or use the Managed Reporting area to perform ManagedReporting development and administration.

    For more information about Developer Studio configurations and development environments,see the Developer Studio Application Development Getting Started manual.

    Developer Studio Networked InstallationNormally Developer Studio is installed on the desktop of each developer. However, anetworked Developer Studio installation option is available as well.

    In a networked configuration, Developer Studio is installed on a single shared machine,rather than each developer's desktop. Developers then launch Developer Studio on theirdesktops by executing files that have been installed on the shared machine. This simplifiesadministration, installation, and upgrading and it allows all developers to use a commonpre-configured environment.

    WebFOCUS Developer Studio Installation and Configuration 19

    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, youmust set up a connection to a WebFOCUS environment somewhere on your network. DeveloperStudio then uses the Web server configuration, application server configuration, WebFOCUSClient connectivity, and WebFOCUS Reporting Server of that WebFOCUS environment.

    Network installations are discussed in Configuring a Network Installation on page 65.

    Developer Studio on a WebFOCUS MachineDeveloper Studio and WebFOCUS can be installed on the same machine provided WebFOCUSis installed first. The Developer Studio installation program will detect that WebFOCUS isalready installed and use the existing WebFOCUS environment and components. DeveloperStudio then runs using the existing WebFOCUS Client configuration, application root directories(APPROOT), Web server aliases (virtual folders), and WebFOCUS Reporting Server. All productscan co-exist and use the same WebFOCUS environment through Developer Studio or abrowser.

    Developer Studio Installation and Configuration Steps

    In this section:

    Installation and Configuration Steps

    The steps to install and configure Developer Studio vary depending on how you plan todevelop applications.

    Local Processing. Install Developer Studio on each developer's machine and thenensure a Web and/or application server is configured on each machine. To access data,configure the local WebFOCUS Reporting Server. Developers will develop applicationsand run reports on their machines.

    Remote Processing. Install Developer Studio on each developer's machine. Then, setup a connection from each Developer Studio machine to a WebFOCUS environmentinstalled somewhere on your network. To access data, configure the WebFOCUS ReportingServer in the WebFOCUS environment. A Web and/or application server is not neededon the Developer Studio machines because developers connect to environments runningelsewhere to develop applications and run reports.

    20 WebFOCUS

    Developer Studio Installation and Configuration Steps

  • Network Installation. Install Developer Studio on one shared machine. Developers willrun Developer Studio from their desktop by accessing the files installed on the sharedmachine over the network. You must set up a connection from Developer Studio on theshared machine to a WebFOCUS environment. To access data, configure the WebFOCUSReporting Server in the WebFOCUS environment. A special license code is needed for anetwork installation.

    Installation on a WebFOCUS Machine. Install Developer Studio after WebFOCUS isinstalled and configured. Developer Studio connects to the WebFOCUS environment thatis already installed.

    Installation and Configuration StepsPerform the following steps to install and configure Developer Studio:

    1. Ensure all requirements are met (see Installing Developer Studio on page 23).

    2. Run the Developer Studio installation (see Installing Developer Studio on page 23).

    3. Ensure a Web and/or application server is configured either locally or remote.

    For local processing, verify the automatic Web and/or application server configuration(see Installing Developer Studio on page 23) or manually configure a Web and/orapplication server (see Configuring the Web Server and/or Application Server on page45).

    For remote processing or network installations, ensure a WebFOCUS environment hasbeen configured somewhere on your network. See the WebFOCUS and ReportCasterInstallation and Configuration manual for your platform to install WebFOCUS.

    4. Start Developer Studio.

    5. Set up a connection to a WebFOCUS environment.

    For local processing and installation on a WebFOCUS machine, this should occurautomatically if the Web server is configured. In some environments, you may needto specify the Web server port to set up the connection. You can also createconnections to additional WebFOCUS environments running on your network.

    For remote processing or network installations, set up connections to WebFOCUSenvironments and specify the default environment to use for development.

    6. Configure data adapters and metadata to report on your data through the WebFOCUSReporting Server (see Developer Studio Application Development Getting Started guide).For remote processing and network installations, you use the adapters and metadata ofthe remote environment.

    WebFOCUS Developer Studio Installation and Configuration 21

    1. Introducing WebFOCUS and WebFOCUS Developer Studio

  • 7. For network installations, configure access from developer's desktops to the sharedmachine where you installed Developer Studio (see Configuring a Network Installation onpage 65).

    22 WebFOCUS

    Developer Studio Installation and Configuration Steps

  • WebFOCUS

    Installing Developer Studio2Topics:

    The following topics explain how to runthe Developer Studio installationprogram. In addition, these topics explainhow to verify the configuration andmigrate applications from DeveloperStudio 4.x releases.

    Developer Studio Requirements

    Installing Developer Studio

    Verifying Developer Studio

    Migrating From Developer StudioVersion 4

    Silent Developer Studio Installation

    WebFOCUS Developer Studio Installation and Configuration 23

  • Developer Studio Requirements

    In this section:

    Hardware Requirements

    Software Requirements

    Provided Third Party Components

    Review the following requirements to ensure your machine supports Developer Studio.

    Hardware RequirementsVerify 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 RequirementsYour Windows machine must meet the following Developer Workbench software requirements:

    Windows XP Professional, Windows Vista Business and Ultimate editions, 2000,or Windows 2000 and 2003 Professional and Server editions. Windows 2000 musthave Service Pack 2 or higher.

    Internet Explorer 6 and higher. Internet Explorer components are required for DeveloperStudio. If possible, upgrade to the most recent version of Internet Explorer.

    Adobe Acrobat Reader 6.0 and higher. Acrobat Reader 6, 7, and 8 are certified toview PDF reports generated by Developer Studio.

    Note: You must be an administrator to the Windows machine to run the installation.

    To use the WebFOCUS servlet, the required third party components are included withDeveloper Studio. Developer Studio can install and configure Apache Tomcat for use as botha Web server and application server. However, to use local processing with CGI or ISAPI, aWeb 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.

    24 WebFOCUS

    Developer Studio Requirements

  • Provided Third Party ComponentsThe following third party components are provided for use with Developer Studio. If they arenot present on your machine, you have the option to install them with Developer Studio:

    Java 2 SDK 1.6.0_03. A Java SDK is required for WebFOCUS features such as servletconnectivity, graph generation, and OLAP. If a Java SDK 1.4.1 or higher is not installedon your machine, you must allow Developer Studio to install the SDK. If you choose toinstall Apache Tomcat 5.5, you must use a Java SDK 1.5.0 or higher.

    Apache Tomcat 5.5. A Web and/or application server is required for stand-aloneProject-based development and local report processing. Apache Tomcat is provided andcan be automatically configured for use as either both a Web and application server oras only an application server.

    Apache Tomcat is not required if you are using another Web and/or application serversupported with WebFOCUS.

    Without a Web and/or application server, you can create and process reports by connectingDeveloper Studio to an instance of WebFOCUS installed somewhere else. However, filescannot be processed or stored locally without a Web or application server on the DeveloperStudio machine.

    Installing Developer Studio

    In this section:

    Web and/or Application Server Options

    Installing Developer Studio and WebFOCUS on the Same Machine

    Running the Installation

    Developer Studio Directory Structure

    Installation Log Files

    WebFOCUS Reporting Server for Developer Studio

    User ID Issues

    Tomcat Security and Settings

    There are two ways to run the installation utility:

    Graphical (GUI) Installation. The default installation mode launches windows thatprompt for parameters. You should use the GUI installation the first time you installDeveloper Studio Version 7 Release 6 (7.6). This section describes the standard GUIinstallation of Developer Studio.

    WebFOCUS Developer Studio Installation and Configuration 25

    2. Installing Developer Studio

  • Silent Installation. In a silent installation, you launch the installation and specify a textfile. 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 servicepack installation or completely uninstall the older 7.6 product before running the fullinstallation. To uninstall Developer Studio, use the Uninstall option in the WebFOCUS 76Developer Studio program group. If you manually delete Developer Studio directories, youmay leave files and registry settings that could affect future installs. If prompted to rebootafter uninstalling, do so before reinstalling.

    Web and/or Application Server OptionsThe Developer Studio installation can automatically configure one of the following for you:

    Apache Tomcat Standalone. You can use Apache Tomcat as both a Web and applicationserver. The Developer Studio installation can install and configure this for you. This isthe simplest configuration. However, this configuration does not support the WebFOCUSCGI or ISAPI.

    Microsoft IIS and Apache Tomcat. You can use IIS as the Web server with ApacheTomcat as the application server, if IIS is installed. In this configuration, traditional Weband CGI processing are handled by IIS and servlet processing is handled by Tomcat. Callsare made to IIS and IIS then routes requests to Tomcat when servlet processing isneeded. This is done using the Tomcat JK 1.2 connector (plug-in) for IIS. This is notsupported if ServletExec ISAPI is installed. IIS cannot use both the Tomcat plug-in andServletExec ISAPI.

    This document assumes IIS listens on port 80 and Tomcat listens on port 8080. If youchange the defaults, substitute accordingly.

    You can manually configure a different application server as explained in Configuring theWeb Server and/or Application Server on page 45.

    Note: New Atlanta ServletExec ISAPI is not supported at this time.

    Installing Developer Studio and WebFOCUS on the Same MachineWhen installing WebFOCUS and Developer Studio on the same machine, do the following:

    1. Ensure that your machine meets the WebFOCUS requirements.

    2. Completely install and configure WebFOCUS.

    3. Install Developer Studio.

    26 WebFOCUS

    Installing Developer Studio

  • The Developer Studio installation program will detect that WebFOCUS is already installedand will not provide options to automatically configure a Web and/or application server. Youdo not need to configure a Web and/or application server for Developer Studio if one isalready configured for WebFOCUS on the machine. Developer Studio will use the existingWebFOCUS environment including the Web and/or application server configuration. Allproducts can co-exist and use the WebFOCUS environment through Developer Studio or abrowser.

    Running the Installation

    How to:

    Install Developer Studio

    Follow this procedure to install Developer Studio.

    Note: You must be an administrator to the Windows machine to run the installation.

    How to Install Developer StudioProcedure:

    You may receive the Developer Studio installation on CD or through an Internet download.

    1. Execute the installation program:

    For a CD installation, insert the installation CD in the CD drive and follow theinstructions on the screen. If the installation program does not start automatically,run the Setup.exe application in the root directory of the CD.

    For a downloaded installation, run the downloaded file and respond when promptedto unpack files needed during the installation. When the files are unloaded, the actualinstallation begins.

    The installation begins with a Welcome window.

    2. Click Next at the Welcome window.

    The License Agreement appears.

    3. Click Yes if you accept the License Agreement.

    If an earlier version of a Developer Studio 7.6 is already installed, you may be promptedto either Update or perform a Full Install. If you choose update, the installation beginsimmediately and your older version is replaced. When updating, be sure to reload theWeb application and reconfigure any changes in the cgipath.js file.

    You are prompted for the product serial number if no earlier version of Developer Studio7.6 is found.

    WebFOCUS Developer Studio Installation and Configuration 27

    2. Installing Developer Studio

  • 4. Type the product serial number when prompted and click Next. The serial number canbe found on the back of the CD case.It is based on your license agreement and controlsthe software edition that is installed.

    Note: If you wish to use Visual Discovery or a network installation, ensure you have thecorrect license.

    If you type a valid serial number, the Registration Confirmation window appears.

    5. Click Yes to accept the Registration Confirmation.

    A window appears describing Developer Studio requirements.

    6. Review the requirements and click Next.

    A list of components and options appears.

    The following installation options appear. If an option is already installed or unavailable,it is greyed out:

    WebFOCUS Developer Studio. When selected, this installs the Developer Studiodevelopment environment. This is required.

    28 WebFOCUS

    Installing Developer Studio

  • Java 2 SDK, SE 1.6.0_03. When selected, this installs Java components neededfor Developer Studio. If Java SDK 1.4.1 or higher is not already installed, you mustinstall this SDK. If you choose to install Tomcat 5.5, and Java SDK 1.5.0 or higheris not installed, you must install this SDK.

    Apache Tomcat 5.5.25. When selected, this installs Apache Tomcat for use as theWeb and/or application server. Java SDK 1.5.0 or higher is required.

    The following configuration options appear:

    Configure Apache Tomcat 5.5.25 standalone. When selected, this configuresApache Tomcat 5.0 or 5.5 for use with Developer Studio as both a Web andapplication server. This can also be manually configured as explained in Configuringthe Web Server and/or Application Server on page 45.

    Configure Apache Tomcat 5.5.25 connector (plug-in) for Microsoft IIS. Whenselected, this configures Apache Tomcat 5.0 or 5.5 as the application server,configures IIS as the Web server, and configures communications between IIS andTomcat. IIS must be installed to use this option. This can also be manually configuredas 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 developersto create WebFOCUS reports directly from Microsoft Excel. Developers create reportsusing the HTML Report Assistant, and output is displayed in the active ExcelWorkbook.

    Enabling this option through Developer Studio provides a single-user license applicableonly to the Developer Studio user and functions against the local Developer Studioenvironment or against licensed WebFOCUS environments.

    This feature must be licensed separately for use in multi-user WebFOCUSenvironments. This also applies when Developer Studio and WebFOCUS are installedon the same PC. For configuration information on WebFOCUS Quick Data, see EnablingWebFOCUS Quick Data on page 83.

    The configuration options are not available if WebFOCUS is detected, if you perform anetwork installation, or if you install the Managed Reporting Developer edition. IfWebFOCUS is detected, Developer Studio uses the existing WebFOCUS environment.For a network installation or Managed Reporting Developer edition, you must connectDeveloper Studio to a WebFOCUS environment after installation.

    To manually configure a different application server, deselect the configuration optionsand 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.

    WebFOCUS Developer Studio Installation and Configuration 29

    2. Installing Developer Studio

  • 8. Choose the directory for Developer Studio components and click Next. You cannot includespaces in the folder name.

    Note: If you are installing Developer Studio on the same machine as other WebFOCUSproducts, it is recommended that all products be installed on the same drive in thesame ibi directory.

    The Start Copying Files window appears.

    9. Review the settings at the Start Copying Files window and click Next to begin theinstallation.

    The installation may take some time. When the installation completes, you have theoption to view the WebFOCUS New Features PDF.

    10. Click Finish to complete the installation.

    Note: If you choose the Tomcat connector (plug-in) option and receive a message that says"Unable to Create Filter," some manual configuration is required. To do this, open the InternetServices Manager, right-click your Web site, and choose Properties. On the ISAPI Filters tab,determine if a jakarta or ServletExec filter appears. If neither appear, click Add and add theisapi_redirect.dll file using the filter name jakarta. For more information, review the remainderof this chapter and then see Configuring Microsoft IIS to Use the Tomcat Connector (Plug-In)on page 56. Also, be aware that you cannot use the Tomcat plug-in if ServletExec ISAPI isinstalled.

    Developer Studio Directory StructureAfter installation, the Developer Studio directory structure is created. The default locationis:

    C:\ibi

    The following are some of the main subdirectories. The actual directories may vary basedon your license:

    \apps

    Contains applications and data. By default, this is the APPROOT directory whereWebFOCUS 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 becomescorrupt, you can use this backup file to replace a corrupt version.

    \DevStudio76\bin

    Contains the graphical front-end components for creating WebFOCUS applications.

    30 WebFOCUS

    Installing Developer Studio

  • \DevStudio76\client

    Contains WebFOCUS Client configuration files. Many of these files were installed withthe WebFOCUS Reporting Server in previous versions. However, the main communicationsfile odin.cfg is still installed under the srv76\wfs\etc directory instead.

    \DevStudio76\config

    Contains the install.cfg that holds information about the installation.

    \DevStudio76\ibi_html

    Contains Web page components that provide local processing, Web based tools, andother features.

    \DevStudio76\logs

    Contains space for logs.

    \DevStudio76\QuickLinks

    Contains links for sample applications.

    \DevStudio76\srv76

    Contains a WebFOCUS Reporting Server installed and configured for Developer Studio.

    \DevStudio76\temp

    Contains space for local processing.

    \DevStudio76\Templates

    Contains reporting and maintain templates.

    \DevStudio76\Utilities

    Contains tools and files for additional configurations.

    \DevStudio76\Webapps

    Contains the WebFOCUS Web application.

    \profiles

    Contains space for the WebFOCUS Reporting Server profiles.

    If you installed Tomcat, the default location is:

    C:\Program Files\Apache Software Foundation\Tomcat 5.5

    If you are using Tomcat and IIS together, the Tomcat plug-in (connector) is installed in:

    C:\Program Files\Apache Software Foundation\Jakarta Isapi Redirector

    WebFOCUS Developer Studio Installation and Configuration 31

    2. Installing Developer Studio

  • Installation Log FilesThe following log file is created by the Developer Studio installation:

    C:\wf_ds_76_inst.log

    This log file provides information about the Developer Studio installation. If you contactCustomer Support Services with an installation problem, have this file available.

    If you license the Visual Discovery feature, the following log is created by its installation:

    C:\wf_ds_76_vis_ins.log

    If you install the Java SDK with Developer Studio, the following files are also created:

    C:\jdk_6u3.logC:\jre_6u3.log

    WebFOCUS Reporting Server for Developer StudioThe Developer Studio development tools require certain components installed with theWebFOCUS Reporting Server. Therefore, a Reporting Server is always installed with DeveloperStudio even when one is already installed or you use Developer Studio for remote processing.

    This server is configured for Developer Studio and installed within the Developer Studiodirectory structure. On the Start menu, it is under Programs, Information Builders, WebFOCUS76 Developer Studio, and WebFOCUS 76 Server for DevStudio.

    Note: By default, the server only starts with security OFF and can only be started by theuser who installed Developer Studio. To change these defaults, see WebFOCUS ReportingServer Security and User IDs on page 88.

    If you install Developer Studio on the same machine as WebFOCUS, be sure to configurethe server installed for WebFOCUS and not the server installed with Developer Studio. Theserver installed for WebFOCUS should be started before Developer Studio. Otherwise,Developer Studio starts the server installed with Developer Studio instead.

    User ID IssuesThe Developer Studio installation created registry settings under HKEY_CURRENT_USERthat are only available to the user ID that installed Developer Studio. If you log on to theDeveloper Studio machine as another user ID and attempt to run Developer Studio, themissing registry settings may cause problems with certain features (e.g., Quick Links, ImpactAnalysis, etc.).

    To run Developer Studio as a user ID that did not install Developer Studio, log on to themachine as the user ID under which you wish to run Developer Studio and executing thefollowing utility:

    drive:\ibi\DevStudio76\Utilities\import_reg.bat

    32 WebFOCUS

    Installing Developer Studio

  • This adds the registry settings for the user ID logged on when you execute it. If you receivean 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 explainedin WebFOCUS Reporting Server Security and User IDs on page 88. By default only the userthat installed Developer Studio can start the WebFOCUS Reporting Server, so this must bechanged if you use the local server.

    Tomcat Security and Settings

    Reference:

    Apache Tomcat Installation Information

    If you are not using Tomcat, proceed to Verifying Developer Studio on page 34.

    Apache Tomcat Installation InformationReference:

    If you installed Tomcat with Developer Studio, the installation is done silently and usesdefault settings.

    The default installation directory is:

    C:\Program Files\Apache Software Foundation\Tomcat 5.5

    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 isconfigured to start automatically with Windows.

    By default, a Tomcat user ID of "admin" is defined with no password. This user ID is onlyfor Tomcat Web-based administration tools and is not related to WebFOCUS or Windowsuser 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 byediting this file. For example:

    Tomcat uses TCP ports 8080, 8009, and 8005 by default. Port 8080 is the HTTP listenerthrough which you access Tomcat in a Web browser. Port 8009 is needed for the TomcatConnector (plugin) for IIS. If you need to change these ports, you must edit the followingfile:

    C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\server.xml

    WebFOCUS Developer Studio Installation and Configuration 33

    2. Installing Developer Studio

  • See Tomcat Ports on page 51. If you change defaults, substitute accordingly in proceduresand examples. You also need to update Developer Studio's connection settings so itknows 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 withWebFOCUS 7.6. If you did not install Tomcat with Developer Studio 7.6, you shouldincrease the Java memory options as explained in Java Memory Issues on page 96.

    The Tomcat Administration Tool is not installed automatically with the Tomcat installation.It is included in the Developer Studio package (CD or extracted files) in:

    DISK1\tomcat5.5.25\apache_tomcat_5.5.25_admin

    This is available for debugging purposes and is not fully stabilized for creating contexts.

    Verifying Developer Studio

    In this section:

    Web and/or Application Server Verification

    Developer Studio Web Server Configuration Verification Tool

    Developer Studio connects to a WebFOCUS environment in order to create and processreports.

    If you chose to have the installation configure Apache Tomcat, a development WebFOCUSenvironment should exist for Developer Studio. Verify the Web and/or application serverconfiguration as explained in Web and/or Application Server Verification on page 35.

    If Developer Studio is installed on the same machine as WebFOCUS, Developer Studiouses the already installed WebFOCUS environment. In some environments, you mightneed to specify the Web server port or change default connection settings in the DeveloperStudio WebFOCUS Environment Properties dialog box.

    For a network installation, proceed to Configuring a Network Installation on page 65 toset up a connection to a WebFOCUS environment and configure shared access.

    To manually configure a Web and/or application server for local processing, proceed toConfiguring the Web Server and/or Application Server on page 45.

    34 WebFOCUS

    Verifying Developer Studio

  • Web and/or Application Server Verification

    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 youare using Tomcat with IIS, you should restart IIS as well.

    How to Start Apache Tomcat or Microsoft IISProcedure:

    1. Open the Services window by opening the Control Panel, Administrative Tools, and thenServices.

    Tip: On Windows XP, if the Administrative Tools option does not appear, select Switchto Classic View in the upper left of the Control Panel.

    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 automaticallywith Windows. If you want to change this behavior, right-click Apache Tomcat in theServices 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 Tomcat5.5, and Configure Tomcat. A window appears where you can start Tomcat and changesome 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 Servercannot run as a service or with security OPSYS until you configure security asexplained in WebFOCUS Reporting Server Security and User IDs on page 88.

    WebFOCUS Developer Studio Installation and Configuration 35

    2. Installing Developer Studio

  • How to Verify the Web ServerProcedure:

    After starting or restarting your Web server, confirm that it is running by accessing it througha browser.

    For IIS, go to the following page in your browser:

    http://localhost

    For Tomcat, go to the following page in your browser:

    http://localhost:8080

    When using Tomcat standalone, you use port 8080 when accessing Tomcat in a Webbrowser or through Developer Studio. When using Tomcat with IIS, you normally do notgo through port 8080 when running Developer Studio, but you can go to this port toensure Tomcat is running and configure Tomcat.

    The Tomcat home page should appear.

    If the home page does not appear, the Tomcat may still be loading. Wait a few minutesand try again.

    36 WebFOCUS

    Verifying Developer Studio

  • How to Verify the WebFOCUS Web Application DeploymentProcedure:

    The WebFOCUS Web application is installed with Developer Studio in:

    drive:\ibi\DevStudio76\webapps\webfocus76

    and

    drive:\ibi\DevStudio76\webapps\webfocus76.war

    If you chose the automatic configuration option, Tomcat is configured to access the expandedwebapps\webfocus76 directory when it receives a request for

    /ibi_apps

    If you are using IIS with Tomcat, then IIS receives the request for /ibi_apps and passes thatrequest to Tomcat.

    You should test this by going to the about.jsp page installed with the WebFOCUS Webapplication. If you are not using the default ports, substitute accordingly.

    If you are using Tomcat either standalone or with IIS, go to the following URL:

    http://localhost:8080/ibi_apps/about.jspA page displaying information about the build should display. When using Tomcat withIIS, there may be a broken image. When using Tomcat with IIS, you normally do not accessTomcat at port 8080, but can use it for testing and configuration.

    If you are using Tomcat standalone, you can also go to the WebFOCUS Welcome page:

    http://localhost:8080/ibi_apps/homepage.jsp

    If you are using IIS with Tomcat, go to the following URL:

    http://localhost/ibi_apps/about.jspWhen using Tomcat with IIS, IIS should route the ibi_apps request to Tomcat and returnthe about.jsp page. In this configuration, you should go through IIS when accessingTomcat. If both IIS and Tomcat are running and you choose to configure the plug-in,ensure ServletExec ISAPI is not installed.

    If you are using IIS as the Web server, you can also go to the WebFOCUS Welcome page:

    http://localhost/ibi_apps/homepage.jsp

    WebFOCUS Developer Studio Installation and Configuration 37

    2. Installing Developer Studio

  • Developer Studio Web Server Configuration Verification Tool

    How to:

    Run the Verification Tool

    A verification tool is installed along with Developer Studio as part of the WebFOCUSAdministration Console.

    How to Run the Verification ToolProcedure:

    1. Ensure the Tomcat and/or IIS are started.

    2. Go to the WebFOCUS Administration Console home page using Internet Explorer. Youcan access this by clicking WebFOCUS Administration Console at the WebFOCUS Welcomepage. If you are using Apache Tomcat standalone, you can also go to:

    http://localhost:8080/ibi_apps/console/webfocusconsole.jspFor IIS with Tomcat, you can go to:

    http://localhost/ibi_apps/console/webfocusconsole.jspA logon page appears. If a logon page does not appear, ensure your Web server isstarted. If the Web server is started and this page does not appear, you may need tomanually configure the Web server as explained in Configuring the Web Server and/orApplication Server on page 45.

    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.

    38 WebFOCUS

    Verifying Developer Studio

  • Using this console, you can edit communication and security settings. This console isdocumented in the WebFOCUS Security and Administration manual and relevant sectionsare available by clicking Help. The WebFOCUS Administration Console contains averification tool to further test the configuration.

    4. On the left of the WebFOCUS Administration Console, click Diagnostics.

    5. Below Diagnostics and Verification, click Automatic.

    A page similar to the following appears on the right with a list of tests. The list variesdepending on your license and configuration. For a Tomcat standalone configuration,the Web Server tests may not appear.

    The verification tool is supported only with Internet Explorer at this time, and you mayreceive errors if you use other browsers.

    WebFOCUS Developer Studio Installation and Configuration 39

    2. Installing Developer Studio

  • 6. Review the test results and troubleshoot accordingly.

    Additional verification tools are discussed in Troubleshooting Developer Studio on page 95.

    Note: The WebFOCUS Administration Console does not have its own authenticationmechanism and by default, none is used. If you wish to secure the console, theIBIWFC_Authentication setting is under Configuration and Startup Parameters. See theWebFOCUS Security and Administration manual for more information. Setting authenticationto this console may require additional authentication when using Developer Studio.

    Migrating From Developer Studio Version 4If you are upgrading from Developer Studio 5.2 or later, no migration is necessary.

    In Developer Studio 4.3.x or 4.2.x (4), applications were controlled by a GFA file located inthe directory above the directory containing the application files. In Developer Studio 5, theGFA file is located in the same directory as its application files. Therefore, when upgradingfrom Developer Studio 4, you must use the Project Migration Tool to convert older applicationsfor use with Developer Studio 5.

    If your APPROOT directory (drive:\ibi\apps by default) contains Developer Studio applicationsthat require migration, the first time Developer Studio opens, you are prompted to migratethem. You can also launch the Project Migration Tool from the Windows Start menu byselecting Programs, Information Builders, WebFOCUS 76 Developer Studio, WebFOCUSDeveloper Studio Utilities, and Project Migration Tool.

    40 WebFOCUS

    Migrating From Developer Studio Version 4

  • When you open the Project Migration Tool, it lists any GFA files for Developer Studio 4applications in the APPROOT directory.

    If you have applications in a different directory, specify the directory by clicking the Browsebutton next to the Look for projects in field. Uncheck any applications that you do not wantto migrate, and then click the Migrate button to migrate the checked applications. The migrateutility updates the application files and places a new GFA file inside the application directory.

    Silent Developer Studio Installation

    How to:

    Create the Installation Parameters File

    Launch a Silent Installation

    After you are familiar with the Developer Studio installation, you can install in silent modeif 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 parametersin a text file that you specify when launching the silent installation. This is useful for siteswhere Developer Studio is installed on many developer machines.

    WebFOCUS Developer Studio Installation and Configuration 41

    2. Installing Developer Studio

  • 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 theinstallation and choose the option to keep the unpacked files on your computer. The silentinstallation must be run with the files on the CD or the files that are unpacked from adownloaded installation.

    How to Create the Installation Parameters FileProcedure:

    Create a file in a text editor with the options you wish to use for your installation. The followingtable explains the options. Place each option on its own line.

    ExampleValueOption

    -license 000000000

    Should be followed by the 9-digit Developer Studiolicense.

    -license

    -installdir C:\Should be followed by the drive letter or locationwhere you wish to install the root ibi directory.Developer Studio components are installed into aroot ibi directory no matter what you enter. If youenter:

    c:\ibi\

    components are installed in:

    c:\ibi\ibi\

    -installdir

    noupgradeCan optionally appear if Developer Studio is alreadyinstalled and you do not want to upgrade it.

    noupgrade

    -tomcatCan optionally appear to install Apache Tomcat 5with Developer Studio if it is not already installed.

    -tomcat

    42 WebFOCUS

    Silent Developer Studio Installation

  • ExampleValueOption

    -config tcCan optionally appear to configure Apache Tomcatand Microsoft IIS. It should be followed by one ofthe following:

    tc

    Configures Tomcat standalone.

    tc_iis

    Configures Tomcat and IIS.

    Tomcat or IIS must be installed to use this option.You can install Tomcat using the -tomcat option.

    -config

    -jdkupgrade onCan optionally appear to determine whether toinstall a Java SDK with Developer Studio. It shouldbe followed by one of the following:

    on

    The Java SDK included with Developer Studiois installed unless the exact SDK release isalready installed. This is the default if theoption does not appear.

    off

    No Java SDK is installed with Developer Studio.If Java SDK 1.4.1_03 or higher is not alreadyinstalled, the installation will not complete andan error messages will be available in the logfile.

    -jdkupgrade

    An example of an entire file is the following:

    -license 000000000-installdir C:\-noupgrade-tomcat-config tc-jdkupgrade on

    WebFOCUS Developer Studio Installation and Configuration 43

    2. Installing Developer Studio

  • How to Launch a Silent InstallationProcedure:

    1. Open a command prompt and navigate to the directory containing the setup.exe file forthe Developer Studio installation.

    2. Enter the following:

    setup -opt drive:\PATH_TO\optionsFile.txt

    where:

    drive:\PATH_TO\optionsFile.txtIs the full path to the text file containing your installation options.

    A log of the installation is provided for troubleshooting:

    c:\wf_ds_76_inst_userID.log

    This log contains important information about the installation process. If the log indicatesthat the installation did not complete, adjust the options in the file you used to installDeveloper Studio. In some cases, an incorrect option setting can prevent the installationfrom completing.

    If you do not choose to have the installation configure Tomcat, you can manually configureWeb and application servers as explained in Configuring the Web Server and/or ApplicationServer on page 45.

    44 WebFOCUS

    Silent Developer Studio Installation

  • WebFOCUS

    Configuring the Web Server and/orApplication Server

    3

    Topics:The following topics explain how tomanually configure Web and/orapplication servers for stand-aloneProject-based development withDeveloper Studio.

    Configuration Options

    Configuring Apache Tomcat

    Note: CGI and ISAPI are not supportedwith Developer Studio at this time.

    Configuring Microsoft IIS

    Configuring Microsoft IIS to Use theTomcat Connector (Plug-In)

    Configuring Additional Web and/orApplication Servers

    WebFOCUS Developer Studio Installation and Configuration 45

  • Configuration OptionsThis chapter is not necessary if any of the following apply:

    This chapter is not needed if you chose the automatic configuration option during theDeveloper Studio installation and successfully ran the verification tool in InstallingDeveloper Studio on page 23. You can optionally review this information to understandthe configuration or proceed to Configuring the Local Reporting Server Security on page87.

    This chapter is not needed if you installed Developer Studio on a machine whereWebFOCUS was already installed and configured. In this case, Developer Studio can usethe existing WebFOCUS configuration. Proceed to Configuring the Local Reporting ServerSecurity on page 87.

    This chapter is not needed if you plan to perform only remote development or a networkinstallation. In this case, you must configure Developer Studio to access a WebFOCUSenvironment installed elsewhere. See Configuring the Local Reporting Server Security onpage 87 for information on connecting to WebFOCUS environments. See Configuring aNetwork 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 totroubleshoot the configuration. Developer Studio requires a Web and/or application serverto perform standalone Project-based development and to process reports locally. Configurationsteps 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 thisoption, be aware that the default HTTP port for Tomcat is 8080 rather than 80. Thereforewhen 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 theWeb server. This requires two servers and the configuration of their communications.

    Manual configuration is described in Configuring Apache Tomcat on page 47, ConfiguringMicrosoft IIS on page 53, and Configuring Microsoft IIS to Use the Tomcat Connector (Plug-In) on page 56.

    46 WebFOCUS

    Configuration Options

  • Other

    Other Web and/or application servers, such as IBM WebSphere, can be manuallyconfigured as explained in Configuring Additional Web and/or Application Servers on page62.

    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.

    Configuring Apache Tomcat

    In this section:

    Tomcat Configuration Overview

    Configuring Tomcat

    Additional Tomcat Configuration Options

    The Developer Studio installation provided the option to install and configure Apache Tomcatfor you. If you chose this option and the verification tool ran successfully, you do not needto manually configure Tomcat. However, if you are not familiar with Tomcat, you may wishto 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 restartingthe Developer Studio installation program, choosing the Full Install option, choosing theApache 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. Ifyou manually install Tomcat or need to troubleshoot memory issues, see Java MemoryIssues on page 96.

    Tomcat Configuration OverviewTo configure Tomcat, you tell Tomcat where Developer Studio files are located and thecontexts in which to use them. For example, the WebFOCUS Web application is installedwith Developer Studio in:

    drive:\ibi\DevStudio76\webapps\webfocus76

    WebFOCUS Developer Studio Installation and Configuration 47

    3. Configuring the Web Server and/or Application Server

  • Tomcat must know to serve files from the Web application when it receives a request forthe 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 servefiles outside of a Web application after it knows their location and context. On a traditionalWeb server you create aliases. With Tomcat, an alias is treated like a context root, evenwhen serving files outside of a Web application.

    When using Tomcat as both Web and application server, the following contexts must becreated:

    Directory (DocumentBase)Context (path)

    drive:\ibi\DevStudio76\Webapps\webfocus76/ibi_apps

    drive:\ibi\DevStudio76\ibi_html/ibi_html

    drive:\ibi\apps/approot

    When using Tomcat as the application server and IIS as the Web server, create only onecontext on Tomcat:

    Directory (DocumentBase)Context (path)

    drive:\ibi\DevStudio76\Webapps\webfocus76/ibi_apps

    The ibi_html and approot contexts are then created as aliases (Virtual Directories) on IISand 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 XMLfiles under TOMCAT_HOME\conf\Catalina\localhost. The Tomcat 5.5 Admin Tool is usefulfor debugging, but is not a stable environment for creating contexts. Creating XML files underTOMCAT_HOME\conf\Catalina\localhost works with both Tomcat 5.0 and Tomcat 5.5.

    48 WebFOCUS

    Configuring Apache Tomcat

  • Note: In Tomcat 5.5, do not create contexts using the Manager tool. The Managed Toolcopies directories under Tomcat 5.5/webapps rather than creating the XML files that definecontexts.

    How to Create Contexts for Apache TomcatProcedure:

    1. Stop Tomcat from the Windows Services window by right-clicking Apache Tomcat andchoosing Stop.

    2. Navigate to the following directory in Windows Explorer or My Computer:

    C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\Catalina\localhost

    This directory can contain XML files that define contexts. If the Developer Studioinstallation installed and configured Tomcat for you, the following file should appear todefine the ibi_apps context that deploys the webfocus76 directory:

    ibi_apps.xml

    If you are using Tomcat standalone, the follows should appear as well:

    approot.xmlibi_html.xml

    The XML files are named for the context root you would use to access the Web applicationand should have the following syntax:

    where:

    path_To_WebApplication

    Is the absolute path to the WAR file or directory you are deploying.

    contextRoot

    Is the context root.

    Note: They can optionally contain additional information as explained in Tomcatdocumentation.

    3. If the ibi_apps.xml file does not exist, create it using Notepad. For example:

    Be sure to specify the correct directory on your machine and change the context root ifyou are not using the default (ibi_apps).

    WebFOCUS Developer Studio Installation and Configuration 49

    3. Configuring the Web Server and/or Application Server

  • 4. If you are using Tomcat standalone and approot.xml does not exist, create it usingNotepad. For example:

    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 usingNotepad. For example:

    Be sure to specify the correct directory on your machine.

    Note: The ibi_bid context is no longer needed in WebFOCUS 7.6.

    6. Restart Tomcat from the Services window.

    How to Test the Tomcat ConfigurationProcedure:

    1. Ensure Tomcat has been restarted.

    2. Test the ibi_apps context by going to the following URL in a Web browser:

    http://localhost:8080/ibi_apps/about.jspA page displaying information about the build should appear. If you receive an error, seeTroubleshooting Developer Studio on page 95.

    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 reportsfrom this page.

    50 WebFOCUS

    Configuring Apache Tomcat

  • Additional Tomcat Configuration Options

    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 TCPports, and how to reload Web applications.

    How to Set Security for the Tomcat Web ToolsProcedure:

    You can secure the Tomcat Administration and Manager tools if you wish. By default, a userID "admin" is available and no password is needed to access these tools. If you wish to seta password, perform the following steps.

    1. Open the following file in a text editor:

    C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\tomcat-users.xml

    2. Edit the admin line to specify a password. For example:

    The user IDs and passwords in this file have no relationship with WebFOCUS or operatingsystem user IDs.

    3. Save and exit the file.

    4. Restart Tomcat.

    Tomcat PortsReference:

    By default, Tomcat uses the three TCP ports listed below:

    UseNameDefault Port

    You access Tomcat in a Web browser using this port.For example:

    http://localhost:8080

    HTTP ListenerPort

    8080

    WebFOCUS Developer Studio Installation and Configuration 51

    3. Configuring the Web Server and/or Application Server

  • UseNameDefault Port

    Web servers can route servlet requests to Tomcat onthis port. The Tomcat connector (plug-in) for IIS usesthis port. Tomcat listens on this port even if no Webserver is connecting.

    ConnectorPort

    8009

    Tomcat uses this port for internal operations and forshutting down.

    ShutdownPort

    8005

    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 themwith 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 needto update Developer Studio's connection settings so it knows the correct Tomcat HTTP portif you change the default.

    Reloading Web ApplicationsReference:

    This is not a consideration if you just installed Tomcat with Developer Studio for the firsttime; only when installing a service pack or new release. When you upgrade Developer Studioor install a service pack, Tomcat must use the new Web application rather than cachedcopies of the old version.

    If the expanded webfocus76 directory was deployed, the new Web applications shouldbe used automatically, but you should remove the following directory and restart Tomcat.

    C:\Program Files\Apache Software Foundation\Tomcat 5.5\work\Catalina\localhost\ibi_apps

    For a Tomcat standalone configuration, also remove the approot and ibi_html directories.

    If you deploy the webfocus76.war file or your new release is located in a different directoryfrom the old release, remove the following, recreate the context, and restart Tomcat:

    C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\ibi_apps

    C:\Program Files\Apache Software Foundation\Tomcat 5.5\work\Catalina\localhost\ibi_apps

    C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\Catalina\localhost\ibi_apps.xml

    52 WebFOCUS

    Configuring Apache Tomcat

  • For a Tomcat standalone configuration, remove the approot.xml and ibi_html.xml files aswell.

    Additional Configuration StepsReference:

    If you are using Tomcat as both a Web and application server, proceed to Configuring theLocal Reporting Server Security on page 87.

    If you are using Tomcat as the application server and IIS as the Web server, configureIIS as explained in the next section.

    Configuring Microsoft IIS

    In this section:

    Configuring IIS Virtual Directories (Aliases)

    Setting Permissions

    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 WebFOCUSServlet, IIS should be used with Apache Tomcat or another application server. This documentassumes you are using Apache Tomcat. New Atlanta ServletExec ISAPI is not supported atthis 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 theWeb 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 MicrosoftIIS to Use the Tomcat Connector (Plug-In) on page 56.

    Configuring IIS Virtual Directories (Aliases)

    How to:

    Confirm or Create Virtual Directories (Aliases)

    Developer Studio connectivity components and other Web based features sometimes runas part of the Web server. Therefore, IIS must be told the locations of Developer Studio filesand have sufficient access to those files.

    WebFOCUS Developer Studio Installation and Configuration 53

    3. Configuring the Web Server and