weblogic Adminserver启动后,console无法登录
weblogic10,一个adminserver,9个managed server,操作系统solaris9。
昨天在做连接池配置的时候,发生了错误,后来直接把adminserver进程在solaris里KILL了,重启adminserver成功,但在console登录的时候,失败,说Domain Runtime MBean Server is not enabled。后台日志如下:
<Aug 21, 2009 5:48:43 PM CST> <Error> <Console> <BEA-240003> <Console encountered the following error java.io.IOException: Us
er weblogic does not have permission on weblogic to perform lookup operation.
at weblogic.management.remote.wlx.ClientProvider.findRMIServer(ClientProvider.java:102)
at weblogic.management.remote.wlx.ClientProvider.newJMXConnector(ClientProvider.java:67)
at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:326)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
at com.bea.console.utils.MBeanUtils.lookupMBeanServerConnection(MBeanUtils.java:2995)
at com.bea.console.utils.MBeanUtils.getDomainRuntimeMBeanServerConnection(MBeanUtils.java:1616)
at com.bea.console.utils.MBeanUtils.getDomainRuntimeServiceMBean(MBeanUtils.java:1692)
at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java
:179)
…………
…………
Caused by: javax.naming.NoPermissionException: User weblogic does not have permission on weblogic to perform lookup operation
.
at weblogic.jndi.internal.ServerNamingNode.checkPermission(ServerNamingNode.java:415)
at weblogic.jndi.internal.ServerNamingNode.checkLookup(ServerNamingNode.java:394)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:169)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:205)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:367)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at weblogic.management.remote.wlx.ClientProvider.findRMIServer(ClientProvider.java:100)
... 64 more
>
<Aug 21, 2009 5:48:43 PM CST> <Error> <Console> <BEA-240003> <Console encountered the following error com.bea.console.excepti
ons.NoJMXServerException: Domain Runtime MBean Server is not enabled. You will need to enable it through the JMXMBean.
at com.bea.console.utils.MBeanUtils.getDomainRuntimeServiceMBean(MBeanUtils.java:1699)
at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java
:179)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:241)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:130)
at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1170)
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686
)
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.renderInternal(ScopedContentCommonSupport.java:26
6)
……
……
[解决办法]
学习 重启不行?
[解决办法]
??不明白!
[解决办法]
把domain/servers/Adminserver目录改个名字再重启试试