maxThreads

2011-03-31 Thread Kaushal Shriyan
Hi, What are the implications or issues if maxThreads are increased from the default 150 to 300 threads. Are there any performance issues ? I am using TC 5.5.27 , Ubuntu Linux Server 8.04 , Sun Java 1.6.0 Update 24 Please suggest/guide. Thanks and Regards, Kaushal

Re: [OT] Protecting against HTTP response splitting

2011-03-31 Thread Leon Rosenberg
On Fri, Apr 1, 2011 at 2:21 AM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Ronald, > > On 3/31/2011 7:05 AM, Ronald Klop wrote: >> I would say that some proper input validation solves your problem. >> Does new URL(redirectURL).toString() give an exception on i

Re: [OT] Protecting against HTTP response splitting

2011-03-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald, On 3/31/2011 7:05 AM, Ronald Klop wrote: > I would say that some proper input validation solves your problem. > Does new URL(redirectURL).toString() give an exception on invalid url's? new URL(String) will throw a MalformedURLException if the

Re: Reg.NoClassDefintionFound Error with Tomcat-4.0.1 and jdk1.5.0_02

2011-03-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tirumala, On 3/31/2011 10:15 AM, Tirumala Rao Naidu wrote: > I Tried it in the Test Environment almost same as production > environment. Your test environment should be identical to your production environment except maybe for IP addresses. :( > All

Re: Logging request parameters - Filter vs Servlet

2011-03-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, On 3/30/2011 3:36 PM, Leo Donahue - PLANDEVX wrote: > I'm going this route for now: > > FacesContext.getCurrentInstance().getExternalContext().log(the string buffer > of the parcel listbox); > FacesContext.getCurrentInstance().getExternalConte

RE: tomcat -> which version to download

2011-03-31 Thread Caldarale, Charles R
> From: Kaushal Shriyan [mailto:kaushalshri...@gmail.com] > Subject: Re: tomcat -> which version to download > Should i need to go with 7.0.11 or the lower 7.0... version ? Use 7.0.11 - more bug fixes. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL

Re: tomcat -> which version to download

2011-03-31 Thread Kaushal Shriyan
On Thu, Mar 31, 2011 at 7:58 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Kaushal, > > On 3/31/2011 7:02 AM, Kaushal Shriyan wrote: > > As of now I am using tomcat apache 5.5.27 with java version "1.6.0_24" on > > Ubuntu Serve

Re: Bug Help

2011-03-31 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Mohit, On 30.03.11 um 13:55, Mohit Anchlia wrote: > This seems to be mod_jk bug. I read in some other thread about this > bug and look similar to what I am seeing. But what I am really looking > for is to see if I have correct settings. > > We are

Re: Customize URL access

2011-03-31 Thread Fahmi Hachicha
this servlet.maiservlet means that the class maiservlet.java must be in the package servlet. Otherwise, you indicate the path of the class maiservlet.class in a package manner. Fahmi 2011/3/31 Jonatan Aguirre Kobayashi > Fahmi, when i access to http://localhost:8080/myapp/maiservlet tomcat > d

Re: Customize URL access

2011-03-31 Thread Jonatan Aguirre Kobayashi
Fahmi, when i access to http://localhost:8080/myapp/maiservlet tomcat display this error: java.lang.ClassNotFoundException: servlet.maiservlet I have Tomcat 7.0.8. 2011/3/31 Fahmi Hachicha > Hello, > > You can map the sevlet in this manner in your web.xml > > >maiservlet >servlet.mai

Re: tomcat -> which version to download

2011-03-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kaushal, On 3/31/2011 7:02 AM, Kaushal Shriyan wrote: > As of now I am using tomcat apache 5.5.27 with java version "1.6.0_24" on > Ubuntu Server 10.04. I happened to visit the url -> > http://tomcat.apache.org/whichversion.html > Bit confused. Not su

Re: what exactly does it mean to run multiple tomcat "instances"?

2011-03-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, On 3/31/2011 9:07 AM, Robert P. J. Day wrote: > i'd eventually deduced most of that. i think it would be useful if > that were explained more forcefully in the RUNNING.txt file since it's > not immediately obvious. - From RUNNING.txt: " Whe

Re: [OT] Protecting against HTTP response splitting

2011-03-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald, On 3/31/2011 7:05 AM, Ronald Klop wrote: > Op woensdag, 30 maart 2011 22:12 schreef Christopher Schultz >> >> response.sendRedirect(request.getParameter("returnURL")); >> >> Aside from not running the redirect through response.encodeRedire

RE: Reg.NoClassDefintionFound Error with Tomcat-4.0.1 and jdk1.5.0_02

2011-03-31 Thread Tirumala Rao Naidu
I Tried it in the Test Environment almost same as production environment. All the classes inside JAXB is loaded perfectly,but those classes are not exceuting in Test Environment. So tried copying the jars from Application/WEB-INF/lib to tommat/lib.then the application started working. Regards -T

Re: virtual host for apache/tomcat server

2011-03-31 Thread Tobias Crefeld
Am Thu, 31 Mar 2011 07:49:07 -0400 schrieb James Pifer : > So I have a web server at: http://server.domain.com that has just > static web pages, etc. > > I have a tomcat jsp that I want to respond to > http://myapp.domain.com. > > I setup a VirtualHost similar to you example, but when I go > t

Re: Customize URL access

2011-03-31 Thread Fahmi Hachicha
Hello, You can map the sevlet in this manner in your web.xml maiservlet servlet.maiservlet maiservlet /maiservlet Good lack Fahmi 2011/3/31 Justin Randall > Read up on web.xml and using Serlvet mappings to define paths that map to > the Servlet class itself. > >

Re: Customize URL access

2011-03-31 Thread Justin Randall
Read up on web.xml and using Serlvet mappings to define paths that map to the Servlet class itself. It looks like you're currently using direct servlet invocation. --Original Message-- From: Jonatan Aguirre Kobayashi To: users@tomcat.apache.org ReplyTo: Tomcat Users List Subject: Customi

Customize URL access

2011-03-31 Thread Jonatan Aguirre Kobayashi
Hello, a have a application and the url is for example http://localhost:8080/myapp/servlet/maiservlet. How i do to access to my application with this url: http://localhost:8080/myapp/maiservlet (without servlet reference) PD: Sorry , my english is not good.

RE: what exactly does it mean to run multiple tomcat "instances"?

2011-03-31 Thread Robert P. J. Day
On Thu, 31 Mar 2011, Caldarale, Charles R wrote: > > From: Robert P. J. Day [mailto:rpj...@crashcourse.ca] > > Subject: what exactly does it mean to run multiple tomcat "instances"? > > > i can see how multiple users could share a common CATALINA_HOME > > directory, whose only common contents woul

RE: what exactly does it mean to run multiple tomcat "instances"?

2011-03-31 Thread Caldarale, Charles R
> From: Robert P. J. Day [mailto:rpj...@crashcourse.ca] > Subject: what exactly does it mean to run multiple tomcat "instances"? > i can see how multiple users could share a common CATALINA_HOME > directory, whose only common contents would be the bin/ and lib/ > directories. but how would indiv

what exactly does it mean to run multiple tomcat "instances"?

2011-03-31 Thread Robert P. J. Day
reading the snippet from RUNNING.txt and i think something needs to be clarified. i can see how multiple users could share a common CATALINA_HOME directory, whose only common contents would be the bin/ and lib/ directories. but how would individual users take advantage of that? if i creat

RE: Reg.NoClassDefintionFound Error with Tomcat-4.0.1 and jdk1.5.0_02

2011-03-31 Thread Caldarale, Charles R
> From: Tirumala Rao Naidu [mailto:tirumala_na...@infosys.com] > Subject: Reg.NoClassDefintionFound Error with Tomcat-4.0.1 and jdk1.5.0_02 > Server: Tomcat-4.0.1 Almost ten years old, and deprecated for ages. You really, really, really need to move up. > JDk: jdk1.5.0_02 Also not s

Re: some documentation in conf/web.xml seems incorrect

2011-03-31 Thread Robert P. J. Day
On Thu, 31 Mar 2011, Mark Thomas wrote: > On 31/03/2011 13:06, Robert P. J. Day wrote: > > > > again, from a totally newbie point of view, i was perusing > > conf/web.xml and noticed the snippets: > > > > > > > > > > but just below that > > > > > > buffered > >

Re: some documentation in conf/web.xml seems incorrect

2011-03-31 Thread Mark Thomas
On 31/03/2011 13:06, Robert P. J. Day wrote: > > again, from a totally newbie point of view, i was perusing > conf/web.xml and noticed the snippets: > > > > > but just below that > > > buffered > 1 > > > so the comments don't seem to agree with at l

some documentation in conf/web.xml seems incorrect

2011-03-31 Thread Robert P. J. Day
again, from a totally newbie point of view, i was perusing conf/web.xml and noticed the snippets: but just below that buffered 1 debug 0 expires 666 so th

Re: tomcat -> which version to download

2011-03-31 Thread Mark Thomas
On 31/03/2011 12:59, Kaushal Shriyan wrote: > On Thu, Mar 31, 2011 at 5:26 PM, Mark Thomas wrote: > >> On 31/03/2011 12:47, Kaushal Shriyan wrote: >>> Hi, >>> >>> As per -> http://wiki.apache.org/tomcat/TomcatVersions >>> >>> Tomcat 7.0.x >>> >>> Spec versions: >>> >>> Servlet 3.0, JSP 2.2, EL 2.

Re: tomcat -> which version to download

2011-03-31 Thread Kaushal Shriyan
On Thu, Mar 31, 2011 at 5:26 PM, Mark Thomas wrote: > On 31/03/2011 12:47, Kaushal Shriyan wrote: > > Hi, > > > > As per -> http://wiki.apache.org/tomcat/TomcatVersions > > > > Tomcat 7.0.x > > > > Spec versions: > > > > Servlet 3.0, JSP 2.2, EL 2.2 > > Enhancements:Yes > > Process:CTR > > > > Ca

Re: explaining server.xml

2011-03-31 Thread Ben Souther
This is the best place to go for an explanation of all of the elements in server.xml http://tomcat.apache.org/tomcat-7.0-doc/config/index.html On Mar 31, 2011, at 7:45 AM, Kaushal Shriyan wrote: > Hi, > > Can someone please help me understand about various tag and definition in > server.x

Re: tomcat -> which version to download

2011-03-31 Thread Mark Thomas
On 31/03/2011 12:47, Kaushal Shriyan wrote: > Hi, > > As per -> http://wiki.apache.org/tomcat/TomcatVersions > > Tomcat 7.0.x > > Spec versions: > > Servlet 3.0, JSP 2.2, EL 2.2 > Enhancements:Yes > Process:CTR > > Can someone please explain me about EL 2.2, Read the EL 2.2 specification. >

Re: explaining server.xml

2011-03-31 Thread Mark Thomas
On 31/03/2011 12:45, Kaushal Shriyan wrote: > Hi, > > Can someone please help me understand about various tag and definition in > server.xml ? Read the documentation. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.ap

Re: virtual host for apache/tomcat server

2011-03-31 Thread James Pifer
On Thu, 2011-03-31 at 00:57 +0200, Tobias Crefeld wrote: > Am Wed, 30 Mar 2011 15:09:12 -0400 schrieb James Pifer > : > > > Ok, my httpd.conf is pretty standard. It includes proxy_ajp.conf > > which has: > > > > LoadModule proxy_ajp_module modules/mod_proxy_ajp.so > > ProxyPass /tomcat/ ajp://lo

Re: tomcat -> which version to download

2011-03-31 Thread Kaushal Shriyan
On Thu, Mar 31, 2011 at 4:58 PM, Mark Thomas wrote: > On 31/03/2011 12:12, Robert P. J. Day wrote: > > On Thu, 31 Mar 2011, Kaushal Shriyan wrote: > > > >> Hi, > >> > >> As of now I am using tomcat apache 5.5.27 with java version > >> "1.6.0_24" on Ubuntu Server 10.04. I happened to visit the url

explaining server.xml

2011-03-31 Thread Kaushal Shriyan
Hi, Can someone please help me understand about various tag and definition in server.xml ? Thanks Kaushal

Re: tomcat -> which version to download

2011-03-31 Thread Mark Thomas
On 31/03/2011 12:12, Robert P. J. Day wrote: > On Thu, 31 Mar 2011, Kaushal Shriyan wrote: > >> Hi, >> >> As of now I am using tomcat apache 5.5.27 with java version >> "1.6.0_24" on Ubuntu Server 10.04. I happened to visit the url -> >> http://tomcat.apache.org/whichversion.html Bit confused. Not

Re: tomcat -> which version to download

2011-03-31 Thread Robert P. J. Day
On Thu, 31 Mar 2011, Kaushal Shriyan wrote: > Hi, > > As of now I am using tomcat apache 5.5.27 with java version > "1.6.0_24" on Ubuntu Server 10.04. I happened to visit the url -> > http://tomcat.apache.org/whichversion.html Bit confused. Not sure > which version i need to go for my production p

Re: [OT] Protecting against HTTP response splitting

2011-03-31 Thread Ronald Klop
Op woensdag, 30 maart 2011 22:12 schreef Christopher Schultz : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I was playing around with findbugs today and saw a security warning I've never seen before: "HTTP parameter directly written to HTTP header output in [somefile.jav

tomcat -> which version to download

2011-03-31 Thread Kaushal Shriyan
Hi, As of now I am using tomcat apache 5.5.27 with java version "1.6.0_24" on Ubuntu Server 10.04. I happened to visit the url -> http://tomcat.apache.org/whichversion.html Bit confused. Not sure which version i need to go for my production purpose to avail latest features and performance improvem