Bug 152494 Support deployment of ODA Bundles in Web Application
When deploying a WAR package embedded with the ODA runtime plugins on a web application, e.g. WebLogic 9, the Stop( Shutdown Platform ) and restart service fails to restart platform correctly. This is due to instances not being released when WebLogic is shutdown. So in subsequent startup, those classes and their static variables are not re-initialized. Any objects referenced by singleton instances, such as plugin extensions objects, are thus from the previous platform instance, and are no longer valid.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/odaconsumer/DriverManager.java
return ret;
	}
	/**
	 * Returns the id of the type of ODA data source for use as an argument to 
	 * <code>IDriver.getConnection</code>.
	 * @param dataSourceElementId	the id of the data source element defined
	 * 								in a data source extension.
	 * @return	the extension data source type id for <code>IDriver.getConnection</code>, 
	 * 			or null if no explicit data source type was specified.
	 */
	String getExtensionDataSourceId( String dataSourceElementId ) 
		throws DataException
	{
		String methodName = "getExtensionDataSourceId";
		sm_logger.entering( sm_className, methodName, dataSourceElementId );
		Driver driver = getDriver( dataSourceElementId );
		ExtensionManifest config = driver.getDriverExtensionConfig();
		String ret = config.getDataSourceElementID();
		
		sm_logger.exiting( sm_className, methodName, ret );
		return ret;
	}
	
	void setDriverLogConfiguration( String dataSourceElementId )
	{
		String methodName = "setDriverLogConfiguration";
		if( sm_logger.isLoggingEnterExitLevel() )
		    sm_logger.entering( sm_className, methodName, 
		        				new Object[] { dataSourceElementId } );
	    assert( dataSourceElementId != null );