ReloadClasses |
This method is used to upgrade the applications by reloading the Java classes that are stored at a particular location. The Java classes are dynamically reloaded during run-time without restarting the associated service. A pre-requisite for executing this method is to provide a reference to the Java classes in the wsapps.properties file.
- Open the wsapps.properties file from the <Process_Platform_Installation_Directory>\<instance name>\components\wsappserver\config directory.
- Specify the folder path where the Java classes are stored against the wsappserver.deploy.folder= attribute in the format as shown below. For example, wsappserver.deploy.folder= D\:<Process_Platform_Installation_Directory> <instance name>bsf runtime deploy.
Note
Remember to place the "\" before ":"exactly as shown here for the method to execute without any exception. - Save the file and close it.
When this method is executed, it picks up the location details from this file and reloads the classes from the specified directory.
Note:
This method can be tested through the Service Test Tool of Process Platform.
SOAP Request
The request does not require any parameter.
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Body> <ReloadClasses xmlns="http://schemas.cordys.com/WS-AppServer/1.0"/> </SOAP:Body> </SOAP:Envelope>
SOAP Response
The response does not contain any parameter.
<data> <ReloadClassesResponse xmlns="http://schemas.cordys.com/WS-AppServer/1.0" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"/> </data>