The original database server starts with the system startup, and the database service has not been deployed by CMP after the date of manual startup, until the CMP JBoss is reported to reporting N mistakes, dazzling. I haven't waited for the report, I have closed JBoss, how can I think so? A few days ago. Just last night, Tomcat can't start. I didn't say that JDK, Tomcat, JBoss were reinstalled. During the installation Tomcat, I didn't find JRE, fainted. Finally, I used a trick or put Tomcat. Configure ClassPath and Path, Tomcat can run, just when JBOSS deploys CMP, there is still an error. This is annoyed, but annoyed is annoyed, or calm down, I've seen the N more abnormalities given by JBoss. I saw "MySQL ..." (I used the database is mysql), suddenly I didn't open it. MySQL server. Try it to start the mysql server, deploy CMP, and solve everything. I want to come now, this is a small thing, but I have not experienced or tell you, I don't know what happened. JBoss's series of exceptions is really annoying, the first thought: how many abnormalities look, forget it, close JBOSS and try again. Open the database server before deploying CMP, remember.