Can Tomcat be configured to be an FTP Server?

2004-10-24 Thread William Ferguson
Apologies if this is a dumb question, but I've had a good look through the archives and couldn't find anything of relevance. Is it possible to configure Tomcat as an FTP Server? Since I need to run both a WebServer and an FTP Server I was hoping to host them both from the one JVM. It looks

Re: JDBCRealm

2004-10-24 Thread Roland Carlsson
Thanks for your answer! Well, since I can't find any way to configure the Admin to use anything but the Memory realm ( no way to change the realm class) so it seems like it's going to be hard to use it to administer the JDBCRealm. And about the reply to an old message, I was unaware of the

Ihre Mail wurde geblockt, da sie einen Virus enthlt.

2004-10-24 Thread Postmaster
Ihre Mail wurde geblockt, da sie einen Virus enthaelt. Die Mail und darin enthaltene Erklaerungen sind nicht zugegangen. Einzuhaltende Fristen wurden nicht gewahrt. Senden Sie uns Ihre ueberpruefte Mail erneut zu oder benutzen Sie einen anderen Kommunikationsweg. Danke fuer Ihr Verstaendnis.

Re: Can Tomcat be configured to be an FTP Server?

2004-10-24 Thread Cees van de Griend
On Sunday 24 October 2004 10:52, William Ferguson wrote: Is it possible to configure Tomcat as an FTP Server? No. Tomcat is a HTTP server, not a FTP server: different port numbers, different commands, different kind of application. Regards, Cees.

Re: Can Tomcat be configured to be an FTP Server?

2004-10-24 Thread William Ferguson
But can't you implement a Servlet to support any transfer protocol? Http is only one transfer mechanism. The javax.servlet.Servlet interface is not Http aware. As for the different port numbers, I thought these were actually configured in Tomcat. William - Original Message - From:

RE: Does Oracle 9i thin jdbc driver work in Tomcat 5?

2004-10-24 Thread spammemothers
Please is anyone using Oracle 9 with tomcat 5? - I've really hit a brick wall here still have no idea if it's my fault or it just doesn't work! I just want to setup a connection pool of Oracle 9 thin JDBC connections! Thanks harry -Original Message- From: spammemothers [mailto:[EMAIL

RE: Does Oracle 9i thin jdbc driver work in Tomcat 5?

