[ERROR]-[TIBCO BusinessWorksProcessMonitor]- Error While Configuration (EC1 – java.lang.NoClassDefFoundError: com/tibco/processmonitor/client/run)

Hi Guys,

Whenever you get this kind of error in TIBCO BWPM Client configuration

EC1 – java.lang.NoClassDefFoundError: com/tibco/processmonitor/client/run

Then the following can be the reasons :-

1. bwpm.jar file missing from <bw_home>/<ver>/<lib>

2. bwpm.jar corrupted

Solution :-

Get the bwpm.jar file copied to the following directory

<bw_home>/<ver>/<lib>

and

<bw_home>/<ver>/<lib>/palette/

Advertisement

Fault Tolerance Parameters in “tibemsd.conf ” file

ft_active

 
ft_active = URL
 
Specifies the URL of the active server.
If this server can connect to the active server, it will act as a backup server.
If this server cannot connect to the active server, it will become the active server.
ft_heartbeat
 
ft_heartbeat = seconds
 
Specifies the interval (in seconds) the active server is to send a heartbeat signal to the backup server to indicate that it is still operating. Default is 3 seconds.
ft_activation
 
ft_activation = seconds
Activation interval (maximum length of time between heartbeat signals) which indicates that active server has failed. Set in seconds: default is 10.
This interval should be set to at least twice the heartbeat interval.
For example: ft_activation = 60
Note: The ft_activation parameter is only used by the backup server after a fault-tolerant switchover.
The active server uses the server_timeout_server_connection to detect a failed server.
ft_reconnect_timeout
 
ft_reconnect_timeout = seconds
The amount of time (in seconds) that a backup server waits for clients to reconnect (after it assumes the role of primary server in a failover situation).
If a client does not reconnect within this time period, the server removes its state from the shared state files.
The ft_reconnect_timeout time starts once the server has fully recovered the shared state, so this value does not account for the time it takes to recover the store files.
The default value of this parameter is 60.

TIBCO BWPM Client – Configuration

Post Installation and Configuration of TIBCO BWPM Server,

To Configure BWPM Client on any running process (For Linux OS):-

  • Log in to the Server where TIBCO Administrator is running
  • cd <path>/tibco/tra/domain/<domain>/application/<deployed-application>
  • gedit <application-name>.tra
  • In the last line append the following
  • java.start.class=com.tibco.processmonitor.client.run
    tibco.clientVar.nJAMS/logMode=complete
    tibco.clientVar.nJAMS/DataProvider/JMS/useJNDI=true
    tibco.clientVar.nJAMS/DataProvider/JMS/useQueues=true
    tibco.clientVar.nJAMS/DataProvider/JMS/destination=bwpm
    tibco.clientVar.nJAMS/DataProvider/JMS/enabled=true
    tibco.clientVar.nJAMS/DataProvider/JMS/user=admin
    tibco.clientVar.nJAMS/DataProvider/JMS/password=admin
    tibco.clientVar.nJAMS/DataProvider/JMS/server=tibjmsnaming://<prod-ems-server>:7222
    tibco.clientVar.nJAMS/DataProvider/JMS/contextFactory=com.tibco.tibjms.naming.TibjmsInitialContextFactory
    tibco.clientVar.nJAMS/DataProvider/JMS/connectionFactory=QueueConnectionFactory
    tibco.clientVar.nJAMS/DataProvider/EngineLog/enabled=true
  • Save the tra file
  • Restart the service instance in the TIBCO Administrator.
  • Check the trace logs of the service instance ….
    • You should see nJams in the trace logs like this:-
    • Capture
  • Also Check your bwpm url…………………… you will see the service instance like this :-
  • Capture
  • Capture
%d bloggers like this: