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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:48:27+00:00 2026-05-17T00:48:27+00:00

Recently one of our Tomcat servers started having trouble deploying WAR files. We have

  • 0

Recently one of our Tomcat servers started having trouble deploying WAR files. We have an existing version of the WAR in the webapps directory as well as the unpacked version. When we drop a new version of the WAR file into the webapps directory, it does not unpack the new WAR and the application dies. If I delete the old unpacked version, sometimes it will then unpack the new one. Other times I have to restart Tomcat to get it to restart.

In the catalina log I find the following error:

WARNING: Error during context [/pos] destroy
java.lang.StackOverflowError
        at sun.nio.cs.UTF_8$Encoder.encodeLoop(UTF_8.java:575)
        at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:544)
        at java.lang.StringCoding$CharsetSE.encode(StringCoding.java:342)
        at java.lang.StringCoding.encode(StringCoding.java:378)
        at java.lang.String.getBytes(String.java:812)
        at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
        at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
        at java.io.File.isDirectory(File.java:723)
        at org.apache.catalina.startup.ExpandWar.delete(ExpandWar.java:360)
        at org.apache.catalina.startup.ExpandWar.delete(ExpandWar.java:361)
        at org.apache.catalina.startup.ExpandWar.delete(ExpandWar.java:361)
        at org.apache.catalina.startup.ExpandWar.delete(ExpandWar.java:361)
        at org.apache.catalina.startup.ExpandWar.delete(ExpandWar.java:361)
        at org.apache.catalina.startup.ExpandWar.delete(ExpandWar.java:361)
        at org.apache.catalina.startup.ExpandWar.delete(ExpandWar.java:361)

That last line is repeated a few hundred times.

Then there are other errors. I’m happy to paste them in, but I suspect the first error is the most likely culprit.

Any clues what this means?

Once I delete the old unpack and restart if necessary, everything seems fine.

We’re running Tomcat 5.5.23 on Red Hat Linux 2.6.18.

  • 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-17T00:48:27+00:00Added an answer on May 17, 2026 at 12:48 am

    This is a bug in Tomcat 5.5.23
    https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=620996

    upgrade or downgrade.

    Bye

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

Sidebar

Related Questions

We've recently upgraded one of our SSRS2005 servers to SSRS2008 and have found that
Recently our customers started to complain about poor performance on one of our servers.
I have recently re-organised our source control and found one of our solutions no
We have recently upgraded from mvc2 to mvc3 and one of our Custom Authorization
I have recently integrated the .NET NLog logging component into one of our applications
I have just recently added our db schema into a VSTSDB project and one
We have recently switched to HTTPS and when submitting one of our forms, Firefox
We've recently been asked to ship a Linux version of one of our libraries,
We have recently upgraded one of our applications from Java 1.4 to Java 6.
Recently one of our client's websites fell prey to a SQL Injection attack due

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.