> 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
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
>>> c
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 cam
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 so
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 ha
> 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 sy
-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
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 so
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 str
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.
Configuration.setConfiguration(configur
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 Netzwerksicherhe
> 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 Tom
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 :
http://mail-
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 tomc
> 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 +
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
infrastru
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 acc
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 ba
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, a
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.
Thi
André Warnier wrote:
Trying to provide some limited help peppered across your message..
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 direct
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 CATALINA_BAS
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 Tomc
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.
H
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 ?
Cor
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 beli
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
t
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, t
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 throttling
Indeed, strange.
There is also port 8005 missing, which should be the Tomcat shutdown
connector.
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 security. I just did not read
close enough
t
> From: Dave Filchak [mailto:sub...@zuka.net]
> Subject: Re: General errors in virtual host setup
>
> > It's really, really bad form to write into the webapps directory;
> > you need to move the logging area to somewhere else.
>
> Can I simply change the path?
I would expect so.
> > 1) Do you ex
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 unsubscrib
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 f
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 observ
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 an
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:
O.k., then leave the extra 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 appBase.
2) Do you want the exodus webapp to be the default webapp
for
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 1
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 appBase to? It should be
"/web/exodus.zuka.net/docs".
> Humm ... I h
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 appBase to? It should be
"/web/exodus.zuka.
> 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 use:8080
This looks like you already have a Tomcat instance runn
> 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
element for that w
> 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 (127.0
> 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 y
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 Vertraulichkeitanmerkung/
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" 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 Diameter is qui
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 d
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 and
Hi,
I have problem with running my app. When I run Tomcat 5.5 | 6.0 by java -jar
bootstrap.jar start It works fine, but when I try run it by catalina.bat or
install as servise I got some class found problems.
Shortly... Some features of application is based on jaxb1 and I need there
web servise w
58 matches
Mail list logo