受管服务器通过什么跟管理服务器联系呀?
我是根据====附件===weblogic配置集群====的方法进行的
***惟独不一样的是:文档用的是weblogic9.2,我用的是weblogic10.3.1
看到配置文档中直接在受管服务器上配置一个ManagerServer_2,然后在bin目录下增加一个startManagedServer_2.cmd,直接启动,就报错:
####<2009-9-11 下午03时05分32秒 CST> <Critical> <Security> <test> <ManagedServer_2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1252652732877> <BEA-090403> <Authentication for user weblogic10 denied>
####<2009-9-11 下午03时05分32秒 CST> <Critical> <WebLogicServer> <test> <ManagedServer_2> <Main Thread> <<WLS Kernel>> <> <> <1252652732892> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication for user weblogic10 denied
weblogic.security.SecurityInitializationException: Authentication for user weblogic10 denied
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:965)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1050)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
javax.security.auth.login.FailedLoginException: [Security:090303]Authentication Failed: User weblogic10 weblogic.security.providers.authentication.LDAPAtnDelegateException: [Security:090295]caught unexpected exception
at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:243)
at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.bea.common.security.internal.service.JAASLoginServiceImpl.login(JAASLoginServiceImpl.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
at $Proxy16.login(Unknown Source)
at weblogic.security.service.internal.WLSJAASLoginServiceImpl$ServiceImpl.login(WLSJAASLoginServiceImpl.java:91)
at com.bea.common.security.internal.service.JAASAuthenticationServiceImpl.authenticate(JAASAuthenticationServiceImpl.java:82)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
at $Proxy34.authenticate(Unknown Source)
at weblogic.security.service.WLSJAASAuthenticationServiceWrapper.authenticate(WLSJAASAuthenticationServiceWrapper.java:40)
at weblogic.security.service.PrincipalAuthenticator.authenticate(PrincipalAuthenticator.java:347)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:929)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1050)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
####<2009-9-11 下午03时05分32秒 CST> <Notice> <WebLogicServer> <test> <ManagedServer_2> <Main Thread> <<WLS Kernel>> <> <> <1252652732892> <BEA-000365> <Server state changed to FAILED>
####<2009-9-11 下午03时05分32秒 CST> <Error> <WebLogicServer> <test> <ManagedServer_2> <Main Thread> <<WLS Kernel>> <> <> <1252652732908> <BEA-000383> <A critical service failed. The server will shut itself down>
####<2009-9-11 下午03时05分32秒 CST> <Notice> <WebLogicServer> <test> <ManagedServer_2> <Main Thread> <<WLS Kernel>> <> <> <1252652732908> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
####<2009-9-11 下午03时05分32秒 CST> <Info> <WebLogicServer> <test> <ManagedServer_2> <Main Thread> <<WLS Kernel>> <> <> <1252652732924> <BEA-000236> <Stopping execute threads.>
WebLogic管理的最大单元称为Domain,也就是域;
在域里面,只有一个server有控制台,可以管理这个域,这个server叫Admin Server,也就是管理服务器;在域里面其他的server就叫做被管的server,也就是被管服务器。
看log,你的weblogic用户名、密码不对。
先用startweblogic.cmd启动AdminServer;然后用
startManagedWebLogic.cmd 被管理server的名字 t3://AdminServerIP:AdminServerPort
启动过程中,会让你输入用户名。密码,正常输入后就可以启动被管的server。
在文档里面的受管服务器是同一网段的单独Server,并不需要启动AdminServer,因为ManagerServer_2也应该和ManagerServer_1属于同一个AdminServer。不知道这样理解是不是错误的?