Re: Tomcat Version detection

2005-06-21 Thread Holger Klawitter
to edit $TOMCAT_HOME/conf/tomcat-users.xml beforehand). Apart from that you can also compare md5sums of the jar-files agains both distributions. -- With Kind Regards / Mit freundlichem Gruß Holger Klawitter (listen klawitter de) --

Re: tomcat does not like cmdline args of wget?

2005-06-15 Thread Holger Klawitter
oblems. I'll check that, thanks for your help! -- With Kind Regards / Mit freundlichem Gruß Holger Klawitter (listen klawitter de) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: tomcat does not like cmdline args of wget?

2005-06-14 Thread Holger Klawitter
There was no shell escaping involved (username and password both matched "[a-zA-Z0-9]*" and escaping would affect both access patterns the same way, wouldn't it?) With Kind Regards / Mit freundlichem Gruß Holger

Re: tomcat does not like cmdline args of wget?

2005-06-14 Thread Holger Klawitter
QM wrote: > On Mon, Jun 13, 2005 at 11:04:03AM +0200, Holger Klawitter wrote: > : what might be the reasion that > : wget http://theUser:[EMAIL PROTECTED]/someURL > : is working, whereas > : wget --http-user=theUser --http-passwd=thePass http://theHost/someURL > : yields &qu

tomcat does not like cmdline args of wget?

2005-06-13 Thread Holger Klawitter
dk 1.5.0_2) -- With Kind Regards / Mit freundlichem Gruß Holger Klawitter (listen klawitter de) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Solved! (Re: percent in URL makes tomcat chocke)

2005-06-09 Thread Holger Klawitter
- With Kind Regards / Mit freundlichem Gruß Holger Klawitter (listen klawitter de) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: percent in URL makes tomcat chocke

2005-06-08 Thread Holger Klawitter
liant server. (Most) other webservers treat percent sings as escape characters only when it comes to the query part of the URL. I have sent a "bug report" to the Debian maintainers - I'll be interested in their reply :-) With Kind Regards / Mit freundlichem Gruß Holge

Re: percent in URL makes tomcat chocke

2005-06-08 Thread Holger Klawitter
dy too late down the filter chain, the %3a in "...g++_4%3a3.3..." is already translated. Furthermore the "+" signs are being translated into spaces by the rewrite engine. With Kind Regards / Mit freundlichem Gruß Hol

percent in URL makes tomcat chocke

2005-06-08 Thread Holger Klawitter
http://oberon/apt/./g++_4%3a3.3.5-3_i386.deb Tomcat replies with 404, whereas http://oberon/apt/./g++_4%253a3.3.5-3_i386.deb would work (but apt-get does not ask that way) Is there a way to tweak tomcat into not interpreting percent signs? -- With Kind Regards / Mit freundlichem Gruß H

Re: OT Friday - Random sorting

2005-06-03 Thread Holger Klawitter
> > > But sadly to no avail. > > > > Has anyone done this before or have any suggestions. I'd just use java.util.Collections.shuffle(). -- With Kind Regards / Mit freundlichem Gruß Holger Klawitter (listen klawitter de) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

tc 5.5.3: making exceptions from securit constraints

2004-11-17 Thread Holger Klawitter
ot; constraint is being ignored (and the Java Plugin [JDK 1.4.2 / Mozilla 1.7.3] asks again for the password). Is there a way in 5.5.3 to exempt *.jar files from password protection without creating sub directories? -- With Kind Regards / Mit freundlichem Gruß

Re: Slow Java app on Tomcat with a 667 MHz CPU

2004-02-06 Thread Holger Klawitter
ke pages load dead slow if the remote host does not resolve. Mit freundlichem Gruß / With kind regards Holger Klawitter - -- lists klawitter de -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAI2CW1Xdt0HKSwgYRAsyDAJ4l6iSfKoW+WHE2Sdr79AE9hCDhNQCgnHsp 9WveraSw2MY85

Re: running tomcat5 as a user other than root

2004-01-13 Thread Holger Klawitter
.org/site/sourceindex.cgi Why? Mit freundlichem Gruß / With kind regards Holger Klawitter - -- lists klawitter de -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAA6Wp1Xdt0HKSwgYRAg5UAJ9V3cFpv2iALy/vh3u+7NZ+5DoY8ACdE79I fV7YGIL3BIiyHxYztA1yM+I= =Qbso -END PGP

