Java null on loadup

2007-11-04 Thread mailing list
i'd appreciate some help here people bacuase this is driving me nuts when my host setup an account and i deploy everything works great even afetr i change tomcat-users.xml and other files everything works swell. but when i touch server.xml and add this block which is supposed to default direct to m

Re: Preferred configuration with Hardware Loadbalancer

2011-10-06 Thread Ronald Klop (Mailing List)
What do you mean by Apache Webserver? Do you mean Apache Tomcat or Apache httpd? And do you want Failover (active-passive) or Loadbalancing (active-active)? Ronald. Op donderdag, 6 oktober 2011 10:36 schreef Alexander Diedler : Hello, I am just planning a Application cluster fo

Re: AW: Preferred configuration with Hardware Loadbalancer

2011-10-06 Thread Ronald Klop (Mailing List)
ander -Ursprüngliche Nachricht- Von: Ronald Klop (Mailing List) [mailto:ronald-mailingl...@base.nl] Gesendet: Donnerstag, 6. Oktober 2011 10:44 An: Tomcat Users List Betreff: Re: Preferred configuration with Hardware Loadbalancer What do you mean by Apache Webserver? Do you mean A

Re: AW: Securing Tomcat cluster communication

2011-10-06 Thread Ronald Klop (Mailing List)
A 'connector' is used between for example Apache httpd and Tomcat. It is not used between Tomcat nodes in a cluster. Ronald. Op donderdag, 6 oktober 2011 16:22 schreef Alexander Diedler : Hello, Please search for "secret" in http://tomcat.apache.org/connectors-doc/reference/workers

Re: URL "simplification"

2011-10-10 Thread Ronald Klop (Mailing List)
Simplified explanation: Apache httpd starts as user root. Binds port 80 and than drops privileges by setuid("apache") or setuid("nobody"). In java you can't easily drop privileges. So if you start as root in Java you can't easily change user. Of course you can call native code to do this. And t

Re: Tomcat clustering session attribute is changed without request

2011-10-24 Thread Ronald Klop (Mailing List)
Op maandag, 24 oktober 2011 12:55 schreef "Hodchenkov, Paul" : Hi all, I have configured tomcat 7 cluster by using [1] with DeltaManager and it works fine. However I have the following 2 questions: 1) My application stores session map in memory(admin can force logout of any

RE: Tomcat clustering session attribute is changed without request

2011-10-25 Thread Ronald Klop (Mailing List)
Hi, Replication of the attributes is done by the cluster valve. http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-valve.html If you manage to call that code from your own application, than you can do what you want. But that is not default functionality of Tomcat. You have to make it yours

Re: HOW TO detect what app server you're running in

2011-10-25 Thread Ronald Klop (Mailing List)
Does this help? public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { System.out.println("serverinfo: " + getServletContext().getServerInfo()); } Ronald. Op dinsdag, 25 oktober 2011 13:33 schreef Bob DeRem

Re: [OT]RE: Maximum memory that can be assigned to Tomcat on windows platform

2011-12-01 Thread Ronald Klop (Mailing List)
Op donderdag, 1 december 2011 09:39 schreef Casper Wandahl Schmidt : See below. I hope MS Outlook does some decent indend so my response is clear -.- -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: 30. november 2011 18:51 To: Tomcat

timeout exception is ignored?

2011-12-01 Thread Ronald Klop (Mailing List)
Hi, The method org.apache.catalina.connector.Request.parseParameters() contains this code. try { if (readPostBody(formData, len) != len) { return; } } catch (IOException e) { // Cl

Re: Tomcat memory allocation

2011-12-09 Thread Ronald Klop (Mailing List)
Op vrijdag, 9 december 2011 16:11 schreef Pid : On 09/12/2011 14:52, Martin O'Shea wrote: > -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: 09 Dec 2011 14 46 > To: Tomcat Users List > Subject: RE: Tomcat memory allocation > >> From: Marti