Re: Tomcat serving old TXT file even after deleting work directory and rebooted

2020-04-24 Thread Mladen Adamović
Lame! It turned out that I have @WebServlet(name = "AdsTxt", urlPatterns = {"/ads.txt"}) LOL On Fri, Apr 24, 2020 at 4:48 PM Mladen Adamović wrote: > I've changed ads.txt did upload ROOT.war file and it now contains new > version which is 18892 bytes old, checked files in the filesystem:

Tomcat serving old TXT file even after deleting work directory and rebooted

2020-04-24 Thread Mladen Adamović
I've changed ads.txt did upload ROOT.war file and it now contains new version which is 18892 bytes old, checked files in the filesystem: root@condor1796 /home/glassfish/apache-tomcat-8.5.5 # find . | grep "ads.txt" | xargs ls -l -rw-r- 1 glassfish nogroup 18892 Apr 24 2020 ./appBaseLivingCost

Re: Tomcat 7.0.54 gives zero-byte .java and .class files for jsp in work directory that cause truncated class error

2016-08-09 Thread Christopher Schultz
ing googling in various forums, we have observed that the >> same problem is occurred to one of the senior engineer of google, >> and it is unresolved/open yet. >> >> >> reference: >> http://stackoverflow.com/questions/8813509/how-does-tomcat-generate-i t

Re: Tomcat 7.0.54 gives zero-byte .java and .class files for jsp in work directory that cause truncated class error

2016-08-04 Thread David Kerber
ng in various forums, we have observed that the same problem is occurred to one of the senior engineer of google, and it is unresolved/open yet. reference: http://stackoverflow.com/questions/8813509/how-does-tomcat-generate-its-work-directory-jsp-java-files-and-what-might-cau It is very cri

Re: Tomcat 7.0.54 gives zero-byte .java and .class files for jsp in work directory that cause truncated class error

2016-08-04 Thread Rahul Singh
e have observed that the same problem is occurred to one of the senior engineer of google, and it is unresolved/open yet. reference: http://stackoverflow.com/questions/8813509/how-does-tomcat-generate-its-work-directory-jsp-java-files-and-what-might-cau It is very critical problem in our pro

Re: Tomcat 7.0.54 gives zero-byte .java and .class files for jsp in work directory that cause truncated class error

2016-07-31 Thread Christopher Schultz
ispatcherResult.java:154) > at > org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResult Support.java:186) > > at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultAct ionInvocation.java:362) > at > com.opensymphony.xwork2.DefaultActionInvocation.invoke(De

Tomcat 7.0.54 gives zero-byte .java and .class files for jsp in work directory that cause truncated class error

2016-07-27 Thread Rahul Singh
(StrutsResultSupport.java:186) at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:362) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:266) On checking the Tomcat work directory we discovered that the corresponding .java

Re: Tomcat work directory is not creating a sessions.ser file

2013-12-29 Thread Daniel Mikusa
On Dec 29, 2013, at 6:57 AM, Nir A wrote: > Hi, > > We had problems regarding sessions replication. > We contact you before and after you examined our logs you actually told us > that session replication is indeed talking place although we didn't have > session replication. > > Now, after furth

Tomcat work directory is not creating a sessions.ser file

2013-12-29 Thread Nir A
Hi, We had problems regarding sessions replication. We contact you before and after you examined our logs you actually told us that session replication is indeed talking place although we didn't have session replication. Now, after further investigation we think we are on the problem source: If

Question on work directory

2011-06-10 Thread Melinda Savoy
Due to a conflict between the cached JSPs in the work directory of a tomcat container on our app¹s QA Windows 2003 server, does the tomcat service have to be restarted?   Any help would be greatly appreciated.  Thanks.

Re: Question on WORK directory of tomcat container

2011-06-10 Thread chris derham
> Due to a conflict between the cached JSPs in the work directory of a tomcat > container on our app's QA Windows 2003 server, does the tomcat service have > to be restarted? > > Any help would be greatly appreciated. Thanks. > > Melinda Savoy > Melinda, You see

Question on WORK directory of tomcat container

2011-06-10 Thread Savoy, Melinda
Due to a conflict between the cached JSPs in the work directory of a tomcat container on our app's QA Windows 2003 server, does the tomcat service have to be restarted? Any help would be greatly appreciated. Thanks. Melinda Savoy Sr. Programmer Analyst, ERP Systems Innovative Techn

