Troubleshooting bwagent Issues

Some bwagent issues and possible resolutions are listed below. This list is not complete but provides examples of messages that might be returned.

For a complete list of error codes, see the TIBCO ActiveMatrix BusinessWorks™ Error Codes guide.

Issue Message Resolution
When registering a bwagent to a domain or AppSpace, or unregistering the AppSpace the bwagent cannot be registered.

TIBCO-BW-ADMIN-CLI-500132: Failed to unregister BW Agent [bwagent from the AppSpace [AppSpace]. <CausedBy> TIBCO-BW-ADMIN-500004: Error invoking [methodName] method on the agent [Agent], The BW Agent [Agent] on the remote machine is not running.

Verify the bwagent name. Check that the bwagent on the remote machine is running.
If you are unable to enable or disable the autoregistration feature from the command line after executing the enableautoregistration utility or the disableautoregistration utility. TIBCO-BW-AGENT-500004: Error invoking [method] method on the agent [bwagent]. The BW Agent [bwagent] on the remote machine is not running.

Check if bwagent is running, and if it is, verify its name.

The bwagent could not start because the mode is not set to enterprise. TIBCO-BW-AGENT-500006: Cannot start the agent. The admin mode in bwagent.ini is not configured for enterprise mode. Check your configuration and restart. Open a terminal and type the following command at the command line: bwadmin mode enterprise

Restart the bwagent.

A bwadmin command could not be completed. TIBCO-BW-ADMIN-500008: Error in initializing data manager, TIBCO-BW-ADMIN-PRSTNC-500001: Connection to BW Agent failed.

or

TIBCO-BW-ADMIN-CLI-500006: Failed to initialize transport, TIBCO-BW-ADMIN-PRSTNC-500001: Connection to BW Agent failed.

The first message indicates that the bwagent is not running. Start the bwagent.

The second message is displayed when bwadmin is configured for enterprise mode and the command could not be completed due to a failed bwagent connection.

The bwagent could not start due to an error with datastore initialization. TIBCO-BW-AGENT-500009: Failed to start agent due to an error in initializing data store, reason: Reason The datastore is written to the BW_HOME\domains\.datastore folder.

Verify the following:

* The specified folder exists.

* The bw.agent.technology.as.dataStoreLocation property in the BW_HOME\config\bwagent.ini file points to the datastore folder name.

* The bw.agent.technology.as.role property is set to server.

You might also see this message if there is an issue with the bw.agent.technology.as.dataStoreLocation property setting in the BW_HOME\config\bwagent.ini file. Make sure that the TCP protocol is specified only for the first URL in the string; not for subsequent URLs.

When starting a bwagent that is configured as part of an agent network, the URL of another agent in the network could not be found. unable to resolve network specification ('bwagent') Check the setting of the bw.agent.technology.as.dataStoreLocation property in the BW_HOME\config\bwagent.ini file.

Verify that:

  • The URL is specified as either IP address and port or host name and port, in the format: IP_address/hostname:port
  • There are no typos in the URL or port number.
  • A semicolon separator is used between URLs.
When starting a bwagent that is configured as part of an agent network, the bwagent starts but does not indicate that the agent has joined the network. N/A Check that the setting of the bw.agent.network.name property in the BW_HOME\config\bwagent.ini file is the same as the setting in other the configuration file for other bwagents in the network.
When starting a bwagent that is configured as part of a bwagent network, and the bwagent is not configured for the network, warnings are displayed.

There are [2] agents in the BW Agent group that store data. However, the property "minSeederCount" in the bwagent.ini file is set to [1], refer to the bwagent.ini file or the documentation and choose an appropriate value.

There are [2] agents in the BW Agent group that store data. However, the property "quorumSize" in the bwagent.ini file is set to [1], refer to the bwagent.ini file or the documentation and choose an appropriate value.

See comments in the BW_HOME\config\bwagent.ini file for information.
The TEA agent could not be registered. TIBCO-BW-ADMIN-500504: Failed to register TEA Agent [teaagent] with TEA server [http://host: port], TEA Agent registration failed, TIBCO-BW-TEAAGENT-500300: Failed to register BW TEA agent [teaagent] with TEA server, <CausedBy> Unable to register agent with name [teaagent]' Verify the URL to the TEA agent. Check that the TEA agent is running.