Re: Session delete

2017-09-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alejandro, On 9/7/17 5:49 PM, Alejandro Vargas M. wrote: > Is there anyway to delete a session in Tomcat when the user not > logout correctly from the application, normally they not logged out > correctly, they just click on the "

Session delete

2017-09-07 Thread Alejandro Vargas M.
Is there anyway to delete a session in Tomcat when the user not logout correctly from the application, normally they not logged out correctly, they just click on the "X" (they said), they click the close button of Internet Explorer. I tried with $(window).unload using JS, but i

Re: Delete Specific Cookie Apache

2016-11-23 Thread tomcat
On 23.11.2016 11:03, Teresa Fasano wrote: Hi, I wanted to know how I can remove a specific cookie on apache(version 2.2.22). Maybe you should ask on the Apache httpd user's list then ? (This is the Apache Tomcat list, that's another webserver) I tried with Header add Set-Cookie "ANY_COOKIE =

Delete Specific Cookie Apache

2016-11-23 Thread Teresa Fasano
Hi, I wanted to know how I can remove a specific cookie on apache(version 2.2.22). I tried with Header add Set-Cookie "ANY_COOKIE = '* cookiecontrol'; expires = 'SOME_DATE_IN_PAST'; Max-Age = 0; path = COOKIE_PATH" but it did not work. Any suggestions? Thanks Teresa -- --

Curl command to delete tomcat datasource

2016-11-21 Thread priytam shukla
Hi Friends, New in Apache, need help,I am looking for curl command which can delete the data-source by providing the name of datasource for 8.x or/and 7.x.

Re: Unable to update or delete Windows Service

2016-05-16 Thread Leo Donahue
istopherschultz.net] > >> Subject: Unable to update or delete Windows Service > > > >> I've got a Windows service called "foo" and I'm able to edit the > >> configuration successfully by running the following command: > > > >>

Re: Unable to update or delete Windows Service

2016-05-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 5/16/16 4:11 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Unable to update or delete Windows Service > >> I've got a Windows service called &quo

RE: Unable to update or delete Windows Service

2016-05-16 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Unable to update or delete Windows Service > I've got a Windows service called "foo" and I'm able to edit the > configuration successfully by running the following command: > C:\>

Unable to update or delete Windows Service

2016-05-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I've got a Windows service called "foo" and I'm able to edit the configuration successfully by running the following command: C:\> %CATALINA_HOME%\bin\tomcat8w.exe //ES//foo But if I try to update the service from the command-line, or update

Re: Deny Put & Delete

