Re: Custom web application as default web app

2008-08-04 Thread André Warnier
sasuke wrote: Hello all. I have recently started developing J2EE applications using Tomcat and have come across a stumbling block. Suppose I want to run Tomcat in an environment close to what it would be in production; to do I need to do the following: 1. • Make sure Tomcat is running on

Re: enabling/disabling a servlet filter conditionally

2008-08-04 Thread André Warnier
André Warnier wrote: Thanks, a lot. [etc..] I have one more question, if you would be so kind and if it is not too heavy to handle here (and at the risk of sounding very amateur) : In the standard condiguration, the JCIFS filter comes as a jar, which gets placed in the WEB-INF/lib sub-dir

Re: Tomcat Service is stopped automatically???

2008-08-04 Thread André Warnier
Thangavel Sankaranarayanan wrote: Hi, I dont find any Hkey..instead i find a Hkey_Current_user.. I have loggged in to a remote system through RDC... and i could'nt find any system or other things in it... Oh well, that means you (or rather your user-id) are probably not a Local Administrator

Re: List remote files in Servlet

2008-08-06 Thread André Warnier
Nathan Thatcher wrote: Turns out that was the issue. I set tomcat to run as a local user and now it works. Thanks for the help. Tomcat is running on a windows machine under the SYSTEM account so I assume that it has the permissions. Is there a way to check if this is the problem? Under

Re: Can't start Tomcat5 service on Windows Vista Home Premium

2009-09-06 Thread André Warnier
Mark Thomas wrote: Barry Kimelman wrote: ... This is a 'feature' of newer versions of Java where the required dlls aren't placed where they are meant to be. I believe there is a fix in the works in commons-daemon to try and work around this. More details (including background and

Re: Tomcat App Configuration

2009-09-07 Thread André Warnier
Markus, that was a bad recommendation. Look here instead : http://wiki.apache.org/tomcat/HowTo#head-2e16a614a1be6e03102fc69dd59587a30e20bc5c Markus Meyer wrote: I'm not sure what's the problem, but I would not put the app into /usr/share/tomcat5.5/webapps because this is the default location.

Re: mod_jk fails to forward request on high traffic

2009-09-08 Thread André Warnier
Rainer Jung wrote: On 08.09.2009 17:49, Mark Thomas wrote: John Cherouvim wrote: Hello I have a website which during peak time (peak lasts around ~4 hours with 14 pageviews/sec, 140 http requests/sec) starts to drop pageview requests. My guess is that all of your Tomcat AJP threads are tied

Re: mod_jk fails to forward request on high traffic

2009-09-08 Thread André Warnier
John Cherouvim wrote: ... Is there a possibility that there is a problem with the fact that I use: IfModule mpm_prefork_module ... ServerLimit1024 MaxClients 1024 and default Connector settings? Connector port=8010 protocol=AJP/1.3 redirectPort=8443 address=127.0.0.1 /

Re: catalina error file

2009-09-08 Thread André Warnier
mateo-jl wrote: Hello, i would like to have a circular catalina error file is it possible ? Mmmm. The concept of a circular file sounds interesting. Maybe you want to explain a bit what you mean ? there may be a great technical breakthrough lurking there.

Re: catalina error file

2009-09-08 Thread André Warnier
David Smith wrote: .. :-D The circular file still is the trash can. In that case, /dev/null should work. :-) Yeah but you want a buffer before the /dev/null, to give one a chance to peek at the contents. I like Chuck's proposal for the name. I mean, under Unix/Linux we already have stuff

Re: catalina error file

2009-09-08 Thread André Warnier
David Smith wrote: ... Pure speculation on my part, but maybe the OP is looking for log rotation. Nah, much too simple. And so are syslog and other Windows Event logs. Neither did the OP tell us on which platform this would be, nor really even if it is related to Tomcat (though I admit that

Re: catalina error file

2009-09-08 Thread André Warnier
Caldarale, Charles R wrote: From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com] Subject: Re: catalina error file Basically a fixed-size serialized FIFO, right? Yes, but the complication occurs when the records are of unbounded variable size. But we are talking about logfiles (e.g.),

Re: very high CPU and load...

