Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1065740
  • 博文数量: 239
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 3618
  • 用 户 组: 普通用户
  • 注册时间: 2012-11-12 13:17
文章分类

全部博文(239)

文章存档

2021年(1)

2016年(1)

2015年(30)

2014年(91)

2013年(116)

分类: LINUX

2015-01-09 09:59:47

weblogic水平集群,启动其中一个server2的时候报错,
[weblogic@weblogic01 bin]$ ./startManagedWebLogic.sh server2
JAVA Memory arguments: -Xms512m -Xmx512m
WLS Start Mode=Production
CLASSPATH=/weblogic/bea/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/weblogic/bea/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/ibm/java-x86_64-60/lib/tools.jar:/weblogic/bea/wlserver_10.3/server/lib/weblogic_sp.jar:/weblogic/bea/wlserver_10.3/server/lib/weblogic.jar:/weblogic/bea/modules/features/weblogic.server.modules_10.3.5.0.jar:/weblogic/bea/wlserver_10.3/server/lib/webservices.jar:/weblogic/bea/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/weblogic/bea/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/weblogic/bea/wlserver_10.3/common/derby/lib/derbyclient.jar:/weblogic/bea/wlserver_10.3/server/lib/xqrl.jar
.
PATH=/weblogic/bea/wlserver_10.3/server/bin:/weblogic/bea/modules/org.apache.ant_1.7.1/bin:/opt/ibm/java-x86_64-60/jre/bin:/opt/ibm/java-x86_64-60/bin:/usr/lib64/qt-3.3/bin:/opt/ibm/java-x86_64-60/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/weblogic/bin
.
***************************************************
*  To start WebLogic Server, use a username and   *
*  password assigned to an admin-level user.  For *
*  server administration, use the WebLogic Server *
*  console at        *
***************************************************
starting weblogic with Java version:
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxa6460sr16fp2-20141026_01(SR16 FP2))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr16-20141010_216764 (JIT enabled, AOT enabled)
J9VM - 20141010_216764
JIT  - r9_20140523_64469ifx2
GC   - GA24_Java6_SR16_20141010_1202_B216764)
JCL  - 20141005_01
Starting WLS with line:
/opt/ibm/java-x86_64-60/bin/java    -Xms512m -Xmx512m -Dweblogic.Name=server2 -Djava.security.policy=/weblogic/bea/wlserver_10.3/server/lib/weblogic.policy  -Dweblogic.ProductionModeEnabled=true -Dweblogic.security.SSL.trustedCAKeyStore=/weblogic/bea/wlserver_10.3/server/lib/cacerts   -da -Dplatform.home=/weblogic/bea/wlserver_10.3 -Dwls.home=/weblogic/bea/wlserver_10.3/server -Dweblogic.home=/weblogic/bea/wlserver_10.3/server   -Dweblogic.management.discover=false -Dweblogic.management.server=  -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/weblogic/bea/patch_wls1035/profiles/default/sysext_manifest_classpath:/weblogic/bea/patch_ocp360/profiles/default/sysext_manifest_classpath  weblogic.Server
<2015-1-9 上午09时35分17秒 CST>  
<2015-1-9 上午09时35分17秒 CST>  
<2015-1-9 上午09时35分17秒 CST>  
<2015-1-9 上午09时35分18秒 CST>  
Enter username to boot WebLogic server:weblogic
Enter password to boot WebLogic server:
<2015-1-9 上午09时35分23秒 CST>  
<2015-1-9 上午09时35分24秒 CST>  
<2015-1-9 上午09时35分24秒 CST>  
<2015-1-9 上午09时35分24秒 CST>  
<2015-1-9 上午09时35分27秒 CST>  
<2015-1-9 上午09时35分29秒 CST>  
<2015-1-9 上午09时35分29秒 CST>  
<2015-1-9 上午09时35分32秒 CST>  
<2015-1-9 上午09时35分32秒 CST>  
<2015-1-9 上午09时35分32秒 CST>  
<2015-1-9 上午09时35分32秒 CST> java.net.SocketException: Socket closed
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:227)
at java.net.DatagramSocket.receive(DatagramSocket.java:773)
at weblogic.cluster.MulticastFragmentSocket.receive(MulticastFragmentSocket.java:239)
at weblogic.cluster.FragmentSocketWrapper.receive(FragmentSocketWrapper.java:98)
Truncated. see log file for complete stacktrace

<2015-1-9 上午09时35分32秒 CST> java.io.IOException: Invalid argument
at java.net.PlainDatagramSocketImpl.send0(Native Method)
at java.net.PlainDatagramSocketImpl.send(PlainDatagramSocketImpl.java:170)
at java.net.DatagramSocket.send(DatagramSocket.java:654)
at weblogic.cluster.MulticastFragmentSocket.sendThrottled(MulticastFragmentSocket.java:206)
at weblogic.cluster.MulticastFragmentSocket.send(MulticastFragmentSocket.java:158)
Truncated. see log file for complete stacktrace

<2015-1-9 上午09时35分42秒 CST> java.io.IOException: Invalid argument
at java.net.PlainDatagramSocketImpl.send0(Native Method)
at java.net.PlainDatagramSocketImpl.send(PlainDatagramSocketImpl.java:170)
at java.net.DatagramSocket.send(DatagramSocket.java:654)
at weblogic.cluster.MulticastFragmentSocket.sendThrottled(MulticastFragmentSocket.java:206)
at weblogic.cluster.MulticastFragmentSocket.send(MulticastFragmentSocket.java:158)
Truncated. see log file for complete stacktrace

<2015-1-9 上午09时35分42秒 CST>
java.net.SocketException: Socket closed
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:227)
at java.net.DatagramSocket.receive(DatagramSocket.java:773)
at weblogic.cluster.MulticastFragmentSocket.receive(MulticastFragmentSocket.java:239)
at weblogic.cluster.FragmentSocketWrapper.receive(FragmentSocketWrapper.java:98)
Truncated. see log file for complete stacktrace

<2015-1-9 上午09时35分52秒 CST> java.io.IOException: Invalid argument
at java.net.PlainDatagramSocketImpl.send(PlainDatagramSocketImpl.java:170)
at java.net.DatagramSocket.send(DatagramSocket.java:654)
at weblogic.cluster.MulticastFragmentSocket.sendThrottled(MulticastFragmentSocket.java:206)
at weblogic.cluster.MulticastFragmentSocket.send(MulticastFragmentSocket.java:158)
at weblogic.cluster.FragmentSocketWrapper.send(FragmentSocketWrapper.java:91)
Truncated. see log file for complete stacktrace

<2015-1-9 上午09时35分52秒 CST> java.net.SocketException: Socket closed
at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:227)
at java.net.DatagramSocket.receive(DatagramSocket.java:773)
at weblogic.cluster.MulticastFragmentSocket.receive(MulticastFragmentSocket.java:239)
at weblogic.cluster.FragmentSocketWrapper.receive(FragmentSocketWrapper.java:98)
at weblogic.cluster.MulticastManager.run(MulticastManager.java:466)
Truncated. see log file for complete stacktrace

<2015-1-9 上午09时36分02秒 CST> java.net.SocketException: Socket closed
at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:227)
at java.net.DatagramSocket.receive(DatagramSocket.java:773)
at weblogic.cluster.MulticastFragmentSocket.receive(MulticastFragmentSocket.java:239)
at weblogic.cluster.FragmentSocketWrapper.receive(FragmentSocketWrapper.java:98)
at weblogic.cluster.MulticastManager.run(MulticastManager.java:466)
Truncated. see log file for complete stacktrace

<2015-1-9 上午09时36分02秒 CST> java.io.IOException: Invalid argument
at java.net.PlainDatagramSocketImpl.send(PlainDatagramSocketImpl.java:170)
at java.net.DatagramSocket.send(DatagramSocket.java:654)
at weblogic.cluster.MulticastFragmentSocket.sendThrottled(MulticastFragmentSocket.java:206)
at weblogic.cluster.MulticastFragmentSocket.send(MulticastFragmentSocket.java:158)
at weblogic.cluster.FragmentSocketWrapper.send(FragmentSocketWrapper.java:91)
Truncated. see log file for complete stacktrace

<2015-1-9 上午09时36分02秒 CST>  
<2015-1-9 上午09时36分03秒 CST>  
<2015-1-9 上午09时36分03秒 CST>  
<2015-1-9 上午09时36分03秒 CST>  
<2015-1-9 上午09时36分03秒 CST>  
<2015-1-9 上午09时36分04秒 CST>

There are 1 nested errors:


java.io.IOException: Invalid argument
at java.net.PlainDatagramSocketImpl.send(PlainDatagramSocketImpl.java:170)
at java.net.DatagramSocket.send(DatagramSocket.java:654)
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:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)



<2015-1-9 上午09时36分04秒 CST>  
<2015-1-9 上午09时36分04秒 CST>  
<2015-1-9 上午09时36分04秒 CST>  
<2015-1-9 上午09时36分04秒 CST>  
<2015-1-9 上午09时36分04秒 CST>  

解决方法如下:
cd /weblogic/domains/base_domain/bin
修改setDomainEnv.sh文件
在JAVA_OPTIONS中加入:
-Djava.net.preferIPv4Stack=true

随后启动server2:
./startManagedWebLogic.sh server2

阅读(7303) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~