2014-01-26 Thread Vicky B
Thanks neven,mark On Sun, Jan 26, 2014 at 4:00 PM, Neven Cvetkovic wrote: > On Sun, Jan 26, 2014 at 12:32 AM, Vicky B wrote: > > > if I have a privilege to ask a question on this topic if can anyone help > me > > on how an user fire a put request or delete request ( I am n

Re: Deny Put & Delete

2014-01-26 Thread Neven Cvetkovic
On Sun, Jan 26, 2014 at 12:32 AM, Vicky B wrote: > if I have a privilege to ask a question on this topic if can anyone help me > on how an user fire a put request or delete request ( I am not a hacker) > .All my life I just used post and get I never thought about these put and > d

Re: Deny Put & Delete

2014-01-26 Thread Mark Eggers
On 1/25/2014 9:32 PM, Vicky B wrote: if I have a privilege to ask a question on this topic if can anyone help me on how an user fire a put request or delete request ( I am not a hacker) .All my life I just used post and get I never thought about these put and delete, so if someone helps I would

Re: Deny Put & Delete

2014-01-25 Thread Vicky B
if I have a privilege to ask a question on this topic if can anyone help me on how an user fire a put request or delete request ( I am not a hacker) .All my life I just used post and get I never thought about these put and delete, so if someone helps I would appreciate On Fri, Jan 24, 2014 at 4

Re: Deny Put & Delete

2014-01-24 Thread Johan Compagner
> > > I've dealt with similar nonsensical "compliance scans" before, and > my response was: > > "You believe you can PUT or DELETE files on this installation?" > > ** makes popcorn ** > > "Please proceed. I'll sit here and watch. T

Re: Deny Put & Delete

2014-01-23 Thread Christopher Schultz
mpliance scans" before, and > my response was: > > "You believe you can PUT or DELETE files on this installation?" > > ** makes popcorn ** > > "Please proceed. I'll sit here and watch. Take your time." > > Morons. Bane of productive peoples&#x

Re: Deny Put & Delete

2014-01-23 Thread André Warnier
[mailto:ma...@apache.org] Sent: Thursday, January 23, 2014 10:05 AM To: Tomcat Users List Subject: Re: Deny Put & Delete On 23/01/2014 14:57, Stephan Fletcher wrote: Any help would be greatly appreciated Buy a better vulnerability scanner. Specifically, one understands that an OPTIONS re

Re: Deny Put & Delete

2014-01-23 Thread Hassan Schroeder
On Thu, Jan 23, 2014 at 7:09 AM, Stephan Fletcher wrote: > It's a third party that is running the scan. I've dealt with similar nonsensical "compliance scans" before, and my response was: "You believe you can PUT or DELETE files on this installation?" ** makes

Re: Deny Put & Delete

2014-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Stephan, On 1/23/14, 10:09 AM, Stephan Fletcher wrote: > It's a third party that is running the scan. Then *they* need to verify that the problem is a false-positive (or not.. it's certainly possible that your are open to a "DEL

Re: Deny Put & Delete

2014-01-23 Thread Christopher Schultz
Title: Web server allows PUT: / > > Impact: An attacker may be able to upload files onto the web > server. > > Data Received: Allow: GET, HEAD, POST, PUT, DELETE, OPTIONS > > Resolution: Configure the web server not to accept PUT requests. If > you require the functio

RE: Deny Put & Delete

2014-01-23 Thread Stephan Fletcher
It's a third party that is running the scan. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, January 23, 2014 10:05 AM To: Tomcat Users List Subject: Re: Deny Put & Delete On 23/01/2014 14:57, Stephan Fletcher wrote: > Any help would be greatly

Re: Deny Put & Delete

2014-01-23 Thread Mark Thomas
Tomcat's default configuration any attempt to actually PUT or DELETE a resource will be denied. I have a recollection that we changed the implementation of the OPTIONS request to try and help with this sort of thing. Scratch that. That was for TRACE which won't be included in an OPTIONS resp

Deny Put & Delete

2014-01-23 Thread Stephan Fletcher
GET, HEAD, POST, PUT, DELETE, OPTIONS Resolution: Configure the web server not to accept PUT requests. If you require the functionality of PUT for web publishing, use a put script which can only be run by authorized users, which ensures that the script can update only web content files, and which en

Re: Delete catalina.out

2012-11-19 Thread Josh Gooding
Chris, Yes I certainly agree with that. The init.d script should sudo -u tomcat the catalina.sh script. I believe that I have fixed all of them to correctly run as the tomcat user. - Josh On Mon, Nov 19, 2012 at 3:43 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN

Re: Delete catalina.out

2012-11-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josh, On 11/17/12 11:37 PM, Josh Gooding wrote: > Moved this to the user list instead of the dev group. Hmmm > strangely enough, I tried this on a CentOS system, I believe it > forced me to be root over the tomcat user. It all depends upon the file

Re: Delete catalina.out

2012-11-17 Thread Josh Gooding
< ch...@christopherschultz.net> wrote: > Josh, > > On 11/15/12 2:45 PM, Josh Gooding wrote: > > That is the tomcat default log file. Nothing server wise will happen if > > you delete if that is your concern. It just removes that particular log > > file. I believ

Re: Enabling DELETE

2011-04-02 Thread Jonathan Rosenberg
Thanks for the response & sorry for the paucity of detail. Turns out the problem was in my Grails app. I did not configure it correctly to respond to the DELETE request. -- Jonathan Rosenberg Founder & Executive Director Tabby's Place, a

Re: Enabling DELETE

2011-04-02 Thread Konstantin Kolinko
2011/4/2 Jonathan Rosenberg : > I have some Ajax code sending a DELETE to Tomcat, but am seeing this response: > >  HTTP/1.1 403 Forbidden >  Server: Apache-Coyote/1.1 >  Content-Type: text/html;charset=utf-8 >  Content-Length: 976 >  Date: Sat, 02 Apr 2011 15:22:51 GMT > &

Fwd: Enabling DELETE

2011-04-02 Thread Jonathan Rosenberg
[Sorry if this appears twice.] I have some Ajax code sending a DELETE to Tomcat, but am seeing this response:  HTTP/1.1 403 Forbidden  Server: Apache-Coyote/1.1  Content-Type: text/html;charset=utf-8  Content-Length: 976  Date: Sat, 02 Apr 2011 15:22:51 GMT PUT works, so I thought DELETE would

Enabling DELETE

2011-04-02 Thread Jonathan Rosenberg
I have some Ajax code sending a DELETE to Tomcat, but am seeing this response: HTTP/1.1 403 Forbidden Server: Apache-Coyote/1.1 Content-Type: text/html;charset=utf-8 Content-Length: 976 Date: Sat, 02 Apr 2011 15:22:51 GMT PUT works, so I thought DELETE would also work. Does this response

Re: why does tomcat6 delete xml files from ../tomcat6/conf/Catalina/localhost directory?

2011-03-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, On 3/10/2011 4:02 PM, Robinson, Eric wrote: >>> The only filesystem involved is the local ext3 one that >> tomcat lives on. >>> I can stop and start tomcat as many times as I want and >> everything is >>> fine. But when I reboot the server, t

Re: why does tomcat6 delete xml files from ../tomcat6/conf/Catalina/localhost directory?

2011-03-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, On 3/10/2011 9:33 AM, Robinson, Eric wrote: They are deleted as part of the autoDeploy process when Tomcat detects that the associated directory or WAR file is deleted. Turn off autoDeploy or stop deleting your WARs/directories.

RE: why does tomcat6 delete xml files from ../tomcat6/conf/Catalina/localhost directory?

2011-03-11 Thread joe.k
-JoeK- __ > Od: "Robinson, Eric" > Komu: "Tomcat Users List" > Datum: 10.03.2011 01:12 > Předmět: RE: why does tomcat6 delete xml files from > ../tomcat6/conf/Catalina/localhost directory? > > > >> -Original Message- >> From: Mark T

RE: why does tomcat6 delete xml files from ../tomcat6/conf/Catalina/localhost directory?

2011-03-10 Thread Robinson, Eric
> > The only filesystem involved is the local ext3 one that > tomcat lives on. > > I can stop and start tomcat as many times as I want and > everything is > > fine. But when I reboot the server, the next time tomcat > comes up the > > XML files get deleted. This only happens to the 70 or so >

RE: [>Suspected Spam<][Characteristics] Re: why does tomcat6 delete xml files from ../tomcat6/conf/Catalina/localhost directory?

2011-03-10 Thread Robinson, Eric
> > On 10/03/2011 14:33, Robinson, Eric wrote: > > The only filesystem involved is the local ext3 one that > tomcat lives on. > > I can stop and start tomcat as many times as I want and > everything is > > fine. But when I reboot the server, the next time tomcat > comes up the > > XML files g

Re: why does tomcat6 delete xml files from ../tomcat6/conf/Catalina/localhost directory?

2011-03-10 Thread André Warnier
Robinson, Eric wrote: The only filesystem involved is the local ext3 one that tomcat lives on. I can stop and start tomcat as many times as I want and everything is fine. But when I reboot the server, the next time tomcat comes up the XML files get deleted. This only happens to the 70 or so inst

Re: why does tomcat6 delete xml files from ../tomcat6/conf/Catalina/localhost directory?

2011-03-10 Thread Mark Thomas
On 10/03/2011 14:33, Robinson, Eric wrote: > The only filesystem involved is the local ext3 one that tomcat lives on. > I can stop and start tomcat as many times as I want and everything is > fine. But when I reboot the server, the next time tomcat comes up the > XML files get deleted. This only ha

RE: why does tomcat6 delete xml files from ../tomcat6/conf/Catalina/localhost directory?

2011-03-10 Thread Robinson, Eric
> >> They are deleted as part of the autoDeploy process when Tomcat > >> detects that the associated directory or WAR file is deleted. Turn > >> off autoDeploy or stop deleting your WARs/directories. > > > > Why would rebooting cause this? I'm not aware of anything > that we are > > deleting.

Re: why does tomcat6 delete xml files from ../tomcat6/conf/Catalina/localhost directory?

2011-03-10 Thread Mark Thomas
On 10/03/2011 00:04, Robinson, Eric wrote: >> From: Mark Thomas [mailto:ma...@apache.org] >> On 09/03/2011 23:15, Robinson, Eric wrote: >>> WHY oh why does tomcat automatically delete XML files and >> how can we >>> stop it? >> >> They ar

RE: why does tomcat6 delete xml files from ../tomcat6/conf/Catalina/localhost directory?

2011-03-09 Thread Robinson, Eric
> -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Wednesday, March 09, 2011 3:42 PM > To: Tomcat Users List > Subject: Re: why does tomcat6 delete xml files from > ../tomcat6/conf/Catalina/localhost directory? > > On 09/03/2011 23:

Re: why does tomcat6 delete xml files from ../tomcat6/conf/Catalina/localhost directory?

2011-03-09 Thread Mark Thomas
have been deleted from the conf directories for each instance. These > files are important because they tell the application where to locate > certain files that the user needs. When the XML files are deleted, users > get errors. > > WHY oh why does tomcat automatically delete X

why does tomcat6 delete xml files from ../tomcat6/conf/Catalina/localhost directory?

2011-03-09 Thread Robinson, Eric
are important because they tell the application where to locate certain files that the user needs. When the XML files are deleted, users get errors. WHY oh why does tomcat automatically delete XML files and how can we stop it? -- Eric Robinson Disclaimer - March 9, 2011 This email and

Re: Why Tomcat is trying to delete my ROOT.xml ?

2011-03-07 Thread joe.k
. I have the ROOT.xml file in the >> CATALINA_HOME/conf/Catalina/my.domain.com/ directory, in order to define my >> Context for webapp. >> >> However, when I upload the new war file into webapp dir, I get this GRAVE >> message: >> >> org.apache.catalin

Re: Why Tomcat is trying to delete my ROOT.xml ?

2011-03-07 Thread Christopher Schultz
define my > Context for webapp. > > However, when I upload the new war file into webapp dir, I get this GRAVE > message: > > org.apache.catalina.startup.ExpandWar delete > GRAVE: [/opt/tomcat/conf/Catalina/my.domain.com/ROOT.xml] could not be > completely deleted. The pr

Why Tomcat is trying to delete my ROOT.xml ?

2011-03-05 Thread joe.k
GRAVE message: org.apache.catalina.startup.ExpandWar delete GRAVE: [/opt/tomcat/conf/Catalina/my.domain.com/ROOT.xml] could not be completely deleted. The presence of the remaining files may cause problems I can see that the ROOT.xml file doesn't have the write access for tomcat user,

Re: Problem with Tomcat windows service when user delete/changed

2010-11-17 Thread Tomislav Petrović
Konstantin Kolinko said on 17.11.2010 12:05: 2010/11/17 Tomislav Petrović: Konstantin Kolinko said on 17.11.2010 11:22: 2010/11/17 Tomislav Petrović: After the did this Tomcat stopped working correctly. Default application and doc are been served (localhost:8080/ and localhost:8080/docs) but

Re: Problem with Tomcat windows service when user delete/changed

2010-11-17 Thread Konstantin Kolinko
2010/11/17 Tomislav Petrović : > Konstantin Kolinko said on 17.11.2010 11:22: >> >> 2010/11/17 Tomislav Petrović: >>> >>> After the did this Tomcat stopped working correctly. Default application >>> and >>> doc are been served (localhost:8080/ and localhost:8080/docs) but no >>> other >>> webapp (m

Re: Problem with Tomcat windows service when user delete/changed

2010-11-17 Thread Tomislav Petrović
Konstantin Kolinko said on 17.11.2010 11:22: 2010/11/17 Tomislav Petrović: After the did this Tomcat stopped working correctly. Default application and doc are been served (localhost:8080/ and localhost:8080/docs) but no other webapp (mine and several others) is working (getting 404s). I've che

Re: Problem with Tomcat windows service when user delete/changed

2010-11-17 Thread Konstantin Kolinko
2010/11/17 Tomislav Petrović : > After the did this Tomcat stopped working correctly. Default application and > doc are been served (localhost:8080/ and localhost:8080/docs) but no other > webapp (mine and several others) is working (getting 404s). > > I've checked user file premissions and all see

Problem with Tomcat windows service when user delete/changed

2010-11-17 Thread Tomislav Petrović
Recently had this problem on customer site. I've been given one windows user to install Tomcat and my application under it. Tomcat service+native has been installed and all worked well. Recently their IT deleted this user and gave me another one for monitoring and support. After the did this

Re: Is it possible to delete a jar file from ../WEB-INF/lib when Tomcat is running?

2010-03-08 Thread Chinmoy Chakraborty
y. > > Thanks. > > mp > > > On Thu, Mar 4, 2010 at 5:23 PM, Pid wrote: > > > > > On 04/03/2010 10:53, Chinmoy Chakraborty wrote: > > > > > >> Hi All, > > >> > > >> Is it possible to delete a jar file from ../WEB

Re: Is it possible to delete a jar file from ../WEB-INF/lib when Tomcat is running?

2010-03-04 Thread Michael Powe
fig/context.html in particular, the section on antiResourceLocking. Note the caveats. Otherwise, undeploy the app, update your jars, and redeploy. Thanks. mp > On Thu, Mar 4, 2010 at 5:23 PM, Pid wrote: > > > On 04/03/2010 10:53, Chinmoy Chakraborty wrote: > > > >>

Re: Is it possible to delete a jar file from ../WEB-INF/lib when Tomcat is running?

2010-03-04 Thread Mark Thomas
take care fo the rest. Mark > > > > On Thu, Mar 4, 2010 at 5:23 PM, Pid wrote: > >> On 04/03/2010 10:53, Chinmoy Chakraborty wrote: >> >>> Hi All, >>> >>> Is it possible to delete a jar file from ../WEB-INF/lib when Tomcat is >>>

Re: Is it possible to delete a jar file from ../WEB-INF/lib when Tomcat is running?

2010-03-04 Thread Chinmoy Chakraborty
Actually I want to update the jar with the latest one inside 'lib'...and want to make our app hot-updatable. what would be a good idea for that? On Thu, Mar 4, 2010 at 5:23 PM, Pid wrote: > On 04/03/2010 10:53, Chinmoy Chakraborty wrote: > >> Hi All, >> >> I

Re: Is it possible to delete a jar file from ../WEB-INF/lib when Tomcat is running?

2010-03-04 Thread Pid
On 04/03/2010 10:53, Chinmoy Chakraborty wrote: Hi All, Is it possible to delete a jar file from ../WEB-INF/lib when Tomcat is running? I tried to delete the jar from 'lib' after putting following entry in catalina.policy: It might be possible, but it would be a *very* bad ide

Is it possible to delete a jar file from ../WEB-INF/lib when Tomcat is running?

2010-03-04 Thread Chinmoy Chakraborty
Hi All, Is it possible to delete a jar file from ../WEB-INF/lib when Tomcat is running? I tried to delete the jar from 'lib' after putting following entry in catalina.policy: grant codeBase "file:${catalina.home}/webapps/abcd/WEB-INF/lib" { permission java.io.FilePermission

Re: Sample program for testing http DELETE or PUT method in tomcat

2009-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 6/18/2009 10:35 PM, cleegt wrote: > Because of the security reason imposed by my company, I disabled http > DELETE, PUT methods from the tomcat based on some suggested method mentioned > on the internet. Now, I need to test whethe

RE: Sample program for testing http DELETE or PUT method in tomcat

2009-06-19 Thread Martin Gainty
and number */ register_one_method(p, "GET", M_GET); register_one_method(p, "PUT", M_PUT); register_one_method(p, "POST", M_POST); register_one_method(p, "DELETE", M_DELETE); register_one_method(p, "CONNECT", M_CONNECT

Re: Sample program for testing http DELETE or PUT method in tomcat

2009-06-19 Thread Mark Thomas
cleegt wrote: > Dear All, > > Because of the security reason imposed by my company, I disabled http > DELETE, PUT methods from the tomcat based on some suggested method mentioned > on the internet. Now, I need to test whether the fix is working or not. So, > I am looking fo

Re: Sample program for testing http DELETE or PUT method in tomcat

2009-06-18 Thread André Warnier
cleegt wrote: Dear All, Because of the security reason imposed by my company, I disabled http DELETE, PUT methods from the tomcat based on some suggested method mentioned on the internet. Now, I need to test whether the fix is working or not. So, I am looking for a sample testing program to

Sample program for testing http DELETE or PUT method in tomcat

2009-06-18 Thread cleegt
Dear All, Because of the security reason imposed by my company, I disabled http DELETE, PUT methods from the tomcat based on some suggested method mentioned on the internet. Now, I need to test whether the fix is working or not. So, I am looking for a sample testing program to test the DELETE

Re: Undeploy does not delete all .jar files

2009-04-22 Thread JT
seemed ok. I just can't do it without stopping the service. JT On Wed, Apr 22, 2009 at 4:24 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: JT [mailto:jltoo...@gmail.com] > > Subject: Re: Undeploy does not delete all .jar files > > > >

RE: Undeploy does not delete all .jar files

2009-04-22 Thread Caldarale, Charles R
> From: JT [mailto:jltoo...@gmail.com] > Subject: Re: Undeploy does not delete all .jar files > > Not sure why I have the . I put that in over a > year ago and I was looking at docs and examples online > and since it seemed to work I didn't worry about it. It didn&

Re: Undeploy does not delete all .jar files

2009-04-22 Thread Hassan Schroeder
On Wed, Apr 22, 2009 at 12:58 PM, JT wrote: > My application context.xml file looks like this. > >     >           driverClassName=”oracle.jdbc.driver.OracleDriver” > url=”jdbc:oracle:thin:@.../> > I'm surprised Tomcat even starts with that -- Context elements can't be nested. Try: --

Re: Undeploy does not delete all .jar files

2009-04-22 Thread JT
; > Subject: Re: Undeploy does not delete all .jar files > > > > I am using a database and I think it's telling me > > to add my database connections inside of the > > context.xml file. > > That is correct. If the database is to be used by just a single webapp,

RE: Undeploy does not delete all .jar files

2009-04-22 Thread Caldarale, Charles R
> From: JT [mailto:jltoo...@gmail.com] > Subject: Re: Undeploy does not delete all .jar files > > I am using a database and I think it's telling me > to add my database connections inside of the > context.xml file. That is correct. If the database is to be used by ju

Re: Undeploy does not delete all .jar files

2009-04-22 Thread JT
. " wrote: > > From: JT [mailto:jltoo...@gmail.com] > > Subject: Re: Undeploy does not delete all .jar files > > > > I took everything out of my conf/context.xml file except for > > WatchedResource. This includes > > > > > directory="

RE: Undeploy does not delete all .jar files

2009-04-22 Thread Caldarale, Charles R
> From: JT [mailto:jltoo...@gmail.com] > Subject: Re: Undeploy does not delete all .jar files > > I took everything out of my conf/context.xml file except for > WatchedResource. This includes > > directory="logs" prefix="localhost_log." suffix=&q

Re: Undeploy does not delete all .jar files

2009-04-22 Thread JT
I took everything out of my conf/context.xml file except for WatchedResource. This includes I have the context.xml file in my webapps/xxx/WEB-INF/classes/META-INF I deleted the xxx directory under webapps, everything under the work directory, restarted tomcat, dropped

Re: Undeploy does not delete all .jar files

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 JT, On 4/21/2009 4:35 PM, JT wrote: > That didn't work either. This is what I did. > > I put back what I had in the conf/context.xml file. I still had the path > and docBase Yeah, that's still a problem. Here's what your conf/context.xml should lo

Re: Undeploy does not delete all .jar files

2009-04-21 Thread JT
ectory, but still it would not undeploy correctly. Thanks! On Tue, Apr 21, 2009 at 3:56 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: JT [mailto:jltoo...@gmail.com] > > Subject: Re: Undeploy does not delete all .jar files > > > > I added thi

RE: Undeploy does not delete all .jar files

2009-04-21 Thread Caldarale, Charles R
> From: JT [mailto:jltoo...@gmail.com] > Subject: Re: Undeploy does not delete all .jar files > > I added this inside of my conf/context.xml file. That was pointless - that pretty much corrupts everything. The conf/context.xml file is used *only* for specifying attributes that you

Re: Undeploy does not delete all .jar files

2009-04-21 Thread JT
; From: JT [mailto:jltoo...@gmail.com] > > Subject: Re: Undeploy does not delete all .jar files > > > > When I look under webapps I see that my exploded application > > directory is still there and if I look inside of the directory > > everything has been deleted except fo

RE: Undeploy does not delete all .jar files

2009-04-21 Thread Caldarale, Charles R
> From: JT [mailto:jltoo...@gmail.com] > Subject: Re: Undeploy does not delete all .jar files > > When I look under webapps I see that my exploded application > directory is still there and if I look inside of the directory > everything has been deleted except for 6 .jar files

Re: Undeploy does not delete all .jar files

2009-04-21 Thread JT
When I look under the properties for all the .jar files that are left it says that Everyone has Full Control, is that what you mean? On Tue, Apr 21, 2009 at 10:28 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > JT, > > On 4/21/2

Re: Undeploy does not delete all .jar files

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 JT, On 4/21/2009 8:46 AM, JT wrote: > I'm trying to undeploy my application in Tomcat without having to stop and > start the Tomcat service. In the manager I undeploy the application. When I > look under webapps I see that my exploded application dire

Re: Undeploy does not delete all .jar files

2009-04-21 Thread JT
> I'm trying to undeploy my application in Tomcat without having to stop and > start the Tomcat service. In the manager I undeploy the application. When I > look under webapps I see that my exploded application directory is still > there and if I look inside of the directory everything has been del

Undeploy does not delete all .jar files

2009-04-21 Thread JT
I'm trying to undeploy my application in Tomcat without having to stop and start the Tomcat service. In the manager I undeploy the application. When I look under webapps I see that my exploded application directory is still there and if I look inside of the directory everything has been deleted exc

RE: Deployment: do not delete specified folder

2009-03-27 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: Deployment: do not delete specified folder > > What you want to do is not uncommon; it would be a useful enhancement > for DefaultServlet to be able to configure external directories based > on URL paths. There is another way to do th

RE: Deployment: do not delete specified folder

2009-03-27 Thread Caldarale, Charles R
> From: Ward [mailto:wardloot...@gmail.com] > Subject: Re: Deployment: do not delete specified folder > > should have asked this a lot earlier, would have > saved me a lot of frustrations! What you want to do is not uncommon; it would be a useful enhancement for DefaultServle

Re: Deployment: do not delete specified folder

2009-03-27 Thread Ward
okey Thanks a lot mate, should have asked this a lot earlier, would have saved me a lot of frustrations! Ward 2009/3/27 Caldarale, Charles R : >> From: Ward [mailto:wardloot...@gmail.com] >> Subject: Re: Deployment: do not delete specified folder >> >> Read the desired

RE: Deployment: do not delete specified folder

2009-03-27 Thread Caldarale, Charles R
> From: Ward [mailto:wardloot...@gmail.com] > Subject: Re: Deployment: do not delete specified folder > > Read the desired file, and then write it to the outputstream of the > response? Exactly. That's all the DefaultServlet does. (Ok, not quite all, but that's t

Re: Deployment: do not delete specified folder

2009-03-27 Thread Ward
2009/3/26 Caldarale, Charles R : >> From: Ward [mailto:wardloot...@gmail.com] >> Subject: Re: Deployment: do not delete specified folder >> >> Can you please tell/hint me how do I access file on >> server, not in webserver directory > > Static resources are n

RE: Deployment: do not delete specified folder

2009-03-26 Thread Caldarale, Charles R
> From: Ward [mailto:wardloot...@gmail.com] > Subject: Re: Deployment: do not delete specified folder > > Can you please tell/hint me how do I access file on > server, not in webserver directory Static resources are normally handled by Tomcat's built-in DefaultServlet, whic

Re: Deployment: do not delete specified folder

2009-03-26 Thread Ward
2009/3/26 Caldarale, Charles R : >> From: Ward [mailto:wardloot...@gmail.com] >> Subject: Re: Deployment: do not delete specified folder >> >> So supposed there is a file in the /media directory, let's >> say file.jpg There is no way to acces this file trough a

RE: Deployment: do not delete specified folder

2009-03-26 Thread Caldarale, Charles R
> From: Ward [mailto:wardloot...@gmail.com] > Subject: Re: Deployment: do not delete specified folder > > So supposed there is a file in the /media directory, let's > say file.jpg There is no way to acces this file trough an > url without creating a link to the media f

Re: Deployment: do not delete specified folder

2009-03-26 Thread Ward
an acces the target directory directly in my Java code, that's no problem, but what I wanna do is something different? Greetings Ward Caldarale, Charles R schreef: From: Ward [mailto:wardloot...@gmail.com] Subject: Deployment: do not delete specified folder to be able to acces the

RE: Deployment: do not delete specified folder

2009-03-26 Thread Caldarale, Charles R
> From: Ward [mailto:wardloot...@gmail.com] > Subject: Deployment: do not delete specified folder > > to be able to acces them via the web-application, > I created a symbolic link into my application's > root directory, which points to the folder where > the files are

Deployment: do not delete specified folder

2009-03-26 Thread Ward
e symbolic link is removed, it is treaten as a real folder, which is deleted then) As this is unwanted behaviour, I'm looking for a way to 'tell' the deployment-process not to delete the symbolic link, or to safely delete it (just the link, not the folder), and create it again

Re: Tomcat JVM not releasing deleted files (lsof show delete inodes taking up disk space)

2008-10-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chad, Chad Kellerman wrote: > It's actually a vendor supplied application. I filed a bug/support request > and they returned with a patch. Were you able to inspect the patch? I'm interested to see what they chose to do. > I guess I was wondering if

Re: Tomcat JVM not releasing deleted files (lsof show delete inodes taking up disk space)

2008-10-03 Thread Chad Kellerman
" > > If your engineers followed this advice, this may be your problem: the > JVM is waiting until JVM shutdown to actually delete the files. Even if > the code does an explicit File.delete(), the JVM is probably still > hanging onto a reference to the file's directory entry i

Re: Tomcat JVM not releasing deleted files (lsof show delete inodes taking up disk space)

2008-10-02 Thread Christopher Schultz
vadoc for File.createTempFile states: "To arrange for a file created by this method to be deleted automatically, use the deleteOnExit() method." If your engineers followed this advice, this may be your problem: the JVM is waiting until JVM shutdown to actually delete the files. Even if the co

Re: Tomcat JVM not releasing deleted files (lsof show delete inodes taking up disk space)

2008-09-29 Thread Johnny Kewl
- Original Message - From: "Chad Kellerman" <[EMAIL PROTECTED]> To: Sent: Monday, September 29, 2008 4:39 PM Subject: Tomcat JVM not releasing deleted files (lsof show delete inodes taking up disk space) Tomcat Users, Just wondering if anyone else has run i

RE: Tomcat JVM not releasing deleted files (lsof show delete inodes taking up disk space)

2008-09-29 Thread Caldarale, Charles R
> From: Chad Kellerman [mailto:[EMAIL PROTECTED] > Subject: Tomcat JVM not releasing deleted files (lsof show > delete inodes taking up disk space) > > the application indexes uploaded files, the indexing process > creates the temporary files then removes them. Sounds like your

Tomcat JVM not releasing deleted files (lsof show delete inodes taking up disk space)

2008-09-29 Thread Chad Kellerman
Tomcat Users, Just wondering if anyone else has run into this problem. First let's get the specifics out of the way: Tomcat: 5.5.25 Java: Sun JDK 1.5.0_13 Linux RHEL 5 The Tomcat server is situated on it's own file system, with the applications on another. I got a page this weekend, saying th

Re: redeploy/delete issue with tomcat6

2008-08-27 Thread Mark Shifman
Read the faq. I want to redeploy web applications, how do I prevent resources from getting locked? http://wiki.apache.org/tomcat/FAQ/Windows#Q5 Aaron Axelsen wrote: > I've been tasked with setting up a tomcat enviorment for course work. > The instructor is working with jruby. The problem is tha

redeploy/delete issue with tomcat6

2008-08-26 Thread Aaron Axelsen
I've been tasked with setting up a tomcat enviorment for course work. The instructor is working with jruby. The problem is that on war file redeploy, it fails because tomcat has a lock on 2 of the bundled lib files - jruby-complete-1.1.3.jar and jruby-rack-0.9.1.jar Is there anyway to force the

Re: how to delete \work\Catalina subdirectorys every time tomcat loads

2008-08-13 Thread Meir Yanovich
im using windows server 2003 the method is starting tomcat as service question : do i need to run script ? doest it need to be in the tomcat config somewhere ? thanks On Wed, Aug 13, 2008 at 3:42 PM, Angus Mezick <[EMAIL PROTECTED]> wrote: > You could edit the startup command script to d

RE: how to delete \work\Catalina subdirectorys every time tomcat loads

2008-08-13 Thread Angus Mezick
You could edit the startup command script to delete the directory before the start command is run. I am not too sure about the windows services if that is what you are using. It would help if you told us the operating system and method of starting tomcat. --Angus Mezick -Original Message

how to delete \work\Catalina subdirectorys every time tomcat loads

2008-08-13 Thread Meir Yanovich
Hello all i need to be able to remove the cache directory's in the tomcat 6 every time tomcat starting is there some kind of build in method or acceptable way to do that ? thanks allot - To start a new topic, e-mail: users@tomcat.

Re: How to Disable TRACE and DELETE methods in tomcat 6.x

2008-01-31 Thread Filip Hanik - Dev Lists
Anand Kumar Singh wrote: Hi, Can anyone suggest me How to Disable TRACE and DELETE methods in tomcat 6.x? For security reason i want to - Disable TRACE and DELETE methods - Disable 8005 Port on Tomcat instance. Users can shutdown tomcat from that port. set port="-1" Filip

  1   2   >