Hi,
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?
Hi,
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?
Hi,
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.
Bye
Mario
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: Log Directory - CUBA Platform. Developer’s Manual
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.
Thanks,
that was the problem.
Regards