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

  • Home
  • SEARCH
  • 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 6147345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:05:41+00:00 2026-05-23T19:05:41+00:00

I am using Tomcat version 5.5 and have two questions. I am starting tomcat

  • 0

I am using Tomcat version 5.5 and have two questions.
I am starting tomcat through Embedded Tomcat.Like for example :

Embedded tomcatServer = new Embedded();

//engine

//host

//context

//connector

tomcatServer.start();

Question 1 :(related to logging)

Tomcat starts successfully and application is working fine but “Tomcat” logs(much concern of tomcat logs rather then application specific logs) are not getting generated in tomcat log directory.
For double check when i starts tomcat manually through startup.sh then tomcat logs are getting generated in log folder of tomat.
I have also searched that prior to version 5 there was one method setLogger/setDebug in org.apache.catalina.startup.Embedded Class.But in version 5.5 its not available…plz help how to configure in order to enable logs thorugh Embedded Tomcat.

Question 2 :(related to session replication)

As thorugh Embedded Tomcat server.xml does not works(not used by tomcat) so need help in writting java code for <Cluster> element (as this is the main element for session replication).
I am able to replicate the session when i start tomcat manually or through startup.sh which uses server.xml but now i want to do the same session replication through Embedded Tomcat Class.Please Help..

Thanks in Advance.

Vikas

vikas31jain@gmail.com

  • 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-23T19:05:43+00:00Added an answer on May 23, 2026 at 7:05 pm

    Re #1: Set up java.util.logging properly (see the docs).

    Re #2: Download the source code for Tomcat and search for server.xml. There is probably some class which reads it. There, you can also find the code which configures clustering.

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

Sidebar

Related Questions

i am using tomcat server and i have added a rhino engine to able
I'm using dbcp connection pooling in tomcat (version 7) and I have a connection
Hi i have a tomcat server version 5.5.12 and i am using a filter,
I have been using IntelliJ IDE (version 5.1) with Tomcat server (version 5.5) to
We have an Tomcat server where we're trying to log the HTTP version which
I have the following arrangement : Tomcat --EJB-invokation--> JBoss (6.0.14) (5.1.0) The two servers
I have a web application setup using tomcat. Sometimes a little icon appears in
Tomcat Version :5.0.28 JDK: 1.5.0.14 The problem: I am using both hibernate and struts
I have written a windows service using the Apache.NMS and Apcahe.NMS.ActiveMQ (version 1.0) libraries.
I have a problem with Tomcat 5.5 and Java EE webapp libraries. I'm using

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.