`
hello_player
  • 浏览: 152518 次
  • 性别: Icon_minigender_1
  • 来自: 南京
社区版块
存档分类
最新评论

weblogic问题

阅读更多

starting weblogic with Java version:
java version "1.6.0.01"
Java(TM) SE Runtime Environment (build 1.6.0.01-jinteg_06_jun_2008_13_24-b00)
Java HotSpot(TM) Server VM (build 1.6.0.01 jinteg:06.07.08-04:50 IA64, mixed mode)
Starting WLS with line:
/opt/java6/bin/java -server   -Xms1024m -Xmx1024m -XX:MaxPermSize=512m   -da -Dplatform.home=/bea/weblogic/wlserver_10.3 -Dwls.home=/bea/weblogic/wlserver_10.3/server -Dweblogic.home=/bea/weblogic/wlserver_10.3/server   -Dweblogic.management.discover=true  -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/bea/weblogic/patch_wls1030/profiles/default/sysext_manifest_classpath:/bea/weblogic/patch_cie660/profiles/default/sysext_manifest_classpath -Dweblogic.management.username=weblogic -Dweblogic.management.password=weblogic -Dweblogic.Name=AdminServer -Djava.security.policy=/bea/weblogic/wlserver_10.3/server/lib/weblogic.policy   weblogic.Server
<2009-12-12 上午02时39分07秒 GMT+08:00> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Server VM Version 1.6.0.01 jinteg:06.07.08-04:50 IA64 from Hewlett-Packard Company>
<2009-12-12 上午02时39分07秒 GMT+08:00> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3  Fri Jul 25 16:30:05 EDT 2008 1137967 >
<2009-12-12 上午02时39分10秒 GMT+08:00> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: [Management:141266]Parsing Failure in config.xml: java.lang.IllegalArgumentException: In production mode, it's not allowed to set a clear text value to the property: PasswordEncrypted of ServerStartMBean>
<2009-12-12 上午02时39分10秒 GMT+08:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<2009-12-12 上午02时39分10秒 GMT+08:00> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<2009-12-12 上午02时39分10秒 GMT+08:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>

 

 

启动控制台报错,错误的原因是在 weblogic 产品模式下面配了启动参数,没有配用户名和密码,查看 config.xml 配置文件,配启动参数的 Server 下面多了一个 server-start 的节点,下面有2个子节点,一个是参数,一个是加密的密码,如果配了以后又删掉了的话那就只有一个密码节点,没有配密码的话,密码节点 password-encrypted 就为空,报错的就是这个地方,网上虽然有密码配了以后可以启动控制台,但所有的Server在启动的时候也全部都会报错,没有机会试下把控制台启动好了再在配参数的页面配下用户名和密码是不是可以成功。说下回退的方法,只要把所有的 server-start 节点删掉重启就可以了。

 

================================

 

weblogic Permanent generation is full...

weblogic server 的内存不够,在 server 的启动参数里面(configuration/ServerStart 里面的 Arguments)配下 -Xms512m -Xmx512m -XX:MaxPermSize=256m

其中:

-Xms:内存初始值
-Xmx:内存最大值(不要超过内存的80%)
MaxPermSize:PermGen(Class和Meta存放区域)区域内存最大值。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics