I agree with you. Because of that, I've got that question :-)
Hopefully I've answered it..?
- -chris
A lof of thanks, Chris.
I'm going to test it and I'll make feedback to the list
Regards
-
To unsubscribe, e-mail:
How can you tell the difference between a primary server being down
and the primary server needing to (otherwise?) fail-over to the
backup? I'm confused about your nomenclature (primary failover means
mirror - primary?).
Well, I'm newbie in SQLServer but I think that primary and mirror are
I'd like to implement something for controlling flooding on the same URL.
I've thought to make it using by a valve filter ( based on
RemoteAddressFilter ) and check remote IP address.
is it the best way ?
is Remote IP address reliable ? I'll be a public Tomcat 6 server
I could add a CAPTCHA but
Hi:
I want to add database failover to my web application
I use Tomcat 6 and SQLServer database + JDBC Driver 3.0
I'm getting connections from datasource with
DataSource ds = ic.lookup(java:comp/env/jdbc/mydb);
Connection con = ds.getConnection();
I know that I've got to define a DN like
Thanks
Yes, but I am curious how you would make a browser send several
requests in a row on the
same connection, without waiting for the first request to return a
response.
For example, with AJAX calls
Well , I suppose that diferents AJAX calls go throught the same TCP
connection, but I'm not
Maybe the web page requested (under /pages/protected/admin/*)
is allowed to visit after you login, but that page could need to
access to resources stored under others folders non-authorized
Try to access a simple web page ( a blank page ) stored under
/pages/protected/admin/
to test if realm
Have a look at Tomcat log files
2012/9/29 sohsoh boudali.souh...@gmail.com:
I tried and the same problem !
--
View this message in context:
http://tomcat.10.n6.nabble.com/Problems-with-Realm-tp4987265p4987268.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
Hello:
I've got a concept doubt about if it's possible perform many calls to
the same servlet ( on the same session ) if the previous one didn't
finish.
I know that a connection is assigned to a thread.
If the client doesn't open more connection ( Keep-Alive: true ), all
requests are processed
I assume I can use iptables to redirect people to a different web server,
but how can I know that I need to redirect them to the maintenance.html if
that server is serving other web pages too?
You can try Valve filters .
With Valve, you have access to Request and Response objects
I didn't
maybe I haven't worded my idea correctly. I can't assume the Tomcat service
in server1 is running all the time (since it's under maintenance, tomcat
might be restarted a few times during the maintenance). That's why I thought
about iptables. The issue is that iptables run at the IP level while
Sorry, for any reason the date was changed in my system inadvertently
Corrected.
I don't have any problem to fix issues to people from the future :-)
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For
2012/8/13 Koray Duman koray_...@yahoo.com:
Hi;
We have used Tomcat 7.0.28 for 2 weeks. Our applicaiton is working normally
until yesterday. Yesterday I realized that When I closed our application
browser, Session cannot be closed by tomcat. It is waiting a lot of time. And
I realized
2012/8/13 Koray Duman koray_...@yahoo.com:
I think It is anything sending to server. Because I close the browser.
Well, I'm not an expert , so don't trust so much on my reply :-)
But, I guess that your browser doesn't notify anything to finish a
session, because session tracking is managed by
2012/7/31 Michele Mase' michele.m...@gmail.com:
With the tomcat locally installed all works fine; the issue occurs from a
linux box (rhel6.x in my situation) with tomcat 7.0.29 as the server
machine and a client. Both are in lan without filtering elements.
Since I'm (as now) unable to
2012/7/31 Michele Mase' michele.m...@gmail.com:
I'm waiting for a better solution ...
One silly question, do you have try to reproduce this issue with an
upper version of PDF Library ? I know that you cannot to upgrade all
clients but we can to discard a bug in this plugin
And, do you have try
The Content-Length header in the above 206 response is not from Tomcat.
Tomcat's DefaultServlet does not calculate the whole size of the parts
and does not set content-length, and the file size is much more than
fits into the buffer.
So it would use Transfer-Encoding: chunked in its
2012/7/30 Michele Mase' michele.m...@gmail.com:
IE 6.x on my test pc, but also IE8 with other pcs.
Acrobat is 9.x, 9.5.1 version, a lot of clients have this version, an
upgrade is not possible for now.
I've reviewed the apache access log (when the doc is served by a web server
apache
we are getting the following warning message from the log, when the machine
on but we are not in the office.
what is the meaning of the following message? Is anybody outside trying to
login?
Maybe.
Look at your access log to know if come from outside
2012/7/26 Chip McVey chip.mc...@quest.com:
Hi,
In TC7, is there a way to tell Tomcat to never unload a given servlet unless
Tomcat itself is being shutdown? I want a single servlet instance that I can
know will exist for the life of the tomcat process without being unloaded
reloaded
2012/7/19 vijay mathew vijaymathew2...@yahoo.com:
My application is using Tomcat 5.5 It works fine all the time however at
times when I try to login to the application I get the below exception
java.sql.SQLException: No more data to read from socket
at
2012/7/19 vijay mathew vijaymathew2...@yahoo.com:
Jose,
Tomcat is using JDK 1.5 and its JDBC driver.So I am not sure if I need to
upgrade the JDBC driver.
I suspect that whene DB is getting restarted, the idle connections are being
removed. Not sure how we can avoid this situation
OK, so
2012/7/6 Christopher Schultz ch...@christopherschultz.net:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
It is unreasonable to queue requests as a mitigation for high load:
you will only make things worse for your clients.
If I create a valve which delays requests by source IP address ,
2012/7/2 Steve Millidge smilli...@c2b2.co.uk:
Hi Brian,
You can tune the threads in the Tomcat HTTP connector. Set maximum threads to
the maximum concurrency you are prepared to support. That way requests will
wait until a thread becomes available.
But, if I'm not wrong, he want to punish
2012/6/28 Komáromi, Zoltán komaromi.zol...@horticosoft.hu:
1. Why not a Realm?
Because the authentication depends on session attribute, and I want to
bypass the form if user is logged in.
When I used Tomcat's realm to authenticate users , that was a issue
than I missed : to access to session
2012/6/18 Tony Anecito adanec...@yahoo.com:
Hi All,
Since JBoss is usually several minor versions behind on it's embedded Tomcat
server I usually run them in different jvms so I can use the latest versions
of each.
Are you interested on any particular feature in latest releases of
Tomcat
The solution was to 1) set acceptCount to a higher value in Tomcat and 2) to
configure my OS to allow applications to specify longer accept queues. That
last step was the one missing. I had changed acceptCount before, but since
the OS was limiting the accept queue length I did not see any
2012/5/22 Kees Jan Koster kjkos...@gmail.com:
Dear Tomcat community,
I am trying to resolve the problem where some client code in Java frequently
gets the following error in the logs:
java.net.SocketException: Connection reset
at
Yes I am. In finally{} block. Here is the client code:
Calling the disconnect() method of HttpURLConnection may close the
underlying socket
if a persistent connection is otherwise idle at that time
Try don't call it, test it and tell us :-)
2012/5/11 Irene Amatulli iamatu...@cleverdevices.com:
Hi,
I got this error when trying to access my application's website. The Tomcat
service is running, so I don't know why I got this error. The website
appeared with no problems when I used it yesterday. I'm not sure if some
updates
2012/5/10 tomaz tomaz.majerh...@arnes.si:
Dne 9.5.2012 15:48, piše Pid *:
On 9 May 2012, at 09:12, tomaz tomaz.majerh...@arnes.si wrote:
I'm struggling to get remote EJB from lookup, but with no success, is it
posible to this in Apache Tomcat/6.0.18?
I'm interested about how you solve
2012/5/9 Charles Shreve char...@citinc.biz:
I enabled logging and was able to find that the log comes back with code 200
which is my understanding that everything connects properly. I have found
that I am able to open any size html file, and jpeg files under 31k from the
remote subnet off
2012/5/7 Charles Shreve char...@citinc.biz:
We are able to open a test.html page from the remote location but we cannot
open our web app from the remote
location. Does Tomcat, by default, only allow local subnet access?
If you can access to a test.html page from remote site, looks like it
El 07/05/2012, a las 17:59, Charles Shreve char...@citinc.biz escribió:
Where would I find the access.log?
Under tomcat folder, into logs folder
Thank You,
Charles Shreve
540-662-1414
- Original Message -
From:Jose María Zaragoza demablo...@gmail.com
To:Tomcat Users List
El 23/09/2011, a las 00:10, Pid p...@pidster.com escribió:
On 22/09/2011 23:03, Omar Belkhodja wrote:
Hello,
I'm trying to create some kind of web application, that will provide access
to sensitive data for users. Each user, should login first, then after that
he will be able to display a
101 - 134 of 134 matches
Mail list logo