Re: Tomcat 8 Resources - webAppMount

2013-07-15 Thread Mark Thomas
On 15/07/2013 23:08, Leo Donahue - RDSA IT wrote: > Is this saying that one can mount a directory under WEB-INF with a > custom path? You could but I haven't tested it so I'm not sure what the consequences would. The features were written with the following scenario in mind. /var /shared /tom

RE: Tomcat Concurrency

2013-07-15 Thread Mark Haroldson
You are correct. I am not using a web browser but a .net class (HttpWebRequest) that was performing the same function that you described. For those that are keeping score you just need to set the "ConnectionLimit" property on HttpWebRequest's service point to a value other than two. Thanks for th

Re: Tomcat Concurrency

2013-07-15 Thread verlag.preis...@t-online.de
Hi, -Original-Nachricht- > Von: Mark Haroldson > An: > Example: > > Given the following servlet; > > > > Servlet() > > { > > Output("Start thread"); > > Thread.sleep(2); > > Output("End thread") > > } > > > > I would expect the following output > > > > Start Thread >

Re: Tomcat Concurrency

2013-07-15 Thread Konstantin Kolinko
2013/7/16 Mark Haroldson : > Hello; > > > > I am running a tomcat 6 webapp using Jersey and I am running into a > concurrency issue. When there are multiple concurrent connections to tomcat > only one or two are processed concurrently. I have increased the maxThreads > on the connector and now can

Tomcat Concurrency

2013-07-15 Thread Mark Haroldson
Hello; I am running a tomcat 6 webapp using Jersey and I am running into a concurrency issue. When there are multiple concurrent connections to tomcat only one or two are processed concurrently. I have increased the maxThreads on the connector and now can see the requests being processed by di

Tomcat 8 Resources - webAppMount

2013-07-15 Thread Leo Donahue - RDSA IT
Is this saying that one can mount a directory under WEB-INF with a custom path? One of my biggest struggles with JSF page navigation is placing resources under WEB-INF and then figuring out how to navigate from a page that was forwarded to WEB-INF and that page under WEB-INF also needs to for

Re: [OT] WEB-INF

2013-07-15 Thread Mark Thomas
On 15/07/2013 20:09, Andrew Kujtan wrote: > When you say resource handling are you referring to serving files from > within a jars' META-INF/resource folder? Yes, and more. See the Tomcat docs from the CI system for details: http://ci.apache.org/projects/tomcat/tomcat8/docs/config/resources.html

RE: [OT] WEB-INF

