Hi All!
First, let me assure everyone that I am not a hacker, exactly the opposite, but
I have a related problem. I am in the process of implementing code that
protects against header manipulation. I created a filter that strips line feed
and carriage return characters from requests to avoid he
Hi,
Anyone know whether it's possible to monitor progress of a file upload?
TIA,
- Ole
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
- Original Message -
> From: throwsCode
> To: users@tomcat.apache.org
> Cc:
> Sent: Saturday, September 3, 2011 5:13 PM
> Subject: Re: CGIServlet - php
>
>
> Terence, Ken, Mark thanks for all your input. Much to consider.
>
> Mark your the first person who replied who sounds like the
Terence, Ken, Mark thanks for all your input. Much to consider.
Mark your the first person who replied who sounds like they have actually
run php and tomcat. Despite your concerns, this gives me the confidence
that i can get it running with all this help.
Perhaps I'm wrong but I don't think at
Hi,
Anyone know if the the keys for the various javax.servlet.http.Part headers are
available as constants anywhere? I'd like to do something like:
part.getHeader(Part.FILENAME);...instead of
part.getHeader("filename");
TIA,
- Ole
-
- Original Message -
> From: Ioannis Parapontis
> To: Tomcat Users List
> Cc:
> Sent: Saturday, September 3, 2011 3:25 PM
> Subject: Re: Virtual hosts on Tomcat 7 for 3 webapps
>
>T hanks for the responses. The reason i do not use apache is that the server
> that runs my 3 apps works
- Original Message Edited -
> From: Mark Eggers
> To: Tomcat Users List
> Cc:
> Sent: Saturday, September 3, 2011 3:53 PM
> Subject: Re: CGIServlet - php
>
> C. Configure web.xml
>
> I put everything into my web application's web.xml since I didn't want
> this capability across all o
- Original Message -
> From: throwsCode
> To: users@tomcat.apache.org
> Cc:
> Sent: Saturday, September 3, 2011 11:44 AM
> Subject: Re: CGIServlet - php
>
>
> Wow thanks Konstantin a lot of good questions and suggestions. Please give
> me some time to put together a cogent reply. I h
On Sat, Sep 3, 2011 at 3:25 PM, Ioannis Parapontis
wrote:
> So it would be useful if some guidelines are provided on how i should do
> this.
They are; see the documentation's "virtual hosting how-to" :-)
--
Hassan Schroeder hassan.schroe...@gmail.com
http://about.me
Thanks for the responses. The reason i do not use apache is that the server
that runs my 3 apps works better with Tomcat. So it would be useful if some
guidelines are provided on how i should do this.
Sent from my iPhone
On 4 Σεπ 2011, at 1:01, Manuel Fernández
Panzuela wrote:
> why you don'
Jeff Sturm wrote:
>
>
> The Linux JVM has a nice option -XX:+UseLargePages to help avoid TLB
> misses on heap accesses. It's good for modest gains, and has the side
> effect of locking the heap into memory. I tend to use it on systems with
> large heaps.
>
> Not much you can do about cache
On Sat, Sep 3, 2011 at 2:51 PM, Ioannis Parapontis
wrote:
> I have a server that runs 3 different web apps on the same ip but each on its
> own port. eg ip:8080, ip:8081 and ip:8082. All apps should run simultaneously
> and have their own folders. Can a single Tomcat support the 3 of them and
why you don't use virtualhost over apache ?
it's easier do it with it.
Un saludo
2011/9/3 Ioannis Parapontis
> Hi there
>
> I have a server that runs 3 different web apps on the same ip but each on
> its own port. eg ip:8080, ip:8081 and ip:8082. All apps should run
> simultaneously and have
Hi there
I have a server that runs 3 different web apps on the same ip but each on its
own port. eg ip:8080, ip:8081 and ip:8082. All apps should run simultaneously
and have their own folders. Can a single Tomcat support the 3 of them and can
i use virtual hosts on Tomcat alone ?
Thanks
S
Posner to users
show details 8:16 PM (2 minutes ago)
Hello all:
I am hoping someone can help with this. Tomcat 6.0.28 keeps giving me,
saying 'Servlet Front Controller is not available'
I am using struts 1, the jar file is struts-core-1.3.10 located in
install_dir/myapp/WEB-INF/lib
Please hel
> -Original Message-
> From: Darius D. [mailto:darius@gmail.com]
> Sent: Saturday, September 03, 2011 1:36 PM
>
> As a side note - (CPU)cache/TLB misses have nothing to do with heap size.
> Too big heap size can be as bad as too low ( by stealing memory from OS that
> could
> have bee
Even if you don't want to run in Resin, studying (open source) Quercus should
give you the details/direction you want:
http://www.caucho.com/resin-3.0/quercus/
--Ken
On Sep 3, 2011, at 3:16 PM, Terence M. Bandoian wrote:
> On 1:59 PM, Konstantin Kolinko wrote:
>> 2011/9/3 throwsCode:
>> I do
Hello Tomcat users.
I have been a happy Tomcat user since Tomcat 4.x, this will be my first
post in a long time.
We updated from Tomcat 6.x to Tomcat 7.0.4 a few months ago. This
worked just fine.
When I updated to Tomcat 7.0.20 last week, I discovered that our JSP
pages aren't being execut
On 1:59 PM, Konstantin Kolinko wrote:
2011/9/3 throwsCode:
I do not quite understand you.
I'm trying to implement PHP on tomcat 7.0.20 with no luck. Does anyone know
how I can tell whether the CGIServlet is running?
I uncommented all of the sections indicated in the Tomcat document.
What se
Wow thanks Konstantin a lot of good questions and suggestions. Please give
me some time to put together a cogent reply. I have looked at hundreds of
documents and thousands of Internet pages so it will take me some time to
filter the ones that I thought applied and actually tried.
With regard t
> From: David Kerber [mailto:dcker...@verizon.net]
> Subject: Re: Performance for many small requests
> Then why shouldn't I just double my heap size? Wouldn't
> that eliminate the risk of increased cache misses?
As Darius stated, this part of the discussion is probably completely irrelevant
Hi,
> -Original Message-
> From: cjder...@gmail.com [mailto:cjder...@gmail.com] On Behalf Of chris
> derham
> Sent: Saturday, September 03, 2011 6:51 PM
> To: Tomcat Users List
> Subject: Re: Servlet 3.0 File Upload
>
>
> Letting the remote user control the name of the file that is writt
David Kerber wrote:
>
> On 9/3/2011 1:15 PM, Darius D. wrote:
>>
>>
>> n828cl wrote:
From: Darius D. [mailto:darius@gmail.com]
Subject: Re: Performance for many small requests
in my opinion using 64bit JVM with such a small
heap is only needed if performance testing show
On 9/3/2011 1:15 PM, Darius D. wrote:
n828cl wrote:
From: Darius D. [mailto:darius@gmail.com]
Subject: Re: Performance for many small requests
in my opinion using 64bit JVM with such a small
heap is only needed if performance testing shows
gains versus 32bit JVM.
The main advantage of usi
n828cl wrote:
>
>> From: Darius D. [mailto:darius@gmail.com]
>> Subject: Re: Performance for many small requests
>
>> in my opinion using 64bit JVM with such a small
>> heap is only needed if performance testing shows
>> gains versus 32bit JVM.
>
> The main advantage of using a 64-bit JV
> From: Darius D. [mailto:darius@gmail.com]
> Subject: Re: Performance for many small requests
> in my opinion using 64bit JVM with such a small
> heap is only needed if performance testing shows
> gains versus 32bit JVM.
The main advantage of using a 64-bit JVM is the increased number of re
> > You need to add a line in in your form:
> >
> >
> > Then in your servlet GetPost() method you put this filename in a
> > variable:
> > String filename;
> > filename = req.getParameter("filename");
> >
> > Then instead of part.write("samplefile");
> > do:
> > part.write(filename);
>
Letting th
2011/9/2 Mabry Tyson :
> Summary: When requiring form authentication, Tomcat responds to an
> unauthenticated GET request with a HTTP status code of 200 (OK) and the
> login page.
> I believe that to be in violation of the HTTP standards.
>
> The problem: Software makes a GET request to a web serv
2011/9/3 throwsCode :
>
I do not quite understand you.
> I'm trying to implement PHP on tomcat 7.0.20 with no luck. Does anyone know
> how I can tell whether the CGIServlet is running?
>
> I uncommented all of the sections indicated in the Tomcat document.
What sections?
What document did you
Some good advice in this thread already, but given the power of server there
should be no problem serving even more requests ( as long as they are small,
not bound by CPU or I/O).
I'd start looking at JVM GC properties.
Turn on gc logging with
-Xloggc:/someplace/gclog_tomcat.txt -XX:+PrintGCDe
Hi,
> -Original Message-
> From: Jonathan Soons [mailto:jso...@juilliard.edu]
> Sent: Saturday, September 03, 2011 2:24 PM
> To: Ole Ersoy; Tomcat Users List
> Subject: RE: Servlet 3.0 File Upload
>
> You need to add a line in in your form:
>
>
> Then in your servlet GetPost() method yo
Thanks Hassan:
I could use all the luck I can get. I was on NetBeans a couple years back
but had to bail when they pretty much abandoned web developers. Oracle put
the nail in the coffin but it all began with the killing of Woodstock and
the Visual Development Environment and that is on Sun.
You need to add a line in in your form:
Then in your servlet GetPost() method you put this filename in a variable:
String filename;
filename = req.getParameter("filename");
Then instead of part.write("samplefile");
do:
part.write(filename);
Jonathan Soons
___
Hello Talha,
On Fri, Sep 2, 2011 at 11:34 PM, Talha Fazal wrote:
> Q. Have you tried running directly against tomcat without apache inbetween?
> A. Yes; this resolves the performance bottleneck.
Than its pretty clear where to search, isn't it?
>
> Q. from my experience there is no need for apac
Hello Christopher,
On Fri, Sep 2, 2011 at 11:52 PM, Christopher Schultz
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Leon,
>
> On 9/2/2011 4:19 PM, Leon Rosenberg wrote:
>> from my experience there is no need for apache in your
>> setup anyway .
>
> Uh, load-balancing?
Aeh... load
35 matches
Mail list logo