File temporaryConfigFile = createTempPropertyFile();
writePropertyToFile( "org.neo4j.server.database.location", createTempDir().getAbsolutePath(), temporaryConfigFile );
writePropertyToFile( "org.neo4j.server.webserver.port", portNo, temporaryConfigFile );
writePropertyToFile( NeoServer.WEBADMIN_NAMESPACE_PROPERTY_KEY + "rrdb.location", createTempDir().getAbsolutePath(), temporaryConfigFile );
writePropertyToFile( NeoServer.OSGI_BUNDLE_DIR_PROPERTY_KEY, "../", temporaryConfigFile );
<BUG>writePropertyToFile( "org.neo4j.server.webadmin.data.uri", "http://localhost:7474/db/data/", temporaryConfigFile );
writePropertyToFile( "org.neo4j.server.webadmin.management.uri", "http://localhost:7474/db/manage/", temporaryConfigFile );</BUG>
System.setProperty( NeoServer.NEO_CONFIG_FILE_KEY, temporaryConfigFile.getAbsolutePath() );
} catch ( IOException e )
{

File temporaryConfigFile = createTempPropertyFile();
writePropertyToFile( "org.neo4j.server.database.location", createTempDir().getAbsolutePath(), temporaryConfigFile );
writePropertyToFile( "org.neo4j.server.webserver.port", portNo, temporaryConfigFile );
writePropertyToFile( NeoServer.WEBADMIN_NAMESPACE_PROPERTY_KEY + "rrdb.location", createTempDir().getAbsolutePath(), temporaryConfigFile );
writePropertyToFile( NeoServer.OSGI_BUNDLE_DIR_PROPERTY_KEY, "../", temporaryConfigFile );
System.setProperty( NeoServer.NEO_CONFIG_FILE_KEY, temporaryConfigFile.getAbsolutePath() );
} catch ( IOException e )
{
