Re: byte serving PDF with Tomcat 5.0.27

2005-09-28 Thread Jilles van Gurp
Sure, just set the content-type and stream some bytes. As far as I know this applies to all versions of tomcat too. Jilles Maceno, Shawn wrote: Hello all, I'm running Tomcat 5.0.27 on Linux, and need to know if this version of Tomcat supports byte serving and how to determine if it's workin

Re: Running Perl script from tomcat ( no apache ) on windows

2005-09-28 Thread Jilles van Gurp
alebu wrote: Hi! How to run Perl script from tomcat ( no apache ) on windows? It is required for AW Stats, which uses perl for generating response. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re: What to put into JAVA_HOME on Windows xp

2005-09-28 Thread Jilles van Gurp
Could you check if relative to your jdk directory there is a lib\tools.jar? This is where the class files for the javac compiler are located and this file is not found by tomcat at the expected location. Anyway, I recommend reinstalling the java development kit and using the default settings.

Re: tomcat + sysdeo plugin + eclipse 3.1

2005-09-28 Thread Jilles van Gurp
Jilles van Gurp wrote: I'm not sure this is the right place for this question but I assume more tomcat users use the sysdeo plugin to launch tomcat. The issue is that my WEB-INF/classes directory of my web application is not on the classpath if I launch tomcat using the sysdeo plugin.

tomcat + sysdeo plugin + eclipse 3.1

2005-09-28 Thread Jilles van Gurp
I'm not sure this is the right place for this question but I assume more tomcat users use the sysdeo plugin to launch tomcat. The issue is that my WEB-INF/classes directory of my web application is not on the classpath if I launch tomcat using the sysdeo plugin. This used to work fine but for

Re: Question about tomcat startup ConcurrentModificationException

2005-09-27 Thread Jilles van Gurp
The fix is to replace the mx4j jar file in the release (bin/jmx.jar) with the fixed version (latest 2.1.x) which has been available for a long time now from the mx4j project site. You might also search this mailinglist. This must be one of the more frequently raised topics. I know I found the

Re: Flexible way of defining application variables in text format?

2005-09-27 Thread Jilles van Gurp
NoKideen wrote: On Tuesday 27 September 2005 15:36, Seak, Teng-Fong wrote: My webapp needs some application string variables for configuration. For the moment, I hard-code them as class static properties and compiled. But I'd like to know if there's any method to define such variables in a

tld processing performance at startup

2005-09-23 Thread Jilles van Gurp
a way to optimize this problem away (even partially) by e.g. telling tomcat explicitly what tlds to process? Regards, Jilles van Gurp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: tomcat exception handling

2005-09-22 Thread Jilles van Gurp
swallowoutput=true in your context should help Jilles James Cowan wrote: Hi How do I suppress the stack trace from exception handling globally (i.e. not using an errorPage directive)? I have tried setting the Verbosity of the Logger elements in the server.xml (for Tomcat 5.0.28) to 0 but this

Re: someone familar with this error?

2005-09-22 Thread Jilles van Gurp
Leon Rosenberg wrote: starting tomcat: 22.09.2005 12:41:27 org.apache.coyote.tomcat5.MapperListener init WARNUNG: Error registering contexts java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782) at java.util.HashMap$EntryIterator.

Re: Install Tomcat 5.5 quietly?

2005-09-22 Thread Jilles van Gurp
Richard Burman wrote: Hi all, Just a quick question for you; how can I launch the Tomcat installer without the installation screens popping up? Can I specify the installation directory and settings from the command line? I tried feeding the installer some parameters but it seems to completely ig

Re: Configure multiple number of aliases / sub-domains

2005-09-22 Thread Jilles van Gurp
Assaf wrote: Hi Tom, Thanks again for the answer. BUT my problem is not the hosts file. That works fine. My issue is as follows: I have multiple hosts (as in TOMCAT HOSTS) running on the server. Each is mapped to a different context/ application. I need to be able to map ALL subdomains to the s

Re: Default Charset in Content-Type Header

2005-09-22 Thread Jilles van Gurp
Alpay Ozturk wrote: Hi, I am using Tomcat 4.1.29 in a production environment and I want tomcat not to add default charset in Content-Type response header. Is it possible? Thanks in advance. Alpay - To unsubscribe, e-mail

Re: Problems with utf-8 encoding - continue

2005-09-18 Thread Jilles van Gurp
Why aren't you using setContentType("text/html, "utf-8") on the response? What content-type is the server actually returning (use the live http headers extension for firefox or something similar to find out). What database and jdbc driver are you using? What method are you using to store the

Re: Help figuring out Virtual Hosts

2005-09-17 Thread Jilles van Gurp
You can use multiple hosttags in the server.xml, each with their own context. As described here http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/host.html "One or more Host elements are nested inside an Engine element. Inside the Host element, you can nest Context elements for the web app

Re: Order of WebApp Loading

2005-09-15 Thread Jilles van Gurp
If you define the contexts in the server.xml, they are started in the order that you define them, I think. Regards, Jilles Peter Menzel wrote: Hi there, I have a question concerning Tomcats webapp loading: What is the order in which tomcats loads its webapps ? I have two webapps configured b

basic authentication problem 5.5.9

2005-09-14 Thread Jilles van Gurp
Hi I suspect I am running into this bug in tomcat 5.5.9 which has been solved in tomcat 5.5.11 and I was wondering if there is a workaround: http://issues.apache.org/bugzilla/show_bug.cgi?id=22617 Let me first explain my situation. I have a webapplication which we use in production on multiple