Advertisements

Tag Archives: ICS Agent

How to Enabled HTTP Debug Logs on ICS Agent

 

Steps to enable http debug logs at agent side for Troubleshooting:

 

Steps to enable http debug logs at agent side –

1. Go to agenthome/user_projects/domains/agent-domain/bin folder
2. Open setDomainEnv.sh
3. Modify JAVA_OPTIONS=”${JAVA_OPTIONS} ${JAVA_PROPERTIES}” to JAVA_OPTIONS=”${JAVA_OPTIONS} ${JAVA_PROPERTIES} -Dhttp.debug=true” and save the file
4. Stop the agent and restart the agent using startAgent.sh from agent installation directory

 

Thank you !!

 

 

Advertisements

Enable debug logs for ICS Agent

 

Enable debug logs for ICS Agent:

1. Open agenthome/user_projects/domains/agent- domain/config/fmwconfig/servers/AdminServer/logging.xml
2. Under loggers add a new logger as follows… e.g.
<logger name=’oracle.cloud.cpi.agent’ level=’TRACE:1’/>
3. Save and exit.
4. Restart agent for the new log level to take effect

Note: Once debug is complete please remove revert above changes to avoid debug log files getting filled.

 

Thank You !!

 

 

Cannot Activate Integration In ICS

 

 

ISSUE:

Unable to Activate Integration which connects to on premise DB in ICS

looks like the agent is not responding
The server logs shows that the request to activate is timing out at the
agent.

Caused by: oracle.cloud.cpi.agent.transport.aq.CpiAQException: Message not
received within 120 seconds of wait interval.
at oracle.cloud.cpi.agent.transport.AQChannel.syncSend(AQChannel.java:336)
From customer update , i assume that the agent is shown as running in the
monitoring page .
SOLUTION:

Restart the Agent

ICS agent provide startAgent.sh and stopAgent.sh scripts to start and stop on-premises agent respectively. These two script resides inside the folder where we have installed the Agent.

If you required to set the java home then,
Set JAVA_HOME using export JAVA_HOME=

Stop ICS Agent:
———————-

1. Login into the host machine where we have installed ICS agent
2. Move to the directory where ICS agent has been installed and see the files under this
3. See stopAgent.sh exist in the directory. Hit the below command to start ICS agent
./stopAgent.sh
4.Make sure server stop with a successful message

Start ICS Agent:
————————
1. Login into the host machine where we have installed ICS agent
2. Move to the directory where ICS agent has been installed and see the files under this
3. See startAgent.sh exist in the directory. Hit the below command to start ICS agent
nohup ./startAgent.sh -u=test@test.com -p=TEST@123 &

Where: -u= {User Name of ICS console} and -p={Password of ICS console}

4. As nohup command is used to start agent. Agent will be start in background. To see the output use below command
tail -500f nohup.out

5.Make sure server starts with a successful message

Thank you !!