Troubleshooting Tips

Topics:

Review the following tips when troubleshooting App Studio.

Updated Browser Issues

Newer browser versions may not immediately work with App Studio. In this case, the Selenium support modules included with App Studio can be updated manually and may resolve the issue. Selenium is a suite of tools specifically for automating web browsers.

  1. Go to the http://seleniumhq.org/download web site.
  2. Under the Selenium Client & WebDriver Language Bindings section, look for the C# line and click the Download link to the ZIP file.
  3. Unzip the file on the desktop machine.
  4. Backup the WebDriver.dll and WebDriver.Support.dll files in the AppStudioxx\bin folder.
  5. From the net40 folder in the unzipped file location, copy the WebDriver.dll and WebDriver.Support.dll files into the AppStudioxx\bin folder.
  6. Restart App Studio and test the installed browser version.

    If there is still a problem, open a support case.

Note: If you are using Microsoft Edge, you may need to get an updated driver from Microsoft which is usually available on the Microsoft web site.

Tomcat Configuration Options

Since Tomcat runs as a service, Tomcat Java settings and other parameters are written into the registry. They can be configured through the Apache Tomcat Properties window. You can launch this from the Start menu by selecting All Programs, Information Builders, Tomcat, and Tomcat Configuration Utility.

If you need to adjust the Java release, click the Java tab to change where Tomcat looks for Java components. Be aware that Tomcat 8.0 requires Java 7 or later.

Note: Tomcat 8.0 requires Java 7 or later. If Tomcat 8.0 is configured to use Java 6, JSP page compilations will fail. To fix this, update the paths to point to the jvm.dll file of a supported Java version.

Java Memory Issues

If the App Studio installation configured Tomcat for you, the Tomcat Java VM memory settings are automatically increased. This is done because default application server Java VM memory options may not be sufficient for some WebFOCUS features. If you need to troubleshoot further or if you manually install Tomcat or another application server, you may need to manually increase the Java VM memory options.

The most common Java VM options you need to set involve the size of the Java heap and stack, which determine memory availability for Java programs and the Java VM. Errors can occur if not enough memory is available, and the heap size impacts performance, since it determines how often garbage collection occurs.

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:

-Xms256M
-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 All Programs, Information Builders, Tomcat, and Tomcat Configuration Utility.
    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.
  • For other application servers, refer to your application server documentation.

Starting App Studio

Topics:

On rare occasions, App Studio may fail to initialize correctly. If this happens, you can start the product in safe mode, or close the product manually.

Starting in Safe Mode

App Studio may fail to initialize correctly if a problem occurred during the previous close. In rare cases, a file in the Configured Environments tree can remain persistent when it should have closed. A file in this state will attempt to transact with the server before the application is fully initialized.

Starting App Studio in safe mode initializes the product with its environments only.

  1. In your windows start menu, navigate to the Information Builders section. Immediately below WebFOCUS App Studio is WebFOCUS App Studio (Safe Mode). Click the Safe Mode option.

    Alternatively, you can navigate to the folder where App Studio is installed. Open a command prompt and type appstudio-s.

    App Studio opens with the environments displaying in the Configured Environments tree.

  2. Double-click to expand the environment. Navigate to your content as needed.

    A file that remained persistent after the previous close will be able to transact with the server without conflict. A file in this state will close normally the next time you close App Studio.

    After starting in Safe Mode, you may work normally in App Studio. The next time you start App Studio, you can use the normal WebFOCUS App Studio option.

Closing Manually

If starting App Studio in safe mode fails to initialize the product, it may be that the underlying AppStudio.exe process did not terminate correctly during the previous close. In this case, you can manually end the AppStudio.exe process.

  1. Press Ctrl + Alt + Delete and choose Task Manager.
  2. Click the Processes tab.
  3. Find and select an AppStudio.exe Image Name if it appears.

    Note: You can click the Image Name column to sort by name.

  4. Click End Process.
  5. Start App Studio normally.

Manual Registration to Enable Multiple Browser Support in App Studio

Developers can use Chrome™, Firefox®, Internet Explorer®, Edge®, or the internal viewer when running reports. To use Chrome or Firefox, the product requires registration of the IBIWebBrowserDrivers_dotnet_35.dll .NET module that is included with the product.

To register this file, .NET version 4.0 is required. This version of .NET is preinstalled on most machines. If your machine does not have this .NET version, it will be installed during the App Studio installation process and the module needed to support multiple browsers will get registered.

In a few cases, on Windows 8.1 machines where the registration of the module fails, the developer will not be able to switch browsers. To address this issue, the developer must register the required module manually. To do this, open a Command Window, with the option Run as administrator, and run the following commands:

%SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\RegAsm
C:\ibi\AppStudio82\bin\ibiwebbrowserdrivers_dotnet_35.dll /u

A message should display that the file unregistered successfully.

Then run:

%SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\RegAsm
C:\ibi\AppStudio82\bin\ibiwebbrowserdrivers_dotnet_35.dll

A message should display that the file registered successfully.

where:

%SystemRoot%

Is the location of the Windows folder on your machine. This includes the drive and path. It is usually the C drive. For example, C:\Windows.

Note:
  • Adjust the above commands based on location of the App Studio installation location.
  • The commands in the documentation are shown in two separate lines, but they should be issued as one command.

WebFOCUS

Feedback