Re: Forwarding

2003-11-28 Thread Holger Klawitter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Thursday 27 November 2003 16:49 schrieb Stuart Stephen: > Why not use apache mod_rewrite ? You need to have apache (and jk) up and running for this ;-) Mit freundlichem Gruß / With kind regards Holger Klawitter - -- lists klawitter

Re: Forwarding

2003-11-27 Thread Holger Klawitter
.jsp" This should be possible with a custom Valve. Unfortunately you probably have to write one yourself. Mit freundlichem Gruß / With kind regards Holger Klawitter - -- lists klawitter de -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/xaul1Xdt0HKSwgYRAlP4A

[OT: Testing] Am I blacklisted?

2003-11-17 Thread Holger Klawitter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, my last mails did not arrive timely on the list. This mail is being sent 2003-11-17 14:14 MET. Let's see when it arrives. Mit freundlichem Gruß / With kind regards Holger Klawitter - -- lists klawitter de -BEGIN PGP SIGN

Re: Running & debugging servlets on Linux

2003-11-17 Thread Holger Klawitter
ing? It should not be root. Is Tomcat running at all? Mit freundlichem Gruß / With kind regards Holger Klawitter - -- lists klawitter de -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/uIKD1Xdt0HKSwgYRAj+eAKChmkDhF8abMv0Iz/rd7Q5TIMX5YgCfY2t3 jDVaS+JOD945PcuS65KQKnA

fully embedded tocmat

2003-11-12 Thread Holger Klawitter
problem? Is there an "Embedded connector" delivering contents by API calls? Or am I just to stupid to see the obvious solution? ;-) Mit freundlichem Gruß / With kind regards Holger Klawitter - -- lists klawitter de -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux

Re: Can't run servlets

2003-11-06 Thread Holger Klawitter
some xml file might be malformed (this would be my next guess). Mit freundlichem Gruß / With kind regards Holger Klawitter - -- lists klawitter de -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/qhCr1Xdt0HKSwgYRAgkQAJ4ko9IJsGBFZbI/YlIREOxqigZOqACfRq2s yGRgQKyOGS

Re: Can't run servlets

2003-11-06 Thread Holger Klawitter
t; > abcd > testweb > > You also need to add a servlet-mapping after your servlet declarations: abcd /servlet/abcd Mit freundlichem Gruß / With kind regards Holger Klawitter - -- lists klawitter de -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux)

Re: Information Push

2003-10-27 Thread Holger Klawitter
g javascript (very bad!) tricks (even worse) or using HTML Tags (refer to "http-refresh"). Mit freundlichem Gruß / With kind regards Holger Klawitter - -- lists klawitter de -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/nQH11Xdt0HKSwgYRAs2dAJ9egE/e

Re: Newbie to Tomcat server.

2003-10-17 Thread Holger Klawitter
server. I've never used that feature, but it might be the result of the same problem. Mit freundlichem Gruß / With kind regards Holger Klawitter - -- lists klawitter de -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/j8Ej1Xdt0HKSwgYRAvkxAKCAUdTN1NW

Re: Difficulty in compiling a servlet.

2003-10-11 Thread Holger Klawitter
egards Holger Klawitter - -- lists klawitter de -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/iAQC1Xdt0HKSwgYRAnGTAJ9mVognPcpOFgLfwBU94CxNvK/9+wCeMw9N xDuLDar8XqXTOOncKktqvq4= =p4dV -END PGP SIG

Re: Tomcat not showing the pages ----

2003-09-25 Thread Holger Klawitter
uß / With kind regards Holger Klawitter - -- lists klawitter de -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/cprI1Xdt0HKSwgYRAh56AJ9L/LxKolqOkrFrkH3IqL+G6Hd18QCgivF/ wRyUkuJKJjABO3Tl2P2oyZk= =HfAY -END

Re: AW: Exception in Tomcat?

2003-09-12 Thread Holger Klawitter
g to improve with my webapps. Well making them faster helps a bit ;-) Mit freundlichem Gruß / With kind regards Holger Klawitter - -- lists klawitter de -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/Ybv+1Xdt0HKSwgYRAkJyAKCb1+bRBGn1WjlaOYQc1oVVqheBYACfUSKq aHKlWXNKH

