在我们的公共测试环境中,第一次连接 WLST 的尝试总是失败。然后第二次尝试总是有效并建立连接。我无法使用谷歌找到任何类似的东西,所以我希望这里有人可以提供帮助。
在我第一次尝试时;
<Oct 7, 2014 1:49:03 PM EEST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<Oct 7, 2014 1:49:03 PM EEST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
Traceback (innermost last):
File "<console>", line 1, in ?
File "<iostream>", line 22, in connect
File "<iostream>", line 653, in raiseWLSTException
WLSTException: Error occured while performing connect : Error getting the initial context. There is no server running at t3s://xxx.xxx.xxx.xxx:nnnn
dumpStack() 显示以下内容;
javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3s://xxx.xxx.xxx.xxx:nnnn: Destination unreachable; nested exception is:
java.net.SocketException: Write failed: Broken pipe; No available router to destination]
javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3s://xxx.xxx.xxx.xxx:nnnn: Destination unreachable; nested exception is:
java.net.SocketException: Write failed: Broken pipe; No available router to destination]
在此之后,我尝试再次连接并发生这种情况;
Connecting to t3s://xxx.xxx.xxx.xxx:nnnn with userid adminuserid ...
Successfully connected to Admin Server 'ourTestServer' that belongs to domain 'ourTestDomain'.
我现在已经尝试了大约 10 次,它总是一样,第一次尝试失败,第二次尝试成功。每次我都使用 IP 而不是地址的名称。这是在带有最新安全补丁的 WLS 10.3.6 的 Linux (RHEL6) 中。
我假设服务器日志中的这一行是相关的,因为它发生在上面发布的信息行之后 29 秒;
####<Oct 7, 2014 1:49:32 PM EEST> <Warning> <Socket> <machinename.domain.local> <ourTestServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1412678972504> <BEA-000449> <Closing socket as no data read from it on xxx.xxx.xxx.xxx:nnnn during the configured idle timeout of 25 secs>
我很茫然,因为第一次尝试总是失败,第二次尝试成功。