Re: Question on WORK directory of tomcat container

2011-06-09 Thread Sriram Narayanan
On Fri, Jun 10, 2011 at 12:42 AM, Savoy, Melinda wrote: > Due to a conflict between the cached JSPs in the work directory of a tomcat > container on our app's QA Windows 2003 server, does the tomcat service have > to be restarted? > > Any help would be greatly appreciat

RE: Question on WORK directory of tomcat container

2011-06-09 Thread Propes, Barry L
It might be helpful to know if you deleted items out of your work directory or if you are implying you have to leave cached JSPs there without touching them, but you altered something else? I guess like Chuck suggested, we'd be guessing at this, but it almost sounds like you are afraid to

RE: Question on WORK directory of tomcat container

2011-06-09 Thread Caldarale, Charles R
> From: Savoy, Melinda [mailto:melindasa...@texashealth.org] > Subject: Question on WORK directory of tomcat container > Due to a conflict between the cached JSPs in the work > directory of a tomcat container on our app's QA Windows > 2003 server, does the tomcat service

Question on WORK directory of tomcat container

2011-06-09 Thread Savoy, Melinda
Due to a conflict between the cached JSPs in the work directory of a tomcat container on our app's QA Windows 2003 server, does the tomcat service have to be restarted? Any help would be greatly appreciated. Thanks. Melinda Savoy Sr. Programmer Analyst, ERP Systems Innovative Techn

Re: Autodeploy and clear work directory

2011-05-20 Thread Kaushal Shriyan
On Thu, May 19, 2011 at 6:04 AM, Kaushal Shriyan wrote: > Hi, > > I am running TC 5.5.27, Ubuntu Linux Server 8.04 and Java6U24. > > Is there a way to clear the work directory automatically when i deploy > any new war under webapps and i always need to restart tomcat server &

Autodeploy and clear work directory

2011-05-18 Thread Kaushal Shriyan
Hi, I am running TC 5.5.27, Ubuntu Linux Server 8.04 and Java6U24. Is there a way to clear the work directory automatically when i deploy any new war under webapps and i always need to restart tomcat server whenever i deploy new war. is there a forceful auto deploy feature ? Regards, Kaushal

[SECURITY] CVE-2009-2902 Apache Tomcat unexpected file deletion in work directory

2010-01-24 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CVE-2009-2902: Apache Tomcat unexpected file deletion in work directory Severity: Low Vendor: The Apache Software Foundation Versions Affected: Tomcat 5.5.0 to 5.5.28 Tomcat 6.0.0 to 6.0.20 The unsupported Tomcat 3.x, 4.x and 5.0.x versions may be

Re: apparent problem with work/ directory

2008-08-30 Thread Ken Bowen
I never do this deletion while the webapp is running. I stop the web app. carry out the deletion, and then restart the webapp, either by dropping a new war for the app in webapps, or using the manager app, or by restarting tomcat. The work directory is where tomcat uses jasper to compile

Re: apparent problem with work/ directory

2008-08-30 Thread Jonathan Mast
he jsp's, about not being >>> able to find the old classes. I am convinced that the errors lies in the >>> work/ directly, specifically the derived java sources of the jsp were not >>> updated when I restarted Tomcat. >>> >>> I know the pro

Re: apparent problem with work/ directory

2008-08-30 Thread H. Hall
hen I restarted Tomcat. I know the problem is not in the webapp itself because i tested it out on my Windoze box before deploying to Linux where the problem occured. My question is: how do I force Tomcat to delete the "work" directory upon restarting or when I'm building from A

Re: apparent problem with work/ directory

2008-08-30 Thread Ken Bowen
oblem occured. My question is: how do I force Tomcat to delete the "work" directory upon restarting or when I'm building from Ant? Thanks, Tomcat 5.5.17 Java 1.4.2 - To start a new topic, e-mail: users@tomcat.apach

Re: apparent problem with work/ directory

2008-08-29 Thread Johnny Kewl
- Original Message - From: "Jonathan Mast" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, August 29, 2008 11:00 PM Subject: apparent problem with work/ directory I refactored the POJO side of a webapp I have. I basically moved some objects ref

apparent problem with work/ directory

2008-08-29 Thread Jonathan Mast
ebapp itself because i tested it out on my Windoze box before deploying to Linux where the problem occured. My question is: how do I force Tomcat to delete the "work" directory upon restarting or when I'm building from Ant? Thanks, Tomcat 5.5.17 Java 1.4.2

RE: Location of work-directory

2008-01-28 Thread Caldarale, Charles R
> From: Roger [mailto:[EMAIL PROTECTED] > Subject: Location of work-directory > > I wonder if it is possible to move the work-directory to another > location, specifically to another harddrive RTFM: http://tomcat.apache.org/tomcat-6.0-doc/config/host.html http://tomcat.apache

Location of work-directory

2008-01-28 Thread Roger
Hello there, I wonder if it is possible to move the work-directory to another location, specifically to another harddrive, and if so, how this can be done. Thanks! Roger - To start a new topic, e-mail: users

Re: files in the work directory

2007-09-05 Thread Pierre Goupil
Actually no. But that's an idea, indeed. I work with mostly free software & still don't have the reflex to browse the source... Will do that ! Cheers, Pierre 2007/9/5, Mark Thomas <[EMAIL PROTECTED]>: > > Pierre Goupil wrote: > > Can anyone give me a clue, please ? > > Have you tried searching

Re: files in the work directory

2007-09-05 Thread Mark Thomas
Pierre Goupil wrote: > Can anyone give me a clue, please ? Have you tried searching the source code for "tldCache.ser"? Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For a

files in the work directory

2007-09-05 Thread Pierre Goupil
Hello guys, There's a couple of files which are used to making their nest in my Tomcat work directory. That's definitely not a problem for me but I was just wondering what they are for. The first one, session.ser is used according to the doc, to store the session between shutdowns.

Re: Removing work directory

2007-03-05 Thread Jim Goodspeed
hink tomcat compare timestamp of .java files to timestamps of .jsp files to know if it need rebuild. Here we deploy using .war file, that mean or jsps are always more recent then work directory, and we don't have issues :) En l'instant précis du 04/03/07 02:10, Jim Goodspeed s'expr

Re: Removing work directory

2007-03-05 Thread David Delbecq
A little strange indeed. How do you deploy? I think tomcat compare timestamp of .java files to timestamps of .jsp files to know if it need rebuild. Here we deploy using .war file, that mean or jsps are always more recent then work directory, and we don't have issues :) En l'instant pr

Removing work directory

2007-03-03 Thread Jim Goodspeed
I'm wondering if anyone has run into a problem where the jsp pages under the work directory do not get updated when a new version of the applicaiton is deployed. We find that we have to delete everything under the work directory so that tomcat is forced to re-create everything. This se

Re: Tomcat5.5.17 work directory have the whole tomcat structure

2006-08-17 Thread Raju Balugu
launch webpages ...it's throwing the Filenotfound exception. > So I analyzed the problem and deleted the work directory under tomcat and > stop and started the tomcat and able to launch all the webpages . > > *Here my Question is:Why it's not launching with precompilation classes?

Re: Tomcat5.5.17 work directory have the whole tomcat structure

2006-08-16 Thread Pid
g the precompilation.After installation , I tried to launch webpages ...it's throwing the Filenotfound exception. So I analyzed the problem and deleted the work directory under tomcat and stop and started the tomcat and able to launch all the webpages . *Here my Question is:Why it's not launching with

Tomcat5.5.17 work directory have the whole tomcat structure

2006-08-16 Thread Raju Balugu
Hi all, I installed the image(my project)with all the class files(work is having the class files)by doing the precompilation.After installation , I tried to launch webpages ...it's throwing the Filenotfound exception. So I analyzed the problem and deleted the work directory under tomcat and

Re: Change location of "work" directory?

2006-04-21 Thread Trevor Miller
the workDir attribute on the context element. > > > > -Original Message- > > From: Trevor Miller [mailto:[EMAIL PROTECTED] > > Sent: Friday, April 21, 2006 9:21 AM > > To: users@tomcat.apache.org > > Subject: Change location of "work" directory? > &

Re: Change location of "work" directory?

2006-04-21 Thread Trevor Miller
CTED]> wrote: > > Yes, set the workDir attribute on the context element. > > -Original Message- > From: Trevor Miller [mailto:[EMAIL PROTECTED] > Sent: Friday, April 21, 2006 9:21 AM > To: users@tomcat.apache.org > Subject: Change location of "work" di

RE: Change location of "work" directory?

2006-04-21 Thread Derrick Koes
Yes, set the workDir attribute on the context element. -Original Message- From: Trevor Miller [mailto:[EMAIL PROTECTED] Sent: Friday, April 21, 2006 9:21 AM To: users@tomcat.apache.org Subject: Change location of "work" directory? Hi All, I've started working with th

Change location of "work" directory?

2006-04-21 Thread Trevor Miller
Hi All, I've started working with the Tomcat embbed server and have managed to get it running and serving JSPs. What I'd like to know is if there's a way to explicitly specify a location of the "work" directory? I wish to have this under /tmp on linux as opposed t

Re: Work directory

2006-01-29 Thread Chad Russell
, January 29, 2006 6:00 PM To: Tomcat Users List Subject: Re: Work directory All the files are owned by the user that tomcat runs as. And it does create some directories in there, however it fails on the org/apache directories. If I create those, and changed the owner to the same user as tomcat

RE: Work directory

2006-01-29 Thread George Sexton
0 PM > To: Tomcat Users List > Subject: Re: Work directory > > All the files are owned by the user that tomcat runs as. And it does > create some directories in there, however it fails on the org/apache > directories. If I create those, and changed the owner to the > s

Re: Work directory

2006-01-29 Thread Chad Russell
http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: Chad Russell [mailto:[EMAIL PROTECTED] Sent: Sunday, January 29, 2006 8:10 AM To: Tomcat Users List Subject: Work directory Hi, When tomcat tries to compile something and it tries to create the directories in the

RE: Work directory

2006-01-29 Thread George Sexton
3 438 9585 > -Original Message- > From: Chad Russell [mailto:[EMAIL PROTECTED] > Sent: Sunday, January 29, 2006 8:10 AM > To: Tomcat Users List > Subject: Work directory > > Hi, > > When tomcat tries to compile something and it tries to create the > di

Re: Work directory

2006-01-29 Thread Chad Russell
Wendy Smoak wrote: On 1/29/06, Chad Russell <[EMAIL PROTECTED]> wrote: When tomcat tries to compile something and it tries to create the directories in the work directory, it seems to fail when trying to add "org/apache" to the path. I can go in by hand and create these

Re: Work directory

2006-01-29 Thread Wendy Smoak
On 1/29/06, Chad Russell <[EMAIL PROTECTED]> wrote: > When tomcat tries to compile something and it tries to create the > directories in the work directory, it seems to fail when trying to add > "org/apache" to the path. I can go in by hand and create these two >

Work directory

2006-01-29 Thread Chad Russell
Hi, When tomcat tries to compile something and it tries to create the directories in the work directory, it seems to fail when trying to add "org/apache" to the path. I can go in by hand and create these two directories in the path, and then it works correctly. Is there any way

How to clean up work directory on shutdown (Tomcat 5.5.12)

2005-12-20 Thread Edmon Begoli
Is there an instruction that enables automatic clean up of the work directory on the shutdown of Tomcat 5.5.12. -- Thank you, Edmon Begoli http://blogs.ittoolbox.com/eai/software

AW: Tomcat session serialisation & work directory

2005-12-08 Thread Chaudhuri, Hiran
Hi, Yoav. As requested by Mark I send my reply on this list. My Tomcat version is 4.0.29. I know it is old, therefore I retested the work directory settings with Tomcat 5.5.12 and all that I mention now will be that current release. It seems to me that Tomcat completely ignores the work

Re: default work directory?

2005-10-22 Thread Seak, Teng-Fong
Do you use pure Eclipse to debug? Or with a plugin like MyEclipse? My point is, instead of fiddling default work directory, couldn't you debug in that way? I use MyEclipse and I remember having seen a super tutorial in their website showing how to debug without tamper with Tomcat'

default work directory?

2005-10-21 Thread John Rodriguez
the web app fire hierarchy so that my debugger can access it and step through it. How can I do this? I look in $TOMCAT_HOME/conf/web.xml and it seems that the variable scratchdir is what I want. The documentation says that the "default work directory for the current web application"