My Oracle Support Banner

OGGMON-20623 Fail To Get Web Service Port, Java.lang.Exception: PM Server Is Down, Please Check (Doc ID 2427265.1)

Last updated on MARCH 07, 2024

Applies to:

Management Pack for Oracle GoldenGate - Version and later
Oracle GoldenGate - Version and later
Information in this document applies to any platform.


After enabling monitoring in GoldenGate the process PMSRVR crashes with no errors

ogg_agent.log shows

[JAGENT] [ERROR] [OGGMON-20623] [com.goldengate.monitor.jagent.config.impl.AgentInfoImpl] [tid: main] [ecid: 0000MJCXCP^4ulC_vDx0iX1RLmku000001,0] Fail to get Web Service Port, java.lang.Exception: PM Server is down, please check

Enabling XML trace on PMSRVR shows -> "No such file or directory" type errors like

ERROR|ggrepo.bdb                    |Monitoring Thread| 1427 ggrepo/PersistenceBDB.cp | Error (dirbdb): Database 'status.db' open failed.: No such file or directory
ERROR|ggrepo.bdb                    |Monitoring Thread| 2313 ggrepo/PersistenceBDB.cp | Transaction in error, operation ignored
ERROR|ggnet.udpsocket             |main|  119 ggnet/UDPSocket.cpp      | UDPSocket SetAddress Failed. Error code is 1
ERROR|ggrepo.bdb                    |CollectorRouter-1| 1427 ggrepo/PersistenceBDB.cp | Error (dirbdb): Database 'procmap.db' open failed.: No such file or directory

To enable XML trace for PMSRVR

1.  Create a new file called -> $OGG_HOME/$OGG_HOME/gglog-pmsrvr.xml
with the following content:

<?xml version="1.0"?>
<configuration reset="true">
<appender name="myAppender" class="RollingFileAppender">
<param name="File" value="gglog-%I.log"/>
<param name="MaxBackupIndex" value="9"/>
<param name="BufferedIO" value="false"/>
<layout class="PatternLayout">
<param name="Pattern" value="%d{%Y-%m-%d %H:%M:%S} %-5p|%-30.30c|%t|%5L %-24.24C{2} | %m%n"/>
<level value="all"/>
<appender-ref name="myAppender"/>

2.  STOP all GoldenGate processes then start GoldenGate with the following steps:

start pmsrvr
start manager
start *
start jagent

3.  Once PMSRVR stops/crashes check trace file -> $OGG_HOME/gglog-pmsrvr*.log

4.  Remove -> $OGG_HOME/$OGG_HOME/gglog-pmsrvr.xml
to disable PMSRVR XML trace.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.