2004-10-24 Thread Dale, Matt
I'm fairly sure that there are people using it but you may have to wait until it's not the weekend for you get an answer. -Original Message- From: spammemothers [mailto:[EMAIL PROTECTED] Sent: 24 October 2004 12:13 To: 'Tomcat Users List' Subject: RE: Does Oracle 9i thin jdbc driver

Re: Can Tomcat be configured to be an FTP Server?

2004-10-24 Thread Cees van de Griend
On Sunday 24 October 2004 12:43, William Ferguson wrote: But can't you implement a Servlet to support any transfer protocol? Http is only one transfer mechanism. The javax.servlet.Servlet interface is not Http aware. As for the different port numbers, I thought these were actually configured

Re: JDBCRealm

2004-10-24 Thread QM
On Sun, Oct 24, 2004 at 11:58:29AM +0200, Roland Carlsson wrote: : Well, since I can't find any way to configure the Admin to use anything but : the Memory realm ( no way to change the realm class) so it seems like it's : going to be hard to use it to administer the JDBCRealm. Really? I figure

Jakarta-Tomcat and Image Tag Library

2004-10-24 Thread Lars Nielsen Lind
Hi. I am having some trouble making the Jakarta Image Tag Library work. I do as outlined in the documentation but I am not apple to display any images. I have set CATALINA_OPTS=-Djava.awt.headless=true in my {jakarta-tomcat-dir}/bin/catalina.sh. Lars Nielsen Lind

Re: Jakarta-Tomcat and Image Tag Library

2004-10-24 Thread QM
On Sun, Oct 24, 2004 at 03:42:28PM +0200, Lars Nielsen Lind wrote: : I am having some trouble making the Jakarta Image Tag Library work. I do as : outlined in the documentation but I am not apple to display any images. As we're not clairvoyant, you'd do well to provide details if you want help:

RE: Jakarta-Tomcat and Image Tag Library

2004-10-24 Thread Lars Nielsen Lind
Hi. I use: Jakarta-Tomcat-5.0.25 J2SDK1.4.2_04 Image Taglib 1.0 (from binaries) There is no error msg. I have copied taglibs-image.jar to /WEB-INF/lib. I have copied pjatools.jar to /WEB-INF/lib I have copied com.mullasseny.imaging... to /WEB-INF/classes/com/... I have copied taglibs-image.tld

RE: Jakarta-Tomcat and Image Tag Library

2004-10-24 Thread Ben Souther
Not familiar with the tag-lib but try: src=images/employees/%= employee_image % NOTE: no / at the beginning of the relative url On Sun, 2004-10-24 at 10:13, Lars Nielsen Lind wrote: Hi. I use: Jakarta-Tomcat-5.0.25 J2SDK1.4.2_04 Image Taglib 1.0 (from binaries) There is no error

RE: Jakarta-Tomcat and Image Tag Library

2004-10-24 Thread Lars Nielsen Lind
Hi. It was not that... I also have tried with this, but it will not display any images... img:image src=../../../images/employees/%= employee_image % name=%= employee_image % img:resize scale=50% / /img:image Lars Nielsen Lind -Original Message- From: Ben

webapp hangs, how to debug?

2004-10-24 Thread Alexio Cassani
Hi all, I'm trying to debug a hanging problem raised by a web application that my company developed using Codecharge Studio. The application has an usual architecture: it gets some data from an Oracle 9i db and show them in a few jsp pages. The problem is present during the login phase: I put

Re: webapp hangs, how to debug?

2004-10-24 Thread Ben Souther
I would start by adding print statements to the various parts of your code and tailing the logs to see where exactly it's hanging. I don't know anything about your app but the first thing I would look at is how you're getting database connections. If you are using connection pooling and not

RE: Jakarta-Tomcat and Image Tag Library

2004-10-24 Thread Lars Nielsen Lind
Hi. I have now located an error msg in jakarta-tomcat: StandardContext[]ImageTag error: Cannot get ../../../images/employees/%= employee_image % StandardContext[]The exception was: - Javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found

Manager App and .war META-INF context.xml problem

2004-10-24 Thread Mark Doppelfeld
Hi, I've done some reading on this subject, but still face a problem: I've set autodeploy to false in server.xml When I initially install the war via the manager app, everything is fine. Then I stop and unload my web-app and upload a new war file. On installing the new war I get the following

Default User with JDBC Realm

2004-10-24 Thread Mark Doppelfeld
Hi together, is there any way to have an Default User authenticated vs the JDBC Realm. Our custom wants to have the user guest logged in by default, and you can then 'login' with your credentials via an explicit link within the webapp. Thanks in advance Mark

Re: JDBCRealm

2004-10-24 Thread Roland Carlsson
I also thought that it would be possible to admin another kind of realms but since I didn't found a way I asked to find out if that really could be the case (It has happed that I missed things in the documentation :-D ). I'm using Tomcat 5.0.28 on MacOsX. Regards Roland - Original Message

Re: Default User with JDBC Realm

2004-10-24 Thread QM
On Sun, Oct 24, 2004 at 07:27:42PM +0200, Mark Doppelfeld wrote: : is there any way to have an Default User authenticated vs the JDBC Realm. : Our custom wants to have the user guest logged in by default, and you : can then 'login' with your credentials via an explicit link within the : webapp.

Re: Default User with JDBC Realm

2004-10-24 Thread Mark Doppelfeld
Because that would mean to maintain a lot of urls which are public (but don't) belong to the same sub url (like /public/... and /protected/...) QM wrote: On Sun, Oct 24, 2004 at 07:27:42PM +0200, Mark Doppelfeld wrote: : is there any way to have an Default User authenticated vs the JDBC Realm. :

cookies problem with Tomcat 4.1.30

2004-10-24 Thread Todor Todorov
Hello there, We experienced strange behavior with Tomcat under heavy load. Fairly simple JSP generates a page based on a persistent cookie, unfortunately the browser receives someone else page. For example, browser B1 sends request with cookie C1, but receives page based on cookie

tc5.5 - multiple hosts problem

2004-10-24 Thread Alex
hey all. just installed tc 5.5.3 and it works fine no problems out of the box. now, when i modify the server.xml to add another host, other then localhost, it sort of works...see, the problem is, i deploy a new war file to the new 'host' and the only way i can access it is if i go to:

Re: tc5.5 - multiple hosts problem

2004-10-24 Thread Remy Maucherat
On Sun, 24 Oct 2004 15:25:49 -0400 (EDT), Alex [EMAIL PROTECTED] wrote: hey all. just installed tc 5.5.3 and it works fine no problems out of the box. now, when i modify the server.xml to add another host, other then localhost, it sort of works...see, the problem is, i deploy a new war file

R: webapp hangs, how to debug?

2004-10-24 Thread Alexio Cassani
Hi Ben, thanks for your reply. I'm monitoring the db connections, they seems to be alright, but I'll get more answers in the next hours (but the webapp is not *stressed*, there are a few users and, moreover, looking system tables in oracle it seems that only 1 connection is active, this is caused

RE: tc5.5 - multiple hosts problem

2004-10-24 Thread Alex
Thanks for the reply. Things seem to work now if I have my app as ROOT with a ROOT.xml. I've also noticed that tomcat is mysteriously deleting some of my config files and war files when an internal reload happens (if it sees a file has changed) For instance, I renamed 'meh' to ROOT and

Running HSQLDB in-process?

2004-10-24 Thread Michael Schuerig
I'm trying to run HSQLDB in in-process mode in a web application. For this I've added a resource definition to the context file: Resource name=jdbc/verzeichnisdb auth=Container type=javax.sql.DataSource username=sa password= driverClassName=org.hsqldb.jdbcDriver

Stefan Neuhaus/IMNES/IM/DE/BAYER ist außer Haus.

2004-10-24 Thread stefan . neuhaus
Ich werde ab 25.10.2004 nicht im Büro sein. Ich kehre zurück am 26.10.2004. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Configuration Management, JSP Recompiles, War Files

2004-10-24 Thread Steven J. Owens
Hi folks, I'm interested in hearing how people are dealing with configuration management issues. We've been running into some problems with JSP recompiles, particularly when the changed JSP is an included JSP. Tomcat seems to sort of get stuck on the old version, even if we restart

RE: Where do UnavailableExceptions get reported?

2004-10-24 Thread Chris Bergstresser
QM wrote: On Fri, Oct 22, 2004 at 06:44:07PM -0400, [EMAIL PROTECTED] wrote: ...the message I specified in the exception I threw does not show up -- not in the logs, not when I reload the servlet in the manager, not on the page when I try to run the servlet. I searched all the available

Session Definition Bug?

2004-10-24 Thread Bill Winspur
I am using jakarta-tomcat-5.0.27 standalone on windows xp pro. When I connect from a browser on the same host as Tomcat, the session listener is invoked on every request to to tomcat from the client (which replaces my shopping cart, stored in session scope, with an empty cart).. However, if I

AW: Session Definition Bug?

2004-10-24 Thread Steffen Heil
Hi I am using jakarta-tomcat-5.0.27 standalone on windows xp pro. When I connect from a browser on the same host as Tomcat, the session listener is invoked on every request to to tomcat from the client... Are you sure? This doesn't happen to me. And as tomcat usually doesn't care about wether

Re: AW: Session Definition Bug?

2004-10-24 Thread Bill Winspur
Steffen Heil wrote: Hi I am using jakarta-tomcat-5.0.27 standalone on windows xp pro. When I connect from a browser on the same host as Tomcat, the session listener is invoked on every request to to tomcat from the client... Are you sure? This doesn't happen to me. And as tomcat usually