Hi,
we are running tomcat 6.20 on windows server 2003 64bit with java 1.6 (64bit)
as a Windows service.
Everything works fine but I have to increase max. heap size to 4 GB (now 2 GB).
Machine has abaout 8 GB ram.
I know, how to do this - but I read, that it is not recommanded to configure
more t
Sorry, I checked and it is already "no". I have full control of the
server, albeit it's 2000 miles away...
Chas.
> As a quick check, can you go into /etc/init.d/tomcat6 and at around line
> 68 you'll see:
>
> TOMCAT_SECURITY=yes
>
> If you're allowed to, change that line to:
>
> TOMCAT_SECURITY=n
As a quick check, can you go into /etc/init.d/tomcat6 and at around line 68
you'll see:
TOMCAT_SECURITY=yes
If you're allowed to, change that line to:
TOMCAT_SECURITY=no
Then restart tomcat with:
../tomcat6 restart
Of course, you have to be root to do this.
On first glance, I don't see a se
We are running a few web applications on Tomcat 6 on a Windows Server 2003
system in a Windows 2003 Active Directory Forest.
How to make the Tomcat environment secure (hardening)?
I read about security manager, but how to add the web applications in the
cataline.policy?
Is it possible to use Win
OK, turns out my brother has wireshark installed. We ran it, and the
packets are definitely getting to the server with the PUT params intact.
So they arrive at the server, but they are missing from the output of the
valve. Does this mean Tomcat is hosed?
I thought maybe I'd test 24 on my laptop, b
>> From: c...@munat.com [mailto:c...@munat.com]
>> Subject: Parameters disappear from PUTs
>>
>> When I load my app into Tomcat 6 (Ubuntu), the form submission works
>> perfectly if I use a POST: the params are definitely received. If I
>> use a PUT, it works, but the parameters are missing
>
> 1)
Dear Carl,
So this problem happens on one machine or on more than one? If it is
limited to one machine, I would be inclined to run memtest86 on it to
see if the RAM is good.
Kees Jan
On 4 feb 2010, at 02:07, "Carl" wrote:
Chris,
Interesting idea. I tried over the weekend to force that
apxs gets configuration information for apr and apr-utils, and httpd among
other things. It does this by using pkg-config to find the libdir for apr, then
prefixing that to httpd/build.
For example, pkg-config --variable=libdir apr-1 on my system returns
/usr/lib
Then apxs looks in /usr/lib/ht
> From: Alexander Hartner [mailto:a...@j2anywhere.com]
> Subject: Re: Active DataSource Connection count never decreasing with
> PostgreSQL
Again, please send just to the mailing list, not to individuals.
> conf/Catalina/localhost/ROOT.xml
>
>
Apparently you missed this bit from a previous re
> From: c...@munat.com [mailto:c...@munat.com]
> Subject: Parameters disappear from PUTs
>
> When I load my app into Tomcat 6 (Ubuntu), the form submission works
> perfectly if I use a POST: the params are definitely received. If I
> use a PUT, it works, but the parameters are missing
1) Tell us
Carl,
A couple of random thoughts . . .
I'm not familiar with the Slackware monitoring tools, but I am with the various
tools that come with Fedora / Redhat. One of the things that I've noticed with
those GUI tools is that they add cache and buffers to the free memory total.
Tools like top and
I am submitting forms to a restful interface using an HTTP PUT with the
params in the header of the PUT. I believe that's normal, and it works
just fine on Jetty. The params are definitely sent.
When I load my app into Tomcat 6 (Ubuntu), the form submission works
perfectly if I use a POST: the par
On Wed, Feb 3, 2010 at 9:28 PM, Laird Nelson wrote:
> Another data point: people have told me to download the Windows .zip
> distribution of Tomcat 6.0.24. I want to point out that this is not linked
> anywhere on the Tomcat download page. The *base* distribution is of
> course linked, and the
Another data point: people have told me to download the Windows .zip
distribution of Tomcat 6.0.24. I want to point out that this is not linked
anywhere on the Tomcat download page. The *base* distribution is of course
linked, and the .exe self-extracting-installer package, but I had to
manually
Hi,
i am hitting the following error while configuring mod_jk connector in
solaris 10 machine. i am using sun studio tools for compiling.
tomcat connector latest verson 1.2.28
apache latest verson 2.2.14
and tomcat latest version 6.0.20
configure: error: You must specify a valid --with-apxs path
Hai,
Tomcat has a bug at Linux OS. you need to added LD_LIBRARY_KERNEL to
your profile. it mean that you should know what version that your OS
is using
--
Regards,
Andy Susanto,S.Kom
==
CV : http://www.linkedin.com/pub/andy-susanto/7/533/baa
Chris,
Interesting idea. I tried over the weekend to force that situation with
JMeter hitting a simple jsp that did some data stuff and created a small
display. I pushed it to the point that there were entries in the log
stating it was out of memory (when attempting to GC, I think) but it ju
I have a problem in our problem in our production environment (Tomcat
5.5.26) that I am able to replicate in a development environment (Tomcat
6.0.20) . I¹m using the apache DBCP package inside my web application, so
Tomcat is not managing it.
Commons-dbcp-1.2.2.jar
Commons-pool-1.5.4.jar
connect
Chuck,
Yes, I run the system monitor included with Slackweare. Currently showing
1.9GB used out of 3.8GB available and no swap being used... that's about
where it has been tracking. The machine has nothing but Tomcat and a small
server (for reports and applet data... could/should have been a
Dan,
I looked at the messages log but there was never anything of interest in it,
just the normal stuff.
Haven't tried disabling the oom-killer... might give that a go.
I thought it was a failure in the JVM but have never found any indications
of anything... I will keep looking.
Back in th
On Fri, 2010-01-29 at 14:58 +, Pid wrote:
> On 29/01/2010 11:33, Martin Grotzke wrote:
> > Hi Pid,
> >
> > what you describe is correct and works, I've implemented a Manager
> > implementation that uses simple attributes until now (for memcached
> > based session failover, memcached-session-man
Hi Christopher and Charles,
Thanks for your help so far. I made the following changes:
server.xml
conf/Catalina/localhost/ROOT.xml
I also set the autoDeploy to false in server.xml and tried keeping my WAR in
the webapps folder, however this didn'
Steve, I'm with you - the issue does look unpleasantly similar. I wonder
whether some experimentation with running the redirector under a local
account with particular rights set might tell you which right was required,
and hence which one might be causing an issue?
But in the longer term, the st
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 2/3/2010 5:00 PM, Caldarale, Charles R wrote:
>> From: Carl [mailto:c...@etrak-plus.com]
>> Subject: Re: Tomcat dies suddenly
>
>> I am hoping I can see failure at the point of failure
>> with the heap dump options
>
> That won't have any
Good luck hunting it down. I suggest changing one other Tomcat variable,
namely whether you're using the Java or native connector.
- Peter
On 3 February 2010 19:56, youngm wrote:
>
> A couple of updates. I've confirmed it doesn't only happen in Tomcat
> 6.0.24
> and it doesn't only happen in
Hi Andre
Thanks for your reply.
W3wp.exe is the process which manages the application pool where the
redirector lives.
I'm fairly confident the problem is due to the redirector because the crash
only occurs when the redirector is used. Also, there is an open bug (45063)
which appears to be a ve
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: w3wp randomly crashes when redirector is used
>
> My knowledge being limited, there might well be something I am missing
> in all of this.
All I'm going on is Mark T's comment on the bug report:
"Moving to TC6 to increase visibility."
> From: Carl [mailto:c...@etrak-plus.com]
> Subject: Re: Tomcat dies suddenly
> I am hoping I can see failure at the point of failure
> with the heap dump options
That won't have any effect on the Linux OOM killer. If it is the OOM killer
taking out Tomcat, the JVM will not receive any notifica
> Since the failures occurred before the print options were used, I guess that
> rules out any possibility of the OS getting upset at the JVM calling for
> timing information. Back to square one, where the most likely culprit is
> still the Linux OOM killer.
>
> - Chuck
Have you checked:
/va
Steve Ryan wrote:
My issue is due to Tomcat Connectors 1.2.28.
Is there a more specific mailing list for such issues? The Tomcat Connectors
website shows users@tomcat.apache.org as the mailing list.
No. If your issue is indeed due to the Windows version of the mod_jk
connector, then you are on
Hi Chuck
Thanks for your reply.
It is indeed a strange problem. The work around unfortunately causes a
severe security risk (giving the DefaultAppPool the "Local System" identity
is similar to running Apache as root) so it isn't really an option.
If someone who works on the Tomcat Connectors pro
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Still unable to get a heap dump from Tomcat running on
> Windowsas a service
>
> Would you prefer "software warlock"? I consider software to be a
> "black" art, as opposed to a "fine" one.
That would certainly be clo
> From: Laird Nelson [mailto:ljnel...@gmail.com]
> Subject: Re: Still unable to get a heap dump from Tomcat running on
> Windows as a service
>
> turns out no matter what you do through the GUI console,
> the service still runs as the system account
Yes, I mentioned that a few days ago:
"BTW, on
Chuck,
One more thing.
Sunday, I ran with a max heap of 500MB in the hope I could force an OOM but
it never happened... just tooled along GC'ing very happily.
Thanks,
Carl
- Original Message -
From: "Caldarale, Charles R"
To: "Tomcat Users List"
Sent: Wednesday, February 03, 201
> From: Carl [mailto:c...@etrak-plus.com]
> Subject: Re: Tomcat dies suddenly
>
> I did and found one instance but it is running on an applet on the
> client side so I don't think it should impact the server.
There are several calls to getHostName() inside Tomcat itself. Not sure how
many are c
Quick update, because I know you all care: turns out no matter what you do
through the GUI console, the service still runs as the system account (!).
Might be worth filing as a bug? I dimly recall reading something about this
somewhere in the Tomcat documentation.
Next up: Tomcat reinstall, but t
> From: Steve Ryan [mailto:st...@acme.ie]
> Subject: RE: w3wp randomly crashes when redirector is used
>
> Is there a more specific mailing list for such issues?
No, this is the proper mailing list. Unfortunately, the problem is
sufficiently esoteric (as well as having a work-around) so you're
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 2/2/2010 6:59 PM, Caldarale, Charles R wrote:
>> From: André Warnier [mailto:a...@ice-sa.com]
>> Subject: Re: Still unable to get a heap dump from Tomcat running on
>> Windows as a service
>>
>> I guess that phrases like that one explain why
George,
I did and found one instance but it is running on an applet on the client
side so I don't think it should impact the server.
Thanks for the thoughts.
Carl
- Original Message -
From: "George Sexton"
To: "'Tomcat Users List'"
Sent: Wednesday, February 03, 2010 4:09 PM
Subje
Chuck,
Yes, it seems to point in that direction as we have ruled out most of the
rest of the universe. I am hoping I can see failure at the point of failure
with the heap dump options
-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/usr/local/tomcat/logs
but I have no experience with them
Thanks for the reply.
My issue is due to Tomcat Connectors 1.2.28.
Is there a more specific mailing list for such issues? The Tomcat Connectors
website shows users@tomcat.apache.org as the mailing list.
Cheers
Steve
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent:
(This is a new thread spawned from my "Tomcat 6.0.24 Google Chrome" thread
with better information)
I'm running Tomcat 6.0.24, Sun JDKx86 6u18, Windows 7 64, Firefox and Chrome
browser.
I've noticed that for about the first 1-3 min after my tomcat instance has
started some of my requests that no
You might want to search for getHostName by itself since it's an instance
method and the variable name for the object would most certainly not be
InetAddress.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
> -Original Message-
> From: Carl [mailto:c...@et
> From: Carl [mailto:c...@etrak-plus.com]
> Subject: Re: Tomcat dies suddenly
>
> I added the print options in the hope that I could see
> something right at the time of failure.
Since the failures occurred before the print options were used, I guess that
rules out any possibility of the OS gett
Chuck,
Thanks for your reply.
I only added those options recently (over the weekend) so they were not
there at the time of the last failure. Without them, the GC pauses are
insignificant. I added the print options in the hope that I could see
something right at the time of failure. The con
Hmmm. Are you sure that you are posting to the right list here ?
Steve Ryan wrote:
Hello
I really hope someone can help me with this. I have been trying to figure it
out for days and I am beginning to go mad!
The issue I am having appears to be very similar to
https://issues.apache.org
> From: Carl [mailto:c...@etrak-plus.com]
> Subject: Re: Tomcat dies suddenly
>
> I have now added some java options:
>
> -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode
> -XX:+PrintGCDetails -XX:+PrintGCTimeStamps
> -XX:+HeapDumpOnOutOfMemoryError
> -XX:HeapDumpPath=/usr/local/tomcat/logs
> If
> From: Alexander Hartner [mailto:a...@j2anywhere.com]
> Subject: Re: Active DataSource Connection count never decreasing with
> PostgreSQL
Just send responses to the list, please - not to individuals.
> However there doesn't seem to be an option to set the root
> application without renaming th
This is a little off topic, but I tried your suggestions. However there doesn't
seem to be an option to set the root application without renaming the WAR to
ROOT.war, or is there.
I tried your suggestions as well as the suggestions from here:
http://mail-archives.apache.org/mod_mbox//tomcat-user
A couple of updates. I've confirmed it doesn't only happen in Tomcat 6.0.24
and it doesn't only happen in Chrome. It seems to happen less often the
longer the server is up. I though I had the problem more narrowed down than
I do. I'll keep testing and see if I can provide some better informati
George,
I scanned the code for 'InetAddress.getHostName' and didn't find any
instances (that is what I thought but wanted to be certain.)
It is frustrating how it will run very well for days and then suddenly fail
every 15 minutes. Last Friday was a 'fail every 15 minutes' day. The only
th
Hi Ashish,
I created a memcached based session failover solution:
http://code.google.com/p/memcached-session-manager/
Basically it stores session information in memcached so that they can be
pulled from memcached if they are not available in the local session
map. For a normal request, the sessio
> -Original Message-
> From: Carl [mailto:c...@etrak-plus.com]
> Sent: Saturday, January 30, 2010 10:32 AM
> To: Tomcat Users List
> Subject: Re: Tomcat dies suddenly
>
> George,
>
> Thanks for your reply.
>
> I will check that IPV6 is disabled... can't remember for certain.
>
> I have
I've moved my question to the thread: "Tomcat 6.0.24 Google Chrome".
Peter Crowther wrote:
>
> Mike, you'll probably get a few comments about thread hijacking - might be
> worth starting a new thread.
>
> Is there any way you could get a Wireshark or similar trace? It'd be very
> interesting
(This is a new thread to discuss a problem I accidentally posted to the
"Tomcat access is very slow")
I'm having a performance problem on Tomcat 6.0.24 and Google Chrome. I
request my home page in chrome and it takes 100 sec to load the page. If I
load the page in Firefox it loads excellent. I
Mike, you'll probably get a few comments about thread hijacking - might be
worth starting a new thread.
Is there any way you could get a Wireshark or similar trace? It'd be very
interesting to know what bytes the browser sent when in the request, for
example, and whether the browser half-closed t
I am having a similar problem though I only see this problem in Google
Chrome. I request my home page in chrome and it takes 100 sec to load the
page. If I load the page in Firefox it loads excellent. I downgrade to
tomcat 6.0.20 and everything works great in chrome.
This is hitting a server u
On 02/03/2010 08:31 AM, Dan Denton wrote:
Hello all. I'd like to find a way to force my tomcat instances to get new
connection pools, without stopping and starting the instances and kicking out
all of my connected users.
I'm using Oracle RAC with a failover service, and should one node fail, o
> From: Ashish Kulkarni [mailto:ashish.kulkarn...@gmail.com]
> Subject: Re: save session information
>
> Is there any document which explains how to do so
In a word, yes. Note that Tomcat persists active sessions automatically across
restarts by default.
A brief perusal of the Tomcat doc will
Hello all. I'd like to find a way to force my tomcat instances to get new
connection pools, without stopping and starting the instances and kicking out
all of my connected users.
I'm using Oracle RAC with a failover service, and should one node fail, our
tomcat instances don't reconnect automat
Hi
Is there any document which explains how to do so
Ashish
On Wed, Feb 3, 2010 at 1:49 AM, Mark Thomas wrote:
> On 03/02/2010 05:28, Ashish Kulkarni wrote:
> > Hi
> > Is it possible with tomcat to save session information in database or
> some
> > where which can be retrieved after restart, fo
Hello
I really hope someone can help me with this. I have been trying to figure it
out for days and I am beginning to go mad!
The issue I am having appears to be very similar to
https://issues.apache.org/bugzilla/show_bug.cgi?id=45063. It might even be
the same issue.
Note I can recreat
> From: Alexander Diedler [mailto:adied...@tecracer.de]
> Subject: BestPractise Multiple Webapps
>
> It is possible to impact all these webapps into one manager app and
> restart contexts?
Not to my knowledge. An instance of the Tomcat manager works with only one
. Nothing to stop you from wri
Is there a Eclipse plugin that can help you with properly configuring a
data source for Tomcat and other containers? It should be easy and
straightforward to configure a data source, but it seems it's not. Even
with the tools available Eclipse Java EE for Web Developers, it's easy
to mess up some
Hello,
We have 3 different webapps based on d:\tomcat_apps\app1 ... app2 App3 on
a Apache 2.2.14 and Tomcat 6.0.20.
We want to have the possibility to reload every context/webapp separately
without impact the others.
So we have to open http://www.app1.de/manager/html/ to restart context fo
Hi,
I changed the worker list to comma-separated list.
My server.xml:
Hello Mark,
We changed the config like it was suggested on Tomcat Site, but sometimes, the
Websites takes too long and endless loading process in the frontend. But this
only for one off the apps,.. die other wepapps going on in the Cluster.
No Timeout will be thrown. In Backend everything seems t
As a further info, I've executed the:
service.bat install
but if I try to start it from the Tomcat Monitor, the service doesn't start
and in the Eventi Viewer I can find
the following error message by the Windows Service Control Manager:
The Apache Tomcat 6 service terminated with service-spe
2010/2/1 Henning Blohm :
> Hi,
>
> this is a question about embedding Tomcat into an application so that
> it can still be configured using server.xml and web applications can be
> added or removed programmatically.
>
> I am using Tomcat 6.0.24.
>
> The way I tried to make it work is by instanti
Thanks for the comment, I will search our code and see where we modify the
headers concurrently.
Bertalan Kis
-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Sent: 03 February 2010 06:34
To: Tomcat Users List
Subject: Re: NullPointerException in MimeHeaders
2010/2/3 Konstantin Kolinko :
> 2010/2/3 Lominchar García, José Luis :
>>>
jakarta_service_.log :
>>>
>>> Start > All Programs > Apache Tomcat 6.0 > Configure Tomcat
>>>
>>> then switch to the "Logging" page and choose "Level", one of: Error,
>>> Info, Warning, Debug.
>>>
>>
>> What bin/*.exe
2010/2/3 Lominchar García, José Luis :
>
> What bin/*.exe corresponds to 'Start > All Programs > Apache Tomcat 6.0 >
> Configure Tomcat' ?
>
tomcat6w.exe
>
> java.util.logging.ConsoleHandler.level = WARNING
> (in conf\logging.properties) didn't work ..
>
I've tried and it works for me. Maybe yo
72 matches
Mail list logo