Bug 121019 Java based scripting -> TextItemInstance/setText, getText does not work properly
textItemInstance.setText( "Actuate Shanghai" ); System.out.println( textItemInstance.getText( ) ); after executing the codes above, i got "text/template". expected behavior: - Actuate Shanghai actual behavior: - text/template
viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/WebappAccessor.java
if ( !applicationsStarted )
		{
			
			return;
		}
		AppServerWrapper.getInstance( ).getAppServer( ).stop( webappName );
	}
	/**
	 * Returns the port number the app server listens on.
	 * 
	 * @return integer port number, 0 if server not started
	 */
	public static int getPort( )
	{
		try
		{
			return AppServerWrapper.getInstance( ).getAppServer( ).getPort( );
		} catch ( CoreException e )
		{
			return 0;
		}
	}
	/**
	 * Returns the host name or ip the app server runs on.
	 * 
	 * @return String representaion of host name of IP, null if server not
	 *         started yet
	 */
	public static String getHost( )
	{