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 6013713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:35:20+00:00 2026-05-23T02:35:20+00:00

Normally, my instance of Tomcat starts-up without any problem. However, when I add a

  • 0

Normally, my instance of Tomcat starts-up without any problem. However, when I add a new filter to the ‘preview’ web app, that application fails to start:

09-Jun-2011 12:23:49 org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
09-Jun-2011 12:23:49 org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
09-Jun-2011 12:23:49 com.polopoly.application.StandardApplication destroy
INFO: Application 'preview' destroy started.

Tomcat itself starts fine – other wars / web apps deploy and start as normal.

As there’s no stack trace in the log, I’m not exactly sure what the issue is. I can’t connect a remote debugger to the app because it’s not running any more. Can I place breakpoints at the init of the app or filter?

What is the best approach / preferred method for debugging issues during the start-up of a web application in 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-23T02:35:21+00:00Added an answer on May 23, 2026 at 2:35 am

    Sure you can. Just put all tomcat source to your IDE and then start tomcat using

    catalina jpda start

    Put appropriate break points. For example somewhere org.apache.catalina.core.StandardContext.

    If you still cannot catch the problem use command line:
    -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y

    suspend=y is important here.

    But I think that the problem is not in tomcat itself but in your application. So, start from debugging it. Put breakpoints into all entry points (servlets, filters, listeners etc. ) If it does not work, do the following.

    Comment out everything from your web.xml. Start app. Working? Fine! Now uncomment half of your stuff. And so on.

    I believe you will be able to locate the problem. Good luck.

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

Sidebar

Related Questions

After adding plone.app.async, I cannot start my production instances normally using 'bin/instance start'. However,
Given an instance of a class that derives from System.Web.Page (ie. a normal page
I have a class that would normally just generate factory objects, however this class
Got a strange problem. The cancel button that normally is shown at the navigation
Normally I write a class and add XML Serialization to it for my web
Will there normally only be one instance of MainForm? I need to hold it
Normally I create web application projects and use code-behind, but I have a requirement
I'm using Apache Derby with the Spring JdbcTemplate inside a web app running on
I want to test some new functionality which is part of an internal web
Normally a widget is used by calling CController::widget() on an instance of CController ,

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.