Author Topic: ODWek REST API 10.5.0.4 - response ask me to logoff and log on  (Read 299 times)

Andreas Baaserud Hauge

  • Jr. Member
  • **
  • Posts: 48
    • View Profile
Hi,

I am working with the ODWek REST API on IBM Content Manager OnDemand version 10.5.0.4
When performing the follow HTTP POST request

URL = http://localhost/cmod-rest/v1/hits/
HTTP Method = POST
Body
Code: [Select]
{
    "query": "where DateField between 230301 and 240301",
    "folder": "MYFOLDER"
}

Response
Code: [Select]
Information has been modified on the server.  Please logoff, logon, and retry the operation.
Bit surprised I get this response as I thought the ODWek REST API would take care of logoff, log on to CMOD right?
ABH

rjrussel

  • Full Member
  • ***
  • Posts: 139
    • View Profile
Re: ODWek REST API 10.5.0.4 - response ask me to logoff and log on
« Reply #1 on: March 12, 2024, 05:44:33 AM »
no - It's a connection pool. Connections are established when the REST services start.

Andreas Baaserud Hauge

  • Jr. Member
  • **
  • Posts: 48
    • View Profile
Re: ODWek REST API 10.5.0.4 - response ask me to logoff and log on
« Reply #2 on: March 14, 2024, 12:50:28 AM »
Thanks for reply rjrussel.

So because it is a connection pool - we need to restart the odwek-rest when we make these admin changes in OnDemand?
ABH

rjrussel

  • Full Member
  • ***
  • Posts: 139
    • View Profile
Re: ODWek REST API 10.5.0.4 - response ask me to logoff and log on
« Reply #3 on: March 14, 2024, 10:08:38 AM »
Yes