Re: How to programmatically add parameters to ServletRequest objects?

2008-08-08 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | I am a real beginner at Java and Tomcat, and not so good at it. | But maybe that causes my explanation below to be useful. Don't forget to override getDateHeader and getIntHeader in your

Re: DefaultServlet doesn't set charset

2008-08-08 Thread André Warnier
Markus Schönhaber wrote: Hi, (provided, the browser doesn't do some guessing of the charset based on the content). Not in any way to distract from your main question, which is very interesting, but that is a very big provided, because IE does a lot of second-guessing the server, infamously.

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-08 Thread André Warnier
Johnny Kewl wrote: - Original Message - From: Michele Fuortes [EMAIL PROTECTED] Hi. Johnny is sometimes a bit hard to read, but he may have a point there. If you are POSTing data with an HTML form, how exactly does the form tag look like ? (of if it is with some client program, what

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-08 Thread André Warnier
Michele Fuortes wrote: Hi, I have a problem with POSTing an XML file to a servlet which writes the XML to disk. If the XML file is less than 16384 bytes all goes well. If it's bigger the first 16384 bytes are written correctly, the rest all all 00s. The lenght of the file is the correct one

request for enlightenment on request.getHeaders()

2008-08-09 Thread André Warnier
Hi. Following another thread with the subject How to programmatically add parameters to ServletRequest objects?, I have a couple follow-up questions. This is related to a HttpServletRequestWrapper-derived class I wrote for a filter. I would like to make sure of precisely how I have to handle

Re: how to make context path case insensitive

2008-08-11 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pierre, Pierre Goupil wrote: | If what you need is to redirect any request to | http://www.yoursite.com/yOuRwEbapP (yourwebapp being case insensitive) to | http://www.yoursite.com/yourwebapp (yourwebapp being case

Re: Tomcat failover

2008-08-12 Thread André Warnier
Ofer Kalisky wrote: Is there a reason why no one is answering this? - Original Message - Mmmm, let me think.. Maybe it is because this is a free forum for people to ask questions about Tomcat, which is a free product ? Maybe it is because nobody knows the answer ? Maybe it is

Re: database application

2008-08-14 Thread André Warnier
Brantley Hobbs wrote: Cue Charles Caldarale hammering someone for not providing a Tomcat version in 3...2...1... Actually, I think he may have missed this one as he was hammering someone else for using a packaged Tomcat instead of the official distribution. ;-) 3..2..1..

Re: Reading environment variable from Tomcat

2008-08-14 Thread André Warnier
David kerber wrote: Sureka, Sushil wrote: Hi, I have run into an issue related to starting tomcat as a service. When we were starting tomcat from the command line, we were able to just say System.getProperty(user.name ) to retrieve the logged in user id. But now that we start tomcat using

Re: URIEncoding UTF-16 problem

2008-08-15 Thread André Warnier
Nayyer Kamran wrote: Hello, I am facing problem in accessing deployed modules once I configured connector's URIEncoding to UTF-16 in server.xml. Hi. Could you tell us *why* exactly you did set this attribute ? It is rather unusual, as it supposes that you expect all clients to encode

Re: URIEncoding UTF-16 problem

2008-08-15 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: Could you tell us *why* exactly you [are trying to use UTF-16]? It is rather unusual, as it supposes that you expect all clients to encode their requested URI's in UTF-16 prior to sending

Re: Using tabbed browsers causes session sharing

2008-08-15 Thread André Warnier
murthy gandikota wrote: Hello All While using tabbed browsers (e.g. IE 7) I am facing a login problem. Say on Tab#1 I login with a username A, on Tab#2 I login with username B, I still see A's session. Apparently the browser/Tomcat doesn't create a new session. Has anyone faced this problem?

Re: Using tabbed browsers causes session sharing

2008-08-15 Thread André Warnier
Robert Dietrick wrote: This is normal behavior. Sessions are tied to cookies bound to an entire domain. Why would you want the same person logged in twice with different accounts? I don't know what the real issue of the OP is, but there are plenty of situations where you would want to have 2

Re: URIEncoding UTF-16 problem

2008-08-15 Thread André Warnier
Replying to myself : André Warnier wrote: My own name, expressed in the Unicode alphabet and encoded in UTF-8, occupies 6 bytes, not 7. I meant 6 bytes, not 5, of course. It rather weakens my argument when I mix-up my own byte counts

Re: Using tabbed browsers causes session sharing

2008-08-15 Thread André Warnier
Hi guys, shouldn't someone *explain* to the OP why this is happening ? I mean, the different bits and pieces are there in different answers, but maybe the big picture is missing to understand what and why it is happening ? Not knowing myself the hows and whys of Tomcat's session management, I

Re: What can url-pattern accept?

2008-08-17 Thread André Warnier
Guojun Zhu wrote: [...] Unfortunately, it seems that the servlet API allows only this in url-pattern specs : - A string beginning with a / character and ending with a /* suffix is used for path mapping. - A string beginning with a *. prefix is used as an extension mapping. - A string

Re: How to change Default URL to point to my application index.html page

2008-08-17 Thread André Warnier
Guojun Zhu wrote: you can change the $Catalina.home/conf/Catalina/(your host)/ROOT.xml file to direct to your webapp path instead of the ROOT. Or, if I have correctly understood many previous posts to this forum, you can delete the ROOT default application and put yours there instead. A guru

Re: Post form with x-www-form-urlencoded content type and Coyote Connector

2008-08-18 Thread André Warnier
deniak wrote: Actually, it's a POST request: http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1 When I receive the request, I want to deal with an input stream. David Smith-2 wrote: Forgive me if I'm wrong, but this looks like the browser should send a GET request. Why would you

Re: Post form with x-www-form-urlencoded content type and Coyote Connector

2008-08-18 Thread André Warnier
Len Popp wrote: No, when a browser sends a POST request the request params are *not* sent as part of the request URI. They are sent in the body of the request. With Content-Type: application/x-www-form-urlencoded the request body looks like this: param1=aparam2=b You can use a browser plugin

Re: Dual-Independent Tomcat servers, on Single Win32 host sharing IIS server.

2008-08-20 Thread André Warnier
dOE wrote: I tried to do the following, and it did not work. worker.list=ajp13w worker.ajp13w.type=ajp13 worker.ajp13w.host=192.168.0.1 worker.ajp13w.port=8009 worker.list=ajp13w2 worker.ajp13w2.type=ajp13 worker.ajp13w2.host=192.168.0.2 worker.ajp13w2.port=8109 Maybe you just need to do

Re: tomcat 5.5 Unicode issues!

2008-08-20 Thread André Warnier
Shahar Cohen wrote: Changing the URIEncoding=UTF-8 just worked. Shahar, what Mark and in a more verbose way Johnny are trying to tell you, is 1) the first problem is to figure out how and why these files arrived on your system's disk with such names, and if possible correct that. They are

Re: Dual-Independent Tomcat servers, on Single Win32 host sharing IIS server.

2008-08-20 Thread André Warnier
Rainer Jung wrote: First before trying to find the right configuration, upgrade! Version 1.2.8 is s old and whatever hints you get on how to use the redirector, you'd always need to find out, which of those are true for 1.2.8. We are at 1.2.26, just use that version. André Warnier

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-20 Thread André Warnier
edponce wrote: I know this question has been asked a lot but I've read different solutions depending on the needs of the problem. I need to have 2 instances of tomcat on the same server for the same application. One would be for production and the other for development (which can be start and

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-20 Thread André Warnier
André Warnier wrote: edponce wrote: I know this question has been asked a lot but I've read different solutions depending on the needs of the problem. I need to have 2 instances of tomcat on the same server for the same application. One would be for production and the other for development

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-20 Thread André Warnier
Markus Schönhaber wrote: André Warnier wrote: edponce wrote: depending on the needs of the problem. I need to have 2 instances of tomcat on the same server for the same application. One would be for production and the other for development (which can be start and stopped whenever without

Re: tomcat instances on different ports running as different users can anyone shutdown?

2008-08-21 Thread André Warnier
Fu-Tung Cheng wrote: Hi, I have different instances of tomcat running on different ports of the same machine. The processes are running as different users. In this case could a user different than the one who launched the process connect to the tomcat shutdown port and cause the other

Re: Running Tomcat as a Service on Non-default port

2008-09-09 Thread André Warnier
Kamal Sheikh wrote: Hi, I am using Tomcat v 5.5.23 and want to run the server as a Windows service (tomcat5.exe) on a port other than the default port of 8080. Is it possible to install Tomcat as a service and configure it so that it runs on a different port? While we can configure Tomcat and

Re: html entities and urls with spaces

2008-09-11 Thread André Warnier
Brendan Martens wrote: most file systems cant read spaces in a filename so you should put in _ where you see spaces Hmmm, not sure this is the issue, both filesystems can read and write files with spaces. Whichever bright developer invented the first filesystem allowing spaces in filenames

Re: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-12 Thread André Warnier
Caldarale, Charles R wrote: I'm not sure these days what the normal web character set really is. If you're referring to ASCII (aka Basic Latin), then no, the Pound Sterling symbol is not present. However, for any of the ISO-8859-x variants, it is present, using the 163 (0xA3) value you

Re: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-12 Thread André Warnier
Konstantin Kolinko wrote: 2008/9/12 André Warnier [EMAIL PROTECTED]: Caldarale, Charles R wrote: I'm not sure these days what the normal web character set really is. If you're referring to ASCII (aka Basic Latin), then no, the Pound Sterling symbol is not present. However, for any of the ISO

Re: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-12 Thread André Warnier
Konstantin Kolinko wrote: 2008/9/12 André Warnier [EMAIL PROTECTED] Konstantin Kolinko wrote: 2008/9/12 André Warnier [EMAIL PROTECTED]: Caldarale, Charles R wrote: I'm not sure these days what the normal web character set really is. If you're referring to ASCII (aka Basic Latin

Re: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-12 Thread André Warnier
Christopher Schultz wrote: [...] Yes, they do. MS, contrary to W3 specifications, sniffs the content of a page and chooses the encoding and ignores any server-specified encoding. It also does this with MIME types. (Sorry, can't find the reference right now). [...] Here is a start,

Re: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-12 Thread André Warnier
Caldarale, Charles R wrote: From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Migrating to tomcat 6 gives formatted currency amounts problem (My understanding is that Unicode (16-bit) is actually not big enough for everything, but hey, they tried). Point of clarification:

Re: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-12 Thread André Warnier
a variable number of 8-bit bytes. I should have checked my sources. Shame on me. About Java's internal char type being 16-bit wide though, I have heard that too, and I'm also curious. André Warnier wrote: Caldarale, Charles R wrote: From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re

Re: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-12 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Willem, Willem Moors wrote: I can only see one solution to this complexity: let's all (everybody in the whole world) speak the same language, use the same currency and move into one and the same timezone (the latter

Re: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-12 Thread André Warnier
Just for the sake of completeness : Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: It is on the way through that servlet that they get corrupted, unless I start Tomcat with LC_CTYPE=iso-8859-1. What do the HTTP headers say when the file

Tomcat/servlet question

2008-09-12 Thread André Warnier
Hi. In response to a request, a servlet opens and reads a file from disk, and sends the content out to the browser (ultimately), as is. The content of the file is an html document, saved as a text under some encoding, correctly encoded under that encoding, and containing an html meta

Re: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-13 Thread André Warnier
Johnny Kewl wrote: If you do decide to look at this link... http://java.sun.com/javase/technologies/core/basic/intl/faq.jsp#core-locale The above link seems to be extremely informative, right on the spot for this thread. Thanks. Among other things, it points out that changing the default

Re: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-13 Thread André Warnier
Caldarale, Charles R wrote: From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Migrating to tomcat 6 gives formatted currency amounts problem so, Java is still 16-bit Unicode in its char primitive, but you can use ints to hold UTF-16 values using 21-bits? The 21-bit values are

Re: number of worker threads in Tomcat 6

2008-09-14 Thread André Warnier
Madhav wrote: Hi, I want to know the values of maxThreads, minSpareThreads parameters as well as the number of 'available' worker threads inside a servlet in Tomcat 6. I tried googling with -- find worker threads in Tomcat-- and similar phrases but was not able to get the above info. Could

Re: number of worker threads in Tomcat 6

2008-09-14 Thread André Warnier
Madhav wrote: Hi André, Thanks for the reply, but the link is about configuring Tomcat which I know. What I'm looking for is how to get these information inside servlet, i.e. in java code. Please let me know that or point me to any resource if you know that. I don't really know. But I can

Re: Balance and sync data

2008-09-16 Thread André Warnier
Martin Spinassi wrote: On Tue, 2008-09-16 at 08:56 -0700, Hassan Schroeder wrote: On Tue, Sep 16, 2008 at 8:17 AM, Martin Spinassi [EMAIL PROTECTED] wrote: Why not have your upload servlet invoke rsync when a new file has been stored? Can you give me some more details or where to get some

Re: transparent junctino w/ Tomcat

2008-09-16 Thread André Warnier
On the other hand, I find that transparent junctino sounds really good. If those guys at CERN (which must be using multiple Tomcats) ever need a name for a new particle discovered on their brand new Large Hadron Collider.. -

Re: Interapp Communications

2008-09-17 Thread André Warnier
Darryl Pentz wrote: Hi Johnny, Thanks for your responses. I did read them on the day that you posted them but only got a chance now to respond. Needless to say I have gone with a simple HttpURLConnection solution, as my choice out of other suggestions given to me in other threads, of using

Re: Tomcat 5.5, JNDI Connection Pooling, Active connections keep increasing....

2008-09-17 Thread André Warnier
Johnny Kewl wrote: So, what exactly does it mean when we say that Tomcat is thread safe for requests. Tomcat creates a new thread for each request, so somehow my static methods are then thread safe (incdirectly, since it is managed by Tomcat). I actually searched all over to try

Re: Tomcat 5.5, JNDI Connection Pooling, Active connections keep increasing....

2008-09-17 Thread André Warnier
Caldarale, Charles R wrote: That's completely erroneous. Shame, Johnny's story was so nice.. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: apache and tomcat version

2008-09-17 Thread André Warnier
[EMAIL PROTECTED] wrote: Does Tomcat do the same thing as Apache? ie http; as well as the bonus of java? I am using PhP, and would to like to also have Java/AJAX?J2EE on my web page, and I am not sure if I need both Apache and Tomcat, or can just use Tomcat? (I dont know if it will do

request for servlet filter

2008-09-18 Thread André Warnier
Hi. In a Tomcat servlet application context, I use the jCIFS filter (see jcifs.samba.org) to perform Windows NTLM authentication of IE clients. It works well. However, to work around a problem of browsers not being set up properly, I would need a servlet filter inserted *before* jCIFS in the

Re: request for servlet filter

2008-09-18 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: However, to work around a problem of browsers not being set up properly, I would need a servlet filter inserted *before* jCIFS in the chain, which would : - detect if a client attempts a Basic

Re: Balance and sync data

2008-09-18 Thread André Warnier
Martin Spinassi wrote: [...] Martin, I re-read the thread from the beginning, and as I understand it you have - clients that upload files, most of then images - clients that download these same images - and you would like a system that handles this and duplicates the images to 2 or more

Re: Tomcat 6 HTTP / HTTP SSL Connector Port - Configuration Verification

2008-09-18 Thread André Warnier
Gauss wrote: From the Apache Tomcat server I can access my webapp via SSL/443 using localhost and/or the server's LAN IP address. No errors in the logfile. More and more, this problem looks like a firewall/port blocking issue. Yes, it probably is. Also check the Windows Firewall, if it might

Re: request for servlet filter

2008-09-18 Thread André Warnier
Christopher Schultz wrote: [lots of good stuff snipped] You could check out http://tuckey.org/urlrewrite/, but I think that mod-rewrite is a full Swiss Army Chainsaw while urlrewrite is more of a santoku knife. Went there, saw it, downloaded it. It seems to do what I want, and lots more.

Re: hello world

2008-09-19 Thread André Warnier
Caldarale, Charles R wrote: From: news [mailto:[EMAIL PROTECTED] On Behalf Of thufir Subject: Re: hello world If Apache installs then why not tomcat? Apache is a software organization with numerous products; if by Apache you mean httpd, it may be because the 3rd-party developers are more

Re: Tomcat clustering: Don't see Cluster MBean

2008-09-19 Thread André Warnier
Hi Landry Stephane. Hijacking a thread usually means hitting the reply button on a forum message, leave the subject as it was, and then ask a totally unrelated question in the message. You should not do that, because it is confusing for people who try to help the original poster of the

Re: html entities and urls with spaces

2008-09-19 Thread André Warnier
Brendan Martens wrote: [...] I am migrating this site from an older RHEL server where it works fine. I am migrating to a Debian server with up to date Debian packages of apache2, tomcat5, and java6. For all their perceived faults, it is unlikely that Debian packagers would package mutually

Re: tomcat5.5 and ubuntu hardy heron

2008-09-19 Thread André Warnier
Quickly, before the official tomcat brigade arrives : try dropping your war file in /var/lib/tomcat5.5/webapps instead. I don't know yet why that is exactly, but I'm working on it ;-) The packagers of Tomcat 5.5 for various Linux distributions seem to have done a good job at spreading Tomcat

Re: jstack and Tomcat 6 on Windows

2008-09-19 Thread André Warnier
Brian Clark wrote: Hello, I run Tomcat 6.0.x as a service on Windows 2003, using Sun JDK 1.6. I was trying to use the jstack program, part of the JDK, to get a stack dump from Tomcat/Java on my server. However, I ran into a problem. First of all, Tomcat on Windows seems to hide the JVM

Re: jstack and Tomcat 6 on Windows

2008-09-19 Thread André Warnier
André Warnier wrote: Brian Clark wrote: Hello, I run Tomcat 6.0.x as a service on Windows 2003, using Sun JDK 1.6. I was trying to use the jstack program, part of the JDK, to get a stack dump from Tomcat/Java on my server. However, I ran into a problem. First of all, Tomcat on Windows seems

Re: jstack and Tomcat 6 on Windows

2008-09-19 Thread André Warnier
Martin Gainty wrote: I would steer clear of any windowsInstaller messWithYourRegistry windows specific utilities and/or programs SET JAVA_HOME=SourceFolderLocationWhereJavaIsInstalled SET CATALINA_HOME=SourceFolderLocationWhereTomcatIsInstalled SET JAVA_OPTS=whatever java options you need to

Re: jstack and Tomcat 6 on Windows

2008-09-19 Thread André Warnier
Brian Clark wrote: Thanks everyone for their suggestions. Unfortunately, that doesn't help me with my particular issue. I have a memory leak in one of my apps, and when the system runs out of memory, it stops responding to new requests. I have a script that will detect this condition and

Tomcat 5.5 / Windows / procrun ?

2008-09-20 Thread André Warnier
Hi. I have Tomcat 5.5 running on a variety of platforms, among them Windows XP (my laptop) and Windows 2003 server. For the Windows installation, until now I have been using the Windows Service Installer from the Tomcat 5.5 download page, and it works fine. But could someone shed some light

Re: Adding custom http headers to pages that my Tomcat serve

2008-09-21 Thread André Warnier
Mikolaj Rydzewski wrote: Clement Low wrote: I would like to set a custom header to all of the pages that my Tomcat serve : *meta http-equiv=X-UA-Compatible content=IE=EmulateIE7 /* What this does is basically telling IE 8 to display the particular page as if it were in IE 7. I do not

Re: JVM config for tomcat5.5

2008-09-21 Thread André Warnier
Markus Schönhaber wrote: Martin Gainty: [...] I think the main issue (which has also been touched in several other threads recently) is some level of confusion with the Tomcat Windows Installer, and what one finds oneself with in the Tomcat_install_dir/bin directory in that case. Instead

Re: Adding custom http headers to pages that my Tomcat serve

2008-09-21 Thread André Warnier
André Warnier wrote: [...] I wanted to add something to my previous hypothesis that I believe that, in theory, the meta http-equiv= content= ... tag in the html document, should have the same effect as if the server, in the HTTP headers of the response, had sent a header like

Re: Tomcat 5.5 / Windows / procrun ?

2008-09-21 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Tomcat 5.5 / Windows / procrun ? It also contains a file service.bat which is described nowhere It's described here: http://tomcat.apache.org/tomcat-5.5-doc/windows-service-howto.html which is reachable from

HTTPS and Virtual Hosts

2008-09-22 Thread André Warnier
Hi. I'm not an expert at anything below, that's why I am asking. I am also not looking for a very precise answer, just a rough summary. The question : As I remember from reading about this a while ago, there is/was a fundamental incompatibility between the HTTP Virtual Host mechanism, and

Re: HTTPS and Virtual Hosts

2008-09-22 Thread André Warnier
Mark Thomas wrote: Ognjen Blagojevic wrote: André Warnier wrote: Is the above, very roughly and approximatively still a valid explanation of what happens, or is it totally wrong, or has something changed in-between that I am unaware of ? Yes, that's about it. Here is the official explanation

Re: Apache 2.0 Authentication LDAP

2008-09-22 Thread André Warnier
Arun Raj Ramkumar wrote: Hi Friends, I have recently migrated my webapp from tomcat 4.x to 6.0 . Please let me know how to set up Apache 2.0 for authentication(using LDAP) by connecting it with tomcat 6.0 . Please let me know the steps to be followed like changes in httpd.conf . I am using

Re: Apache 2.0 Authentication LDAP

2008-09-22 Thread André Warnier
Arun Raj Ramkumar wrote: Hi, Yes , that is my scenario. Please let me know what are the settings or changes I need to do for Apache authentication via LDAP. I already did. Just click on the link I provided in the previous answer. This is a help forum, and we do what we can. But people who

Re: Apache 2.0 Authentication LDAP

2008-09-22 Thread André Warnier
André Warnier wrote: Then, if there is something you do not understand, you can always come back here with a precise question. I forgot to say that if your problem is related to the Apache httpd setup of LDAP, then you would be better off trying the Apache httpd support list. Issues related

Re: Share war file / virtual hosts

2008-09-22 Thread André Warnier
Mathias P.W Nilsson wrote: [...] From the questions and answers ping-pong here, I get the impression that you are trying to square the circle, and either bump into a Tomcat issue or a Hibernate one (whatever that is). Summary : - for some reason I don't know nor would understand, you want

Re: Share war file / virtual hosts

2008-09-22 Thread André Warnier
Mathias P.W Nilsson wrote: Thanks very much! [...] By reading your thread I guess that a tomcat solution is out of the question? No, I would not even dare to suggest that ! I don't want to be expelled from this list. ;-) I was just proposing an alternative using things I know better than

Re: Share war file / virtual hosts

2008-09-22 Thread André Warnier
Mathias P.W Nilsson wrote: Ok! I tested with port 8080 and 8443 as ssl port with no luck. I only have 2 domains but tomcat complains about java.net.BindException: Cannot assign requested address: JVM_Bind:8080. Now I guess this isn't configured right so any pointers here would be greatly

Re: [OT] question about realm auth and digest attribute

2008-09-22 Thread André Warnier
Mark Thomas wrote: [...] It took me less than a minute to find the JavaDoc for java.security.MessageDigest It's by saying things like that that you provoke this kind of question.. It takes us mere mortals ages to find anything there. :-)

Re: Tomcat 5.5 logging!

2008-09-23 Thread André Warnier
Shahar Cohen wrote: Hi, I am trying to set my tomcat log format so it will be TAB delimited but instead its Printing the logs as spaces delimited and not TAB. Do I need to configure any other parameters between the common parameters so it will separate the parameters with tab. My

[OT] Chuck

2008-09-23 Thread André Warnier
Dear Chuck, I carefully save your postings to this list, as a future source of wisdom and inspiration. Except the ones that tell me that I should delete my unofficial Linux Debian Tomcat package, those I don't. But you repeat them often enough that they are always on a recent page

Re: Tomcat 5.5 logging!

2008-09-23 Thread André Warnier
that as spaces. I have tries to use the \t '\t' and all of its variation but without any success. Any other recommendation will be very appreciated. thanks \\t ? -Original Message- From: André Warnier [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2008 3:04 PM To: Tomcat

Re: How to have multiple domains/contexts with Tomcat ? they all go to same context ..

2008-09-26 Thread André Warnier
Can you tell us on what kind of host system you are running this ? It would help guessing where the files are. Thanks. P.S. I am not the expert, but it should indeed be relatively simple, so I'll try. In a nutshell : - start again from the original server.xml file. - in it, locate the Host

Re: How to have multiple domains/contexts with Tomcat ? they all go to same context ..

2008-09-26 Thread André Warnier
Caldarale, Charles R wrote: From: Morgan Cox [mailto:[EMAIL PROTECTED] Subject: Re: How to have multiple domains/contexts with Tomcat ? they all go to same context .. Thanks for the advise - it seems that I do need to set the ROOT webapp for each virtual server - anyone got any ideas of how to

Re: RemoteAddrValve for a specific URL pattern

2008-09-26 Thread André Warnier
Christopher Schultz wrote: [...] I see that tuckey's urlrewrite library can probably do this for me (redirect somewhere else if the address doesn't match), but it seems a bit overkill. I recommend though. The setup is very easy and flexible, and the author claims it is very light-weight. I

Re: How can Servlet detect lost of connection to client?

2008-09-28 Thread André Warnier
If (and only if) it is really worth the effort, there might be a way to do this. I would not know the details of how to achieve this with Tomcat, but I remember writing something like that under Apache and perl. Consider thus what follows as a very rough approximation, and no more than an hint.

Re: Is deployOnStartup broken?

2008-09-30 Thread André Warnier
Mark Thomas wrote: Erwin Hogeweg wrote: Hi, I am trying to re-deploy a war file on a RHES 5.2/Tomcat 6.0.16 server, but the war file does not expand when Tomcat is restarted. I have set the host variable deployOnStartup to true, but even though the war file has a newer timestamp that the

Re: redirector

2008-09-30 Thread André Warnier
Frank Uccello wrote: Tomcat redirector for iss not working That is quite unlikely, because there must be at least 10,000 installations out there where it is working. I can http://localhost:8080/app/servlet but not http://localhost/app/servlet -- error page could not be found So, the

Re: Multiple Time Zones on one Tomcat instance?

2008-10-01 Thread André Warnier
John Gardner wrote: Caldarale, Charles R wrote: From: John Gardner [mailto:[EMAIL PROTECTED] Subject: Multiple Time Zones on one Tomcat instance? Is there any way we can serve mutliple webapps from a single Tomcat instance, with mutliple timezones? Tomcat itself doesn't care about time zones,

application deployment issue, Tomcat 5.5

2008-10-01 Thread André Warnier
Hi. We have created a webapp, and a corresponding war file. This war file deploys succesfully on platform A (Windows) which runs Tomcat 5.5. It also deploys succesfully on platform B (Linux Debian) in a Tomcat 6.0 instance. But on the same platform B, under a Tomcat 5.5 instance, it triggers

Re: application deployment issue, Tomcat 5.5

2008-10-02 Thread André Warnier
albrecht andrzejewski wrote: [...] Thanks for the various answers. But apparently the problem was that this was missing : grant codeBase file:${catalina.home}/bin/tomcat-juli.jar { [ .. parts omitted ..] permission java.io.FilePermission

Re: application deployment issue, Tomcat 5.5

2008-10-02 Thread André Warnier
Caldarale, Charles R wrote: [...] Obviously, Tomcat is running at faster-than-light speed, so cause and effect are no longer ordered... You should take a patent on that one. So, if regarding Tomcat there is no direct causality anymore, does it mean also that we can all just sit here and

Re: Tomcat 5.5.x - Logging Issues

2008-10-02 Thread André Warnier
piercey wrote: Is there an easier solution to getting it to behave like it did on Tomcat 4.1.x? I second the motion. Admittedly I am a complete noobie when it comes to Tomcat (and Java logging) so please excuse my ignorance if I'm making a glaring mistake. That one too.

Re: Support

2008-10-02 Thread André Warnier
Angelica Ardila wrote: Good afternoon, my question is this: That version of JDK should I use for the Tomcat 6? Thank you very much. Angélica Ardila Whichever one you like, dear. ;-) Seriously now : JDK 6 would probably be best, and JDK 5 should work also. But if it is only to run Tomcat,

Re: Support

2008-10-02 Thread André Warnier
Martin Gainty wrote: Good afternoon, my question is this: That version of JDK should I use for the Tomcat 6? Thank you very much. Angélica Ardila Whichever one you like, dear. ;-) i'll wait for christopher schultz response to this answer You are already a few off-list exchanges too

Re: Support

2008-10-02 Thread André Warnier
And by her innocent question, Angelica has brought out the inherent personality of a number of people on this list.. Any more takers ? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Re: How to update the tomcat to run newly deployed applications without restarting it.

2008-10-04 Thread André Warnier
sharmasgsin wrote: I am developing an application that do the following-- 1) create the subdomain at www.goforthat.com, like i am creating asubdomain as http://example.goforthatc.com 2)At the same time this aplication is creating an account at other application that is http://www.mobizme.biz.

Re: [error] (32)Broken pipe: ajp_ilink_send(): send failed

2008-10-07 Thread André Warnier
Sehyia Jalaludheen wrote: Hi Chuck, Thanks for the quick reply. I am not sure about it. But a few other machines in the same network also have the same Login issues for this application. Thanks Sehiya On Mon, Oct 6, 2008 at 11:39 AM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From:

Re: Cross Context Session in Tomact

2008-10-07 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maciej, Bajolek, Maciej wrote: Basically the problem is: how can webAppA share the session object with webAppB. Both apps are deployed within the same instance of Tomact. The servlet specification (section 7.3)

Re: Using tomcat to hold many open connections.

2008-10-07 Thread André Warnier
Original post : quote Hi. I'm looking for a server that has to hold many (web services) remote clients for controlling them. I want to do things like sending power off command to a bunch of machines remotely. The clients are usually windows machines behind firewalls NAT or web proxies that only

Re: Tomcat default encoding character ? Dfile.encoding option mean ?

2008-10-07 Thread André Warnier
albrecht andrzejewski wrote: I ran accros the ml archives, and i find some useful posts. I've almost solved my problem: i can now display the accent (é è à) using request.setCharacterEncoding(UTF-8); response.setCharacterEncoding(UTF-8); It seems that the default charset for tomcat is ISO

Re: tomcat ROOT

2008-10-07 Thread André Warnier
Johnny Kewl wrote: - Original Message - From: Rusty Wright [EMAIL PROTECTED] To: Markus Lord [EMAIL PROTECTED]; Tomcat Users List users@tomcat.apache.org Sent: Tuesday, October 07, 2008 11:31 PM Subject: Re: tomcat ROOT Hi Markus, did you ever figure this out? I was looking in the

Re: video/x-flv mime-mapping does not for Tomcat 5.5

2008-10-07 Thread André Warnier
Johnny Kewl wrote: - Original Message - From: Dave [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, October 07, 2008 11:03 PM Subject: video/x-flv mime-mapping does not for Tomcat 5.5 we are using JBoss4.0.5. For flash video, we added mime-mapping

Re: Communicating between webapps

2008-10-08 Thread André Warnier
Leon Rosenberg wrote: RMI, CORBA or (worst choice) SOAP. Everything else, like using libs in shared/server folders etc are hacks :-) Leon On Wed, Oct 8, 2008 at 10:53 AM, Darryl Pentz [EMAIL PROTECTED] wrote: I have an issue where webapp A needs to let webapp B know about an event, and then

Re: Communicating between webapps

2008-10-08 Thread André Warnier
Brantley Hobbs wrote: Darryl Pentz wrote: I have an issue where webapp A needs to let webapp B know about an event, and then return a response to webapp B's processing of that event to the browser. So basically I need to communicate between webapps in the same container. Since Daryl seems

  1   2   3   4   5   6   7   8   9   10   >