weblogic中,创建server不成功
今天发现一个诡异的问题:
在weblogic的控制台新建一个server,新建时没有异常信息。完成后点start启动,抛出空指针异常。我把事个domain打成一个tar,放到别的机器上,server可以正常启动。
如果用sh启动,报server不存在(不会不存在的呀,tar到别的机子上就可以启动)。在控制台启动,报空指针异常。只有nohup日志:
<Error> <Console> <BEA-240003> <Console encountered the following error java.lang.NullPointerException
at com.bea.console.handles.JMXHandle.<init>(JMXHandle.java:72)
at com.bea.console.actions.core.server.lifecycle.Lifecycle.noAccess(Lifecycle.java:909)
at com.bea.console.actions.core.server.lifecycle.Lifecycle.forceShutdown(Lifecycle.java:624)
at sun.reflect.GeneratedMethodAccessor1144.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)
at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64)
[解决办法]
wo ding
ding
ding
[解决办法]
hosts解析问题