System.out.println("configuring '" + instanceName + "' using " + home + File.pathSeparator + file);
System.out.println("Configuring '" + instanceName + "' using " + home + File.separatorChar + file);
    private void configure(String instanceName) throws XMLDBException {            	String home, file = "conf.xml";    	        if(configuration == null) {        	home = findExistHomeFromProperties();        } else {        	File f = new File(configuration);        	if (!f.isAbsolute())        		f = new File(new File(findExistHomeFromProperties()), configuration).getAbsoluteFile();    		file = f.getName();			home = f.getParentFile().getPath();        }		System.out.println("configuring '" + instanceName + "' using " + home + File.pathSeparator + file);        try {            Configuration config = new Configuration(file, home);            BrokerPool.configure(instanceName, 1, 5, config);                        if (shutdown != null)            	BrokerPool.getInstance(instanceName).registerShutdownListener(shutdown);        } catch (Exception e ) {            throw new XMLDBException(ErrorCodes.VENDOR_ERROR, "configuration error", e );        }         currentInstanceName = instanceName;    }