private void createPools(Properties props) {
		Enumeration<?> propNames = props.propertyNames();
		while (propNames.hasMoreElements()) {
			String name = (String) propNames.nextElement();
			if (name.endsWith(".url")) {
				String poolName = name.substring(0, name.lastIndexOf("."));
				String url = props.getProperty(poolName + ".url");
				if (url == null) {
					log.warn(MessageUtil.getBasText("jdbc-conpoll-urlnf", poolName));
					continue;
				}
				String user = props.getProperty(poolName + ".user");
				String password = props.getProperty(poolName + ".password");
				String maxconn = props.getProperty(poolName + ".maxconn", "0");
				int max;
				try {
					max = Integer.valueOf(maxconn).intValue();
				} catch (NumberFormatException e) {
					log.error(MessageUtil.getBasText("jdbc-conpoll-maxlimierr", poolName, maxconn));
					max = 0;
				}
				ConnectionPool pool = new ConnectionPool(poolName, url, user, password, max);
				pools.put(poolName, pool);
				log.info(MessageUtil.getBasText("jdbc-conpoll-createsucc", poolName));
			} else if (name.endsWith("pool")) {
				this.defaultPoolName = props.getProperty(name);
			}
		}
	}