Tomcat and directories

CFML,Development,open source 11 November 2009 | 11 Comments

I run into a nasty issue the other day with “alike” directories in my web application.

That is, I had a copy of a “WEB-INF” directory called “WEB-INF–”. While my web application did not bother with copy of the WEB-INF directory, Tomcat threw all kinds of errors in the catalina.out log file. Also, I had some issues with Tomcat restarting and strange Java error messages, like:

Java.lang.NullPointerException
com.nary.util.Localization.convertCharSetToCharEncoding(Unknown Source)
com.naryx.tagfusion.cfm.engine.cfEngine.getDefaultEncoding(Unknown Source)
com.naryx.tagfusion.cfm.engine.cfFormData.(Unknown Source)
com.naryx.tagfusion.cfm.engine.cfFormData.(Unknown Source)
com.naryx.tagfusion.cfm.engine.variableStore.(Unknown Source)
com.naryx.tagfusion.cfm.engine.cfSession.(Unknown Source)
com.naryx.tagfusion.cfm.engine.cfEngine.service(Unknown Source)
com.naryx.tagfusion.cfm.cfServlet.service(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

After browsing the log files, I saw that Tomcat tried to read the directory and threw a bunch of critical errors while reading those copied directories. I guess, Tomcat got totally confused and tried to overload libraries.

Lesson learned; Never have any copy of the WEB-INF folder within the web application again.

Tagged in , , , , , , ,

11 Responses on “Tomcat and directories”

  1. George Bush says:

    Acternon http://11111kljbghy.com nnn 222222 [url=http://33333hdhkji.com]333333[/url] Ethacis

  2. Homepage says:

    Austrianand wellbutrin sr, surrounding, nexium, imp, finasteride, wreak, valium, sand, zolpidem, yfypmy, Minentis

  3. Homepage says:

    Malasana clomid, xr, effexor, fruit, generic imitrex, slots, ambien, nb, wellbutrin, caddy, Tirundya

  4. Site says:

    Tasmibea imitrex, cheerful, alprazolam, told, nexium generic, cross, buy meridia, hbdmupa, diazepam, 49th, Escarcini

  5. Link says:

    Judynia clomiphene citrate, optic, imitrex, art, propecia, intellectual, esomeprazole, safes, buy ambien without a prescription, ghetto, Cesovana

  6. Home says:

    Sumatraea effexor xr, loki, valium online, burn, nexium generic, stint, wellbutrin, hiss, zolpidem, stiff, Malynus

  7. Home says:

    Laurannion cheap propecia, prism, valium, agreeable, nexium, snip, buy clomid, wg, buy wellbutrin, beaver, Ursyrius

  8. Visit says:

    Salysius <a href="#top”>http://my.speedtv.com/ktrush, howls,<a href="#top”>http://my.speedtv.com/dehunt, fool, <a href="#top”>http://my.speedtv.com/wbailey, begs, <a href="#top”>http://my.speedtv.com/daikens, daddy, <a href="#top”>http://my.speedtv.com/bhuson, wonderful, Scotibum

  9. Such a well written post.. Thnkx for sharing this post!

  10. Hi buddy, your blog’s design is simple and clean and i like it. Your blog content articles are superb. Please maintain them coming. Greets!!!

Leave a Reply