hi folks,
I am running tomcat 5.5.26 , openJDK 64BIT 1.6.0-b09 , CentoOS 5.5 64bit
, my site is request pattern is high and short req/s , I have a load
balancer in-front of my tomcat servers , the load balancer uses a Curl
simple http request to the tomcat connector on port 8080 (simple http ge
On 11/03/2011 04:50, Bob Hall wrote:
>
> --- On Thu, 3/10/11 at 8:43 PM, Jess Holle wrote:
>
Yes, both Java 6 Update 24.
>>> Just to verify, are both instances Tomcat running in
>> the same JVM mode (-client or -server)? (That
>> shouldn't affect the .class file size, but just
>> checking.
On 11/03/2011 08:23, Kobi Biton wrote:
> So my question is how can I troubleshoot the issue further ?
I'd start by taking a thread dump to see what is going on.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
Hello everybody,
I am new to Tomcat and more detailed help would be more valuable to me.
I am trying to use Ant to reload a tomcat application. I write the build.xml
file based on "Managing Applications with Ant" section of the "Professional
Apache Tomcat" book.
If it helps I am using: Fedora
hi mark,
Thanks the reply since I am the Operation guy not sure what you mean by
thread dump ? jstack it is ? or other method?
Kobi.
On Fri, Mar 11, 2011 at 11:24 AM, Mark Thomas wrote:
> On 11/03/2011 08:23, Kobi Biton wrote:
>
> > So my question is how can I troubleshoot the issue further
On 3/11/2011 3:22 AM, Mark Thomas wrote:
The obvious difference is that Tomcat 6 compilation targets Java 5
whereas Tomcat 7 targets Java 6. For a simple test JSP:
Tomcat 6 (1.5) - 3,488
Tomcat 7 (1.5) - 3,530 +1%
Tomcat 7 (1.6) - 3,668 +6%
The 1% will be a combination of:
- Tomcat 7 uses versio
Hi,
https://issues.apache.org/bugzilla/show_bug.cgi?id=47502
Because this issue is fixed I re-enabled using the security-constraint in
web.xml to protect some pages in stead of using my own workaround. But now I
get a somewhat similar exception.
This is running Tomcat 6.0.32 (directly from yo
> From: Kobi Biton [mailto:comns.k...@gmail.com]
> Subject: Re: tomcat http connector errors
> since I am the Operation guy not sure what you mean by
> thread dump ? jstack it is ? or other method?
jstack will work.
http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running
I should also mention that I'm doing Servlet 3.0 async requests:
AsyncContext context= req.startAsync();
...
context.complete();
I've also tried using AJP instead of HTTP between tomcat and nginx, and I see
similar behaviour; tomcat doesn't terminate the reply when using APR.
Anyone have any ide
Hello everybody,
I am new to Tomcat and more detailed help would be more valuable to me.
I am trying to use Ant to reload a tomcat application. I write the build.xml
file based on "Managing Applications with Ant" section of the "Professional
Apache Tomcat" book.
If it helps I am using: Fedora
I have similar experience,
Tomcat 6.0.30 is deleting my ROOT.xml inside conf directory.
As Mark said here, it's because of the autoDeploy, BUT WHY
it is like that ? I have 2 constraints:
1. ROOT.xml is important, it contains the Context for the webapp (and it cannot
be inside war !!)
2. I need a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
On 3/10/2011 12:37 PM, Chris wrote:
> As I mentioned below, the "0\r\n\r\n" was not being sent to nginx, although
> it was being sent to curl. The difference was that nginx was doing a GET
> HTTP/1.0, while curl was using HTTP/1.1. If I conf
Thanks for the detailed answers.
I should find another solution.
Nikko.
2011/3/9 Ognjen Blagojevic
> Nikko,
>
>
> On 9.3.2011 8:26, Nikko Nikko wrote:
>
>> Thanks for the answers! I have one IP and wildcard certificate which I
>> signed using local CA. I want to have different trust stores f
Borut,
your instructions were spot on. I was able to track down my docBase
folder (it was specified in $TOMCAT_HOME/conf/servlet.xml ,
and I verified that it's the correct location by adding some context
parameters to the web.xml in my docBase, and then retrieving them from
a JSP.
Now I have anot
1. Yes, tomcat is sending the header: "Transfer-Encoding: chunked"
2. I've also tried using close() instead of flush() and I've seen the same
chunked encoding.
3. The nginx reverse proxying with the HttpProxyModule only supports HTTP/1.0
according to the "Synopsis" section here: http://wiki.nginx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nikko,
On 3/9/2011 2:26 AM, Nikko Nikko wrote:
> Thanks for the answers! I have one IP and wildcard certificate which
> I signed using local CA. I want to have different trust stores for
> client certificate authorization. It is a small PoC/demo and
Hi folks
I am looking information on how to extend the tomcat chunked encoding
functionality.
>From looking at the code I have found ChunkedInputFilter.java and
ChunkedOutputFilter.java, these appear to be the filters responsible.
From what I can see they are invoked depending on whether the re
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marseldi,
On 3/11/2011 9:27 AM, Marseld Dedgjonaj wrote:
> I am new to Tomcat and more detailed help would be more valuable to me.
Welcome.
> I am trying to use Ant to reload a tomcat application. I write the build.xml
> file based on "Managing Appl
Do not put anything in $TOMCAT_HOME/conf/web.xml - leave that file as
it is when you unpack a fresh Tomcat distribution.
Why the servlet is not being loaded? - not 100% about this, but I
would first check if it is maybe being lazy loaded/initialized. After
your tomcat starts up, try to browse htt
Thank you Christopher.
I will read your suggestion and try to run "ant reload" again.
I am using Tomcat 6.
And the whole error is this:
Adding reference: ant.PropertyHelper
Detected Java version: 1.6 in: /usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre
Detected OS: Linux
Adding reference: ant.ComponentH
> Setting project property: url -> http://localhost:8080/manager/html
And there is the problem. You want:
http://localhost:8080/manager/
not
http://localhost:8080/manager/html
when working with Ant.
Mark
-
To unsubscribe, e-mail
The Apache Tomcat team announces the immediate availability of Apache
Tomcat 7.0.11
Apache Tomcat 7.0.11 is primarily a security fix release with a small
number of additional bug fixes compared to 7.0.10.
Please refer to the change log for the list of changes:
http://tomcat.apache.org/tomcat-7.0-
Thank you very mutch.
I have tried it before with http://localhost:8080/manager but I was missing a
"/"
You guys helped me a lot.
Best regards,
Marseld
Gjeni Punë
të Mirë dhe të Mirë për Punë...
Vizitoni: http://www.punaime.al/";>www.punaime.al
http://www.punaime.al/";>http://www.ikub.
Hi,
I had just spent the whole day upgrading from Tomcat 6.0.X to 7.0.10 and
finished doing it, when I received the news about a vulnerability not solved
in that version, and the need to release vr.7.0.11.
I wouldn't like to uninstall the whole software and install 7.0.11 from
scratch. I would lik
> From: Brian Braun [mailto:brianbr...@gmail.com]
> Subject: Fastest way to upgrade from 7.0.10 to 7.0.11?
> I wouldn't like to uninstall the whole software and install 7.0.11 from
> scratch. I would like to stop it, replace some files (some JARs, I guess),
> and start it again.
Wrong approach.
On 11/03/2011 17:21, Caldarale, Charles R wrote:
>> From: Brian Braun [mailto:brianbr...@gmail.com]
>> Subject: Fastest way to upgrade from 7.0.10 to 7.0.11?
>
>> I wouldn't like to uninstall the whole software and install 7.0.11 from
>> scratch. I would like to stop it, replace some files (some
Tomcat 7.0.6 (soon to upgrade to 7.0.latest)
Fedora 11
JDK 1.6.0_23
We are not using virtual hosts for our tomcat instances, but in some cases run
more than one instance on a machine (listening on different ports). We follow
the typical pattern of a single CATALINA_HOME with distinct CATALINA
> From: Jason Pringle [mailto:jason.prin...@amdocs.com]
> Subject: Typical setting for
> What are the advantages or requirements (if any) for using a
> value other than localhost, if not using virtual hosts?
None whatsoever. The character string "localhost" here has nothing to do with
the IP
On 11/03/2011 18:07, Jason Pringle wrote:
> What are the advantages or requirements (if any) for using a value other than
> localhost, if not using virtual hosts? And if I read the docs correctly, any
> value used must be either a valid IP or resolvable via DNS?
You can call it DefaultHost if y
Hi Mark,
could you remember to release the maven artifacts, I've seen the last
version released was 7.0.8.
Thank you!
On Fri, Mar 11, 2011 at 4:59 PM, Mark Thomas wrote:
> The Apache Tomcat team announces the immediate availability of Apache
> Tomcat 7.0.11
>
> Apache Tomcat 7.0.11 is primaril
*$ kill -3 PID* also will print a Thread Dump on your *catalina.out*
On Fri, Mar 11, 2011 at 7:47 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Kobi Biton [mailto:comns.k...@gmail.com]
> > Subject: Re: tomcat http connector errors
>
> > since I am the Operation guy not s
> From: Ashish Kumar Dash [mailto:dashashishku...@gmail.com]
> Subject: Re: tomcat http connector errors
> $ kill -3 PID also will print a Thread Dump on your catalina.out
As mentioned in the previously posted FAQ reference.
> http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of
How might I expect the performance of 7 to compare to a late rev of 5.5
or 6.0.x, running under JRE 6? Specifically, my application has lots of
small, simple requests, and the app does nothing but de-obfuscate (it's
not really sophisticated enough to call it encryption) the data and save
it to
Try updating your JVM to the latest version. Seems like this is a bug
that was recently fixed.
http://download.java.net/jdk6/6u25/promoted/b01/changes/JDK6u25.b01.list.html
Issue: 7009268
3-Medium Defect PPC: guarantee(middle - slop \> start) failed: need
enough space to divide up
-Jordan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 3/11/2011 3:02 PM, David kerber wrote:
> How might I expect the performance of 7 to compare to a late rev of 5.5
> or 6.0.x, running under JRE 6? Specifically, my application has lots of
> small, simple requests, and the app does nothing bu
Hi David,
I recently ran performance tests against version 7 and during that whole
process
discovered at best for a single instance of Tomcat 7 running on a 6 core AMD
2.8Ghz processor the best I could get running the client on the server and
using
loopback network (Localhost) was around 32K
Chris wrote:
1. Yes, tomcat is sending the header: "Transfer-Encoding: chunked"
2. I've also tried using close() instead of flush() and I've seen the same
chunked encoding.
3. The nginx reverse proxying with the HttpProxyModule only supports HTTP/1.0 according
to the "Synopsis" section here: ht
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
On 3/11/2011 10:19 AM, Chris wrote:
> 1. Yes, tomcat is sending the header: "Transfer-Encoding: chunked"
Okay. Does that happen even for HTTP 1.0? Is so, that looks like a spec
violation to me.
> 2. I've also tried using close() instead of fl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 3/11/2011 4:45 PM, André Warnier wrote:
> Chris wrote:
>> 1. Yes, tomcat is sending the header: "Transfer-Encoding: chunked"
>> 2. I've also tried using close() instead of flush() and I've seen the
>> same chunked encoding.
>> 3. The nginx r
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jess,
On 3/11/2011 7:04 AM, Jess Holle wrote:
> On 3/11/2011 3:22 AM, Mark Thomas wrote:
>> The obvious difference is that Tomcat 6 compilation targets Java 5
>> whereas Tomcat 7 targets Java 6. For a simple test JSP:
>> Tomcat 6 (1.5) - 3,488
>> Tomc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ashish,
On 3/10/2011 6:52 AM, Ashish Kumar Dash wrote:
> Hi Friends,
> Did any one met *StackOverFlowError *in Tomcat 6.0.29.
> Please follow the bug Link : *
> https://issues.apache.org/bugzilla/show_bug.cgi?id=50883*
>
> Seeking for y
On 3/11/2011 4:25 PM, Christopher Schultz wrote:
I'm interested in how you were able to do this. The 65k limitation is
for a single method, not the entire JSP. Yes, JSPs compile into a single
jspService method but when taglibs are used, each use generates its own
method which then gets called and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 3/10/2011 2:11 PM, Caldarale, Charles R wrote:
>> From: Ari King [mailto:ari.brandeis.k...@gmail.com]
>> Subject: Options for setting context path
>
>> What options do I have for setting the context path, aside
>> from naming the war file
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian,
On 3/9/2011 3:42 PM, Brian Braun wrote:
> Actually, I had already unzipped my .war file and inspected every file
> inside, and arrived to that conclution: The only place where the TLD files
> are also present is the JARs that correspond to Stru
-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.
-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
TC6 AnnotationProcessor has been replaced completely by Marks new
InstanceManager class for TC7
without the refactor your struts embedded-jsp-plugin will gack in TC7
I've refactored struts2 embedded-plugin src to work with marks code..collecting
annotations from Fields from the servlet paramete
Borut,
thanks again. You were correct, it was lazy initialization. Pretty
much at this point I got the spring part working.
I've encountered yet another issue with mapping requests from apache2
web server to tomcat. It seems to have something to do with SSL, as I
don't have this issue for http.
48 matches
Mail list logo