unable to open server log


When I deploy War ( app.war and app-core.war) to a remote tomcat server, i Cannot access server logs from the Administration menu. The log file dropdown is empty, so I cannot select the log file to watch or download.

How can i fix it?

Képernyőfotó 2017-09-07 - 17.41.44


the reason for that is that when you deploy separate war files for the backend and the frontend, you have to use JMX in order to communicate between those two (you can take a look at the docs for further information on this topic).

An alternative would be switching to single war deployment.


Hi guys,

If both WARs are deployed on a single Tomcat, a remote JMX connection is not needed. In this case the problem can be that cuba.logDir app property and logback.xml logDir property point to different locations.

See details here: https://doc.cuba-platform.com/manual-6.6/log_dir.html

I would recommend using a Java system property to define application home and specify this variable in logback.xml as explained in the above document.



that was the problem.