From: André Warnier [...@ice-sa.com]
would it not be easier to catch the OOM exception and then return a
sorry, server overloaded page to the browser ?
At that point, it's too late. A thread, somewhere in the system, tried to
allocate some memory for an object and couldn't. This could
Hi
I'm using 5.0.28 (with java5 patch) running on java5 (SR9 AIX). My webapp is
running on axis 1.2.
When I start some threads to do the work in my web service, I'm getting
errors like:
Exception in thread Thread-33 java.lang.NoClassDefFoundError:
my.whatever.package.whatever.class
Caused by:
From: Todd Hivnor [mailto:spambox_98...@yahoo.com]
One challenge with Peter's suggestion of tracking the
number of sessions myself is that I have a collection
of webapps. So I can't just set up a shared static counter;
I need a counter which works across multiple webapps.
The only way I know
Thank you for your answers, the versions is apache-tomcat-6.0.16, sorry.
I'll try to make the things as you say.
Thanks!!
awarnier wrote:
Caldarale, Charles R wrote:
From: raistlink [mailto:ela...@gmail.com]
Subject: How to create a virtual host with war file without beeing
created
On 12.05.2009 23:26, orahi001 wrote:
Hi,
I have apache web server running on one box as a proxy server
tomcat running on another box.
The apache server connects to application server (tomcat) via proxy passthru
parameter. The server running tomcat was recently rebooted. When it came
On 13.05.2009 08:07, Peter Crowther wrote:
From: André Warnier [...@ice-sa.com] would it not be easier to catch
the OOM exception and then return a sorry, server overloaded page
to the browser ?
At that point, it's too late. A thread, somewhere in the system,
tried to allocate some memory
Hi,
I am trying to port our existing plain old java diameter (
http://en.wikipedia.org/wiki/Diameter_(protocol) Diameter wiki page ) server
on top of tomcat.
I am new to J2EE/Tomcat.
Since Diameter is quite different from HTTP it is bit difficult to get
started with doing things. As far as i
From: Todd Hivnor [mailto:spambox_98...@yahoo.com]
Subject: Re: Preventing OutOfMemoryError: Java heap space
In my tests, as the RAM becomes depleted, the server
response becomes slower and slower.
That's because you're going through garbage collections at an ever increasing
frequency,
From: umeshkavade [mailto:umeshkav...@yahoo.co.in]
Subject: Re: Form Based Authentication creates user session before it
is authenticated?
P.S: BTW, is Tomcat planning to resolve this vulnerability in near
future?
I'll bite: what vulnerability are you referring to?
- Chuck
THIS
From: katepl [mailto:klin...@poczta.fm]
Subject: ClassLoader issues in multithreaded webapp ? TC5.0
I'm using 5.0.28 (with java5 patch)
What's the java5 patch?
Note that Tomcat 5.0 is deprecated. Can you reproduce the problem on a
supported level?
I don't recall having seen these
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 5/12/2009 5:03 PM, Caldarale, Charles R wrote:
From: David kerber [mailto:dcker...@verizon.net] Subject: Re:
Performance with many small requests
When (what java version) did those string operation optimizations
happen? Sun's web
On Tue, May 12, 2009 at 4:58 PM, Rainer Jung wrote:
On 12.05.2009 22:33, Stephen More wrote:
I have a flash application ( Macromedia Breeze Presentation ) that is
working fine when I access it directly from tomcat's port 8080.
When I access it through apache using mod_jk, IE loads some of
Christopher Schultz wrote:
...
Since a String object is immutable, one should always use a
StringBuffer (preferably a StringBuilder, these days) when you are
constructing strings in a piecemeal fashion, then convert to String
when complete.
This advice is good when constructing a long
Thanks, if possible could you/someone send some examples of how to configure
JAAS with JBoss? I have it working with Tomcat but need the minimum
configuration to do the same for JBoss.
Note, I have a servlet that at startup sets the JAAS configuration, i.e.
http://www.cafesoft.com/products/cams/tomcat-security.html
if you are asking how to overcome Man-in-the-middle fraudulent manipulation
based on basic authentication?
and or Man-in-the middle fraudulent manipulation based on Form-based
authentication which uses j_username
Hello,
It is possible to make a Cluster Deployment without WAR Files?
WatchDir is F:\inetpub\wwwroot if there is something changed, it should be
deployed to all other cluster nodes.
Mit freundlichen Grüßen
tecRacer GmbH Co. KG
Alexander Diedler
Softwareentwicklung und
From: Alexander Diedler [mailto:adied...@tecracer.de]
WatchDir is F:\inetpub\wwwroot if there is something changed,
it should be deployed to all other cluster nodes.
If you're on Windows, why not use the built-in file replication to replicate
changes between the nodes rather than use
Thanks, Chuck and Peter, for the clarifications on OOM.
I believe that unconsciously, with my large object reservation theory,
I was vaguely remembering something I had read some time in the past.
So I searched Google for java +parachute +memory and this is something
I found :
Rainer Jung-3 wrote:
On 12.05.2009 23:26, orahi001 wrote:
Hi,
I have apache web server running on one box as a proxy server
tomcat running on another box.
The apache server connects to application server (tomcat) via proxy
passthru
parameter. The server running tomcat was recently
From: André Warnier [mailto:a...@ice-sa.com]
Thanks, Chuck and Peter, for the clarifications on OOM.
I believe that unconsciously, with my large object
reservation theory,
I was vaguely remembering something I had read some time in the past.
So I searched Google for java +parachute +memory
I guess I need to ask my question again. Im primarily an HP-UX
administrator and recently inherited this web based application ...
We are having some issues in accomodating additional user load/functionality.
While a part of the team is looking at optimizing code, I am responsible for
Hi All,
I have a web application that communicate with a DB2 Database.
There are multiple users that need to authenitcate them before using the
application.
Each user has just a role and the are 3 roles.
I need to access to a DB2 database using those 3 different roles in order to
limite the
A few days ago, a number of you helped me get tomcat up and running with
the example files shipped with the default install of tomcat. Just as a
reminder, I am on CentOS 5.4/64 bit system using jdk1.6.1_13, apache
tomcat 6.0.18.
I was going through this exercise because I was given a tomcat
Trying to provide some limited help peppered across your message..
Dave Filchak wrote:
A few days ago, a number of you helped me get tomcat up and running with
the example files shipped with the default install of tomcat. Just as a
reminder, I am on CentOS 5.4/64 bit system using jdk1.6.1_13,
On 13-May-2009, at 09:16, David kerber wrote:
Christopher Schultz wrote:
...
Since a String object is immutable, one should always use a
StringBuffer (preferably a StringBuilder, these days) when you are
constructing strings in a piecemeal fashion, then convert to String
when complete.
André Warnier wrote:
Trying to provide some limited help peppered across your message..
snip
First I created a war file of the site pages using java -cvf
exodus.war *
That was more likely jar -cvf exodus.war *, right ?
Errr ... yes correct.
I then put the war file inside my webapps
Something doesn't square :
this :
Dave Filchak wrote:
Ok, so we assume your tomcat's CATALINA_HOME and CATALINA_BASE are
both /usr/opt/tomcat, and below that you have directories like
- bin
- conf
- webapps
- logs
right ?
Correct.
and this :
Starting Razuna Tomcat:
Using
André Warnier wrote:
Something doesn't square :
this :
Dave Filchak wrote:
Ok, so we assume your tomcat's CATALINA_HOME and CATALINA_BASE are
both /usr/opt/tomcat, and below that you have directories like
- bin
- conf
- webapps
- logs
right ?
Correct.
and this :
Starting Razuna
Dave Filchak wrote:
André Warnier wrote:
Something doesn't square :
this :
Dave Filchak wrote:
Ok, so we assume your tomcat's CATALINA_HOME and CATALINA_BASE are
both /usr/opt/tomcat, and below that you have directories like
- bin
- conf
- webapps
- logs
right ?
Correct.
and this :
From: Dave Filchak [mailto:sub...@zuka.net]
Subject: General errors in virtual host setup
This reflected the paths in the new server.
It's generally bad form for a webapp to know where it's deployed, indicating
some degree of laziness or ignorance on the part of the webapp developer.
André Warnier wrote:
Dave Filchak wrote:
André Warnier wrote:
Something doesn't square :
this :
Dave Filchak wrote:
Ok, so we assume your tomcat's CATALINA_HOME and CATALINA_BASE are
both /usr/opt/tomcat, and below that you have directories like
- bin
- conf
- webapps
- logs
right ?
Caldarale, Charles R wrote:
From: Dave Filchak [mailto:sub...@zuka.net]
Subject: General errors in virtual host setup
This reflected the paths in the new server.
It's generally bad form for a webapp to know where it's deployed, indicating
some degree of laziness or ignorance on the part
Dave Filchak wrote:
netstat -an | grep LISTEN
tcp0 0 66.207.212.58:800.0.0.0:*
LISTEN
Apache, listening on just one IP address ?
tcp0 0 :::8009 :::*
LISTEN
Ok, that seems to be the first AJP connector
tcp0 0
By the way, the missing 8005 listening port probably explains this
previous exception :
May 13, 2009 3:02:39 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
I
André Warnier wrote:
Dave Filchak wrote:
netstat -an | grep LISTEN
tcp0 0 66.207.212.58:800.0.0.0:* LISTEN
Apache, listening on just one IP address ?
tcp0 0 :::8009 :::* LISTEN
Ok, that seems to be the first AJP connector
Dave Filchak wrote:
When I ran the url and said that it timed out ... what it actually
eventually popped up was:
Bad Gateway
The proxy server received an invalid response from an upstream server.
Maybe this gives us a hint?
To me, it just makes it even more confusing.
;-)
Please confirm,
Dear Todd,
I'm not sure I can use session counting, as my
session size is not consistent. I could try to estimate
the size of each session, and keep a global counter,
but that seems like a lot of work.
JMX offers quite a bit of insight in what your GC is doing. You could
implement
snip
Indeed, strange.
There is also port 8005 missing, which should be the Tomcat shutdown
connector.
Server port=8005 shutdown=SHUTDOWN
Where is it ?
I see it here:
Sorry ... ignore this comment. At one point in the past we had changed
this port as part of an attempt at better
When I ran the url and said that it timed out ... what it actually
eventually popped up was:
Bad Gateway
The proxy server received an invalid response from an upstream server.
Maybe this gives us a hint?
Dave
-
To
Dave Filchak wrote:
André Warnier wrote:
Dave Filchak wrote:
netstat -an | grep LISTEN
tcp0 0 66.207.212.58:800.0.0.0:* LISTEN
Apache, listening on just one IP address ?
tcp0 0 :::8009 :::* LISTEN
Ok, that seems to be the
My setup is tomcat 5.5.17 + mod_jk 1.2.15 + httpd 2.2.2. I am using AJP1.3.
Every 2-3 days with no major load, tomcat throws the error: SEVERE: All
threads (200) are currently busy, waiting...
I have been monitoring my tomcat TP-Processor thread behavior over extended
time intervals and observe
Hi,
We recently encountered an issue on one of our integration machines,
where a fews pages will not finish loading (actually it will, but only
after around 4 minutes), and this is not even a large page. The same
tomcat and web application work fine on the local development
workstation
André Warnier wrote:
Dave Filchak wrote:
When I ran the url and said that it timed out ... what it actually
eventually popped up was:
Bad Gateway
The proxy server received an invalid response from an upstream server.
Maybe this gives us a hint?
To me, it just makes it even more confusing.
Caldarale, Charles R wrote:
snip
O.k., then leave the extra Host element there. However, redefine its appBase to be
somewhere else; it doesn't have to be under the Tomcat directory tree, and it *must not* be
under any other Host appBase.
2) Do you want the exodus webapp to be the
Chetan,
We had similar issue with Sun solaris and weblogic.
My system admin found out there is a socket read errors are going on . He
used snoop command in solaris. After tuning the TCP parameters the issue got
resolved.
You might also need to something like that.
Thanks
Krish
On Wed, May
André Warnier wrote:
Dave Filchak wrote:
When I ran the url and said that it timed out ... what it actually
eventually popped up was:
Bad Gateway
The proxy server received an invalid response from an upstream server.
Maybe this gives us a hint?
To me, it just makes it even more confusing.
From: Dave Filchak [mailto:sub...@zuka.net]
Subject: Re: General errors in virtual host setup
OK .. I have moved it into our web directory at
/web/exodus.zuka.net/docs/ROOT/
And what did you set the exodus.zuka.net Host appBase to? It should be
/web/exodus.zuka.net/docs.
Humm ... I have
Caldarale, Charles R wrote:
From: Dave Filchak [mailto:sub...@zuka.net]
Subject: Re: General errors in virtual host setup
OK .. I have moved it into our web directory at
/web/exodus.zuka.net/docs/ROOT/
And what did you set the exodus.zuka.net Host appBase to? It should be
From: Dave Filchak [mailto:sub...@zuka.net]
Subject: Re: General errors in virtual host setup
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed:
java.net.BindException: Address already in usenull:8080
This looks like you already have a Tomcat instance
From: Dave Filchak [mailto:sub...@zuka.net]
Subject: Re: General errors in virtual host setup
Well the exodus app does use a database but the connection stuff
is in an environment.xml file.
Then exodus must be managing its own connections. You likely do not need a
Context element for
From: Dave Filchak [mailto:sub...@zuka.net]
Subject: Re: General errors in virtual host setup
No chance that these missing ports are caused by the firewall?
Not likely; they should still show up in netstat.
These are all internal ... yes?
No - only the shutdown port is internal
From: Andre-John Mas [mailto:andrejohn@gmail.com]
Subject: Page not completing loading - ideas?
Does anyone have any ideas of how to go about analysing the issue?
I'd start with a Wireshark capture/trace on the client workstation to see
exactly what's going on over the network. If you
Dave Filchak wrote:
André Warnier wrote:
Dave Filchak wrote:
When I ran the url and said that it timed out ... what it actually
eventually popped up was:
Bad Gateway
The proxy server received an invalid response from an upstream server.
Maybe this gives us a hint?
To me, it just makes it
Andre
can you display contents of
$CATALINA_HOME/conf/web.xml
localXsltFile
globalXsltFile
http://tomcat.apache.org/tomcat-5.5-doc/default-servlet.html
Bon Chance,
Martin Gainty
__
Disclaimer and Confidentiality/Verzicht und
I am going to step away from this for about an hour to get a break and
something to eat.
Just a bit before I do: tomcat was installed as a service and when I
restart the service, I get these errors. However, when I go to
/opt/tomcat/bin/shutdown.sh and then startup.sh, I do not appear to get
kramasundar kramasun...@yahoo.com wrote in message
news:23519306.p...@talk.nabble.com...
Hi,
I am trying to port our existing plain old java diameter (
http://en.wikipedia.org/wiki/Diameter_(protocol) Diameter wiki page )
server
on top of tomcat.
I am new to J2EE/Tomcat.
Since
Dave Filchak wrote:
I am going to step away from this for about an hour to get a break and
something to eat.
Just a bit before I do: tomcat was installed as a service and when I
restart the service, I get these errors. However, when I go to
/opt/tomcat/bin/shutdown.sh and then startup.sh, I
Dave Filchak wrote:
Dave Filchak wrote:
I am going to step away from this for about an hour to get a break
and something to eat.
Just a bit before I do: tomcat was installed as a service and when I
restart the service, I get these errors. However, when I go to
/opt/tomcat/bin/shutdown.sh
58 matches
Mail list logo