1. 程式人生 > >WebLogic叢集啟動常見問題(持續更新)

WebLogic叢集啟動常見問題(持續更新)

1、java.lang.OutOfMemoryError:PermGen space

WebLogic JVM載入順序是 startWebLogic.sh--calls-->setSOADomainEnv.sh--calls-->setDomainEnv.sh--calls-->commEnv.sh,但是如果不是通過startWebLogic.sh啟動,而是通過console或者wlst,那麼必須確保nodemanager.properties配置StartScriptEnabled=true。具體操作參考如下:

$cd$MW_HOME/oracle_common/common/bin

$./setNMProps.sh

$ exportJAVA_OPTIONS="-DDomainRegistrationEnabled=true"

$./wlst.sh

wls:/offline>startNodeManager()

2、java.rmi.UnknownHostException: Could not discover URL for server'your server name'

a)檢查域名解析:在所有節點檢查/etc/hosts,確保叢集所有節點域名配置正確

b)檢查例項監聽地址:Environment - Servers - - General - Listen Address
c)檢查叢集監聽地址:Environment - Clusters - - General - Cluster Address

d)檢查訊息通訊模式是否統一(Unicast or Multicast):  Environment-> Clusters ->->Messaging -> Messaging Mode

3、 Caused by:oracle.bam.common.messaging.api.MessageFrameworkException:BAM-00500: exception in messaging framework: BAM-00500: exceptionin messaging framework: While trying to lookup'jms.QueueConnectionFactory' didn't find subcontext 'jms'. Resolved''

Caused by:oracle.bam.common.messaging.api.MessageFrameworkException:BAM-00500: exception in messaging framework: While trying to lookup'jms.QueueConnectionFactory' didn't find subcontext 'jms'. Resolved''
檢查BAM server所部署的應用、類庫和服務,建域時注意檢查選擇應用部署目標(Target Deployments toClusters or Servers)和選擇服務部署目標(Target Services to Clusters orServers);建域後注意檢查域-部署。可按下參考檢查:

Application:
usermessagingserver和 usermessagingdriver-email只部署SOA_Cluster和BAM_Cluster,OSB_Cluster刪除這些應用
DMS Application 部署在 BAM_Cluster, SOA_Cluster, OSB_Cluster 和AdminServer
WSM-PM 部署在 SOA_Cluster,OSB_Cluster,BAM_Cluster
Oracle-bam部署在BAM_Cluster
soa-infra部署在SOA_Cluster
所有的Adapter部署在 OSB_Cluster 和AdminServer
所有的Transport Provider 部署在 OSB_Cluster 和AdminServe
Library:
oracle.rules.*(1個), oracle.sdp.*(2個) 部署在SOA_Cluster和BAM_Cluster
oracle.soa.* 只部署在 SOA_Cluster
oracle.bam  只部署在 BAM_Cluster
oracle.wsm.seedpolicies 部署在SOA_Cluster,OSB_Cluster,BAM_Cluster
JDBC:
mds-owsm 只部署在 SOA_Cluster,OSB_Cluster,BAM_Cluster和AdminServer
OWSM Startup Class
mds-soa只部署在 SOA_Cluster和 AdminServer
OraSDPMDatasource,OraSDPMDatasource-rac0,OraSDPMDatasource-rac1 只部署在SOA_Cluster和BAM_Cluster