weblogic server集群中常见报错解决办法(亲试有效)

  1. 集群中服务器启动时报错Invalid argument信息如下:
    java.net.SocketException: sendto failed: Invalid argument
    at java.net.PlainDatagramSocketImpl.send(Native Method)
    at java.net.DatagramSocket.send(DatagramSocket.java:625)
    at weblogic.cluster.MulticastFragmentSocket.sendThrottled(MulticastFragmentSocket.java:206)
    at weblogic.cluster.MulticastFragmentSocket.send(MulticastFragmentSocket.java:158)
    at weblogic.cluster.FragmentSocketWrapper.send(FragmentSocketWrapper.java:91)
    at weblogic.cluster.MulticastSender.fragmentAndSend(MulticastSender.java:395)
    at weblogic.cluster.MulticastSender.send(MulticastSender.java:178)
    at weblogic.cluster.MulticastManager.timerExpired(MulticastManager.java:766)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

There are 1 nested errors:
java.net.SocketException: sendto failed: Invalid argument
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:625)
at weblogic.cluster.MulticastFragmentSocket.sendThrottled(MulticastFragmentSocket.java:206)
at weblogic.cluster.MulticastFragmentSocket.send(MulticastFragmentSocket.java:158)
at weblogic.cluster.FragmentSocketWrapper.send(FragmentSocketWrapper.java:91)
at weblogic.cluster.MulticastSender.fragmentAndSend(MulticastSender.java:395)
at weblogic.cluster.MulticastSender.send(MulticastSender.java:178)
at weblogic.cluster.AttributeManager.sendAttributes(AttributeManager.java:46)
at weblogic.cluster.OutboundService.start(OutboundService.java:35)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

解决办法:
在setDomainEnv.sh,在JAVA_OPTION节加入:-Djava.net.preferIPv4Stack=true。
在weblogic10.3.6中在安装目录/Oracle/Middleware/user_projects/domains/base_domain/bin/下的setDomainEnv.sh中的两处加上-Djava.net.preferIPv4Stack=true即可。weblogic server集群中常见报错解决办法(亲试有效)_第1张图片

  1. 启动受管理服务器(管理服务器不再同一台主机)报错信息Authentication for user weblogic denied
    weblogic.security.SecurityInitializationException: Authentication for user weblogic denied
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:966)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1054)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
    at weblogic.security.SecurityService.start(SecurityService.java:141)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    Truncated. see log file for complete stacktrace
    Caused By: javax.security.auth.login.FailedLoginException: [Security:090303]Authentication Failed: User weblogic weblogic.security.providers.authentication.LDAPAtnDelegateException: [Security:090295]caught unexpected exception
    at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:251)
    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)
    Truncated. see log file for complete stacktrace
    解决办法:

    1. 首先检查是不是防火墙的问题,最简单的方法可以在受管理服务器上登陆管理控制台,如果显示不能成功,则需要关闭防火墙。
    2. 如果不是防火墙问题,请确认用户名和密码,删除server受管理服务器/data/ldap/ 里面的内容,重启执行启动脚本。
  2. 启动受管理服务器时报错信息does not exist and the admin server is not available
    weblogic.management.ManagementException: [Management:141247]The configuration directory /home/weblogic/Oracle1/Middleware/wlserver_10.3/common/bin/config does not exist and the admin server is not available.
    at weblogic.management.provider.internal.RuntimeAccessImpl.parseNewStyleConfig(RuntimeAccessImpl.java:200)
    at weblogic.management.provider.internal.RuntimeAccessImpl.(RuntimeAccessImpl.java:115)
    at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:42)
    at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
    at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
    at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:882)
    at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:572)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
    at weblogic.Server.main(Server.java:71)
    解决办法:1.先执行域/bin下面的受管启动脚本,如果也报此错误
    在脚本中加入-Dweblogic.security.SSL.ignoreHostnameVerification=true
    weblogic server集群中常见报错解决办法(亲试有效)_第2张图片

  3. 在配置并启动节点管理器时,报错信息SSL:

    javax.net.ssl.SSLKeyException: [Security:090482]BAD_CERTIFICATE alert was received from 192.168.72.128 - 192.168.72.128. Check the peer to determine why it rejected the certificate chain (trusted CA configuration, hostname verification). SSL debug tracing may be required to determine the exact reason the certificate was rejected.
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireException(Unknown Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertReceived(Unknown Source)
    at com.certicom.tls.record.alert.AlertHandler.handle(Unknown Source)
    at com.certicom.tls.record.alert.AlertHandler.handleAlertMessages(Unknown Source)
    at com.certicom.tls.record.MessageInterpreter.interpretContent(Unknown Source)
    at com.certicom.tls.record.MessageInterpreter.decryptMessage(Unknown Source)
    at com.certicom.tls.record.ReadHandler.processRecord(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown Source)
    at com.certicom.tls.record.ReadHandler.read(Unknown Source)
    at com.certicom.io.InputSSLIOStreamWrapper.read(Unknown Source)
    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
    at java.io.InputStreamReader.read(InputStreamReader.java:167)
    at java.io.BufferedReader.fill(BufferedReader.java:136)
    at java.io.BufferedReader.readLine(BufferedReader.java:299)
    at java.io.BufferedReader.readLine(BufferedReader.java:362)
    at weblogic.nodemanager.server.Handler.run(Handler.java:71)
    at java.lang.Thread.run(Thread.java:662)

解决办法:将/home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager下的nodemanager.properties文件中SecureListener=false,保存并退出。重新启动脚本。weblogic server集群中常见报错解决办法(亲试有效)_第3张图片
如果还是Invalid/unknown SSL header was received from peer IP - IP during SSL handshake报错。解决如下:并重启管理服务器。即可看到节点管理器的状态是可访问状态。weblogic server集群中常见报错解决办法(亲试有效)_第4张图片weblogic server集群中常见报错解决办法(亲试有效)_第5张图片

持续更新中……

你可能感兴趣的:(weblogic,server)