Re: 404 error on Tomcat 4.1.27...

2003-09-02 Thread Holger Klawitter
egards Holger Klawitter - -- lists klawitter de -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iQIXAwUBP1T/5YeO6/fAymJdFAIyrAf+Lab/pftv8sOB2SBRYVuyre1Ht7Soxri8 gHONhS6ljd6bnSpBzwThCI8evJ217pQNHn8O66ZCcBsqoEARyFk9mMMhxALMzaQy dVlVBJN

Re: Get rid of socket write error

2003-07-24 Thread Holger Klawitter
verse is winning." -- Howie <[EMAIL PROTECTED]> Mit freundlichem Gruß / With kind regards Holger Klawitter - -- lists klawitter de -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iQIXAwUBPx/tGYeO6/fAymJdFALlWwf/YvX4KIibT4xZs

Re: Running Tomcat as Non-Root

2003-07-19 Thread Holger Klawitter
a hack (not a bad one though ;-) Mit freundlichem Gruß / With kind regards Holger Klawitter - -- lists klawitter de -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iQIXAwUBPxkeRIeO6/fAymJdFAKSiAgAhvFu2+F01dRiSg1QCaXdVP/Lh+rrbd0h GkEQffvf

Re: Need your help!!!

2003-07-06 Thread Holger Klawitter
jdk installed, do you? You need the full j2se, the jre is not enough as the jsp files need to be compiled into bytecode. Mit freundlichem Gruß / With kind regards Holger Klawitter -- lists klawitter de - To unsubscrib

Re: HTTP Status 404 - /HelloServlet

2003-07-01 Thread Holger Klawitter
Hi, you have either to enable the "invoker" or you have to create a servlet-mapping in your web.xml. This is a common mistake with tomcat 4.1.x. Mit freundlichem Gruß / With kind regards Holger Klawitter -- lists kla

Re: tomcat and log4j

2003-07-01 Thread Holger Klawitter
ldn't be written at all. You should try an absolute path, like log4j.appender.roll.File=${catalina.home}/logs/xxx.log Mit freundlichem Gruß / With kind regards Holger Klawitter -- lists klawitter de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Log4j problem mixing 2 apps

2003-06-27 Thread Holger Klawitter
le logs. See http://jakarta.apache.org Mit freundlichem Gruß / With kind regards Holger Klawitter -- lists klawitter de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: logging + tomcat (4.1.24,Linux)

2003-06-25 Thread Holger Klawitter
ke to avoid that. Have you managed to avoid that? The tomcat logging is funny at that point indeed - the doc talks about how to direct log messages, but no word about how to create them. ;-) Mit freundlichem Gruß / With kind regards Holger Klawitter -- lists kl

logging + tomcat (4.1.24,Linux)

2003-06-25 Thread Holger Klawitter
status messages go here, but no output from the webapp] AFAICS, all logging systems (SUN, log4j and commons) have no connection to the Tomcat logger elements. How can these Loggers be made interacting with Tomcat logging? Mit freundlichem Gruß / With kind regards Holger Klawitter

Re: easy question

2003-06-24 Thread Holger Klawitter
t Tomcat always tells me that it is not able to resolve the symbol. > > What shall I do? Do I need to change the web.xml? the contents of "classes" is not part of any package, whereas your jsp page is. You have to "import" your class. Mit freundlichem Gruß / With kind re

Re: How use an external C program in a Servlet

2003-06-24 Thread Holger Klawitter
tomcat account, which might be root! Same problem if the arguments to the C program are not sufficiently checked. Mit freundlichem Gruß / With kind regards Holger Klawitter -- [EMAIL PROTECTED] - To unsubscribe, e-mail:

Re: How use an external C program in a Servlet

