Have you already measured the performance of your application and
determined that caching the rendered pages is the appropriate thing to
do - ie how have you determined that database access is the bottleneck?
If not, caching page content may just hide a multitude of performance
related sins.
On 2-Jun-2009, at 04:37, Pid wrote:
Have you already measured the performance of your application and
determined that caching the rendered pages is the appropriate thing to
do - ie how have you determined that database access is the
bottleneck?
If not, caching page content may just hide a
From: Andre-John Mas [mailto:aj...@sympatico.ca]
I think I may end up simply ensuring that the database has
enough memory and slowly evaluate where the bottle necks are.
It's often the best approach. You can spend a lot of time optimising places
that turn out not to be the bottleneck. You
Hi. I'm using client certificates in certain parts of my webapp. When I
was using mod_proxy_ajp I could retrieve the client certificates from a
request attribute:
request.getAttribute(javax.servlet.request.X509Certificate);
But now I've switched to mod_jk and I always get null. This is my
OK, problem solved. I added
SSLOptions +ExportCertData
and now it's working again.
Regards,
Diego
Diego Manilla Suárez escribió:
Hi. I'm using client certificates in certain parts of my webapp. When
I was using mod_proxy_ajp I could retrieve the client certificates
from a request attribute:
Bill Barker wrote:
!-- JMX Support for the Tomcat server. Documentation at
/docs/non-existent.html --
Listener className=org.apache.catalina.mbeans.ServerLifecycleListener
/
This looks like it is left over from the admin webapp (RIP). It doesn't
look like it does anything particularly
Hi Martin Chris,
Thing i actually need is, if a query executed from web application then it
shold not execute more then 22mins. If it execute more then that means query
shold be cancelled from postgres and java should get exception on this
event. Is it possible?
Thanks,
Arvind S
*
Many of
Hi,
is it possible to update server.xml with out restart?
thanks,
Lars
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
From: Lars Nielsen Lind [mailto:lan...@tidtilforandring.dk]
is it possible to update server.xml with out restart?
You can edit the file, but Tomcat will not notice the new configuration until
you restart Tomcat.
What do you want to do? There may be other ways to achieve your goal.
S Arvind wrote:
Hi Martin Chris,
Thing i actually need is, if a query executed from web application then it
shold not execute more then 22mins. If it execute more then that means query
shold be cancelled from postgres and java should get exception on this
event. Is it possible?
If a) your
Hello All
I have a clustered/load-balanced Apache httpd and Tomcat setup. I have one
httpd front end that load balances for two Tomcat back ends. I now want to add
SSL to the mix but I am confused. Do I add the SSL to the httpd server, to the
two Tomcat servers, or to all of them?
Thank
Hello,
If your web and application servers are on a secure LAN then this would be
better technique if you will add SSL on httpd rather then on all of them,
your communication will be over ssl from the client to web server and vice
versa.
Best Regards,
Zeeshan Ahmad.
P Save a tree...pls don't
From: Alston, Brian (US SSA) [mailto:brian.als...@baesystems.com]
I have a clustered/load-balanced Apache httpd and Tomcat
setup. I have one httpd front end that load balances for two
Tomcat back ends. I now want to add SSL to the mix but I am
confused. Do I add the SSL to the httpd
Hi,
Thank you for reading and replying. Can I assume from your reply that if I
am not on a secure LAN that I should SSL httpd and both Tomcat servers?
Thank You
From: Zeeshan Ahmad [zah...@i2cinc.com]
Sent: Tuesday, June 02, 2009 9:15 AM
To: 'Tomcat
Hi,
Thank you for reading and replying. Can I assume from your reply that if I
am not on a secure LAN that I should SSL httpd and both Tomcat servers?
It depends, is your tomcat accessible directly instead of through httpd?
HTH
Regards,
Serge Fonville
From: Alston, Brian (US SSA) [mailto:brian.als...@baesystems.com]
Thank you for reading and replying. Can I assume from
your reply that if I am not on a secure LAN that I should SSL
httpd and both Tomcat servers?
SSL between httpd and Tomcat will protect the channel between httpd and
Dear users,
I have installed tomcat on a Debian Etch-System via
apt-get install tomcat5.5 tomcat5.5-admin tomcat5.5-webapps
and started it with /etc/init.d/tomcat start
Now I would like to test if it runs on my remote server, but if I type:
http://www.myhomepage.de:8180
nothing at all
if your tomcats are accessible from out side world then, you have to add ssl
on Tomcats as well otherwise its ok and there should be some security (e.g
Firewall) on the network level, thanks.
Best Regards,
Zeeshan Ahmad.
Associate Manager SCM.
P Save a tree...pls don't print this e-mail unless
From: Kai Behncke [mailto:kai-behn...@gmx.de]
I have installed tomcat on a Debian Etch-System via
apt-get install tomcat5.5 tomcat5.5-admin tomcat5.5-webapps
and started it with /etc/init.d/tomcat start
Now I would like to test if it runs on my remote server, but
if I type:
All
Well ... I believe I have my answer. Thank you all very much for reading
and replying.
Have a good day
From: Zeeshan Ahmad [zah...@i2cinc.com]
Sent: Tuesday, June 02, 2009 10:05 AM
To: 'Tomcat Users List'
Subject: RE: Which Do I SSL - httpd or
Peter Crowther:
From: Kai Behncke [mailto:kai-behn...@gmx.de]
I have installed tomcat on a Debian Etch-System via
http://www.myhomepage.de:8180
nothing at all appears?
Unless Debian changes Tomcat's configuration a lot, the default port is port
8080, not 8180. Try that?
IIRC Debian
test locally e.g.
http://localhost:PORT
port attribute defined in http connector in server.xml
please display $TOMCAT_HOME/conf/server.xml
viel gluck,
Martin
__
Verzicht und Vertraulichkeitanmerkung
Diese Nachricht ist vertraulich. Sollten Sie
Brian
if you're running TC standalone (without Apache or any other webserver FE)
an excellent tutorial on implementing SSL in TC available to read at
http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
Q:does outside world assume outside the uk?
Martin Gainty
What I have is 3 virtual servers (VMWare - Windows Server 2003). One
server has Apache httpd v2.2.11 and two other servers running Apache Tomcat
v6.0.18. The Tomcat servers are independently accessible from outside of the
httpd server; so, I assume that I will need to place SSL on all
On Tue, Jun 2, 2009 at 8:46 AM, Kai Behncke kai-behn...@gmx.de wrote:
Dear users,
I have installed tomcat on a Debian Etch-System via
apt-get install tomcat5.5 tomcat5.5-admin tomcat5.5-webapps
and started it with /etc/init.d/tomcat start
Now I would like to test if it runs on my remote
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
流水音,
On 6/1/2009 1:55 AM, 流水音 wrote:
when the maxcount() returns 15, the exception is thrown out before the
first buffer is flushed, then client can get the response code of: 605
but when the maxcount() returns 9, the exception is thrown out
On May 29, 2009, at 7:15 PM, Markus Schönhaber wrote:
János Löbb:
Because the electron has resting mess, it will never go with speed of
light. The info by the way is not supplied by the electron, but
rather with electromagnetic waves around the wire who have no resting
mess,
Oh, what a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jukka,
On 5/19/2009 7:58 AM, Jukka Raanamo wrote:
I was trying to create a Filter that generates the some content as files (if
required) into the file system and lets the default servlet handle the rest.
Interesting idea.
However I noticed that
I implemented a servlet and deployed it in Tomcat 6.0. The servlet is
secured using Tomcat authentication mechanism which reads user credentials
from the conf/users.xml file.
We have a customer who would like to put a link on a web page (hosted by
their server) which will invoke the servlet
On Tue, Jun 2, 2009 at 10:22 AM, Alec Swan alecs...@gmail.com wrote:
We would also like to continue using the existing authentication mechanism.
So, the question is how can we ... allow authentication to happen
without requiring the end-user to type in the user name and password?
Your goals
I have a Tomcat install that is working okay but going through the
isapi_redirect it gets a bad gateway error. The isapi.log has errors
that says it cannot connect to tomcat, tomcat is down or refused
connection. Any ideas??
--
View this message in context:
I'm looking for a good general purpose template engine to use with
various Java projects, not just web projects. Is it possible to use
Jasper outside of a servlet engine?
Mitch
-
To unsubscribe, e-mail:
A better fit is Velocity or Freemarker for templating outside of a web
environment.
-Tim
Mitch Claborn wrote:
I'm looking for a good general purpose template engine to use with
various Java projects, not just web projects. Is it possible to use
Jasper outside of a servlet engine?
Hassan, I don't think that the goals are contradictory, because each goal
applies to its own group of users: our customer users and everybody else.
Customer users should not have to enter user name and password, but
everybody else should.
Also, in general it is possible to authenticate a user
On Tue, Jun 2, 2009 at 11:03 AM, Alec Swan alecs...@gmail.com wrote:
Hassan, I don't think that the goals are contradictory, because each goal
applies to its own group of users: our customer users and everybody else.
Customer users should not have to enter user name and password, but
everybody
Unfortunately I'm not seeing that. What I did was start both Tomcats in
my LB pair, start Apache, then I take the second Tomcat down to see if
it will detect it being failed.
Unfortunately it never seems to, it just shows the second as OK/IDLE,
and happily directs all requests to the first.
I use some custom annotations in backing beans in my application. They works
fine as long as the attribute metadata-complete in web.xml is set to false.
However, when I set it to true, I get the following exception when JSF is
trying to create an instance of the backing bean:
What you could do is tail -f mod_jk.log file. Then take down the tomcat, see if
the errors appear. You should see something like the following.
Good Entries to Track
Attempting to map context URI '/search-engine*'
ajp_unmarshal_response::jk_ajp_common.c (621): status = 302
Maintaining worker
On 02.06.2009 19:42, dljohnson69 wrote:
I have a Tomcat install that is working okay but going through the
isapi_redirect it gets a bad gateway error. The isapi.log has errors
that says it cannot connect to tomcat, tomcat is down or refused
connection. Any ideas??
Bad gateway plus log
I'm not seeing anything like that. I just took both Tomcats down, I
instantly get the 503 from Apache when I try to load the application.
However tailing the mod_jk.log, I just see entries like this:
[Tue Jun 02 12:36:23 2009] jkstatus www.innatedb.ca 0.000360
[Tue Jun 02 12:36:26 2009]
On 02.06.2009 20:53, Matthew Laird wrote:
Unfortunately I'm not seeing that. What I did was start both Tomcats in
my LB pair, start Apache, then I take the second Tomcat down to see if
it will detect it being failed.
Unfortunately it never seems to, it just shows the second as OK/IDLE,
and
On 02.06.2009 21:40, Matthew Laird wrote:
I'm not seeing anything like that. I just took both Tomcats down, I
instantly get the 503 from Apache when I try to load the application.
Assuming that there is no mod_proxy in the game. When there is a 503,
you will have [error] log lines in the JK
Rainer Jung wrote:
Assuming that you did refresh the jkstatus display: what is your test
client? The fact that you see OK/IDLE, but all requests go to the other
node indicates, that you are using requests with associated session, so
the balancer is not allowed to send them to the other node
Cool, maybe you can help more than the log files then. Are you referring to
the configuration of the workers.properties and/or the uriworkermap files or
is there something else that could be involved as well? I just started with
a basic setup as instructed by some sites. Here is what I have,
I may not be explaining it clearly.
We have one corporate customer who is putting a link to our servlet on their
intranet web page. Therefore, we know the domain name of the users who need
custom authentication. We can also tell the customer to put whatever we need
in the link, such as HTTP
I assume you are using the latest version 1.2.28. That makes things
easier to discuss.
On 02.06.2009 21:53, dljohnson69 wrote:
Cool, maybe you can help more than the log files then. Are you referring to
the configuration of the workers.properties and/or the uriworkermap files or
is there
On 02.06.2009 21:46, Matthew Laird wrote:
Rainer Jung wrote:
Assuming that you did refresh the jkstatus display: what is your test
client? The fact that you see OK/IDLE, but all requests go to the other
node indicates, that you are using requests with associated session, so
the balancer
Below is the config that I have and this works.
I have looked at your workers.properties file. There are few entries that I am
not sure of.
So I would suggest trying to simplify your config until you get a functional
system. Once you reach that stage, then you can add more complication to it
Alec, so basically members of your client company should be able to have
direct access to a servlet that is otherwise restricted to a handful of
users who must authenicate themselves with a username/password login, right?
One solution to this situation would be to create a simple servlet that
On Tue, Jun 2, 2009 at 1:01 PM, Alec Swan alecs...@gmail.com wrote:
We have one corporate customer who is putting a link to our servlet on their
intranet web page. Therefore, we know the domain name of the users who need
custom authentication.
Seems iffy -- none of these users will ever be
Eureka
I figured this out!!
First, on 3) below. The reason it worked was that Tomcat just ignored
the 32-bit APR library. Acted as though it wasn't there. Once I set up
an HTTPS connector, I noticed this because the error came back that it
couldn't find .keystore file.
Now the reason why
Actually I am still on 1.2.27 but am willing to update, just cannot find a
compiled download of the 1.2.28 dll.
However, I made those changes and now there are no errors in the isapi.log
but the browser errors with service temporary unavailable. When I check
the logs I get All Tomcat instances
I am having a hell of a time trying to deploy an app I wrote in JDeveloper on
tomcat. I put the war file under the webapps directory and when I start
tomcat is creates a folder for it but I get some errors messages.
Starting service Tomcat-Standalone
Apache Tomcat/4.0.1
PARSE error at line 1
On 02.06.2009 23:30, dljohnson69 wrote:
Actually I am still on 1.2.27 but am willing to update, just cannot find a
compiled download of the 1.2.28 dll.
http://tomcat.apache.org/download-connectors.cgi
However, I made those changes and now there are no errors in the isapi.log
but the browser
On Tue, Jun 2, 2009 at 2:34 PM, Jonathan Mast jhmast.develo...@gmail.comwrote:
Alec, so basically members of your client company should be able to have
direct access to a servlet that is otherwise restricted to a handful of
users who must authenicate themselves with a username/password login,
From: Tom1973 [mailto:garyp1...@gmail.com]
Subject: element type taglib must be declared
Starting service Tomcat-Standalone
Apache Tomcat/4.0.1
You're trying to use a Tomcat that's over 7.5 years old? Please try this on a
supported level (even 4.1.39, if you absolutely must have ancient
? You can't put HTTP headers in a link, unless you're processing
it through some proxy mechanism...
Looks like the last SecurityFilter build was released on Dec. 14, 2004,
which makes me hesitant to use it.
I am wondering if it is possible to use JavaScript to include the user name
and
Alston, Brian (US SSA) wrote:
What I have is 3 virtual servers (VMWare - Windows Server 2003). One
server has Apache httpd v2.2.11 and two other servers running Apache Tomcat
v6.0.18. The Tomcat servers are independently accessible from outside of the httpd
server; so, I assume that I
János Löbb wrote:
On May 29, 2009, at 7:15 PM, Markus Schönhaber wrote:
János Löbb:
Because the electron has resting mess, it will never go with speed of
light. The info by the way is not supplied by the electron, but
rather with electromagnetic waves around the wire who have no resting
Hi all
We have recently moved from a windows to a Linux platform and we have
noticed that the default fonts seem to have changed. Is there any way of
setting them that same as on the windows system. we are using tomcat5 on
centos.
cheers
//here is 1 style excerpted from styles/form.css
/* A CSS Framework by Mike Stenhouse of Content with Style */
/* FORM ELEMENTS */
form {
margin:0;
padding:0;
}
//import of forms.css from /styles/main.css
@import url(layout-navtop-localleft.css);
@import url(layout.css);
Alec-
Here are the index.jsp contents from securityfilter
h2POST to the Secure Page/h2
This form POSTs to the Secure Page. By entering a value here and clicking the
submit button below, you can
verify that POSTed parameters are maintained through the login sequence.
form
I have tomcat running on a dedicated Windows server (this is a web server).
I have been reading apache's site on Virtual Hosts for tomcat and I have a
few questions.
Here is how I need to get the software up and running.
1 instance of tomcat to serve on port 80 across all sub-domains (not an
Alec Swan alecs...@gmail.com wrote in message
news:34abb48b0906021503t158542a5ube612b5ccfad0...@mail.gmail.com...
On Tue, Jun 2, 2009 at 2:34 PM, Jonathan Mast
jhmast.develo...@gmail.comwrote:
Alec, so basically members of your client company should be able to have
direct access to a
From: newsletter [mailto:newslet...@energyts.com]
Subject: fonts in linux
We have recently moved from a windows to a Linux platform and we have
noticed that the default fonts seem to have changed. Is there any way
of setting them that same as on the windows system. we are using tomcat5
on
From: Josh Gooding [mailto:josh.good...@gmail.com]
Subject: Just a few questions on my Tomcat Configuration
I have tomcat running on a dedicated Windows server (this
is a web server).
Tomcat version? Always tell us that - we're not mind readers.
My /conf directory is not exactly the
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
Subject: RE: Windows x64 Installer
Now the reason why 4) below was not working (all 64-bit), is that I
didn't have an address specified in my connector tag. Apparently, at
all windows revs prior to 2008 server, if you didn't supply
67 matches
Mail list logo