Bug 193231 RCP designer does not display Preview tab and View menu.
On RCP designer, Preview tab is missing and View Report menus. Please check the attached screen shot for detail.
viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/WebappAccessor.java
{
		try
		{
			return AppServerWrapper.getInstance( ).getAppServer( ).getHost( );
		}
		catch ( CoreException e )
		{
			return null;
		}
	}
	/**
	 * Get path of web applcation.
	 * 
	 * @param pluginId
	 *            Embedded web application id
	 * @param path
	 *            webapp path relative to the plugin directory
	 * @return String absolute webapp path
	 * @exception CoreException
	 */
	private static IPath getWebappPath( String pluginId, IPath path )
			throws CoreException
	{
		Bundle bundle = Platform.getBundle( pluginId );
		if ( bundle == null )
		{
			throw new CoreException( new Status( IStatus.ERROR,
					ViewerPlugin.PLUGIN_ID, IStatus.OK, ViewerPlugin
							.getFormattedResourceString(
									"viewer.appserver.cannotfindplugin",