2003-06-24 Thread Holger Klawitter
You will probably have to dig into $TOMCAT_HOME/conf/catalina.policy. Mit freundlichem Gruß / With kind regards Holger Klawitter -- [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Urgent: Strange Exception in my jsp file

2003-06-09 Thread Holger Klawitter
ur servlet, but not in your jsp file. In older versions of Tomcat (and perhaps JDeveloper) jsp files were in the "root" package; which is likely to be your servlet package as well. Mit freundlichem Gruß / With kind regards Holger

Re: How can I run tomcat on port 8080 and have the users think it's on port 80?

2003-06-06 Thread Holger Klawitter
in my > app show up as :8080. So once the user clicks on a link they see 8080 from > then on. Here is my experience with this topic: http://www.klawitter.de/tomcat80.html Mit freundlichem Gruß / With kind regards Holger Klaw

Re: Tomcat running as non root user as service...

2003-06-03 Thread Holger Klawitter
Simple answer is no, however you could use the sudo utility to grant a non > root user root privileges just to run tomcat. But this will still make tomcat run as root. I've set up some ideas regarding that topic: http://www.klawitter.de/tomcat80.html Mit freundlichem Gruß / W

jsp evaluation into a stream instead of response?

2003-06-02 Thread Holger Klawitter
and sending it to the local server. Is there more direct/elegant way? Mit freundlichem Gruß / With kind regards Holger Klawitter -- [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: faulty fix for (javax.servlet does not exist)

2003-06-02 Thread Holger Klawitter
n bash | less +/^ENV") Mit freundlichem Gruß / With kind regards Holger Klawitter -- [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Calling Shell Commands from JSP

2003-02-18 Thread Holger Klawitter
ons in $TOMCAT_HOME/conf/catalina.policy See the docs http://jakarta.apache.org/tomcat/tomcat-4.1-doc/security-manager-howto.html for further details. With kind regards / mit freundlichem Gruß Holger Klawitter -- Holger Klawitter http://www.kla

Re: Problem with servlets in Tomcat 4.1.18

2003-02-17 Thread Holger Klawitter
, the first place of *new* users to look in. Looking in the archive of the mailing list would also help as this question gets posted and answered every day. With kind regards / mit freundlichem Gruß Holger Klawitter -- Holger Klawitter

Re: Error 500

2003-02-03 Thread Holger Klawitter
uot;catalina.out". With kind regards / mit freundlichem Gruß Holger Klawitter -- Holger Klawitter http://www.klawitter.de [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Serving files from the Apache docroot

2003-01-28 Thread Holger Klawitter
your firewall. IV.) MORE/BETTER SUGGESTIONS GO HERE :-) With kind regards / mit freundlichem Gruß Holger Klawitter -- Holger Klawitter http://www.klawitter.de [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

apache does not talk to tomcat via jk2(ajp13)

2003-01-27 Thread Holger Klawitter
Hi there, I am trying to make apache 2.0.43 with tomcat 4.1.12, via jk2 (via ajp13 protocol, under linux). However I only get various errors and I cannot make any sense out of it. (They are at the very bottom of this mail.) Is there a set of demo files for this kind of connection? Or is there a

OT: on File.separator (was: How do I get the absolute path ...)

2003-01-20 Thread Holger Klawitter
Hai, > > java.io.File dir1 = new java.io.File ("..\\"); // line 1 > new java.io.File( ".." + File.separator ) would be a somewhat cleaner. > more over, we can use suitabe seperators depending on the operating system. File.separator already gives you the Separator for the current OS. > I gues

Re: How do I get the absolute path of a file in a directory above WEB-INF directory of my web application?

2003-01-20 Thread Holger Klawitter
> java.io.File dir1 = new java.io.File ("..\\"); // line 1 new java.io.File( ".." + File.separator ) would be a somewhat cleaner. -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Reloading an application non-interactively

2003-01-13 Thread Holger Klawitter
h=/myapp --output-document=response.html With kind regards / mit freundlichem Gruß Holger Klawitter -- Holger Klawitter http://www.klawitter.de [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: URGENT.. org.apache.jasper.JasperException: Unable to compile class for JSP

2002-12-19 Thread Holger Klawitter
ent Java VMs on each machine. AFAIK Java 1.4 no longer supports import of classes in the "root" package. With kind regards / mit freundlichem Gruß Holger Klawitter -- Holger Klawitter http://www.klawitter.de [EMAIL PROTECTED] -- To unsubscribe, e-

Re: File file = new File(path);

2001-11-21 Thread Holger Klawitter
; > file or directory) > > java.sql.SQLException: The url cannot be null > > > > with the code: > > > > String path = System.getProperty("tomcat.home") + > > "/webapps/spankroot/WEB-INF/classes/properties.txt &qu