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
$ export JAVA_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: exception in 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 to Clusters or Servers)和选择服务部署目标(Target Services to Clusters or Servers);建域后注意检查域-部署。可按下参考检查:
Application:
usermessagingserver和 usermessagingdriver-email 只部署SOA_Cluster和BAM_Cluster,OSB_Cluster删除这些应用
DMS Application 部署在 BAM_Cluster, SOA_Cluster, OSB_Cluster 和Admin Server
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