Reset server using API
Accepted answer
One other answer
CLM server itself does not provide this function. I do not expect that Tomcat support that function (unless there is a defect there :)) Also didn't find this function in WAS. You might consider WAS support for that.
Best regards,
Krzysztof Kazmierczyk
Comments
I'm a little bit confused: I was thinking that this is not a WAS/tomcat task. I'm talking about that RESET button on the https://localhost:9443/ccm/admin?internal#action=com.ibm.team.repository.admin.serverReset url. Is this a CLM function, isn't it?
Hi Michele,
Yes, there is reset button but it does not reset server. The button sets the flag to reset calculating bundles when the server is restarted next time. This is useful when you install any hotfix.
I have created a defect some time ago about confusing name: https://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.viewWorkItem&id=170900. Anywya it has been closed with the explanation that this is internal page and you must know how to access it first.
Feel free to comment in the bug your own confusion.
Best regards,
Krzysztof Kazmierczyk
Ok, this is clear for me. I use this function in order to provide server extension. I was looking for a method to launch this "reset" in order to create an automatic deploy script for RTC so I can deploy my extensions automatically. I've seen that this function removes a single file (built-on.txt) from tomcat/was. This seems to work but sometimes if I remove this file and restart the server I have some problem with the shutdown phase (with tomcat), so I was wondering if it does something else. Generally I think that it would be better if there was an API method (REST or JAVA) to call this functionality.
why can't you call the requestreset http function?
https://server:port/ccm/admin/requestReset