How to resolve HTTP Status 404 error while accessing WebStudio URL

How to resolve HTTP Status 404 error while accessing WebStudio URL

book

Article ID: KB0080148

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -

Description

After starting RMS server and trying to connect to WebStudio using http://<IPAddress>:<Port>/WebStudio
HTTP ERROR 404: Not Found occurs.

Error Logs:

HTTP Status 404 - /WebStudio/
type Status report
message /WebStudio/
description The requested resource is not available.

Environment

TIBCO BusinessEvents Enterprise Edition 5.x All Operating Systems

Resolution

Here are the steps to identify and fix the problem:

* Make sure the DISPLAY environment variable is set correctly.
  use 'env' command or 'echo $DISPLAY' to check the values and try to unset the DISPLAY using 'unset DISPLAY' and restart the RMS server.

* Validate /etc/hosts file to make sure it has valid IPaddress and MachineName mapping.

* Modify hostName to IP and MachineName in the RMS.cdd file
+++
<property name="tibco.clientVar.Webstudio/hostName" type="string" value="<IPaddress/MachineName>"/>
<property name="tibco.clientVar.Webstudio/port" type="integer" value="8090"/>
+++

* Use different port number.

* Check the Firewall for any restriction.
sample command :
service iptables status
iptables -L
netstat -ano | grep 8090

* Resolve any X11Forwarding errors or try to start be-rms in background (nohup ./be-rms &)

* Clear the browser cache or try using different browser.

* By default RMS creates temporary files in the /tmp (HttpRoot*) directory. Validate this directory for any permission related issues and disk space.
The default location can be modified to different directory by adding the following property to the be-rms.tra file.
java.property.java.io.tmpdir=<tempDir>

* Try to validate using wget http://<IPAddress>:<Port>/WebStudio in the same server terminal.

Issue/Introduction

How to resolve HTTP Status 404 error while accessing WebStudio URL