Re: How can I access tomcat's logs using my jsp?

2012-02-07 Thread André Warnier
André Warnier wrote: Pid wrote: On 07/02/2012 09:07, André Warnier wrote: For once, it may be best to top-post. Anyone feels like making a FAQ out of this thread ? It looks like a generic-enough question and answer. I don't think I want to encourage publishing logs via the same container. I

Re: How can I access tomcat's logs using my jsp?

2012-02-07 Thread André Warnier
Pid wrote: On 07/02/2012 09:07, André Warnier wrote: For once, it may be best to top-post. Anyone feels like making a FAQ out of this thread ? It looks like a generic-enough question and answer. I don't think I want to encourage publishing logs via the same container. I've seen all sorts of

Re: How can I access tomcat's logs using my jsp?

2012-02-07 Thread Pid
wrote on >> 06.02.2012 18:41:18: >> >>> "Caldarale, Charles R" 06.02.2012 18:42 >>> >>> Please respond to >>> "Tomcat Users List" >>> >>> To >>> >>> Tomcat Users List >>> >>>

Re: How can I access tomcat's logs using my jsp?

2012-02-07 Thread André Warnier
wrote on 06.02.2012 18:41:18: "Caldarale, Charles R" 06.02.2012 18:42 Please respond to "Tomcat Users List" To Tomcat Users List cc Subject RE: How can I access tomcat's logs using my jsp? From: Lev A KARATUN [mailto:lev.kara...@raiffeisen.ru] Subject: RE: H

RE: How can I access tomcat's logs using my jsp?

2012-02-06 Thread Lev A KARATUN
gt; To > > Tomcat Users List > > cc > > Subject > > RE: How can I access tomcat's logs using my jsp? > > > From: Lev A KARATUN [mailto:lev.kara...@raiffeisen.ru] > > Subject: RE: How can I access tomcat's logs using my jsp? > > > when

RE: How can I access tomcat's logs using my jsp?

2012-02-06 Thread Caldarale, Charles R
> From: Lev A KARATUN [mailto:lev.kara...@raiffeisen.ru] > Subject: RE: How can I access tomcat's logs using my jsp? > when I'm copypasting the default servlet block to > $CATALINA_BASE/logs/WEB-INF/web.xml, the application > no longer works. There's an additio

Re: How can I access tomcat's logs using my jsp?

2012-02-06 Thread Pid
On 06/02/2012 13:14, André Warnier wrote: > Pid wrote: >> On 06/02/2012 11:53, Lev A KARATUN wrote: >> >>> And one more question - if myapp's docBase is set to >>> $CATALINA_BASE/logs , does it matter what is in the webapps/myapp >>> folder? >> >> No. >> > Wait.. > If the myapp application is deplo

Re: How can I access tomcat's logs using my jsp?

2012-02-06 Thread André Warnier
Pid wrote: On 06/02/2012 11:53, Lev A KARATUN wrote: And one more question - if myapp's docBase is set to $CATALINA_BASE/logs , does it matter what is in the webapps/myapp folder? No. Wait.. If the myapp application is deployed via a context file under conf/Catalina/[hostName]/myapp.xml A

Re: How can I access tomcat's logs using my jsp?

2012-02-06 Thread Pid
: > >> "Caldarale, Charles R" >> 04.02.2012 01:45 >> >> Please respond to >> "Tomcat Users List" >> >> To >> >> Tomcat Users List >> >> cc >> >> Subject >> >> RE: How can I access to

RE: How can I access tomcat's logs using my jsp?

2012-02-06 Thread Martin Gainty
__ Porfavor..no altere esta communicacion..Gracias > To: users@tomcat.apache.org > Subject: RE: How can I access tomcat's logs using my jsp? > From: lev.kara...@raiffeisen.ru > Date: Mon, 6 Feb 2012 15:53:11 +0400 > > Charles, > > thank f

RE: How can I access tomcat's logs using my jsp?

2012-02-06 Thread Lev A KARATUN
, Charles R" > 04.02.2012 01:45 > > Please respond to > "Tomcat Users List" > > To > > Tomcat Users List > > cc > > Subject > > RE: How can I access tomcat's logs using my jsp? > > > From: André Warnier [mailto:a...@ice-sa.co

Re: How can I access tomcat's logs using my jsp?

