As you are using embedded tomcat so might be you can help me.
I am starting the tomcat using
some code
tomcat.start();
some code
and tomcat is getting started successfully but tomcat logs (talking about tomcat specific logs) are not getting generated in tomcat log folder.But when i start non embaded tomcat(through startup.sh) then logs are getting generated in log folder of tomcat.
Do you have any idea.whats the issue.Do we need to specify the path(or enable logs) programatically in case of embedded tomcat.