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
Driver driver = getDriver( dataSourceElementId );
		assert( driver != null );
        driver.setLogConfiguration();
		sm_logger.exiting( sm_className, methodName );
	}
		
	private Driver getDriver( String dataSourceElementId )
	{
		assert( dataSourceElementId != null && dataSourceElementId.length() != 0 );
		
		Driver driver = (Driver) getLoadedDrivers().get( dataSourceElementId );
		if( driver == null )
		{
			driver = new Driver( dataSourceElementId );
			getLoadedDrivers().put( dataSourceElementId, driver );
		}
		
		return driver;
	}
	
	Hashtable getLoadedDrivers()
	{
		if( m_loadedDrivers == null )
			m_loadedDrivers = new Hashtable();
		
		return m_loadedDrivers;
	}
}