• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Problem With DTD Resolution Behind Firewall

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
During startup, Tomcat 5.0.x tries to resolve the DTDs for XML files in my web app. Unfortunately, I'm behind a firewall, so effectively there's no Internet connection for it to find the PUBLIC DTDs.

In the past, I've simply altered the DOCTYPE element to point to local copies of DTD files I'm using in my web app. However, some third party JARs include XML files, and I really don't want to be editing their XML files.

Is there a Tomcat configuration setting that would allow me predeploy all the needed DTDs to Tomcat and make it look there for the DTD files before trying to get an Internet connection?

Also, does Tomcat support the use of the OASIS XML Catalogs? I can export a .xmlcatalog from Eclipse and deploy it with my web app, but I'm not sure if Tomcat would even use it.

Thanks in advance!
 
Sheriff
Posts: 67756
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"madjack",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic