java.util.MissingResourceException: Can't find resource for bundle oracle.sysman.db.rsc.LoginResourc

http://blog.itpub.net/197458/viewspace-1055358/

 

oracle 10.2.0.4 windows 2003 X64 平台

系统安装EMCA正常.第一次使用正常.

但经过重新启动一次后,登录报下述错误:

显示错误:

java.util.MissingResourceException: Can't find resource for bundle oracle.sysman.db.rsc.LoginResource, key connectStringError
at java.util.ResourceBundle.getObject(ResourceBundle.java:325)
at java.util.ResourceBundle.getObject(ResourceBundle.java:322)
at java.util.ResourceBundle.getString(ResourceBundle.java:285)
at oracle.sysman.emo.adm.LoginBean.getErrMsg(LoginBean.java:416)
at oracle.sysman.emo.adm.LoginBean.validate(LoginBean.java:241)
at oracle.sysman.emo.adm.LoginBean.login(LoginBean.java:268)
at oracle.sysman.db.adm.LoginController.doLogin(LoginController.java:572)
at oracle.sysman.db.adm.BaseController.redirectIfNotLoggedIn(BaseController.java:825)
at oracle.sysman.db.adm.BaseController.handleEvent(BaseController.java:929)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:376)
at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:170)
at oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:114)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
at oracle.sysman.eml.app.Console.doGet(Console.java:287)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:151)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:304)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:595)

[@more@]

根据错误的信息,估计是key的问题.

通过下述命令重新创建后,并重新配置emca后,正常

emctl.bat stop dbconsole
emctl.bat config emkey -repos -sysman_pwd
emctl.bat secure dbconsole -sysman_pwd

emctl.bat start dbconsole

posted @ 2014-04-23 01:01  adodo1  Views(1450)  Comments(0Edit  收藏  举报