2009-09-09 Thread André Warnier
keeplearning wrote: I am running a load test with 2 web (apache) and 2 appservers (tomcat). I am noticing that after 250 users, I start seeing very high CPU usage and very high load. Below is the o/p from top command. I also saw this message in catalina.out: SEVERE: All threads (250) are

Re: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-10 Thread André Warnier
balakarthik.baska...@wipro.com wrote: ... Just jumping in here, but doesn't that request to /test/test.jsp appear to be looping ? or is that by design ? ReplyTimeout_Analysis.txt : [Thu Sep 10 14:46:47 2009][5024:2952] [debug] jk_ajp_common.c (1259): 00f06D 20 74 65 73 74 69 6E 63 6C 75

Re: bypassing a servlet mapping to /*

2009-09-10 Thread André Warnier
Leon Rosenberg wrote: and if i use mapping with asterisk (/net/java/dev/moskito/webui/jsp/*) , i see log errors from dispatcher servlet that it doesn't know how to map /net/java/dev/moskito/webui/jsp/Producer.jsp. Yep (from a dummie) : does that not indeed look like the dispatcher thingie

Re: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-10 Thread André Warnier
balakarthik.baska...@wipro.com wrote: No I explicitly made it to loop so that I can write a content for a time longer than the reply_timout setting to simulate and look at the behaviour. Ok, but does a reply timeout really apply in that case ? I would intuitively think that a reply timeout

Re: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-10 Thread André Warnier
balakarthik.baska...@wipro.com wrote: Yes you are right.I think I didn't mention it clearly.I am having this while loop for writing a huge chunk of data followed by a thread that sleeps for some time and that is where I am expecting my reply_timeout to be timed out and the data written till

Re: tomcat url rewrite

2009-09-11 Thread André Warnier
WILLIAMer wrote: I get a problem with the URL. My application has url rewrite for SEO. I use this format http://mydomain/item.html for display. There is an error that if the item name like LF/123, then the url become http://mydomain/LF/123.html. Because of the name include / character. I got

Re: 3 question for the form

2009-09-11 Thread André Warnier
Karthik Nanjangude wrote: Hi 3 question for the form 1) Under What condition the MaxThreads should be increased in server.xml? maxThreads=150 when SSL is Configured with APACHE2x / Tomcat 6.0.2.0 setup 2) Is there a Process / Command to constantly monitor

Re: Windwos Integrated Authentication using AD and Tomcat (no prompt to the users)

2009-09-13 Thread André Warnier
Quick answer : Look at http://www.ioplex.com, Jespa. Derlei Luff wrote: Hi all, I’m new to Tomcat and normally work in a Microsoft Windows world. I’ve stumbled into a problem using Tomcat as a web server, that I’m sure there is a simple solution for though I can’t find it. I’m sure it works

Re: Windwos Integrated Authentication using AD and Tomcat (no prompt to the users)

2009-09-13 Thread André Warnier
To Martin, Steve and others : Samba's JCIFS works fine, but only for NTLMv1 authentication. (It is also no longer maintained, see http://jcifs.samba.org.) It does NOT work for NTLMv2 authentication, which is fast becoming the norm, and the default from Vista onwards. Jespa works with NTLMv2,

Re: decouple authentication and authorization of TOMCAT

2009-09-14 Thread André Warnier
John Chen wrote: ... I am also thinking using Apache Web Server to do the authentication and use tomcat for authorization, do you think it would work? With the Apache/mod_jk/Tomcat combination it can, certainly. There exists (I believe in the Connector element of Tomcat), an attribute

Re: decouple authentication and authorization of TOMCAT

2009-09-14 Thread André Warnier
John Chen wrote: Hi, We have installed a third-party software running on tomcat. Is there anyway to decouple tomcat authentication and authorization? We have to use AD for authentication and we are not encouraged to add groups to AD just for the new software. Any help would be

Re: decouple authentication and authorization of TOMCAT

2009-09-14 Thread André Warnier
John Chen wrote: Apache front-end will do the authentication, does tomcat still use tomcat-users.xml for the authorization part? I am not quite sure. I believe Tomcat's integrated AAA is pretty much an all-or-nothing proposition. But maybe, if the request is authenticated by Apache

Re: Error 401 deploying war to Tomcat with Ant

2009-09-14 Thread André Warnier
Charl Gerber wrote: .. Hi. I am not really competent, but following the steps and symptoms you describe, the following scenario would fit : - you initially installed Java - then you installed Ant. This Ant installation overwrote something the Java installation had done. - then you

Re: Error 401 deploying war to Tomcat with Ant

2009-09-14 Thread André Warnier
Charl Gerber wrote: Nevermind Turns out oracle database had a web page running at same port (8080). Via web browser I correctly saw Tomcat, via ant task it went to oracle. Stopped Oracle and all was back to normal. Hi. I am not saying that my previous suggestion was any better, but

Re: 64-bit connector issues on W2K8 IIS7

2009-09-14 Thread André Warnier
Jordan Michaels wrote: .. Can't really help, never tried that combination. But just by curiosity : is the IIS you are running, itself really a 64-bit program ? Also, there are I believe 2 versions of the 64-bit connector DLL : one for AMD processors, the other for Intel. Did you pick the right

Re: error listenerstart Tomcat 6.0.20

2009-09-15 Thread André Warnier
Sarah_Sh wrote: Hi all, Hi. I have no idea about all the other stuff, but at least here there seems to be a small typo : WARNUNG: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'relaodable' to 'false' did not find a matching property. 'relaodable' probably needs

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-17 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sylvie, On 9/17/2009 9:12 AM, Sylvie Perrin wrote: I have a shared directory on a windows system named SHAREDDIR and containing one file named fichié.txt Sylvie, why do you not name your file fichier.txt, like it

Re: Virtual host configuration - best practise?

2009-09-19 Thread André Warnier
hepabolu wrote: ... However, from the Tomcat docs I understand that any change to server.xml requires a restart of Tomcat which would mean that the existing (non-dummy) hosts which are already in production, i.e. up and running, will also be taken offline. This is the heart of the problem...

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-21 Thread André Warnier
Sylvie Perrin wrote: Christopher, Here is the stack trace of the FileNotFoundException: java.io.FileNotFoundException: /home/me/mountDir/fichi��.txt (No such file or directory) Sylvie, maybe what appears above shows the origin of the problem, and explains what I was trying previously to

Re: Security Constraint conflict

2009-09-21 Thread André Warnier
Caldarale, Charles R wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: Security Constraint conflict The logical union of 'no methods' and 'some methods' is 'some methods', isn't it? But... Yes, except the spec says the operation is *not* a union when a constraint has no roles. Rather

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-21 Thread André Warnier
Sylvie Perrin wrote: André, Thank you for your help but I can't follow your main recommendation, ie. avoid using non US-ASCII names. Actually, file names are part of information my servlet have to process and they cannot be changed. I am not the owner of these names and I must deal with

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-22 Thread André Warnier
Christopher Schultz wrote: ... What is the source of that file name? Is it hard-coded into your Java code? If so, how? Did you just type fichié.txt into your .java file, or did you use \uxyz syntax to specify the UNICODE character you intended? If you are reading the filename from a remote

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-22 Thread André Warnier
these lines in my tomcat auto-start script : LC_ALL=fr_FR export LC_ALL Thuis, you should probably change, to be the same as your own locale fr_FR.UTF-8 above. André Warnier a écrit : The problem is generally unsolvable, if the original entry in the directory can be created in several ways

Re: [ANN] Compile Tomcat Web apps into native Windows/Linux executables (beta)

2009-09-22 Thread André Warnier
Leon Rosenberg wrote: ... As for preventing decompilation, how many people/companies are actually delivering a war which they need to protect from decompiling? How many people would install such a product, one they can't configure anymore, one that is even infectable by viruses? This just

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-22 Thread André Warnier
Christopher Schultz wrote: ... Then of course, after the above trivial matter of the filename is resolved, one may have to tackle the matter of how the file contents are encoded. At least the programmer has some measure of control over that. Not if she doesn't know what they have been

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-22 Thread André Warnier
Sylvie Perrin wrote: ... - your application, running (later) under Tomcat, is supposed to read these files and do something with them. I suppose that you do not know in advance, what the names of these files will be, and you just have to take what is there. Is that correct ? You perfectly

Re: Deploying Tomcat on Windows CE

2009-09-22 Thread André Warnier
Ajay Kapur wrote: Hi, We have a web application that runs on Tomcat 6x. We want to deploy this application on a symbol MC 3090 device running windows CE as the OS. Would it be possible to deploy Tomcat 6x on Windows CE and run our application on that? Probably. How much are you willing to

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-22 Thread André Warnier
Christopher Schultz wrote: ... I wonder if Java uses the file.encoding system property (which is set by the portion of $LC_ALL after the .) to convert bytes returned from the filesystem into filenames and vice versa. Yeah, that appears to be the case: Christopher, your detailed analysis is

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-23 Thread André Warnier
Christopher Schultz wrote: ... I dunno. This is pretty ugly. Again, setting everything to UTF-8 dramatically reduces headaches in these areas. Thanks, Christopher. I fully agree. - To unsubscribe, e-mail:

Re: accesing webapplication without the web context

2009-09-24 Thread André Warnier
rama.honge wrote: Hi, What to know to to access a webapp without using the context in the url in tomcat 6.0 for ex: Instead of using http://myserver.com/TestApp, it should be accessible with http://myserver.com There is only one web application deployed in tomcat. Any help on this much

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-24 Thread André Warnier
Sylvie Perrin wrote: Christopher, André, Christopher Schultz a écrit : And (just to anticipate the next issue), Sylvie, does your program actually need to read the content of the file and do something with that content ? Yeah, remember to use a Reader and specify the character

Re: Apache/Tomcat with SSL

2009-09-28 Thread André Warnier
Miguel Ortiz wrote: ... [u...@localhost conf.d]# tail -f /var/log/httpd/ssl_error_log [Mon Sep 28 08:51:41 2009] [error] [client xxx.xxx.xxx.xxx] File does not exist: /var/lib/tomcat5/webapps/favicon.ico [Mon Sep 28 08:51:44 2009] [error] [client xxx.xxx.xxx.xxx] File does not exist:

Re: Apache/Tomcat with SSL

2009-09-28 Thread André Warnier
miguel.or...@macneillgroup.com -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Monday, September 28, 2009 11:25 AM To: Tomcat Users List Subject: Re: Apache/Tomcat with SSL Miguel Ortiz wrote: ... [u...@localhost conf.d]# tail -f /var/log/httpd/ssl_error_log [Mon Sep 28

[OT] Re: How to check if the client dropped the connection

2009-09-28 Thread André Warnier
Martin Gainty wrote: could you explain just a bit more what is a tile? http://en.wikipedia.org/wiki/Tile It's the same idea, but for images. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: How to check if the client dropped the connection

2009-09-29 Thread André Warnier
aaime74 wrote: ... Hi. Kind of restarting from the beginning, I think that the first question to ask is whether whatever method which actually does the rendering of the maps, and which is heavy in terms of resources, is capable of being interrupted cleanly in the middle. Is it capable itself

Re: How to check if the client dropped the connection

2009-09-29 Thread André Warnier
aaime74 wrote: ... Ok, but let's say Tomcat is capable of that. How does one check from within the servlet that the connection has been dropped without writing out anything? I have been looking (starting at the HttpServletResponse object), trying to follow the trail to see if one at some

Re: IIS, Tomcat, JNDI and ActiveDirectory

2009-09-29 Thread André Warnier
Hi Joerg. The following remarks are more a question from me, than an answer to you. I am interested also in a real answer from someone who really knows.. Buchner, Joerg [T0I] (VW Sachsen) wrote: Hi, i've got a Microsoft IIS 6.0 Webservice. Behind the IIS is an Apache Tomcat 5.5.26 (connected

Re: AW: IIS, Tomcat, JNDI and ActiveDirectory

2009-09-29 Thread André Warnier
Hi Joerg. To clear up a bit, you are talking about 2 distinct aspects : Authentication and Authorization. Authentication = to find out who the user is Authorization = when we know who the user is, determine if he has or not the authorization required to access some resource (in this case,

Re: errors after install

2009-09-29 Thread André Warnier
Daniel Wittenberg wrote: I'm setting up spacewalk, all default settings, and I'm getting this in the catalina.out. Any ideas ? Sep 29, 2009 7:19:34 PM com.mchange.v2.resourcepool.BasicResourcePool $AcquireTask run WARNING: com.mchange.v2.resourcepool.BasicResourcePool $acquiret...@7da79447 --

Re: errors after install

2009-09-29 Thread André Warnier
Daniel Wittenberg wrote: I'm setting up spacewalk, all default settings, and I'm getting this in the catalina.out. Any ideas ? Sep 29, 2009 7:19:34 PM com.mchange.v2.resourcepool.BasicResourcePool $AcquireTask run WARNING: com.mchange.v2.resourcepool.BasicResourcePool $acquiret...@7da79447 --

Re: Explanation mod_jk error messages

2009-09-30 Thread André Warnier
Bocalinda wrote: ... My mod_jk configuration only has the following settings (apart from the port and IP address settings ofcourse): That is exactly what it would have been interesting to see, along with the Connector tags in your Tomcat's server.xml files. What is strange with the error

Re: errors after install

2009-09-30 Thread André Warnier
of both. Thanks, Dan On Sep 29, 2009, at 7:17 PM, André Warnier wrote: Daniel Wittenberg wrote: I'm setting up spacewalk, all default settings, and I'm getting this in the catalina.out. Any ideas ? Sep 29, 2009 7:19:34 PM com.mchange.v2.resourcepool.BasicResourcePool $AcquireTask run WARNING

Re: mod_jk with Apache HTTP server version 2.2 and Tomcat 6.0

2009-09-30 Thread André Warnier
François Gravel wrote: Greetings, I'm a newbie trying my hand at setting up a local PHP and Java development environment. I use a laptop with Windows XP SP3. Both service are running fine locally, after install. I will describe what I did as I followed the procedure to have mod_jk handle the

Re: mod_jk with Apache HTTP server version 2.2 and Tomcat 6.0

2009-09-30 Thread André Warnier
François Gravel wrote: ... Apart from the earlier message, I suggest you go back and undo the following : I then went through the steps to use Tomcat to auto-configure. So I've added the line Include $TOMCAT_HOME/conf/jk/mod_jk.conf-auto to the file $HTTPD_HOME/conf/httpd.conf. Remove

Re: errors after install

2009-10-01 Thread André Warnier
To agree and augment on everything Peter wrote, the whole thing stinks of a very broken installation and configuration package, or packages. Not for lack of desire to help, but I believe you should really go back to the spacewalker (or CentOS) help forum, and enquire there about working

Re: Default character encoding for ServletRequest

2009-10-01 Thread André Warnier
Halm Reusser wrote: Hi, Calling %= request.getCharacterEncoding() % in a jsp deployed in a Tomcat 6.0.20 container returns null. Is there any possibility to force a default CharacterEncoding for such requests? Don't worry, there is already a default. The only problem is to figure out

Re: Installing Tomcat: how much do versions matter?

2009-10-01 Thread André Warnier
Kreshna Aryaguna Nurzaman wrote: I need to install the following components on Windows XP (for ArcIMS): 1) Apache 2.0.43 (MSI installer for Windows, no crypto) 2) JSDK 1.4.1_01 3) Tomcat 4.1.12 4) mod_jk2-2.0.43.dll Problem is, Apache 2.0.43 and Tomcat 4.1.12 are just _nowhere_ to be found.

Re: SEVERE: Error getConfigured

2009-10-02 Thread André Warnier
jay wrote: SEVERE: Occurred at line 87 column 14 ... SEVERE: Marking this application unavailable due to previous error(s) ... SEVERE: Context [/test] startup failed due to previous errors ... What's wrong with my tomcat ? With your Tomcat, probably nothing. With your application,

Re: SEVERE: Error getConfigured

2009-10-02 Thread André Warnier
andre wrote: Hello : When I start tomcat ,I find the error msg in my tomcat log . what's wrong with my tomcat ? ... SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base /usr/share/tomcat5.5/server/webapps/admin does not exist or is not a readable

[Fwd: FW: SEVERE: Error getConfigured]

2009-10-02 Thread André Warnier
resource () is not available. Apache Tomcat/5.5 Attach file is my tomcat error log Thanks and best regards, jay -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, October 02, 2009 2:53 PM To: Tomcat Users List Subject: Re: SEVERE: Error getConfigured jay wrote

Re: SEVERE: Error getConfigured

2009-10-02 Thread André Warnier
andre wrote: Hello : When I start tomcat ,I find the error msg in my tomcat log . what's wrong with my tomcat ? Apologies to the list, it seems that I started another thread by mistake. Jay, please respond to the list, not to me. About your Tomcat : It looks like your Tomcat package is

Re: SEVERE: Parse error in default web.xml

2009-10-04 Thread André Warnier
Eric B. wrote: andre andrewarn...@gmail.com wrote in message news:003c01ca43b9$0ef57ae0$2ce070...@com... ... Are your all your files readable by the process that is running tomcat? For instance, if tomcat is running under user tomcat, and your files are only readable by andre, you will

Re: Help management access

2009-10-04 Thread André Warnier
richard mycroft wrote: OK, I ran into the same thing a few weeks ago and wasted a lot of time before finding the silly XML comment elements. There should be an English language note, or a default user with no rights that is not commented out in order to help those of us not possessing a

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-04 Thread André Warnier
Joe Hansen wrote: I found the following error message in the Apache logs: [Sat Oct 03 04:10:49 2009] [error] server reached MaxClients setting, consider raising the MaxClients setting Here's a snippet from the httpd.conf, which deals with MaxClients. IfModule prefork.c StartServers 8

Re: POST request with timeout acts weird

2009-10-04 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald, On 10/2/2009 9:20 AM, Ronald Klop wrote: But I don't send any data. My servlet than waits in getParameterMap(), because that try's to read the inputstream and parse the parameters. After 20 seconds (Connector has

Re: resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-05 Thread André Warnier
Peter Crowther wrote: ... and Tomcat in general. Symlinks in webapps will not work by default - look up allowLinking to allow them, and be Very Careful if you do as I seem to recall that undeploying a webapp with a symlink in it can delete all the files in the area that you've linked to. As

Re: POST request with timeout acts weird

2009-10-05 Thread André Warnier
Ronald Klop wrote: ... There is even more fun about the documentation of connectionTimeout. It states that it waits for the URI after accepting the connection, but in my example Tomcat is not waiting for the URI, but for data from the request. So connectionTimeout does much more than what is

Re: Alias URL

2009-10-05 Thread André Warnier
Caldarale, Charles R wrote: From: Johnson, Rob E [mailto:rob.john...@mms.gov] ... Hi guys, can I jump in here ? I believe that you are being a bit tough on Rob here. Obviously, he is not a Tomcat expert, and more used to IIS and the MS way of things, than to Apache httpd and Tomcat. And in

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-05 Thread André Warnier
Joe Hansen wrote: Rainer, Here are the KeepAlive values in httpd.conf: KeepAlive Off MaxKeepAliveRequests 100 KeepAliveTimout 15 Well, since you have KeepAlive Off, the other 2 do not matter. But as such, it means that each request of each browser is going to create a new connection to the

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-05 Thread André Warnier
Joe Hansen wrote: Thank you for the reply, Andre. I now understand how setting KeepAlive to On would improve the performance of a website (The Apache manual says that a 50% increase in throughput could be expected). So I changed the KeepAlive to On and restarted the server. Now wait. You

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-05 Thread André Warnier
André Warnier wrote: ... and still wants to add something : - a new KeepAlive connection is made from the browser to Apache (httpd). - then a request comes in on that connection, and it happens to be one that gets forwarded to Tomcat. So a mod_jk connection is made to Tomcat, Tomcat allocates

Re: Alias URL

2009-10-05 Thread André Warnier
Johnson, Rob E wrote: Hi, What you would like is that : - when a user enters the URL http://imsden.mms; (or http://imsden.mms:8080;), he continues to get the standard Tomcat homepage - when a user enters the URL http://webtop; (or http://webtop:8080;), he gets immediately the first page of

Re: [OT] Re: Alias URL

2009-10-05 Thread André Warnier
Caldarale, Charles R wrote: From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Subject: Re: [OT] Re: Alias URL Well I edited the inodes by hand. With a magnet. (Bonus points if you know the origin of the quote) This may not be the origin,

Re: [OT] Alias URL

2009-10-06 Thread André Warnier
David Kerber wrote: Pid Ster wrote: YDHTVO ??? Haven't seen that one before. D Neither have I. You Don't Have To ... ? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Re: Alias URL

2009-10-06 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Alias URL (stop Tomcat first) Step 1 : you will need 2 Host .. sections in Tomcat's configuration file server.xml. Currently, there is only one. Actually, the one will suffice, if the OP is willing

Re: Alias URL

2009-10-06 Thread André Warnier
Johnson, Rob E wrote: Andre thanks for all your help that worked. I can use the alias, and I can still hit the other webapps. Also thanks to Martin Gainty and his help. No thanks required, we live to help. Martin and I, the winning team... :-)

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-06 Thread André Warnier
Rainer Jung wrote: On 06.10.2009 21:44, Joe Hansen wrote: ... It seems your application is CPU heavy. Either the data objects handled are to heavy weight (maybe some user having huge Fotoset or Email list) or the request rate is simply to large. Is the CPU saturated during the problems? I

Re: mod_jk problem related to multiple hosts on Apache and Tomcat

2009-10-07 Thread André Warnier
One real question is why you are bothering with an Apache httpd in front, since unless I saw this wrong, you are proxying absolutely everything to Tomcat, in both virtual hosts. JkMount /* etc.. Why not just turn off Apache, and have Tomcat listen on port 80 ? You would save yourself some

Re: JNI problem

2009-10-07 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohamedin, On 10/7/2009 10:40 AM, Mohamedin wrote: Dear all, I am trying to use a JNI library written by me that uses GraphicsMagick wand. It is working fine as a stand alone java application but when I tried to use it

Re: Re Directing tomcat console out put to log files

2009-10-09 Thread André Warnier
VijayKS wrote: VijayKS wrote: Hi I m using Tomcat 4.1. I try to redirect System.out to log files, but unable to do it. Help me to resolve this issue I installed the exe version of tomcat 4.1 . There is no catalina.log files present. localhost_log.2009-10-09.txt This is the file name is

Re: Does Tomcat http work on port 80?

2009-10-09 Thread André Warnier
Peter Crowther wrote: 2009/10/9 Serge Fonville serge.fonvi...@gmail.com: Hi, Yesterday on the JBoss users forum I posted the question how to setup http for Tomcat on port 80 internal to JBoss 5.1.0GA under Windows 2000 Prof. [...] Well known ports require root [...]

Re: Does Tomcat http work on port 80?

2009-10-09 Thread André Warnier
Tony Anecito wrote: ... When I changed the server.xml recommended by Jboss and others to port 80 I got the white page (no source) Tony, you may get a page that looks empty in your browser. But that is not all that you are getting. If you look at the page source, you will probably see more. If

Re: tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-09 Thread André Warnier
Caldarale, Charles R wrote: Also be aware that any static fields or singleton objects in the shared classes really will be shared by each webapp, whereas before each webapp had its own copy. You must have meant shared by all webapps. Chuck, you should really watch your usage of the

Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-10 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/10/2009 9:26 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars My direct experience that had

Re: mod_jk inserting Transfer-Encoding Chunked header

2009-10-10 Thread André Warnier
Sam Crawford wrote: Apologies for misinterpreting your post. Unfortunately we can't ditch SunONE - it's a requirement from our security guys. We're operating in a two-tier DMZ environment and SunONE will be in the top tier, with an SSO agent running inside it. JBoss will be in the 2nd tier.

Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-10 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars Not that it was my thread to begin with, and not thjat it's really dramatic either, but I suppose you guys must realise that you lost me, like, about 15

Re: Re Directing tomcat console out put to log files

2009-10-10 Thread André Warnier
Ziggy wrote: Have a look at this page http://tomcat.apache.org/tomcat-4.1-doc/config/logger.html On Sat, Oct 10, 2009 at 11:12 AM, Ziggy zigg...@gmail.com wrote: Sorry vijay my comments were directed at Andre Ziggy, Vijay, my comments were not really /meant/ to be rude. But I admit they

Re: [OT] mod_jk inserting Transfer-Encoding Chunked header

2009-10-11 Thread André Warnier
Mark Thomas wrote: André Warnier wrote: Sam Crawford wrote: Apologies for misinterpreting your post. Unfortunately we can't ditch SunONE - it's a requirement from our security guys. We're operating in a two-tier DMZ environment and SunONE will be in the top tier, with an SSO agent running

Re: Logging startup parms for Tomcat...

2009-10-11 Thread André Warnier
Caldarale, Charles R wrote: From: Tony Anecito [mailto:adanec...@yahoo.com] Subject: Logging startup parms for Tomcat... I need to see the jvm startup params (memory settings, ect) for Tomcat. How do I enable that to showup in the logs? Without getting into over-engineering, how about adding

Re: [OT] mod_jk inserting Transfer-Encoding Chunked header

2009-10-11 Thread André Warnier
Rainer Jung wrote: On 11.10.2009 14:35, André Warnier wrote: Mark Thomas wrote: André Warnier wrote: Sam Crawford wrote: Apologies for misinterpreting your post. Unfortunately we can't ditch SunONE - it's a requirement from our security guys. We're operating in a two-tier DMZ environment

Re: FOO / HTTP/1.1

2009-10-12 Thread André Warnier
Ronald Klop wrote: Hi, If I send this to my Tomcat it responds with HTTP/1.1 200 OK and calls my servlet. :-) telnet localhost 8080 FOO / HTTP/1.1 Host: localhost What is this suppost to do? :-) I don't know what is the context, and how you determine that Tomcat is the target, nor how you

Re: Questions on Single Sign On?

2009-10-12 Thread André Warnier
Josh Gooding wrote: To my knowledge the Single Sign on in Tomcat is a way for all of your back end applications in your VH to recognize that you have logged in to one place, and all of the apps belonging to that VH will be logged into. Well, kind of.. What I am trying to do is restrict the

Re: Questions on Single Sign On?

2009-10-12 Thread André Warnier
Josh Gooding wrote: ... Andre, your talking about something like Active Directory for Windows Domain's to use with say Communicator, Outlook, etc, across windows environments with domain authentication? Yes, although Windows domain authentication is not the only game in town. I understand

Re: file download issue

2009-10-19 Thread André Warnier
Tarun Chowdhry wrote: Hi, Getting the following exception when trying to call the FileUpload code: I'm not quite sure, but aren't you mixing up upload and download here, kind of ? upload = workstation -- server download = server -- workstation

Re: file download issue

2009-10-19 Thread André Warnier
Tarun Chowdhry wrote: Sorry I meant for download. The code and the configuration is for the download only. Ok then the next thing is that this does not look like being a Tomcat issue per se, and more like a Struts issue. Should you not post this rather to the Struts users list ?

Re: Tomcat 5.5 logging-config elegant? Not so much, I think.

2009-10-19 Thread André Warnier
larrydlefever wrote: ... a lot of things which I generally support. It's been a while since I've ranted here about Tomcat logging methodology, but I feel this may be the right moment to recant (on my non-ranting I mean) and support your posting. (And sorry to hijack a bit, I'll start a new

Re: Multiple Instance of Tomcat 5 on Centos 5

2009-10-20 Thread André Warnier
homerlex wrote: I have Centos 5 on which I yum installed Tomcat5. Does anyone have tips for setting up multiple instances of TC in this configuration? I have seen some how-tos with other flavors of Linux. Its it going to be a matter of copying some files around and customizing the

Re: Questions on Single Sign On?

2009-10-20 Thread André Warnier
Josh Gooding wrote: Andre, I am using a realm for this. I decided that the best route to go on this is if a user is actively logged in and tries to log in again (while already authenticated) to invalidate the 'other' session and continue on, that way of the browser dies, they can still get in.

<    1   2   3   4   5   6   7   8   9   10   >