2012-02-06 Thread Lev A KARATUN
quot; role) > > I've already managed to get a list log-files' names (just copied someone's > > part of code and made some adjustments), but when I'm trying to make > > download links, I don't know how can I specify the path to > > /$CATALIN

Re: How can I access tomcat's logs using my jsp?

2012-02-06 Thread Lev A KARATUN
Andre, thanks for precaution, I'll check the docs. Best Regards, Karatun Lev, RBRU IT Application Support , (495) 5464 André Warnier 06.02.2012 12:04 Please respond to "Tomcat Users List" To Tomcat Users List cc Subject Re: How can I access tomcat's logs using

Re: How can I access tomcat's logs using my jsp?

2012-02-06 Thread André Warnier
Lev A KARATUN wrote: Andre, but if a symbolic link is deleted, its target remains unaffected. Are you sure that undeployment can damage my logs somehow? I'd have to dig through the documentation (which you can also do). But I am pretty sure that up to some version, Tomcat by default first d

Re: How can I access tomcat's logs using my jsp?

2012-02-05 Thread Lev A KARATUN
ers List cc Subject Re: How can I access tomcat's logs using my jsp? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lev, On 2/3/12 8:53 AM, Lev A KARATUN wrote: > I'm trying to write a simple jsp to make some superusers able to > download tomcat logs via browser after

Re: How can I access tomcat's logs using my jsp?

2012-02-05 Thread Lev A KARATUN
mcat Users List cc Subject Re: How can I access tomcat's logs using my jsp? John Renne wrote: > I've done this before but always used the apache in front of tomcat to serve the logfiles. > > If you're sure you want to let tomcat do the fileserving, I'ld

Re: How can I access tomcat's logs using my jsp?

2012-02-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 2/3/12 5:47 PM, André Warnier wrote: > Caldarale, Charles R wrote: >>> From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: How can >>> I access tomcat's logs using my jsp? >> >>> - you ca

Re: How can I access tomcat's logs using my jsp?

2012-02-04 Thread Pid *
On 3 Feb 2012, at 22:47, "André Warnier" wrote: > Caldarale, Charles R wrote: >>> From: André Warnier [mailto:a...@ice-sa.com] >>> Subject: Re: How can I access tomcat's logs using my jsp? >> >>> - you can create a webapp named "tomcat-l

Re: How can I access tomcat's logs using my jsp?

2012-02-03 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: How can I access tomcat's logs using my jsp? - you can create a webapp named "tomcat-logs" (or whatever), just by creating a new directory "tomcat-logs" (or whatever) under webapp

RE: How can I access tomcat's logs using my jsp?

2012-02-03 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: How can I access tomcat's logs using my jsp? > - you can create a webapp named "tomcat-logs" (or whatever), just by > creating a new directory "tomcat-logs" (or whatever) under webapps. Nope.

Re: How can I access tomcat's logs using my jsp?

2012-02-03 Thread André Warnier
ath to /$CATALINA_BASE/logs via my web-browser. As far as I can see, I can reach only folders like /$CATALINA_BASE/webapps/myapp upon entering the link http://myhost:port/myapp. So, the question is - how can I access tomcat's logs using my jsp? Thanks in advance. Best Regards, Kara

Re: How can I access tomcat's logs using my jsp?

2012-02-03 Thread Terence M. Bandoian
a my web-browser. As far as I can see, I can reach only folders like /$CATALINA_BASE/webapps/myapp upon entering the link http://myhost:port/myapp. So, the question is - how can I access tomcat's logs using my jsp? Thanks in advance. Best Regards, Karatun Lev Hi, Karatun- What about provi

Re: How can I access tomcat's logs using my jsp?

2012-02-03 Thread Christopher Schultz
I'm > trying to make download links, I don't know how can I specify the > path to /$CATALINA_BASE/logs via my web-browser. As far as I can > see, I can reach only folders like /$CATALINA_BASE/webapps/myapp > upon entering the link http://myhost:port/myapp. > > So, the

Re: How can I access tomcat's logs using my jsp?

2012-02-03 Thread Pid
e adjustments), but when I'm trying to make > download links, I don't know how can I specify the path to > /$CATALINA_BASE/logs via my web-browser. As far as I can see, I can reach > only folders like /$CATALINA_BASE/webapps/myapp upon entering the link > http://myhost:

Re: How can I access tomcat's logs using my jsp?

2012-02-03 Thread André Warnier
John Renne wrote: I've done this before but always used the apache in front of tomcat to serve the logfiles. If you're sure you want to let tomcat do the fileserving, I'ld suggest making a symlink in one of the application folders to the logsdirectory. That should do the trick. I would not d

Re: How can I access tomcat's logs using my jsp?

2012-02-03 Thread John Renne
7;t know how can I specify the path to > /$CATALINA_BASE/logs via my web-browser. As far as I can see, I can reach > only folders like /$CATALINA_BASE/webapps/myapp upon entering the link > http://myhost:port/myapp. > > So, the questi

How can I access tomcat's logs using my jsp?

2012-02-03 Thread Lev A KARATUN
s far as I can see, I can reach only folders like /$CATALINA_BASE/webapps/myapp upon entering the link http://myhost:port/myapp. So, the question is - how can I access tomcat's logs using my jsp? Thanks in advance. Best Regards, Karatun Lev --- This message and a