Jboss启动出现java.sql.sqlexception: user not found解决办法

  近排启动JBOSS时,总是会出现Java.sql.SqlException: User not found错误,但不影响Jboss正常运行,后来在网上查找解决办法,找到的解释如下:

 

It turned out that under the folder /server/<domain>/date/hypersonic the files had been corrupted.or changed  It seems that normally when you shutdown the server these get cleaned up and when you start the server they are recreated from the configuration. Basically I deleted the hypersonic directory and contents and restarted JBoss and everything sorted itself out.

意思是通常Jboss目录里的/server/<domain>/data/hypersonic下的文件一般会根据jboss配置文件在启动时生成,然后在正常关闭时被清除,但可能是Jboss被非正常关闭导致出错

 

解决的办法很简单,把/server/<domain>/data/hypersonic下的文件全删掉或者将整个目录删掉,然后重新启动Jboss,错误就不会再出现了

你可能感兴趣的:(java,sql,jboss,SQL Server,UP)