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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T18:45:33+00:00 2026-05-30T18:45:33+00:00

I have a production issue that I can’t replicate in the development or test

  • 0

I have a production issue that I can’t replicate in the development or test environments. Also, since it is in production I can’t stop/start Tomcat without a lot of red-tape.

I am observing delays of about 12 seconds (give or take 500ms) in Threads of execution that use the AudioSystem class. The delays occur intermittently and never within a few minutes of each other. Other threads proceed concurrently without a problem. The delays appear to become less frequent with higher load.

I was able to gather stack traces while the delay occurs by using the JConsole threads tab. e.g.

Name: http-8081-Processor27
State: RUNNABLE
Total blocked: 134,991  Total waited: 23,132

Stack trace: 
java.util.zip.ZipFile.open(Native Method)
java.util.zip.ZipFile.<init>(Unknown Source)
java.util.jar.JarFile.<init>(Unknown Source)
java.util.jar.JarFile.<init>(Unknown Source)
org.apache.catalina.loader.WebappClassLoader.openJARs(WebappClassLoader.java:1789)
org.apache.catalina.loader.WebappClassLoader.findResources(WebappClassLoader.java:1019)
java.lang.ClassLoader.getResources(Unknown Source)
sun.misc.Service$LazyIterator.hasNext(Unknown Source)
com.sun.media.sound.JSSecurityManager$7.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
com.sun.media.sound.JSSecurityManager.getProviders(Unknown Source)
com.sun.media.sound.JDK13Services.getProviders(Unknown Source)
javax.sound.sampled.AudioSystem.getProviders(Unknown Source)
javax.sound.sampled.AudioSystem.getAudioFileReaders(Unknown Source)
javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)

It looks as though the loading of JAR files by the WebappClassLoader is implicated. I tweaked this classloader in the development environment to log out the JARs it is loading. There are 55 JARs loaded, all from a local disk, e.g.:

Fri Mar 02 17:02:04 EST 2012    About to open: E:\mycompany\Apps\Apache\Tomcat 5.5\webapps\application\WEB-INF\lib\log4j-1.2.15.jar

The server has a misconfigured proxy server. This can reliably produce 12 second delays when fetching webpages. However, DEV and TEST environments are also misconfigured but do not yet show the delays. Would this cause Java to show delays when accessing local JAR files?

Tomcat has been allocated 1500MB maximum memory. The GC is ConcurrentMarkSweep and never uses more than 800MB.

The server is built with Windows 2003, Tomcat 5.5.23, Java 1.5.0-v14. Any clues as to what is happening would be greatly appreciated.

  • 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-30T18:45:34+00:00Added an answer on May 30, 2026 at 6:45 pm

    It sounds like the class loader is attempting to talk to the internet via your proxy. I’d check the way that you’ve configured the classloader. Bearing in mind that the classloader will implicitly delegate up its parent classloader chain first, so you’ll need to check them as well.

    It might help you track down the problem if you temporarily told Java to use an internal proxy so you could see what the classloader trying to fetch from the internet.

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

Sidebar

Related Questions

We have a series of web services that live in different environments (dev/qa/staging/production) that
Fairly simple question that I can't remember. We have three environments: Local machine (unique
I am working within an intranet environment. We have both a production and development
We have SOAP web services in production that are relying on SOAP Headers (containing
I have a bit of an issue that I am not sure how to
We have an SSIS package that ran in production on a SQL 2008 box
I have one issue that i want to ping URL from code behind (EXE
I'm using Capistrano and have everything configured. The weird issue I have is that
I have 3 instances of my rails app on heroku (test, stage and production).
I have an existing asp.net application that is currently in production for more than

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.