Hi,
currently the Tomcat 5.0 and 5.5 only supports session replication,
also JBoss to that.
Filip has start a new cluster module and this version supports also
application context replication.
Look at tomcat source catalina/modules/ha and test it.
Peter
Am 20.04.2006 um 18:04 schrieb
Hi,
Is there an ANT task for generating context.xml files?
thanks,
-nikita
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I don't know it depends on your implementation of hashCode() method.
Are you using 1.5?
static int hash(Object x) {
int h = x.hashCode(); -- your programm is here
h += ~(h 9);
h ^= (h 14);
h += (h 4);
h ^= (h 10);
return h;
}
I
Ok, it seems that my mind was rather broken than the jspc. We
reinstalled a clean tomcat copy and now it works.
Sorry for disturbing :-)
regards
Leon
On 4/20/06, Leon Rosenberg [EMAIL PROTECTED] wrote:
I found that same issue was discussed by Allistair and Remy in 2005
with 5.5.11, and
There are several ways to find out where tomcat is spending all it's cpu
time
1) when it's a 100% CPU eating time issue a few stacktraces at a 10 or
20 seconds interval. then compare all those trace and try to find a
stacktrace which is recurrent. This is clearly not easy and might
require quite a
Leon Rosenberg a écrit :
I don't know it depends on your implementation of hashCode() method.
Are you using 1.5?
static int hash(Object x) {
int h = x.hashCode(); -- your programm is here
h += ~(h 9);
h ^= (h 14);
h += (h 4);
h ^= (h 10);
No english version?
regards
Leon
http://wiki.apache.org/tomcat/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ROFLMAO!!
MichalDziczkowski did the polish translation on 18 april, but it seems
he did all his commits on wrong web page :D
The english version is still accessible in the page history.
http://wiki.apache.org/tomcat/FrontPage?action=recallrev=21
You probably must warn a wiki maintainer of this
I am sorry, but I do not know what you are trying to do. The best place for
this type of question would be on a Java list. This is a list specific to
Tomcat issues.
On 4/20/06, VIKASS NAGPAL [EMAIL PROTECTED] wrote:
Hi All,
I have a problem here. I have Pproperties file.
It has the
Hi Vikas,
some details:
I see you're correctly using the getClass.getResource() (I'm using
getServletContext().getResourceAsStream() or
getServletContext().getResource()). But, Why are you creating
resources? You see all the war content in the host OS filesystem
because of unpackWars=true. This
Hi All,
I've started working with the Tomcat embbed server and have managed to
get it running and serving JSPs. What I'd like to know is if there's a
way to explicitly specify a location of the work directory? I wish
to have this under /tmp on linux as opposed to in the tomcat
directory.
Thanks,
Using Apache Tomcat 5.0.28 I'm having a problem with the xsl:import command.
I have several Tomcat running on the same server (they could be different
releases of code so can't share resources).
An XSLT script is called via a JSP to convert XML to HTML (xsl:apply
nameXml=routesummary
Yes, set the workDir attribute on the context element.
-Original Message-
From: Trevor Miller [mailto:[EMAIL PROTECTED]
Sent: Friday, April 21, 2006 9:21 AM
To: users@tomcat.apache.org
Subject: Change location of work directory?
Hi All,
I've started working with the Tomcat embbed
http://svn.apache.org/viewcvs.cgi/tomcat/container/tc5.5.x/modules/groupcom/
I'm gonna focus on writing documentation for this module next week, by
then I will publish it to a site so that you can read it
for a quick start, take a look at the LoadTest and the MapDemo applications.
For a very
You need to put the XML import file (in your case routesummarycontent.xsl)
somewhere that whomever is providing the resource (Apache or Tomcat) can see
it. Let me try to elaborate.
We use an AJP connector with Tomcat and receives requests from Apache on
port 8009. We forward all Servlet stuff
I assume that's in the server.xml file, which I'm not using. I'm using
the following code with no server.xml:
System.setProperty(catalina.home, getPath());
embedded = new Embedded();
engine = embedded.createEngine();
engine.setDefaultHost(localhost);
host = embedded.createHost(localhost,
Figured it out. Cast Context to StandardContext and call setWorkDir. Thanks!!
On 4/21/06, Trevor Miller [EMAIL PROTECTED] wrote:
I assume that's in the server.xml file, which I'm not using. I'm using
the following code with no server.xml:
System.setProperty(catalina.home, getPath());
Any of you have an idea why I can't access my websites from outside my home ?
Thanks.
From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: Access server
from outside Date: Thu, 20 Apr 2006 07:44:41 -0400 Hi, Why can't I
access my websites from outside my network ? On the
Does your ISP allow you to run a server? Mine blocks pretty much all
incoming requests.
Jonathan Pare wrote:
Any of you have an idea why I can't access my websites from outside my home ?
Thanks.
From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: Access server from outside
Hi,
I'm having a problem with the default install of 5.5.16. When I go into the
manager and try start either /jsp-examples or /servlet examples I get the
following errors. I'm using the Sun jre 1.5.0_06.
catalina.log
Apr 21, 2006 10:24:14 AM
From: Anthony Richardella [mailto:[EMAIL PROTECTED]
Subject: Error starting examples with 5.5.16
I'm having a problem with the default install of 5.5.16. When
I go into the manager and try start either /jsp-examples or
/servlet examples I get the following errors.
The sample .class files
Hi guys!
A really sure question, for those of you, who already finished a
project. Where can I find some kind of statistics telling me, how many
users per day can produce how many simultaneous clicks. I kind of seen
such a stuff, but can't find it again.
For example, if my application can
From: Danny Lee
A really sure question, for those of you, who already finished a
project. Where can I find some kind of statistics telling me, how many
users per day can produce how many simultaneous clicks. I kind of seen
such a stuff, but can't find it again.
For example, if my
I contacted my ISP and they are blocking the port 80. They also forbid to run
any type of server FTP, HTTP, IRC, MP3, PROXY, SMTP, POP or other. So
basicaly, that mean that I could just uninstall tomcat and forget all about it
!?!
Date: Fri, 21 Apr 2006 10:28:41 -0400 From: [EMAIL
From: Jonathan Pare [mailto:[EMAIL PROTECTED]
I contacted my ISP and they are blocking the port 80.
[...]
So basicaly, that mean that I
could just uninstall tomcat and forget all about it !?!
Or change ISP to one that suits your needs.
- Peter
On 21 Apr 2006 at 11:13, Jonathan Pare wrote:
I contacted my ISP and they are blocking the port 80. They also forbid
to run any type of server FTP, HTTP, IRC, MP3, PROXY, SMTP, POP or
other. So basicaly, that mean that I could just uninstall tomcat and
forget all about it !?!
You could
I have the following error message while starting up my application in
Tomcat.
I am using log4j.xml in my custom application. can someone help
thanks.
INFO: XML validation disabled
log4j:WARN No appenders could be found for logger
(org.apache.catalina.startup.TldConfig).
log4j:WARN Please
Thanks for your answer!
I see your point. Well in my case this is a usual web-shop portal.
So the question here maybe is: how many normal-behavior shopping
users have to be present on my site to generate user 20 clicks per
second in the peak-near area, let say 80-90% of the time. I guess
Yeah but in my area, I don't have that much choices ! Plus, I have I package
deal with that ISP (IP phone + log distance call + television + internet).
Maybe I'll try the other port suggestion and see if they bother my with the
not running a server policy...
Thanks guys !
Subject: RE:
Some ISP's (not all!) will make exceptions for non-commercial,
low-volume personal web sites if you ask nicely. You have nothing to
lose by explaining what you want to do, and asking them to allow a
single port in to your system.
Dave
.
Jonathan Pare wrote:
I contacted my ISP and they are
Or you could pay for a business line, which would allow servers. Of
course it will cost more...
Jonathan Pare wrote:
I contacted my ISP and they are blocking the port 80. They also forbid to run any type of server FTP, HTTP, IRC, MP3, PROXY, SMTP, POP or other. So basicaly, that mean that I
If you keep the data transfer volume low, they probably won't notice...
Jonathan Pare wrote:
Yeah but in my area, I don't have that much choices ! Plus, I have I package deal with that ISP (IP phone + log distance call + television + internet).
Maybe I'll try the other port suggestion and see
Thanks, Filip!
--
Len
On 4/21/06, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote:
http://svn.apache.org/viewcvs.cgi/tomcat/container/tc5.5.x/modules/groupcom/
I'm gonna focus on writing documentation for this module next week, by
then I will publish it to a site so that you can read it
for
We are currently using 5.0.28 tomcat version. We were referring to docs for
version 5.0.
Thanks,
Rumpa Giri
Bill Barker [EMAIL PROTECTED] wrote:
Rumpa Giri wrote in message
news:[EMAIL PROTECTED]
I had 2 questions regarding tomcat configuration:
1) We are currently trying to reconfigure
Hello
I hope someone can doesnt mind a little coaching. I am
sure this is brain-fade, however I have a struts app
in TC 5.5.12 that gives a cfne for a PlugIn that does
not exist. Yes I know that is impossible, ultimately,
however I have searched the application's
web/struts-config.xml, the
I am trying to move from Tomcat 4.1.27 to 5.5.16
I use Tomcat to test round trip http/https communication from a JMS server
to http and https clients.
I'm using keystore files so I needed to add these to server.xml.
I'm using native libraries since it appears that these are required if you
want
Hi,
We are trying to upgrade Tomcat from an older version 3.x to 5.x and noticing
that Tomcat 5.x requires quite more memory than 3.x. We are running it in
constrained env. with limited memory and other resources.
In order to fully explore all possibilities, we also ran Embedded Tomcat for
According to the 5.0 docs, the jvmRoute description says the following:
Identifier which must be used in load balancing scenarios to enable
session affinity. The indetifier, which must be unique across all
Tomcat 5 servers which participate in the cluster, will be appended to
I have put the jar file on the classpath, I put the path to where the jar is as
well.
I don't know about any other option to try.
Any clue?
Thanks,
-Michael
Hello
Sorry to self-answer, but for edification purposes. I undeployed all other
apps and it worked. That means the config in another app was being used in the
startup of the one in question. I thought this was impossible. I checked in
the shared and the PlugIn class was not there. I
The set of worker names is one-to-one and onto the set of jvmRoutes. I use
the short host name, an underscore and the port number (ajp), i.e.,
Tomcat1_9009
Tomcat2_10009
Tomcat3_11009
Tomcat4_12009
For the worker names and the jvm routes, thus making the identifiers unique,
and following the
Anyone help!
I have followed the directions precisely in
http://tomcat.apache.org/tomcat-5.0-doc/ssl-howto.html , (yes we have
tomcat 5.x) and cannot get port 8443 or 443 to respond at all via web
browser or by a portscan.
Running on a windows 2003 ent edition, apache-tomcat is the ONLY
Should Tomcat be logging the HTTP requests that it gets?
I'm debugging 5.5.16 on Windows. I've installed commons-logging.jar and
log4j-1.2.13.jar into common/lib, and log4j.properties into common/lib.
My log4j.properties looks like this right now:
#log4j.rootLogger=INFO, RFA
Try the RequestDumperValve.
-Original Message-
From: David Rush [mailto:[EMAIL PROTECTED]
Sent: Friday, April 21, 2006 5:00 PM
To: Tomcat Users List
Subject: Logging?
Should Tomcat be logging the HTTP requests that it gets?
I'm debugging 5.5.16 on Windows. I've installed
Hi,
this warning says that tomcat is using log4j, but can't find the
configuration file /common/classes/log4j.properties.
But I don't know how tell tomcat to ignore log4j.jar.:-(
More info about Tomcat vs. Log4j:
http://tomcat.apache.org/tomcat-5.5-doc/logging.html
PETR
On 4/21/06, lee
This is neat. Thanks!
--
Rick
Peter Rossbach wrote:
Option is
Connector emptySessionPath=true ... /
Then all webapps share the same session id.
Cheers
Peter
Am 16.04.2006 um 15:12 schrieb Tim Funk:
Check the docs - there is an option that will allow tomcat to use the
same jsessionid
EddieE wrote:
I'm using keystore files so I needed to add these to server.xml.
I'm using native libraries since it appears that these are required if you
want to use a non-default keystoreFile.
No. With APR (the native libs) you'll have to configure the OpenSSL way:
David Rush wrote:
Should Tomcat be logging the HTTP requests that it gets?
Not unless you tell it to.
If you want a complete dump of the requests logged, use RequestDumperValve, as
Derrick said.
If you simply want an access log, use an AccesLogValve (look at the end of
server.xml and uncomment
1) remove unnecessary jars (you think) form your-web-app/WEB-INF/lib and
tomcat-home/common/lib
2) remove unnecessary classes from webapp-root/WEB-INF/classes
3)stop loading unnecessary (other) web applications.
4) avoid the load-on-startup in web.xml - (this will avoid loading
servlets and other
Yes. Markus is right.
When you add tcnative-1.dll, it means you are enabling APR support in tomcat,
which is good.
For detail instruction, visit:
http://www.mail-archive.com/users%40tomcat.apache.org/msg02500.html
There is only one problem in the steps described in above link. It works 100%
Before any suggestion, I have few question:
1) How do you run Tomcat? Standalone or as a service or as a JSP server behind
IIS?
2) Are you 100% sure that port 8443 and 443 are free?
3) Do you have any failure entry in tomcat log when you start tomcat? If yes,
what is that?
By looking at
51 matches
Mail list logo