Path mapping...

2006-11-10 Thread Peter Björkman
(And sorry for hijacking the previous thread - my bad, won't happen again). Hi! I have a web-app residing in /, the docBase is relative to appBase. I have an issue where I want to serve static files located outside the web-app. For example: /mydir/index.jsp comes from the relative docBase as

Re: Preventing memory leaks with awt event thread, is it possible?

2006-11-10 Thread David Delbecq
We had no choice but running it on the webapp server. It requires quite a few interaction with datas provided by libraries in webapp. We don't redeploy often, but we try to avoid stopping other webapplications when redeploying. Thank all for advices. Christopher Schultz a écrit : David,

Re: Preventing memory leaks with awt event thread, is it possible?

2006-11-10 Thread David Delbecq
Christopher Schultz a écrit : Mikolaj, Mikolaj Rydzewski wrote: Maybe headless=true property (or sth similiar, there is one) would help? To run Java AWT on a server like this, he'd already have to be doing this. :( Nope, we don't want headless awt, it's pretty as usefull as no AWT.

Can't start tomcat on Debian Linux

2006-11-10 Thread Stepan Yakovenko
Hello! I start tomcat this way: zeuhl:/home/stiv# /etc/init.d/tomcat5 start Starting Tomcat 5 servlet engine using Java from /usr/java/jdk1.5.0_04: tomcat5. Though I get this error message: Using CATALINA_BASE: /var/lib/tomcat5 Using CATALINA_HOME: /usr/share/tomcat5 Using

Re: Switching between 2 projects, each setup at Tomcat's ROOT context deletes the source folder of the 2nd project.

2006-11-10 Thread Rashmi Rubdi
Hassan, I was able to set up the 2 projects per your instructions. This set up is definitely a time-saver in my situation. Thank you very much for your help. -Rashmi - Original Message From: Hassan Schroeder [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent:

Re: Path mapping...

2006-11-10 Thread Rashmi Rubdi
Peter, I'm not too sure if this will help but, you might want to try URL Rewriting, if you have Apache as the web server you could use it's rewrite features. I don't think Tomcat5.0 has a Rewrite feature built in but I came accross this one: URLRewriteFilter http://tuckey.org/urlrewrite/ it

Re: Can't start tomcat on Debian Linux

2006-11-10 Thread Leon Rosenberg
is you vm actually there? what does java -version print? On 11/10/06, Stepan Yakovenko [EMAIL PROTECTED] wrote: Hello! I start tomcat this way: zeuhl:/home/stiv# /etc/init.d/tomcat5 start Starting Tomcat 5 servlet engine using Java from /usr/java/jdk1.5.0_04: tomcat5. Though I get this error

Re: Can't start tomcat on Debian Linux

2006-11-10 Thread Gregor Schneider
at debian, the jdk usually resides at /opt/jdk1.5 as leon wrote, check the installation-path. cheers greg -- what's puzzlin' you, is the nature of my game - To start a new topic, e-mail: users@tomcat.apache.org To

Re: Can't start tomcat on Debian Linux

2006-11-10 Thread Stepan Yakovenko
Leon Rosenberg wrote: is you vm actually there? what does java -version print? [EMAIL PROTECTED]:~$ java -version java version 1.4.2 gij (GNU libgcj) version 4.1.2 20061020 (prerelease) (Debian 4.1.1-17) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source

RE: First-time user of Tomcat 5.5

2006-11-10 Thread Christian Hutzinger
hi, have a look at your tomcat-users.xml file in %TOMCAT_HOME%/conf. There should be a role named manager and a user for this role like the following... tomcat-users role rolename=manager/role user password=tomcat roles=manager username=tomcat/user /tomcat-users chris Am Thu, 9 Nov 2006

Re: Can't start tomcat on Debian Linux

2006-11-10 Thread Stepan Yakovenko
Gregor Schneider wrote: at debian, the jdk usually resides at /opt/jdk1.5 I've used .rpm distrib from sun web cite and alien tool to convert it to .deb. It installed it to JAVA_HOME=/usr/java/jdk1.5.0_04. as leon wrote, check the installation-path. Ups, I don't understand, what do you mean

Re: Preventing memory leaks with awt event thread, is it possible?

2006-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Delbecq wrote: Christopher Schultz a écrit : To run Java AWT on a server like this, he'd already have to be doing this. :( Nope, we don't want headless awt, it's pretty as usefull as no AWT. Whenever you create any Component you get

RE: First-time user of Tomcat 5.5

2006-11-10 Thread Caldarale, Charles R
From: Ernie Ho [mailto:[EMAIL PROTECTED] Subject: RE: First-time user of Tomcat 5.5 1) I cannot locate the RUNNINGS.txt indicated below in the home directory. Grumble, grumble - it's another file that has been left out of the .exe installer. It's in the .zip and .tar.gz versions. I much

Re: Can't start tomcat on Debian Linux

2006-11-10 Thread Johannes
Try to disable the security manager. Edit /etc/init.d/tomcat and change the security to no. # Use the Java security manager? (yes/no) TOMCAT5_SECURITY=no ~Johannes -Originalmeddelande- From: Stepan Yakovenko [EMAIL PROTECTED] Date: Fri, 10 Nov 2006 12:13:31 +0100 To:

Re: Can't start tomcat on Debian Linux

2006-11-10 Thread Hassan Schroeder
On 11/10/06, Stepan Yakovenko [EMAIL PROTECTED] wrote: what does java -version print? [EMAIL PROTECTED]:~$ java -version java version 1.4.2 gij (GNU libgcj) version 4.1.2 20061020 (prerelease) (Debian 4.1.1-17) clearly, the Java you think you installed is, at the least, not in your path.

Re: Accessing ssl pages using client authentication

2006-11-10 Thread Mark Thomas
Andrew Friebel wrote: I think I have an issue with how my client is sending the certificate. I thought tomcat handled this automatically. Is my assumption correct? Your assumption is correct. With SSL, as I am sure you are finding, every bit of the configuration has to be perfect or it just

Re: SSO and session security

2006-11-10 Thread Mark Thomas
Mikolaj Rydzewski wrote: Would it be a problem if I enable single sign-on for the server? Would my apps overwrite each other's session form-beans? The web application sessions will remain separate. Mark - To start a new

Re: Can't start tomcat on Debian Linux

2006-11-10 Thread Stepan Yakovenko
Hassan, you are right. I have two java's. I will remove both and reinstall SUN's to be on the safe side. Stepan. Hassan Schroeder пишет: On 11/10/06, Stepan Yakovenko [EMAIL PROTECTED] wrote: what does java -version print? [EMAIL PROTECTED]:~$ java -version java version 1.4.2 gij (GNU

Re: Can't start tomcat on Debian Linux

2006-11-10 Thread Li
Hi, if there are quite a few dependencies with gjc, a simple way to ignore gjc is renaming gjc's javac and java to .. say gjc-java and gjc-javac. Then you can have sun's java compiler working. On 11/11/06, Stepan Yakovenko [EMAIL PROTECTED] wrote: Hassan, you are right. I have two java's. I