on 10-27-2015 2:26 PM
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
As per my current findings I need to set some tomcat configurations. Does anyone have standalone Tomcat latest configurations(setenv, and context.xml) for mobiliser web portal 5.5.0. I used these but still the error persists.
Context.xml
<Environment description="The prefs2 configuration for web uis" name="prefs2/config" type="java.lang.String"
value="${PREFS_PROTOCOL}://prefsread:notsosecret@${MOBILISER_HOSTNAME}:${MOBILISER_PORT}/mobiliser/rest/prefs?pollInterval=60000&clientType=json&applicationIdentifier=presentationlayer" />
<Environment description="The prefs secret key" name="prefs/secret" type="java.lang.String" value="secret" />
<Environment description="The directory that hosts this file" name="logging/baseDir" type="java.lang.String" value="${catalina.home}/conf" />
setenv:
set "CATALINA_OPTS=%CATALINA_OPTS% -Dlog4j.logfiles.path=%CATALINA_HOME%\logs"
set "CATALINA_OPTS=%CATALINA_OPTS% -Dwicket.configuration=deployment"
set "CATALINA_OPTS=%CATALINA_OPTS% -DMOBILISER_HOST=http://localhost:8080"
set "CATALINA_OPTS=%CATALINA_OPTS% -Dtracker.defaultHost=localhost -Dtracker.defaultPort=8080"
set "CATALINA_OPTS=%CATALINA_OPTS% -DPREFS_PROTOCOL=http -DMOBILISER_PROTOCOL=http -DMOBILISER_HOSTNAME=localhost -DMOBILISER_PORT=8080"
Any answer from the senior members will be highly appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.