and you're done.
- Peter
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
to be sufficiently good to meet the organisation's security policy?
- Peter
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
processors have faster access to some memory, the
optimal number of Tomcats may be one per memory segment - but this will need a
*lot* of analysis and tuning.
[For future posts to forums: A better English translation may be question
rather than doubt]
- Peter
in there, just add those to the
end. You'll need to tune them so you still have enough memory for the OS and
any other services on the box.
http://wiki.apache.org/tomcat/FAQ/Memory is probably useful reading.
- Peter
application developer / vendor tells you you
should back up, in the way in which your vendor tells you it should be backed
up - we don't know what else your app relies on, so can't advise.
- Peter
-
To start a new
From: Lyman [mailto:[EMAIL PROTECTED]
Thank you Peter, I forgot to add that I had set the
parameters as follows:
-Djava.awt.headless=true -Xmx1500m -Xms1500m
On a machine with 1 Gbyte of physical memory, that is almost certainly a
mistake - depending on how much swap you've allocated. Have
From: karthikn [mailto:[EMAIL PROTECTED]
Can some body suggest me any thin missing in here...
[lots of text missing]
Please describe the problem you have, that leads you to think something might
be missing. Without that, we're guessing.
- Peter
it's present in Tomcat's error
pages. Certainly if you're going through the checklist of generic vuls so
that you can demonstrate your installation is hardened against those attacks,
it's fair to ask whether Tomcat's susceptible.
- Peter
.
- Peter
-Original Message-
From: Liang Xiao Zhu [mailto:[EMAIL PROTECTED]
Sent: 15 May 2008 17:42
To: Tomcat Users List
Subject: Re: Redirect request to another Tomcat server
Yes, maybe you are right that I couldn't salvage a session.
So, How can
manage that using as session, I
of these in the valve, and make a decision.
By the way, it sounds like you are writing a load-balancing framework. You are
aware that Tomcat already has one?
- Peter
-
To start a new topic, e-mail: users@tomcat.apache.org
the programmer doesn't know how to handle)
System.exit(1);
? Some coders have a distressing habit of putting such things in.
- Peter
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail
that
is used cannot depend on which user is present or which URL (or even site) they
are requesting. You know the IP address requesting the connection, but that
may be a multi-user system and cannot be used to distinguish users.
- Peter
Tomcat starts will work correctly, but it *is* possible
to create these things programmatically.
- Peter
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
active forms to secure individually, is this
possible with a filter or valve, or a configuration setting?
Thanks for your help!
Peter
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED
there are simply a waste of time!
Peter
- Original Message -
From: Christopher Schultz [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, 27 May, 2008 9:27:33 PM GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject: Re: Code Injection Tomcat 6
-BEGIN PGP SIGNED
I've compared JRockit 1.4 and 1.5 in the past against SUN and it was
faster for synthetic benchmarks.
I don't work for BEA, but I do like JRockit. One thing that is
different in JRockit is it dynamically resizes the perm generation, so
in some cases it's better than SUN jvm.
peter
On Tue, Jun
I don't know the internals. From my understanding, the generations
setting is configurable. I would suggest looking at the docs for an
authorative answer.
peter
On Tue, Jun 17, 2008 at 2:06 PM, Caldarale, Charles R
[EMAIL PROTECTED] wrote:
From: Peter Lin [mailto:[EMAIL PROTECTED]
Subject: Re
know what's in them.
Unfortunately, that doesn't help you in your current situation!
- Peter
* No, it's not a typo
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED
From: Olivier Fourel [mailto:[EMAIL PROTECTED]
I have no other lock description in my thread dump.
But you may still have stuck threads, for example waiting on database
connections. Not all sources of waiting threads require a lock.
- Peter
to correctly classify proxies), you'll have to build it yourself.
If someone else maintains it, you may be able to use it.
What on earth is the use case, if you don't mind me asking?
- Peter
-
To start a new topic, e
- and, in these days of the Internet,
it's very easy for one technically competent undesirable to publish the recipe
and all the other idiots to follow it.
- Peter
-
To start a new topic, e-mail: users@tomcat.apache.org
'em on independent JVMs.
- Peter
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
don't get any joy looking at the thread dump (and they're not the
easiest things in the world to interpret), some of the folks on-list may be
willing to help.
- Peter
-
To start a new topic, e-mail: users
Tomcat version?
Java version?
Anything in the servlet that synchronises on a common lock?
In general, one worker thread handles one request, from start to finish; then
it's returned to the pool to be reused. Is that what you would expect?
- Peter
From: Fredrik Tolf [mailto
there's plenty of papers on the topic on the internet, including the
ones listed on tomcat's website.
have you looked at the resource page?
http://tomcat.apache.org/resources.html
On Thu, Jul 3, 2008 at 9:05 AM, Filip Hanik - Dev Lists
[EMAIL PROTECTED] wrote:
there is one criteria that I
in the request processing chain, that examines the user
agent string in the request and returns an appropriate response if you don't
like the agent.
- Peter
-
To start a new topic, e-mail: users@tomcat.apache.org
Why are you asking this on a Tomcat list?
- Peter
-Original Message-
From: Buddy wu [mailto:[EMAIL PROTECTED]
Sent: 15 July 2008 11:43
To: Tomcat Users List
Subject: is there anyone use websphere. ibm http server? I
have a question for it of cluster
I installed
a browser and go to the application via tomcat all
the cyrillic characters are spoilt.
This is from the source code of a webpage -
meta http-equiv=Content-Type content=text/html; charset=UTF-8
Are you 100% sure that you have saved the page in UTF-8?
- Peter
one individually and rebuilding them in the url I place into
sendRedirect().
I've tended to use a swift bit of string manipulation - look for the ? in the
original URL, and append everything to the right of that. Ugly, but it works.
- Peter
probably can't ensure that
nobody ever uses Apple's GUI to make config changes; so the way to a system
that works and keeps working is to install versions of the applications that
can't have their config overwritten at whim.
- Peter
=true
clusterLogName=clusterlog
...
Peter
Am 22.07.2008 um 09:07 schrieb nch:
Hi, there.
Does anyone know how to trace session replication in a cluster?
Thank you.
-
To start
How hard a stop do you want? The Very Big Crowbar would be a System.exit(1)!
- Peter
-Original Message-
From: afolli [mailto:[EMAIL PROTECTED]
Sent: 25 July 2008 09:20
To: users@tomcat.apache.org
Subject: Stop tomcat on Startup
Hi All. I want to perform some
No problem. Generally we're telling developers to get these *out* of their
servlet code when they post on-list that Tomcat exits unexpectedly. It makes a
change to tell someone to put one in!
From: afolli [mailto:[EMAIL PROTECTED]
Thanks Peter.
That is a lot easier than I thought
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
I think look at error handling in web services before
whacking Tomcat ;)
Johnny, why not read the OP's original request, *then* respond? :-)
- Peter
-
To start
was unexpected at this time.
Install the JDK to a location that doesn't have spaces in the path (I use
C:\java). Yes, it's a fudge. It also works :-).
- Peter
-
To start a new topic, e-mail: users@tomcat.apache.org
when tuning the
system, you might find that one application in one Tomcat/JVM runs out of
memory although there is plenty of spare memory in the system. If you put them
all into one Tomcat/JVM, the applications all use the same (larger) memory pool.
- Peter
From: Christian Andersson [mailto:[EMAIL PROTECTED]
Peter Crowther skrev:
If you
are not careful when tuning the system, you might find that
one application in one Tomcat/JVM runs out of memory although
there is plenty of spare memory in the system. If you put
them all into one Tomcat
/entry/using_jstack_on_windows gives an overview
of using jstack.
http://java.sun.com/javase/6/docs/technotes/tools/share/jstack.html is the Sun
documentation for it.
- Peter
-
To start a new topic, e-mail: users
Tomcat version?
Error message (anything more than blew up)?
Vendor of new cert? Do you have to install a cert chain?
- Peter
-Original Message-
From: Ben Densmore [mailto:[EMAIL PROTECTED]
Sent: 01 August 2008 17:09
To: users@tomcat.apache.org
Subject: Changing SSL
IIS is configured with isapi_redirect-1.2.26.dll and is redirecting requests to
Tomcat successfully. However when attempting to download a Web Start
application the ISAPI redirector appears to randomly introduce huge delays
(15mins+) between TCP requests. I am unsure how to diagnose this any
are marked in red..
can any one say what they are exactly meant for???
(Embedded image moved to file: pic25676.jpg)
Your image didn't come through to the list. You'll probably have to type them!
- Peter
If you can reproduce easily and it is not a heavy traffic application.
Increase log level to debug until it happens again and make the log
available plus the information, between which timestamps you think there
is such a delay.
Below is an excerpt from the ISAPI redirector log. The last 3
of Tomcat?
What JVM are you using? In particular, I don't think the GNU JVM that comes
with some versions of RedHat supports giving a thread dump on kill -QUIT.
- Peter
-
To start a new topic, e-mail: users
due to a connection timeout. Of course, this assumes
you have credentials to log in to the system console and are willing to keep it
logged in!
- Peter
-
To start a new topic, e-mail: users@tomcat.apache.org
!
- Peter
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
don't have more than one thread accessing the
session at any point in time.
OK, yes, for special application we support it, but normaly
sticky_session is true. See Servlet Spec (SRV 7.7).
Peter
INFO: Manager [/cluster-1.0-SNAPSHOT]: skipping state transfer. No
members active in cluster
Can you test your config without the parameter mcastBindAddress=xx?
Peter
Am 15.02.2006 um 14:35 schrieb David Avenante:
Yes MULTICAST is enabled i see that by too fact :
first,
ifconfig eth0 :
eth0 Link encap:Ethernet HWaddr 00:13:D4:45:A6:3F
inet addr:192.168.2.102
on.
A third approach would be to manage your sessions yourself, using custom
code. There may be libraries out there that help with this, but I've
not needed to do it and therefore don't know any.
- Peter
Are you sure that you not destory your session before you set an
attribute at your LoginServlet?
The missing message key is fixed for Tomcat 5.5.16.
o.a.c.cluster.session.LocalString.properties
standardSession.setAttribute.ise=setAttribute: Session already
invalidated
Peter
Am 22.02.2006
or Subversion) on the production server,
such that it does nightly checkouts of the 'known good' content, to
assist in staging content from the development to the production server?
- Peter
-
To unsubscribe, e-mail
From: Andrew English [mailto:[EMAIL PROTECTED]
Is there anyway to check this theory?
-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED]
[...]
I suspect an operations issue. Has someone configured a revision
control system (such as CVS or Subversion
, and different servers in the farm (with
different IP addresses) might make different requests for the same user,
even when that user is loading (say) images on a single page.
If you want to prevent hijacking of session IDs, the session must be
over HTTPS, not HTTP.
- Peter
that
requires higher security than that, you'll want to investigate
additional mechanisms such as client certificates.
- Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
on the same server?
Yes. I do it regularly on this server when I'm testing compatibility of
one webapp.
- Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
independently if
required. You could save a little disk space by merging the
installations, but only a few megabytes.
Yes, you'll have to start each instance - each is a separate process.
You could write a script to automate this.
- Peter
?
- Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
another potential solution is to try a different JVM like Bea's JRockit.
JRockit provides some built in profiling capabilities, so that is another
way to get some profile data quickly.
peter
On 2/28/06, Tim Lucia [EMAIL PROTECTED] wrote:
I use JProfiler with Tomcat all the time
.
ultimately, the webapp needs to be profiled to make sure it behaves
correctly.
peter
On 2/28/06, Tomasz Nowak [EMAIL PROTECTED] wrote:
Peter Lin [EMAIL PROTECTED] wrote:
look at the dump, it looks like the permgen ran out of space
PSPermGen total 50304K, used 50170K [0x445f, 0x4771,
0x545f)
object space 50304K, 99% used
the
privilege. But of course you ran it as some lower-privilege account
than LocalSystem didn't you? ;-)
- Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
address is for the established
connections. A network sniffer will also tell you which database is
being used if you can't deduce it any other way (it's buried in the byte
stream in cleartext).
- Peter
my advice is dive in and try to debug it, or hire someone with experience
debugging webapps.
there's no much others can do for you at this point, since it's debugging.
good luck.
peter
On 3/1/06, Tomasz Nowak [EMAIL PROTECTED] wrote:
Tomasz Nowak [EMAIL PROTECTED] wrote:
Hm. Here is my
option is to add a bunch
of system.out.println to the pages to see what is happening. If the webapp
is making connection to a database or anything external, I would double
check that code. Chances are, the code is leaking badly and causing the
instability.
peter
On 3/1/06, Tomasz Nowak [EMAIL
= /
/Host
Host name=test2.example.com appBase=webapps autoDeploy=false
...
/Host
/Engine
regards
Peter
Am 02.03.2006 um 17:38 schrieb Filip Hanik - Dev Lists:
I'm gonna let Peter Rossbach give you the final answer since he
developed the simpleconfig concept.
My guess is yes, if your
) {
Container host = ((Context)context).getParent();
if(host != null host instanceof Host)
clusterName = host.getName() + name ;
}
}
return clusterName;
}
we concatenate host name with context path :-)
Peter
Am
the other
permutations get mapped to the compiler.
- Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
complex. (L)GPL in particular
is more a weapon of IP warfare than a software license in my opinion.
Why not a BSD or MIT license? Do you need any further restrictions on
distribution of the libraries than those provide?
- Peter
user (including the printer
information) won't be accessible to the service anyway.
- Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
probably get the effect you want
with a valve - give us more information and you might get more specific
pointers :-).
- Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
:-)
Peter
Am 14.03.2006 um 15:31 schrieb Michael Südkamp:
Hmm, context.xml? I know only of server.xml. At least on Windows.
Here is a
context snippet for server.xml which disables session persistence.
Michael
Context docBase=/your-doc-base path=/your-context
Manager
className
guaranty a clear state after change the
binary. Feel free to open
an enhancement bug report, and feel free to add a patch. The current
behaviour is
correct for production sites.
Peter
Am 14.03.2006 um 15:03 schrieb Reinhard Moosauer:
Hi List,
I found something, that looked promising, but did
Please open a bug report,
then we can better discuss the issue.
Peter
Am 14.03.2006 um 16:21 schrieb Reinhard Moosauer:
Hi Peter,
thanks for making it clear.
I would appreciate your opinon in how we could enhance this:
- I think, even on production systems, there should be a
possibility
Your filter show only that the class implements java.io.Serializable
and not that the object is really serializable ;-(
A good live session analyze shows the probe tomcat manager.
http://tomcatprobe.org
regards
Peter
Am 15.03.2006 um 14:59 schrieb Tim Lucia:
You may also find the following
for longer shutdowns
and more then two node clusters. Configure it after ReplicationValve.
regards
Peter
Am 15.03.2006 um 16:57 schrieb Michael:
Hi all,
we tried to switch with a clusterable webapp from Tomcat 5.0
to Tomcat 5.5 and ran into problems with the primary session
indication
-doc/cluster-howto.html
http://tomcat.apache.org/connectors-doc/
regards
Peter
Am 17.03.2006 um 03:16 schrieb Michael Jouravlev:
Hello!
How does redirect-after-post pattern work in clustered environment? In
my case I need to redirect to exactly the same location, where the
initial POST request
over you country boundaries. That works fine :-)
Peter
Am 17.03.2006 um 00:02 schrieb Larry Mulcahy:
My question is:
Is it reasonable to expect Tomcat clustering to work for servers
not in the
same network? Widely separated in different states?
I have read the docs but don't understand
Many thanks!
But the current tomcat 5.5 documentation find here
http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html
I thing it exists many good reasons to migrate from 5.0 to tomcat 5.5.16
if really using clustering today :-)
Regards
Peter
Am 16.03.2006 um 21:51 schrieb Filip Hanik
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Tomcat is just adhering to the Sun Java specification naming
conventions. Packages should be lowercase.
The OP's described package names *are* all lower-case, and the class
names are uppercase.
- Peter
real traffic. I then compared the results
against existing performance numbers. At the end, I could compare production
performance vs a series of results with different heap settings.
peter
On 3/26/06, Serkan Durusoy [DNA - encoding the future]
[EMAIL PROTECTED] wrote:
Hello All,
I am new
and the spider can't extract the
information (happened to me with MSN, not Google);
- Probably a bazillion other things.
- Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Actually Peter,
I have no javascript links on my page. The site is a struts site, and
all links are regular links with no odd, or peculiar issues.
OK.
I'd be able to make better guesses if I could see the site - apologies
if I've missed a URL
Thanks, I have correct the wrong name at server.xml comment. The
current cluster Howto describe the corrent mcastBindAddress parameter
name.
Sorry!
Peter
Am 27.03.2006 um 19:30 schrieb Parham, Clinton:
Hi Filip,
I have figured out (for the most part) what is happening:
Using Ethereal
?
- Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, or the browser doesn't support Javascript.
The first should(!) be rare, the second and third more common. In any
event, it's not reliable behaviour.
- Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
, as Markus suggests,
run Apache, run PHP inside Apache and use a connector to link Apache and
Tomcat. Be aware that connecting Apache and Tomcat seems to be a
somewhat fraught operation!
- Peter
-
To unsubscribe, e
I currently look inside the FarmWarDeployer code and it seems that
the ROOT case is not handle really well.
OK, I have tomorrow time to make a really introspection and a test
the case.
Regards
Peter
Am 31.03.2006 um 23:04 schrieb Filip Hanik - Dev Lists:
two things:
1. I don't see
is used.
- give the user the changes that sessions are exists after redeployment!
- JMX Support
I am now fix the ROOT.war bug. I hope Tim and Filip can test it with
svn head.
Thanks
Peter
Am 31.03.2006 um 23:40 schrieb Filip Hanik - Dev Lists:
Tim Lucia Wrote:
and a more recent
is attached below.
OS: SuSE ES 9
Java: 1.5.0_04
Tomcat: 5.5.9
Cheers,
Peter
---crontab
30 0 * * * root /etc/init.d/tomcat5 stop
45 0 * * * root /etc/init.d/tomcat5 start
--shell-script
JAVA_HOME1=/usr/local/jdk1.5.0_04
CATALINA_HOME=/usr
great, but trying to get to
www.site.com/~user/test.jsp or
www.site.com:8080/~user/test.jsp issues a
404 error from tomcat.
Can Tomcat read ~user/test.jsp as the non-root user? Presumably that file and
its containing directory would need world read access.
- Peter
Look at class o.a.c.valves.ExtendedAccessLogValve at the Source
Distribution.
This AccessLogger is currently not documented :-( You can configured
this
Logger conform to the http://www.w3.org/TR/WD-logfile.htm spec.
Regards
Peter
Am 06.04.2006 um 23:26 schrieb Bernie Durfee
'netstat -n' from a shell /
command prompt and look for ESTABLISHED connections between client and
server. You should see the local IP address as part of the output,
which will give you a reasonable idea what it's bound to.
- Peter
in. But I wouldn't put money on it.
- Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Nice plan,
we talk about this last week at developer list.
I thing good starting points are
http://centaurus.sourceforge.net
http://lambdaprobe.org
Help is very welcome. Let us discuss at developer list and start to
build a new tomcat management console.
Cheers
Peter
Am 11.04.2006 um 12
Use Ctrl Break at your cmd shell.
regards
Peter
Am 13.04.2006 um 11:05 schrieb Ronald Klop:
Do 'kill -QUIT pid-of-process' and look in your logs for the
stacktraces about what thread is doing what.
Or run 'jstack pid-of-process'.
This works on Unix/Linux. I don't know how to do
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 for all webapps.
-Tim
Rick Wong wrote:
It's been
or better the
o.a.tomcat.util.net.AprEndpoint implementation.
Regards
Peter
Am 18.04.2006 um 16:46 schrieb Adam McFarren:
When I run Tomcat 5.5 with APR the min/maxSpareThread attributes
don't appear to be working. maxThreads works fine however. Here's
the details:
Versions:
Tomcat 5.5.16
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
for
peaks and troughs in use.
Only you can answer these questions, as only you know what your
application is and how your users will use it.
- Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
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
Can you give some hints that normaly works for OpenSSL?
Peter
Am 29.04.2006 um 17:04 schrieb Marc-Olaf Jaschke:
Hi,
I try to to use Tomcat with APR and name-based virtual hosts using
SSL.
I've read the documentation for Tomcat/APR and searched the web,
but cannot find anything about
501 - 600 of 1790 matches
Mail list logo