@Before
public void createSpringContext() {
try {
log.info( "creating spring context" );
PropertyPlaceholderConfigurer configurer = new PropertyPlaceholderConfigurer();
Properties properties = new Properties();
properties.setProperty( "temp.dir",
TMPDIR );
configurer.setProperties( properties );
ctx = new ClassPathXmlApplicationContext();
ctx.addBeanFactoryPostProcessor( configurer );
//ctx.setConfigLocation( "org/drools/container/spring/beans/persistence/beans.xml" );
ctx.setConfigLocation("org/drools/container/spring/beans/persistence/beans_Env.xml");
ctx.refresh();