jim ma wrote:
On Thu, Nov 20, 2008 at 10:24 PM, André Warnier [EMAIL PROTECTED] wrote:
jim ma wrote:
On Thu, Nov 20, 2008 at 6:48 PM, André Warnier [EMAIL PROTECTED] wrote:
Mikolaj Rydzewski wrote:
jim ma wrote:
I still want to know if it is possible to stop Tomcat from
redirecting.
Hello,
What ist he best-practice to use SSL with a Frontend Apache Webserver and a
mod_jk connected Tomcat? Define the SSL in Tomcat or in Apache Frontend? Has
the SSL functions to be enabled on Tomcat?
Greetings
AlexD.
On Nov 20, 2008, at 10:30 , Christopher Schultz wrote:
Len is absolutely right: the exception is being thrown by MySQL, so
it's
their error message. Was there a root cause printed with this stack
trace? That certainly would have helped.
I checked the source for Connector/J 5.1.6 and that
On Nov 20, 2008, at 10:15 , Christopher Schultz wrote:
SecurityManagers are such a pain in the ass IMO. If you're writing
your
own applications and deploying them yourself, I say give up on the
SecurityManager because you're not protecting yourself from anyone but
yourself. SecurityManagers
Hi.
To implement a recommendation from someone on this list, I took a few
snapshots using jmap -heap pid while Tomcat was starting up and also
starting up a webapp.
I just ran the jmap command several times at about 5 second intervals,
and redirected the output to a file.
Below if the file
Where can I get a 64 bit version of the isapi_redirect.dll?
I assume this is created by Apache?
Regards,
Michael McLeod
Consultant
ProtoCall One
T +44 (0) 800 881 8130
F +44 (0) 845 466 6005
M +44 (0) 797 032 9560
E [EMAIL PROTECTED]
W www.pc-1.co.uk
Hi André and every body,
Thank you very mutch for the details:))
Tail
- Mail Original -
De: André Warnier [EMAIL PROTECTED]
À: Tomcat Users List users@tomcat.apache.org
Envoyé: Jeudi 20 Novembre 2008 22:44:34 GMT +01:00 Amsterdam / Berlin / Berne /
Rome / Stockholm / Vienne
Objet: Re:
Michael McLeod wrote:
Where can I get a 64 bit version of the isapi_redirect.dll?
I assume this is created by Apache?
http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win64/jk-1.2.27/
Regards
--
^(TM)
-
I do a netstat -a | grep TomcatPort e.g.
netstat -a | grep 8080
(you will see the host which is listening on port 8080)
Bon Chance
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official
From: Alexander Diedler [mailto:[EMAIL PROTECTED]
What ist he best-practice to use SSL with a Frontend Apache
Webserver and a mod_jk connected Tomcat? Define the SSL in
Tomcat or in Apache Frontend?
In Apache httpd.
Has the SSL functions to be
enabled on Tomcat?
No. In a pure mod_jk
There is no IIS on this box.
Another thing I have found is that Tomcat slows down when a lot of
people are connected and requesting to the DB. My maxActive = '150'
for the database and maxThreads = '300'. The task manager doesn't show
high CPU usage and there is always atleast 2GB RAM free. Any
On Fri, Nov 21, 2008 at 10:53 AM, Caldarale, Charles R
[EMAIL PROTECTED] wrote:
From: jim ma [mailto:[EMAIL PROTECTED]
Subject: Re: How to prevent Tomcat redirect my request
If I get 302 response and write some code to resend
quest to the redirected location
The point everyone's
From: Toby Kurien [mailto:[EMAIL PROTECTED]
Subject: Re: java.lang.Exception: Socket bind failed: [730048]
There is no IIS on this box.
Then what was using port 80 earlier? To quote from a previous message of
yours: Only the webserver listening on port 80. What webserver is that?
My
jim ma wrote:
The problem is that I can not simply correct that URL and
send it for the f
first time. The request url is generated by other application or in some
condition sometimes provided by user . The client side can not judge
http://localhost:8080/foo; is a request for foo
Tell your clients to generate URLs like:
http://host/your_servlet?url=url_to_fetch
In other words you should implemet proxy that will handle redirects itself.
Finally, your clients will not see any 302 redirects.
I like this idea. It is greatly helpful , I think it works for my problem.
Ya... I got that message when I stopped the tomcat ( it shuts down with a
warning )
4th step in below is the scenario is where I got that warning
1) Start tomcat 1
2) Start tomcat 2
3) create atleast once session on tomcat 1 and tomcat 2 by accessing the
web application
4) kill any
jim ma wrote:
Tell your clients to generate URLs like:
http://host/your_servlet?url=url_to_fetch
In other words you should implemet proxy that will handle redirects itself.
Finally, your clients will not see any 302 redirects.
I like this idea. It is greatly helpful , I think it works for
Hello,
Can anyone tel me what is the default location where tomcat looks for
servlets?
Thanks!
kcg_
--
View this message in context:
http://www.nabble.com/Default-location-tp20627077p20627077.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
From: kcg_ [mailto:[EMAIL PROTECTED]
Subject: Default location
Can anyone tel me what is the default location where tomcat looks for
servlets?
First response:
http://www.catb.org/~esr/faqs/smart-questions.html
(as linked to from Tomcat's Mailing Lists page).
Second response: read the doc
Hi everyone!
I'm doing some performance tests under apache and tomcat using jakarta
connectors.
Searching around, I've read about apache-worker (not jakarta), to make
it multi-process and multi-thread, but I'm having some troubles with
connectors now.
Here is the output of jk_mod_log:
You have to specify the servlet classname in the WEB-INF/web.xml file. The jar
or class file containing the servlet must be on your classpath. The classpath
in Tomcat is the following to the best of my knowledge, though I don't know the
order
- the system classpath
- the ${catalina.home}/lib
Hi guys!
The session affinity in Apache guarantee that all requests from a
specific browser will be redirected to the same instance of Tomcat (worker).
How it works when we have an hardware load balancer in the first layer and 2
actives Apache HTTP Server?
Thanks a lot
Martin Spinassi wrote:
Hi everyone!
I'm doing some performance tests under apache and tomcat using jakarta
connectors.
Searching around, I've read about apache-worker (not jakarta), to make
it multi-process and multi-thread, but I'm having some troubles with
connectors now.
Here is the
remove this
worker.maintain=30
worker.worker1.connection_pool_size=1
for now, and just accept the defaults
Filip
Martin Spinassi wrote:
Hi everyone!
I'm doing some performance tests under apache and tomcat using jakarta
connectors.
Searching around, I've read about apache-worker (not
On Fri, 2008-11-21 at 19:56 +0100, André Warnier wrote:
Martin Spinassi wrote:
Hi everyone!
I'm doing some performance tests under apache and tomcat using jakarta
connectors.
Searching around, I've read about apache-worker (not jakarta), to make
it multi-process and
On Fri, 2008-11-21 at 12:12 -0700, Filip Hanik - Dev Lists wrote:
remove this
worker.maintain=30
worker.worker1.connection_pool_size=1
for now, and just accept the defaults
Filip
Wow!! That just made the trick!
Please, can you explain me how those changes affects?
Thanks you
Hi Filip
1. We are using tribes from 6.0.18, we have a unique situation we are on
5.5.25, however we are starting tribes ourselves. See my startup code
below.
2. It should be valid 239.176.50.121 is a valid Class D IPv4 address
(224.0.0.0 - 239.255.255.255)
3. No Windows XP 64 bit.
Tribes
239.176.50.121 should be in the address attribute, not in the bind attribute.
the bind attribute is what network card you wanna use for multicasting, the
address is what address you wanna use to send your pings over
Filip
Mike Wannamaker wrote:
Hi Filip
1. We are using tribes from 6.0.18,
Hi Filip
I found the cause
if(_desiredLocalIPAddr != null)
{
mCastService.setBind(_desiredLocalIPAddr);
}
_ desiredLocalIPAddr was not actually null but empty and therefore call
mCastService.setBind();
Hi.
At a customer runs a Tomcat 5.5.9, on Java 1.5, under HPUX 11.11.
It was installed from a standard HPUX package, which install in
/opt/hpws/tomcat, but otherwise looks pretty much like a plain vanilla
Tomcat5.x from the official site.
The package comes with a series of sample webapps,
Christopher Schultz schrieb am 18.11.2008 um 16:26:23 (-0500):
public class HttpResponseCatcher extends HttpServletResponseWrapper {
private ByteArrayOutputStream buffer;
public HttpResponseCatcher( HttpServletResponse res) {
super( res);
this.buffer = new
From: André Warnier [mailto:[EMAIL PROTECTED]
Subject: Where does it find them ?
I thus created a backup directory somewhere, stopped Tomcat, and moved
the following subdir trees totally to this new dir :
../webapps/jsp-examples
../webapps/servlets-examples
../webapps/webdav
You need to
From: Andrew Hole [mailto:[EMAIL PROTECTED]
Subject: Session affinity
How it works when we have an hardware load balancer in the
first layer and 2 actives Apache HTTP Server?
How smart is your load balancer? Can it be configured to route requests based
on content of the HTTP message (i.e.,
Is not very smart... There is some problem with that?
Thanks
On Fri, Nov 21, 2008 at 9:00 PM, Caldarale, Charles R
[EMAIL PROTECTED] wrote:
From: Andrew Hole [mailto:[EMAIL PROTECTED]
Subject: Session affinity
How it works when we have an hardware load balancer in the
first layer and
From: Andrew Hole [mailto:[EMAIL PROTECTED]
Subject: Re: Session affinity
Is not very smart... There is some problem with that?
I think so - without some intelligence in the load balancer, I don't think you
can maintain session affinity.
- Chuck
THIS COMMUNICATION MAY CONTAIN
Christopher Schultz schrieb am 20.11.2008 um 10:05:48 (-0500):
Micheal,
Your comment about calling getResponse().getOutputStream() and
ignoring the result got me to thinking...
Christopher,
I may actually have had a point there, although I'm not sure this is the
case. I just verified that
Caldarale, Charles R wrote:
From: Andrew Hole [mailto:[EMAIL PROTECTED]
Subject: Re: Session affinity
Is not very smart... There is some problem with that?
I think so - without some intelligence in the load balancer, I don't think
you can maintain session affinity.
- Chuck
Even the
Christopher Schultz schrieb am 20.11.2008 um 10:05:48 (-0500):
Keep reading for more.
Michael Ludwig wrote:
So, when this code is called from an include call to the request
dispatcher, it doesn't appear in your filter's captured output? Or,
it doesn't appear in the final response sent
Hi guys...I had setup tomcat cluster with 2 nodes. cluster has hardware load
balancer with sticky sessions configuration... All the log messages and
everything say that the session is being replicated but when one server
fails over the other server is kicking out the user
here is my server.xml
Dear Toby,
Another thing I have found is that Tomcat slows down when a lot of
people are connected and requesting to the DB. My maxActive = '150'
for the database and maxThreads = '300'. The task manager doesn't show
high CPU usage and there is always atleast 2GB RAM free. Any ideas on
why this
Hi Andre
did you try to clean all folders below $TOMCAT_HOME/work, make sure the wars
are not located in webapps (and recycle TC)
?
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official
You should post your entire filter next time, if only so André can see
it ;)
Yes, I'll resubmit it to your scrutiny when it's ready ...
I already saw it, copied it, saved it, studied it and sold it to a customer.
Now you guys are telling me it's not working ?
:-)
I did put Michael's name
Martin Gainty wrote:
Hi Andre
did you try to clean all folders below $TOMCAT_HOME/work, make sure the wars
are not located in webapps (and recycle TC)
?
Martin, Chuck,
No, I did not do that, because I did not know I had to, and since this
is a customer's Tomcat and not mine, I didn't want
From: André Warnier [mailto:[EMAIL PROTECTED]
Subject: Re: Where does it find them ?
Now, when you both say cleanup, you mean delete, like in
rm, right ?
Removing the stuff in the work directory is just cleanup - it's not the cause
of the attempted deployment you noticed. It's just junk
Hi,
I have inherited a project from someone (who is no longer around). I
am also fairly new to web-applications. While trying to become
familiar with tomcat 5.5 and the application that I inherited, I
learned that the previous developer copied everything in server/lib
to common/lib. I
Christopher Schultz [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chandra,
Chandra Madhumanchi (cmadhuma) wrote:
Do we have any solution ssl 2 way configuration on tamcat webserver
through .Net Client
If you're just trying to
Mark Ebbert [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I have inherited a project from someone (who is no longer around). I am
also fairly new to web-applications. While trying to become familiar with
tomcat 5.5 and the application that I inherited, I learned that
Hello,
I am trying to troubleshoot an error that seems to occur quite frequently
with no real solution. I constantly see
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link
failure in my application after the app runs for a few days. Communication
is fine, networking
48 matches
Mail list logo