like this: http://www.opensymphony.com/oscache/ ?
Am 30.05.2009 um 21:51 schrieb Andre-John Mas:
Hi,
Much of the content on the site which I am in the process will be
semi-static, and I want to be able to cache the rendered pages to
reduce database hits. To explain:
A given page will
> From: R Ravichandran [mailto:ravirajami...@gmail.com]
> Subject: Replacing the default ROOT application
> _ In the server.xml file, I created a special
> element under the element.
Assuming you're using a current version of Tomcat (you didn't bother to tell
us), you should not be placing
Hello,
I would like to deploy a Spring MVC application that I developed as the ROOT
application on Tomcat. I also configured the Tomcat server to run on port
80. My Spring application has JNDI references to Java mail sessions. I am
unable to figure out how to get this configured. Here is what I di
Already answered in this thread here:
http://www.nabble.com/Re%3A-User-tracking-monitoring-p23792941.html
-Tim
Chetan Chheda wrote:
I had to add
<%= request.getSession().getId()%>
for it to display the sessionId.
Tim,
Can you elaborate on what the side effects would be to display the f
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Debian Tomcat Fail
>
> > i = 0;
> > len = 0;
> >
> > while((i = is.read(raw)) != -1) {
> >
> > }
>
> That's an interesting idiom. I had
Hi all,
I have been trying to use a custom JAASRealm loginmodule in my code and running
into exception or 403 access denied error message. I have searched for an
answer in the Tomcat FAQ, on the net using general google search, searched the
bugs list. But did not get an exact answer to the pro
Thanks Chris. I don't doubt this is sloppy, but I was able to change around
some things and get this working properly. I appreciate the help.
--
View this message in context:
http://www.nabble.com/Debian-Tomcat-Fail-tp23734947p23823034.html
Sent from the Tomcat - User mailing list archive at N
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
TS,
On 6/1/2009 3:15 PM, trojansnake12 wrote:
> Basically, what I am sending to the server is a byte array that is a picture
> taken from a cell-phone camera. My client-side code looks like this:
>
> url = new URL(urlString);
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Arvind,
On 6/1/2009 3:26 PM, S Arvind wrote:
> Is there any possibility to mention max time a query can execute from DBCP
> side?
What do you want to happen after the timeout? The connection execute*
method throws an exception? That is going to be ve
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
George,
On 6/1/2009 2:11 PM, George Sexton wrote:
>
>
> Christopher Schultz wrote:
>>
>>> If you use something
>>> like one of the ISO encodings then you're tied to English
>>>
>>
>> Don't tell that to anyone who speaks Bosnian, Croatian, Czech
DBCP specifies 60 secs before recycling the connection
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
hth!
Martin
"Everything comes to him who hustles while he waits" - edison
__
Verzicht und Vertraulichkeitanmerkung/Not
agree..languages are much easier on the western side of the oder-niesse rivers
http://www.nytimes.com/2007/12/20/world/europe/20border.html
(still looking for a polish translator)
Martin Gainty
__
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und
Ve
Is there anyother way to specify the query execution time out while
establishing connection with the help of DBCP in tomcat?
-Arvind S
On Tue, Jun 2, 2009 at 12:56 AM, S Arvind wrote:
> Is there any possibility to mention max time a query can execute from DBCP
> side? our DB is Postgres and Cont
I had to add
<%= request.getSession().getId()%>
for it to display the sessionId.
Tim,
Can you elaborate on what the side effects would be to display the full
sessionId as compared to just the session route?
Chetan
From: Tim Funk
To: Tomcat Users Lis
Is there any possibility to mention max time a query can execute from DBCP
side? our DB is Postgres and Container is tomcat 6. i dont want to give the
timeout in postgres but need to set in application side based on differnet
needs? Is it possible?
-Arvind S
"Many of lifes failure are people wh
Basically, what I am sending to the server is a byte array that is a picture
taken from a cell-phone camera. My client-side code looks like this:
url = new URL(urlString);
connection = (HttpURLConnection) url.openConnection();
Christopher Schultz wrote:
If you use something
like one of the ISO encodings then you're tied to English
Don't tell that to anyone who speaks Bosnian, Croatian, Czech,
Hungarian, Polish, Romanian, Serbian, Slovak, Slovenian, Upper Sorbian,
Lower Sorbian, Finnish, Danish, German, Frenc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
George,
On 5/30/2009 10:55 AM, George Sexton wrote:
> Christopher Schultz wrote:
>> On 5/28/2009 3:59 PM, George Sexton wrote:
>>
>>> The issue is the default character set for Java. I've noticed that at
>>> least at one point in time, the default c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bill,
On 5/30/2009 12:43 AM, Bill Barker wrote:
> "Christopher Schultz" wrote in message
>
>> Adding the APR library will give you a significant performance
>> improvement even with the plain-old HTTP connector. It might be worth
>> installing APR a
On 01.06.2009 18:30, CrystalCracker wrote:
> Ok.. adding some info to mod jk logs and doing some thread and heap dumps, I
> figured that, during peak traffic hours, the garbage collection gets more
> frequest and takes longer. This slows down the overall system and the
> threads start piling up. Re
Ok.. adding some info to mod jk logs and doing some thread and heap dumps, I
figured that, during peak traffic hours, the garbage collection gets more
frequest and takes longer. This slows down the overall system and the
threads start piling up. Requests that used to take 2 seconds now take a
coup
The snippet I post was the snippet. (if you are using jsp) But it can
have security side effects. A safer snippet might be this:
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"; prefix="fn" %>
${(fn:split(pageContext.session.id,
'.')[fn:length(fn:split(pageContext.session.id, '.'))-1]
Thanks Tim and Chuck.
Tim,
Is this something a novice programmer like me can add to our Footer.jsp file?
Can you add your recommendation to a code snippet , I would really appreciate
it.
Chuck,
Can you tell me more about 2? How would the sessionId be displayed in the page
with that meth
> From: David kerber [mailto:dcker...@verizon.net]
> CrystalCracker wrote:
> > How many such concurrent request would a tomcat server
> > running on a double quad-core server handle?
> >
> At least 8 (1 per core), but that's about all you can tell without
> finding where the bottlenecks are.
If I
CrystalCracker wrote:
Given that each request takes 2 seconds on average. Among them, some of them
take less than 500ms, and some take as long as 5 seconds or even a little
more sometimes.
How many such concurrent request would a tomcat server running on a double
quad-core server handle?
At
> From: Frank W. Zammetti [mailto:fzli...@omnytex.com]
> Subject: Re: Blank page when native DLL used
> 32-bit, and I re-confirmed I have the right download (which seems
> obvious anyway given that Tomcat picks it up and starts running
> with it, but you never know).
You didn't happen to disable
> From: CrystalCracker [mailto:sudarshan.acha...@gmail.com]
> The 5 seconds calls are all database or webservice calls. So
> they all go to waiting state.
OK. So the bottleneck almost certainly isn't Tomcat.
> I did some load tests using JMeter, but I had problems coming to a
> conclusion with t
The 5 seconds calls are all database or webservice calls. So they all go to
waiting state.
I did some load tests using JMeter, but I had problems coming to a
conclusion with the data. What should I look for exactly? Because as I
increase the no of concurrent requests, the app starts responding sl
> From: CrystalCracker [mailto:sudarshan.acha...@gmail.com]
> Given that each request takes 2 seconds on average. Among
> them, some of them
> take less than 500ms, and some take as long as 5 seconds or
> even a little more sometimes.
>
> How many such concurrent request would a tomcat server
> ru
Given that each request takes 2 seconds on average. Among them, some of them
take less than 500ms, and some take as long as 5 seconds or even a little
more sometimes.
How many such concurrent request would a tomcat server running on a double
quad-core server handle?
I am trying to understand th
Oops, on 3) I should have said I was using the APR, but for HTTP only,
not HTTPS.
I was thinking AJP for some reason.
-Original Message-
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
Sent: Friday, May 29, 2009 5:53 PM
To: Tomcat Users List
Subject: RE: Windows x64 Installer
1
On Mon, Jun 1, 2009 at 2:12 PM, Robert Koberg wrote:
> No. It is not in the chain, well, not in the runtime chain/pipeline. It is
> generated before you even put it on the live server.
>
> -Rob
I am not judging your solution, just saying that there are not general
rules except for one:
measure wh
MG>hopefully brief comments
> From: r...@koberg.com
> To: users@tomcat.apache.org
> Subject: Re: Caching rendered page - reducing hits to the backend?
> Date: Mon, 1 Jun 2009 07:37:56 -0400
>
>
> On Jun 1, 2009, at 7:12 AM, Tim Funk wrote:
>
> > Worrying is good. Making sure you have metrics i
On Jun 1, 2009, at 8:08 AM, Leon Rosenberg wrote:
On Mon, Jun 1, 2009 at 1:37 PM, Robert Koberg wrote:
On Jun 1, 2009, at 7:12 AM, Tim Funk wrote:
The key is making sure you have the ability to log how long differnt
things take. (And the ability to turn them on or off) Otherwise
you are
On Mon, Jun 1, 2009 at 1:37 PM, Robert Koberg wrote:
>
> On Jun 1, 2009, at 7:12 AM, Tim Funk wrote:
>> The key is making sure you have the ability to log how long differnt
>> things take. (And the ability to turn them on or off) Otherwise you are
>> flying blind.
>
> I think you can generally sa
On Jun 1, 2009, at 7:12 AM, Tim Funk wrote:
Worrying is good. Making sure you have metrics is better. You can
cache lots of different items such as
- stuff from the database
- parts of a rendered page
- the entire page
- any combination of above
But it really depends on where the bottlenecks
Worrying is good. Making sure you have metrics is better. You can cache
lots of different items such as
- stuff from the database
- parts of a rendered page
- the entire page
- any combination of above
But it really depends on where the bottlenecks are as you scale. Even if
the DB has a few mil
Hello,
I have done everything as a do for the initial creating of certificate but it
doesn´t works.
First If i try to import the new X.509 cert into the Keystore (with the
existing SSL cert for tomcat) there is an error like the public key doesn´t
match the keystore.
If i remove all certs from
Hi Abdul.
Can you write exactly what you changed to make it work ?
It would help for future similar cases, if there were some tips
available in the mailing list.
(Particularly what was /not/ the problem).
Thanks.
abdul razack wrote:
Hi,
Please accept my appreciation for responding my que
39 matches
Mail list logo