Today I find the reason of Error "Attempt to register duplicate pool called 'mysql'" ,I place
JAXPConfigurator.configure(System.getProperty("user.dir")+"/proxool.xml", false);
in DBConnect.java to use proxool,everytime I call DBConnect ,It will load JAXPConfigurator then it shows the error.
And it is easy to fix,just place above sentence to the loader of your Application ,just load it once .everythink is OK.