RestTemplate - POST request for "http://localhost:8080/mobiliser" resulted in 401 (Unauthorized); invoking error handler
Hi Guys,
We are planning to start our development on SAP Mobiliser 5.5.3. I have downloaded sap_mobiliser_template from github and got it successfully built and deployed the mobiliser in standalone tomcat. Its publishing its wsdl fine on tomcat. I have downloaded portal war file version 5.5.0 from nexus repo. when i deploy it on tomcat it shows error "sybase-preferences.properties" file not found. I manually created it in the classes folder and gave following required properties:
serverUrl=http://localhost:8080/mobiliser (supposed url dont know for sure)
applicationIdentifier=presentationlayer
encryption-secret=notsosecret
Application is started successfully but its giving following error on the console and cannot get any user login to the system:
RestTemplate - POST request for "http://localhost:8080/mobiliser" resulted in 401 (Unauthorized); invoking error handler:
INFO - PrefsRefresher - Failed to refresh preferences
org.springframework.web.client.HttpClientErrorException: 401 Unauthorized
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:90)
at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:494)
Any Idea on this issue wts going wrong here. I highly appreciate your time and suggestion. Thanks in advance