近排启动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,错误就不会再出现了
本文介绍了一种常见的JBOSS启动时遇到的Java.sql.SqlException:Usernotfound错误及其解决方法。该错误通常是由于/server/<domain>/data/hypersonic目录下的文件损坏或更改所导致。解决步骤包括删除此目录及内容后重启JBOSS。
782

被折叠的 条评论
为什么被折叠?