2013-07-15 Thread Andrew Kujtan
> -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Monday, July 15, 2013 1:46 PM > To: Tomcat Users List > Subject: Re: [OT] WEB-INF > > On 15/07/2013 17:17, Leo Donahue - RDSA IT wrote: > >> -Original Message- > >> From: Mark Thomas [mailto:ma...@apache.o

Re: [OT] WEB-INF

2013-07-15 Thread Mark Thomas
On 15/07/2013 17:17, Leo Donahue - RDSA IT wrote: >> -Original Message- >> From: Mark Thomas [mailto:ma...@apache.org] >> Subject: Re: [OT] WEB-INF >> >> ...I'd encourage you to grab the 8.0.x source, built it and try out the new >> resource handling. Feedback welcome. > > From here? >

Re: JSP in Static Resources

2013-07-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alireza, On 7/15/13 2:10 AM, Alireza Fattahi wrote: > I am using YAML framework for layout management, it has lot's of > css files to be changed, and on the other hand, if I want to set > the contentType manually I should do it every time I upgrade

Re: JSP in Static Resources

2013-07-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alireza, On 7/13/13 6:13 AM, Alireza Fattahi wrote: > I just find a bad work around which you must put <%@page > contentType="text/css" %>in top of all css files Why don't you want to do this? This is actually the proper way to do things. Perhaps

RE: [OT] WEB-INF

2013-07-15 Thread Leo Donahue - RDSA IT
>-Original Message- >From: Mark Thomas [mailto:ma...@apache.org] >Subject: Re: [OT] WEB-INF > >...I'd encourage you to grab the 8.0.x source, built it and try out the new >resource handling. Feedback welcome. >From here? http://ci.apache.org/projects/tomcat/tomcat8/docs/building.html T

Re: Number of logs files and encrypt manager passwd

2013-07-15 Thread Daniel Mikusa
On Jul 15, 2013, at 11:04 AM, Spencer Lamont R CONTR USSTRATCOM/J646 wrote: > Dan: Please don't top post. Reply inline or after to preserve the flow of the conversation. > > 1. 7.0.14 This is really old. The security risks from running such an old version are undoubtedly greater than hav

RE: Number of logs files and encrypt manager passwd

2013-07-15 Thread Spencer Lamont R CONTR USSTRATCOM/J646
Suggestions -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Monday, July 15, 2013 10:35 AM To: Tomcat Users List Subject: Re: Number of logs files and encrypt manager passwd Spencer Lamont R CONTR USSTRATCOM/J646 wrote: > Dan: > > 1. 7.0.14 > 2. attachment. > 3. I

Re: Number of logs files and encrypt manager passwd

2013-07-15 Thread André Warnier
Spencer Lamont R CONTR USSTRATCOM/J646 wrote: Dan: 1. 7.0.14 2. attachment. 3. I found these steps online. I am using SHA-1 or SHA-256, trying to. You realise that this is somewhat ridiculous, I suppose ? What these instructions make you do, is replace one plain-text password in the file, by

RE: Number of logs files and encrypt manager passwd

2013-07-15 Thread Spencer Lamont R CONTR USSTRATCOM/J646
Dan: 1. 7.0.14 2. attachment. 3. I found these steps online. I am using SHA-1 or SHA-256, trying to. THX. -Original Message- From: Daniel Mikusa [mailto:dmik...@gopivotal.com] Sent: Monday, July 15, 2013 9:31 AM To: Tomcat Users List Subject: Re: Number of logs files and encrypt manage

Re: [OT] WEB-INF

2013-07-15 Thread Mark Thomas
On 15/07/2013 15:38, Leo Donahue - RDSA IT wrote: >> -Original Message- From: Mark Thomas >> [mailto:ma...@apache.org] Subject: Re: [OT] WEB-INF >> >> I'd prefer to see a clearer requirement for it from the user base > > What about a single site with multiple webapps all laid out with the

RE: [OT] WEB-INF

2013-07-15 Thread Leo Donahue - RDSA IT
>-Original Message- >From: Mark Thomas [mailto:ma...@apache.org] >Subject: Re: [OT] WEB-INF > >I'd prefer to see a clearer requirement for it from the user base What about a single site with multiple webapps all laid out with the same header/footer, left/right navigation styles ? - all

Re: Number of logs files and encrypt manager passwd

2013-07-15 Thread Daniel Mikusa
On Jul 15, 2013, at 10:04 AM, Spencer Lamont R CONTR USSTRATCOM/J646 wrote: > To all: > > I am looking for the file in which to set the number of logs to keep. You can configure logging in "conf/logging.properties", however the default configuration does not offer a way to do what you ar

RE: [OT] JSP in Static Resources

2013-07-15 Thread Jeffrey Janner
> -Original Message- > From: Alireza Fattahi [mailto:afatt...@yahoo.com] > Sent: Monday, July 15, 2013 4:12 AM > To: Tomcat Users List > Subject: Re: [OT] JSP in Static Resources > > > > > ~Regards, > > ~~Alireza Fattahi > > > > > > > >  From: André Warni

Number of logs files and encrypt manager passwd

2013-07-15 Thread Spencer Lamont R CONTR USSTRATCOM/J646
To all: I am looking for the file in which to set the number of logs to keep. Also I tried to encrypt the manager password to the manager web page. I did the steps with the realm and users file, but when I went to access the page it would not work. When I put the unencrypted passwd back it

RE: JSP in Static Resources

2013-07-15 Thread Jeffrey Janner
> -Original Message- > From: Alireza Fattahi [mailto:afatt...@yahoo.com] > Sent: Monday, July 15, 2013 1:10 AM > To: Tomcat Users List > Subject: Re: JSP in Static Resources > > Hi, > > I am using YAML framework for layout management, it has lot's of css > files to be changed, and on the

Re: tomcat7 & tldScanJar warning

2013-07-15 Thread Violeta Georgieva
2013/7/15 Chris Cheshire wrote: > > On Fri, Jul 12, 2013 at 9:38 AM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA256 > I changed the web.xml declaration to > You need to add metadata-complete="true". See below: http://java.su

Re: tomcat7 & tldScanJar warning

2013-07-15 Thread Chris Cheshire
On Fri, Jul 12, 2013 at 9:38 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Chris, > > On 7/11/13 2:51 PM, Chris Cheshire wrote: > > I am working on migrating from TC6 to 7, and noticed in the log > > file the info messages ab

Re: JSP in Static Resources

2013-07-15 Thread David kerber
... * Thanks for your comments * I already see sites that do this. * For example please visit these three sites: * http://en.wikipedia.org/wiki/Apache_Tomcat * View source * * the load.php makes a dynamic css * Please visit www.ebay.com * View source *

Re: JSP in Static Resources

2013-07-15 Thread Alireza Fattahi
  ~Regards, ~~Alireza Fattahi From: André Warnier To: Tomcat Users List Sent: Monday, 15 July 2013, 14:13 Subject: Re: JSP in Static Resources Alireza Fattahi wrote: > Thanks for help! > > Let me summarize: > > There are two servlets as below: > 1- Defau

Re: [OT] WEB-INF

2013-07-15 Thread Mark Thomas
On 15/07/2013 10:38, Rainer Frey wrote: > > On 11.07.2013, at 17:36, André Warnier wrote: > >> Leo Donahue - RDSA IT wrote: >>> You mention header/footers, which was in the back of my mind when >>> I posted this. Placing headers/footers in WEB-INF doesn't allow >>> me to re-use these in differe

Re: JSP in Static Resources

2013-07-15 Thread André Warnier
Alireza Fattahi wrote: Thanks for help! Let me summarize: There are two servlets as below: 1- Default servlet which process all static resources 2- jsp servlet which process the JSP file yes. The mime types ( which are defined in localhost-config/web.xml) are only used bydefault servlet.

Re: [OT] WEB-INF

2013-07-15 Thread Rainer Frey
On 11.07.2013, at 17:36, André Warnier wrote: > Leo Donahue - RDSA IT wrote: >> You mention header/footers, which was in the back of my mind when I posted >> this. Placing headers/footers in WEB-INF doesn't allow me to re-use these >> in different webapps, without having multiple copies of th

Re: [OT] JSP in Static Resources

2013-07-15 Thread Alireza Fattahi
> ~Regards, > ~~Alireza Fattahi > > > >  From: André Warnier > To: Tomcat Users List > Sent: Monday, 15 July 2013, 12:09 > Subject: Re: JSP in Static Resources >  > > Alireza Fattahi wrote: >> Good point, I did not think about it ! >> > > What is a good po

Re: [OT] JSP in Static Resources

2013-07-15 Thread André Warnier
Alireza Fattahi wrote: ~Regards, ~~Alireza Fattahi From: André Warnier To: Tomcat Users List Sent: Monday, 15 July 2013, 12:09 Subject: Re: JSP in Static Resources Alireza Fattahi wrote: Good point, I did not think about it ! What is a good poin

Re: JSP in Static Resources

2013-07-15 Thread Mark Thomas
On 15/07/2013 08:03, Alireza Fattahi wrote: > Thanks for help! > > Let me summarize: > > There are two servlets as below: > 1- Default servlet which process all static resources > 2- jsp servlet which process the JSP file > > The mime types ( which are defined in localhost-config/web.xml) are on

Re: JSP in Static Resources

2013-07-15 Thread Alireza Fattahi
  ~Regards, ~~Alireza Fattahi From: André Warnier To: Tomcat Users List Sent: Monday, 15 July 2013, 12:09 Subject: Re: JSP in Static Resources Alireza Fattahi wrote: > Good point, I did not think about it ! > What is a good point ? *** Considering th

Re: JSP in Static Resources

2013-07-15 Thread André Warnier
Alireza Fattahi wrote: Good point, I did not think about it ! What is a good point ? That is what Konstantin meant, when he asked you to not "top post". If you comment or answer questions on top of your message, then someone has to scroll down the message and try to figure out to what your co

Re: Tomcat 6.0.33 trailing slash redirect looses jsessionid attribute

2013-07-15 Thread Frank Sommer
> -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Frank, > > On 7/12/13 5:52 AM, Frank Sommer wrote: >> Hello, >> >> I'm using URL rewriting and recently upgraded my tomcat version >> from 6.0.32 to 6.0.33. I figured out that since 6.0.33 the >> jsessionid attribute is omitted in the Loca

Re: JSP in Static Resources

2013-07-15 Thread Alireza Fattahi
Thanks for help! Let me summarize: There are two servlets as below: 1- Default servlet which process all static resources 2- jsp servlet which process the JSP file The mime types ( which are defined in localhost-config/web.xml) are only used bydefault servlet. When I ask the jsp servlet to pr