useDirtyFlag is supposed to be the SimpleTcpManager, DeltaManager always
only replicates deltas. so does the backup manager.
The two managers that work best are DeltaManager and BackupManager, both
of them replicate upon setAttribute/removeAttribute actions.
DeltaManager replicates to all other
In your Tomcat\bin directory, is there a (small) file called tomcat5.exe
, and another called tomcat5w.exe ?
If yes, then this will explain what is currently going on :
http://tomcat.apache.org/tomcat-5.5-doc/windows-service-howto.html
(Note : it is also linked to what you will find here :
Thanks for the response, Chris.
Yes, I used ROOT.xml (in upper case) but it just does not work.
Well, there is no particular reason for not renaming my 'testweb' directory
to 'ROOT'. I just do not like the fact very much that I have to rely on
Tomcat specific contexts. I prefer to use my one and
Hi Filip,
Thanks for your response.
I can only reproduce it on production, where we are running a Linux 2.6
Kernel with JDK 6 update 7. After a high load it is still running at 100%
CPU usage (sometimes 200% or 300% taking 2 or 3 cores).
Today I'll try to do some profiling to detect the exact
Hi,
I am looking for a standalone transaction manager for Tomcat.
I tried JOTM but there's some blocker bugs in XAPool and the
datasource implementation, moreover no new release for 3 years is
scary :-)
JBossTM works fine but it's under LGPL and unfortunatly I can't use
it, too bad :-(
Atomikos
- Original Message -
From: Rathiika [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Wednesday, October 15, 2008 10:37 AM
Subject: Re: Socket error
Thanks Johny !!! for prompt response.
I have checked my code, i am sure there is no problem with xml parsers.
I am able to solve
David Wall wrote:
While it makes sense, I was just checking to see if upgrading from
Tomcat 5.5.26 to 5.5.27, not thinking such an upgrade would require JSP
source code changes, will hold true going forward with subsequent Tomcat
releases.
We have a few places where JSP tag attribute values
2008/10/15 Jérôme Delattre [EMAIL PROTECTED]:
Hi,
I am looking for a standalone transaction manager for Tomcat.
I tried JOTM but there's some blocker bugs in XAPool and the
datasource implementation, moreover no new release for 3 years is
scary :-)
JBossTM works fine but it's under LGPL
From: Maik Schumacher [mailto:[EMAIL PROTECTED]
Subject: RE: Changing the ROOT application in Tomcat 6.0.18 on Linux
As mentioned, no problems on Windows XP, but using ROOT.xml
on my Linux machine does not work. It seams that Tomcat
ignores the ROOT.xml in tomcat/conf/Catalina/localhost
Hi All -
I have quite a few installs of Tomcat on the same server (same
CATALINA_HOME, different CATALINA_BASE), and I am interested in making my
configs a little more portable. I'm trying to make certain unique items
in my server.xml variable ( ${variablename} ), being pulled from my
I have a machine that has multiply tomcat instances and they run as a
service.
I like to add a new tomcat:
First I copy an existing tomcat.exe and rename to
Tomcat-ItActionSystem.exe
Then I type the following
tomcat5 //IS//TomcatItActionSystems
--DisplayName=Tomcat-ItActionSystem
[EMAIL PROTECTED] wrote:
Hi All -
I have quite a few installs of Tomcat on the same server (same
CATALINA_HOME, different CATALINA_BASE), and I am interested in making my
configs a little more portable. I'm trying to make certain unique items
in my server.xml variable ( ${variablename} ),
Hi, all!
What I did now:
I put the jars listed below into the endorsed directory.
Than I got rid of the NoSuchProviderException and run into a
NullPointerException now. I set Debug-mode on and get the following cosole
output (only first two rows):
##
DEBUG: setDebug: JavaMail version 1.3.1
a shame that you cant specify that attribute via %JAVA_OPTS%
maybe look at writing a set_8005 script which writes that specific_port to
%TOMCAT_HOME%/conf/server.xml
should be fine as long as you execute the script before starting TC ..
any other suggestions?
Martin Gainty
From: Frank Uccello [mailto:[EMAIL PROTECTED]
Subject: tomcat as services
First I copy an existing tomcat.exe and rename to
Tomcat-ItActionSystem.exe
tomcat5 //IS//TomcatItActionSystems
--DisplayName=Tomcat-ItActionSystem --Install=C:\Program
make sure TC knows where the endorsed folder is located e.g.
-Djava.endorsed.dirs=$CATALINA_HOME/common/endorsed
when you're using a new package the best way to achieve an demonstrable
functionality is to follow the provided sample
http://javamail-crypto.sourceforge.net
This package is beta
Ok this maybe a stupid question to ask but where do I download the
service.bat file
I only asked due it is not in tomcaat bin directory and I did a search
and can not find this file
Thanks
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
Hello,
I would like to forcefully cause my application server to fail once I
discover a situation I can't recover from. We have HA that should handle the
situation from there.
The best way I can see this happening is by issuing a shutdown instruction
to the container, but I can't find how to do
Hello,
We'd like to do the following, and it *almost* works. We want multiple
ports serving multiple web applications, and following the various
how-tos on the web we've got multiple Service/Connector/Engine/Host
setups going. This is Tomcat 5.5.16.
We've got regular web application 'A' served
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat Shutdown Port as Variable
a shame that you cant specify that attribute via %JAVA_OPTS%
As Rainer already pointed out, you can; the shutdown script does not use
CATALINA_OPTS, but it does honor JAVA_OPTS.
- Chuck
THIS
Never mind I found it thanks I go to try it
-Original Message-
From: Frank Uccello
Sent: Wednesday, October 15, 2008 10:52 AM
To: 'Tomcat Users List'
Subject: RE: tomcat as services
Ok this maybe a stupid question to ask but where do I download the
service.bat file I only asked due
From: Frank Uccello [mailto:[EMAIL PROTECTED]
Subject: RE: tomcat as services
Ok this maybe a stupid question to ask but where do I
download the service.bat file
Repeating what I already said (emphasis added):
Rather than mucking around with all that, download and
install the **.zip
Thanks Johny !!! for prompt response.
I have checked my code, i am sure there is no problem with xml parsers.
I am able to solve the FileNotFoundException, but sockettimeoutexception is
still coming.
I tried to change the timestamp in my appl, but no use.
regards,
Rathiika
--
View this
I have now try the service.bat install name
It gives me a window error nonalpah45 only option is click ok
Once click ok Failed installing 'tomcat-ItActionSystem' service
Please help
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October
From: Frank Uccello [mailto:[EMAIL PROTECTED]
Subject: RE: tomcat as services
It gives me a window error nonalpah45 only option is click ok
Once click ok Failed installing 'tomcat-ItActionSystem' service
The error message is self-explanatory: you have a non-alphabetic character in
the
I have quite a few installs of Tomcat on the same server (same
CATALINA_HOME, different CATALINA_BASE), and I am interested in making
my
configs a little more portable. I'm trying to make certain unique
items
in my server.xml variable ( ${variablename} ), being pulled from my
- Original Message -
From: nashrul [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Wednesday, October 15, 2008 6:03 AM
Subject: Installing another jdk while tomcat is running
I have jdk 1.4 and 1.5 installed and tomcat 5.0 running. I downloaded jdk
1.6
and I want to install
Hi all,
we've been having the same Exception and Stack Trace in an application we've
written for a customer. Our application is running on Tomcat 5.5.25 accessed
through Apache with ModJk.
The Exception occurs when a client accesses the server with a slow
connection and plenty of data is posted
I'm trying to execute a batch file in my servlet in tomcat5. I'm using
the Process class exec() and issuing a command of cmd.exe /C file.bat
Then I do a p.waitFor(); after this. However, it appears that a few of
the files copy, then the process hangs. If I stop the calling program,
the batch
Daniel L. Gross wrote:
I'm trying to execute a batch file in my servlet in tomcat5. I'm using
the Process class exec() and issuing a command of cmd.exe /C file.bat
Then I do a p.waitFor(); after this. However, it appears that a few of
the files copy, then the process hangs. If I stop the
I am using tomcat 6. And I have enabled log4j by placing log4j.xml and
log4j.jar files in classpath. It did change to log4j but I see that
some debug messages are put in log files and some are not. I was
looking around and found the following:
# Set juli LogManager if it is present
if [ -r
what version of tomcat are you using?
Filip
Matías Rojas wrote:
Hi Filip,
Thanks for your response.
I can only reproduce it on production, where we are running a Linux 2.6
Kernel with JDK 6 update 7. After a high load it is still running at 100%
CPU usage (sometimes 200% or 300% taking 2 or 3
Ok I tried with a - now its tomcatItActionSystems
I do not get alpha error but still get
Failed installing 'tomcatItActionSystem' service
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 12:12 PM
To: Tomcat Users List
Subject:
The Apache Tomcat team announces the immediate availability of
Apache Tomcat Connectors 1.2.27-dev-704800 for testing.
Apache Tomcat Connectors version 1.2.27-dev contains
numerous of bug fixes over previous 1.2.26 version and lots
of new features.
The complete changelog with all fixes and new
I had change the batch file but I got the service to work thanks
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 12:12 PM
To: Tomcat Users List
Subject: RE: tomcat as services
From: Frank Uccello [mailto:[EMAIL PROTECTED]
Hi
I'm using TC 5.5.26 and java 5.
When I deploy one webapp I get the following error:
SEVERE: Context [/search] startup failed due to previous errors
But it doesn't give any further error.
Some other times I added a log4j configuration on the common/classes
and the log4j jar inside common\lib
It's 6.0.18
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: miércoles, 15 de octubre de 2008 07:25 p.m.
To: Tomcat Users List
Subject: Re: NIO 100% CPU usage
what version of tomcat are you using?
Filip
Matías Rojas wrote:
Hi Filip,
Thanks for your
ok, when you reproduce it, you don't really need a profiler,
you can do a top with threads on, or a ps -efL, and from those, you can
look into a thread dump
I've never been able to reproduce the issue, so if you have a system, or
if you want to work with me, ping me offline at fhanik at
I tried doing the log4j trick and just noticed that that just works in
linux/unix.
Why can't logging in tomcat be simpler??? I just want to see the error
that is happening during deployment...
2008/10/15 emerson cargnin [EMAIL PROTECTED]:
Hi
I'm using TC 5.5.26 and java 5.
When I deploy one
Hi,
I recently started using Tomcat 6 but can't configure it to map
subdirectories to same servlet within the default context. I didn't have
problems with the same setup in Tomcat 5.
Here is an example.
http://mysite/test.html - maps to the application servlet and works as
expected
I am attempting to setup a tomcat mysql connection in order to allow users
to write jsp webapps that can use a mysql database backend.
I have understood that this page seems to be a walkthrough on how to set
this up, and I'm running into problems in the MySQL DBCP Example section.
you mean like
java.lang.System.exit(1);
Filip
Maxim Veksler wrote:
Hello,
I would like to forcefully cause my application server to fail once I
discover a situation I can't recover from. We have HA that should handle the
situation from there.
The best way I can see this happening is by
It'd be helpful if you could post that file. Sanitize it for db
usernames and passwords, but post it so we can see what it looks like.
Also, run it through an XML validator to see if there's any issues.
Netbeans has one built-in.
--David
Tim Potter wrote:
I am attempting to setup a
Please join us in ensuring the quality of the forthcoming release by
testing this snapshot. The source archives are in the same format as a
release download, so easy to build.
The last release is already 10 months old and there were important
changes in the meantime. We hope we can make you
Rainer,
The connectors FAQ (http://tomcat.apache.org/connectors-doc/miscellaneous/faq.html
)states:
mod_jk works well with Apache 2.2. You need a binary module compiled
for version 2.2 of the Apache web server. A binary compiled for
version 2.0 will not work.
Important parts of the
I have my tomcat start and everything look fine but I can not reach
localhost:8057/it/servlet
The tomcat log states
SEVERE: Invalid message received with signature 18245
Any see this before I can not seem to find anything via google
Ladies and gentlemen,
I am teaching a Tomcat class at ApacheCon, New Orleans and there are
still spots left.
It's a two day training, going from novice to very experienced in a
gradual way over the two days.
http://us.apachecon.com/c/acus2008/sessions/13
Filip
That all it states or could you provide a little more context?
Also the usual stuff everyone forgets: OS, tomcat version, java version,
relevant configs, etc., ...
--David
Frank Uccello wrote:
I have my tomcat start and everything look fine but I can not reach
localhost:8057/it/servlet
These are my web.xml, context.xml, and test.jsp files (truncated).
Let me know if there are any other files you would like to see.
[EMAIL PROTECTED]:~$ cat /usr/local/tomcat/conf/web.xml
?xml version=1.0 encoding=ISO-8859-1?
!--
Licensed to the Apache Software Foundation (ASF) under one or
use mod_proxy_http or mod_jk,
Filip
Stephen Nelson-Smith wrote:
Hi,
I have an application which parses XML. It sits behind an Apache
Httpd 2.2 server using mod_proxy_ajp. I am finding that if I POST
more than about 1600 chars, the POST gets truncated, and I get an XML
parse error.
Httpd
On Oct 15, 2008, at 5:44 PM, Filip Hanik - Dev Lists wrote:
use mod_proxy_http or mod_jk,
I have seen a few posts recommending mod_proxy_http a little bit over
mod_jk. Why is that?
I used mod_jk recently simply because it was on the tomcat site. I
just assumed it was the default/best
I think I see your problem. Don't modify the default web.xml file or
the default context.xml file unless you really have good reason to.
Instead, your webapp should be layed out similar to this, per the
servlet spec:
DBTest
- test.jsp
- WEB-INF
- web.xml
- lib
David,
Thanks for your input, I can test that out, but that would be a different
direction than I think I want to go.
I have running an apache web server that users access home directories
(mod_user) in order to run thier primarily php scripted web pages, but some
would like the option of jsp.
From: Tim Potter [mailto:[EMAIL PROTECTED]
Subject: Re: MySQL DBCP Connection Example?
I can test that out, but that would be a different
direction than I think I want to go.
I don't think David was strong enough in his recommendations: you may not ever
add additional Context elements to
The servlet spec was designed around webapps being completely
self-contained packages of pages and logic. I'm sure there are people
on this list who what you are looking for ... I haven't. Maybe they
can chime in here.
As an alternative to storing webapps in tomcat's webapps directory, you
If I store an application object in ThreadLocal and do hot deployment
it prevents the old classloader from getting GCed . Why can't Tomcat
refresh it's threadpool after every app restart?
--Noble
-
To start a new topic, e-mail:
Originally the application faces connection reset problems
using the configuration:
type=javax.sql.DataSource removeAbandoned=true
removeAbandonedTimeout=100 maxActive=500
maxIdle=10 maxWait=1000
because the opened connections are closed by the
Ken Bowen wrote:
Is there anywhere a description of what mod_jk does that is NOT done by
mod_proxy_ajp and mod_proxy_balancer?
You might find this useful
http://blogs.jboss.com/blog/mturk/
Also, does this release imply a corresponding release of mod_jk?
Yes. This is basically 1.2.27
58 matches
Mail list logo