Добрый день,
подскажите пожалуйста почему у меня при получении 2 war файлов:
timesheet.war
timesheet-core.war
в веб-архиве timesheet.war стоит адрес http://localhost:8080/timesheet-core/
ХОТЯ при этом выставлен порт 8083, а именно
в самом проекте в файле web-app.properties выставлены следующие настройки:
Middleware connection
cuba.connectionUrlList = http://localhost:8083/timesheet-core
Set to false if the middleware works on different JVM
cuba.useLocalServiceInvocation = true
cuba.webContextName = timesheet
cuba.availableLocales = Russian|ru
cuba.localeSelectVisible = false
cuba.web.theme = hover
cuba.restApiUrl=http://localhost:8083/timesheet-portal/api
cuba.webAppUrl=http://localhost:8083/timesheet
cuba.webPort=8083
WAR файлы я создаю средствами CUBA через CUBA STUDIO (CUBA- Deployment - Build WAR).
В итоге из-за этого я получаю ошибку (когда на сервере в другом томкате запускаю эти war):
org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [cuba_TrustedClientService]; nested exception is java.io.IOException: Did not receive successful HTTP response: status code = 404, status message = [Not Found]
Due to this error, ‘web’ block cannot connect to the remote ‘core’ block.
First, check the ‘core’ server log for exceptions to ensure it has started properly.
If there are no exceptions in the ‘core’ log, check that ‘cuba.connectionUrlList’ property value contains the valid address of the ‘core’ server and ends with the web context name of the ‘core’ block, e.g. ‘cuba.connectionUrlList = http://somehost:8080/app-core’
You can turn off this information using ‘cuba.web.productionMode’ application property.
Хотя может я ошибаюсь и ошибка в другом Подскажите пожалуйста.
Логи томкатаlogs.7z (28.2 КБ) приложил: