Monday, February 27, 2012

'UnknownHostException' related to OSB cluster in AdminServer logs


You have an OSB cluster running with two managed servers; osb_server1 and osb_server2.

In the AdminServer logs, you see the following:
<Feb 27, 2012 6:13:21 PM EST> <Notice> <Cluster> <BEA-000197> <Listening for announcements from cluster using unicast cluster messaging>
<Feb 27, 2012 6:13:21 PM EST> <Notice> <Cluster> <BEA-000133> <Waiting to synchronize with other running members of osbcluster.>
<Feb 27, 2012 6:13:51 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Feb 27, 2012 6:13:51 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Feb 27, 2012 6:13:52 PM EST> <Notice> <Cluster> <BEA-000162> <Starting "async" replication service with remote cluster address "soahost1:8011,soahost2:8011">
<Feb 27, 2012 6:13:53 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on for protocols iiop, t3, CLUSTER-BROADCAST, ldap, snmp, http.>
<Feb 27, 2012 6:13:53 PM EST> <Notice> <WebLogicServer> <BEA-000330> <Started WebLogic Managed Server "osb_server2" for domain "soa_domain" running in Production Mode>
<Feb 27, 2012 6:14:00 PM EST> <Error> <ALSB Statistics Manager> <BEA-473003> <Aggregation Server Not Available. Failed to get remote aggregator
java.rmi.UnknownHostException: Could not discover URL for server 'osb_server1'
        at weblogic.protocol.URLManager.findURL(
        at com.bea.alsb.platform.weblogic.topology.WlsRemoteServerImpl.getInitialContext(
        at com.bea.alsb.platform.weblogic.topology.WlsRemoteServerImpl.lookupJNDI(
        at com.bea.wli.monitoring.statistics.ALSBStatisticsManager.getRemoteAggregator(
        at com.bea.wli.monitoring.statistics.ALSBStatisticsManager.access$000(
        Truncated. see log file for complete stacktrace
<Feb 27, 2012 6:14:11 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Feb 27, 2012 6:14:11 PM EST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>


1. The osb_server1 is not running. Simply start it up.

Applicable Versions
  • Oracle WebLogic Server 11g
  • Oracle Service Bus 11g
Ahmed Aboulnaga

No comments: