Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6130059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:48:51+00:00 2026-05-23T16:48:51+00:00

As you are using embedded tomcat so might be you can help me. I

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:48:51+00:00Added an answer on May 23, 2026 at 4:48 pm

    Look at catalina.sh – it has parameter CATALINA_OUT, saying

    #     CATALINA_OUT  (Optional) Full path to a file where stdout and stderr
    #                   will be redirected.
    #                   Default is $CATALINA_BASE/logs/catalina.out
    

    Then later in the same script, it is used like this:

    "$_RUNJAVA" <....lots of other parameters among multiple lines.....> \
      org.apache.catalina.startup.Bootstrap "$@" start \
      >> "$CATALINA_OUT" 2>&1 &
    

    So, as you can see, Tomcat startup script redirects stdout to the catalina.out.

    If you run Tomcat yourself, redirect its stdout elsewhere or look at LOGGING_CONFIG parameter how to override this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to start development using qt-embedded on my embedded device project. Can you
I am using an embedded database file, on start up of my app, i
I have some Flash swfs that are embedded using swfobject and I pass them
Using the embedded driver I can connect to my derby database using the JDBC
I am using an embedded typeface using the following code: @font-face {font-family: 'PFDinTextPro-Regular';src: url('../webfonts/15B214_0.eot');src:
I am using Tomcat version 5.5 and have two questions. I am starting tomcat
I'm using Embedded Glassfish to do some In-Container-Tests with Arquillian. Now, when my test
I'm using JUnit test cases to exercise my web service using embedded Tomcat. Under
When using embedded java databases, can someone explain how the database persists data across
I'm using OpenEJB 3.1.3 embedded in Tomcat 5.5.26 and I use hibernate 3.6 as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.