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 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: java keeps crashing. any ideas?

2004-01-30 Thread Cees van de Griend
On Friday 30 January 2004 00:43, Yakov Belov wrote: Try reinstalling jdk. This will probably not be very usefull. - Original Message - From: Alex Korneyev [EMAIL PROTECTED] Cc: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, January 30, 2004 2:45 AM Subject: java keeps crashing.

Re: Giving access to an html file in tomcat

2003-12-08 Thread Cees van de Griend
On Monday 08 December 2003 21:40, Bender, Christopher wrote: Hey, I have added the following to my web.xml of one of my web apps: error-page error-code403/error-code location/error/error.htm/location /error-page When I try and test this (go to a

Re: Max. wait time for a Servlet Response

2003-12-05 Thread Cees van de Griend
Howdy, This is the first time I catch a mistake from you. Be carefull, or you will fall from you're pedestal grin/. On Thursday 04 December 2003 14:56, Shapira, Yoav wrote: Howdy, By default it's about 60sec before the browser will give up on your servlet if it doesn't get any response. As

Re: Header and footer in directory listing ....

2003-03-13 Thread Cees van de Griend
On Thursday 13 March 2003 19:34, Shapira, Yoav wrote: Howdy, You have to wait a little bit before re-posting questions, if you re-post them at all. I agree. Tomcat doesn't have a facility to do this. You have to do it yourself, e.g. by having a simple class in your application that just

Re: Header and footer in directory listing ....

2003-03-13 Thread Cees van de Griend
On Thursday 13 March 2003 21:11, Shapira, Yoav wrote: Tomcat doesn't have a facility to do this. You have to do it yourself, e.g. by having a simple class in your application that just gives the header HTML and footer HTML as Strings, and then having every servlet use this class. It does.

Re: How to configure Tomcat to suppress adding port to URL??????

2003-02-12 Thread Cees van de Griend
On Wednesday 12 February 2003 12:37, Rademacher Tobias wrote: Uho! Does this mean that tomcat _must_ run as root user (on Solaris) due to ports lower that 1024 are not accessible by a user without root privileges. If you want to have Tomcat running on port 80 and/or 443: yes. I guess the

Re: about singletons (ot)

2003-01-28 Thread Cees van de Griend
On Tuesday 28 January 2003 22:56, Felipe Schnack wrote: These days I was thinking It's not so uncommon to have uses for singleton classes in our everyday lives. Normally we do that implementing a class that have its constructor as private, so no one can instantiate it, and a getInstance()

Re: Two Instances

2002-12-11 Thread Cees van de Griend
On Wednesday 11 December 2002 14:10, Laxmikanth M.S. wrote: Hi all, can I have two instances of Tomcat installed in one machine and both the servers should be running. we need to change the port for once instance of tomcat as 9090 instead of 8080 so taht both tomcat will listen at different

Re: Directory Structure

2002-12-11 Thread Cees van de Griend
On Wednesday 11 December 2002 21:29, Jim Henderson wrote: I have tried to follow every posted suggestion on how to process: javax.servlet.ServletException: Cannot allocate servlet instance for path /mfnettags/servlet/DocViewServlet and java.lang.NoClassDefFoundError:

Re: Two instances of Tomcat with Formula 1 Software(E-spreadsheet)

2002-12-11 Thread Cees van de Griend
On Wednesday 11 December 2002 23:38, Mohbe, Sameer wrote: Thanks to Ben and John on their inputs,But second instance of Tomcat(tomcat2) still errors out when it tries to create a report with Formula 1 software with Java.Lang.Out.Of.Memory error --though i increased the Heap size upto upper

Re: Error with THIS web.xml file:

2002-12-10 Thread Cees van de Griend
On Tuesday 10 December 2002 01:02, Johnson, Garrett wrote: For the life of me, I can't figure out why there's a problem, but Tomcat refuses to parse this! I keeps complaining about line 20, column 11, which is where my first servlet tag starts. Is there something stupid I'm missing here?

Re: OK to run tomcat as nobody?

2002-12-06 Thread Cees van de Griend
On Friday 06 December 2002 05:27, Sanjaya Singharage wrote: This is a follow up to the post why run romcat as root (I meant to say why run tomcat as nobody). After reading all the replies. My solution would be to run apache as root on port 80 and then run tomcat behind the scenes using a

Re: Why run tomcat as root

2002-12-05 Thread Cees van de Griend
On Thursday 05 December 2002 14:24, Tim Funk wrote: With tomcat - the there is only one process, the JVM. It is possible to bind to port 80 as root to listen on the port, then switch the entire process to another (less priviledged) user id. To do this - you need class which can call the native

Re: Why run tomcat as root

2002-12-05 Thread Cees van de Griend
On Thursday 05 December 2002 15:25, maninder s batth wrote: running apache just for port mapping would be an overkill. does any one foresee a potential problem with port-mapper solution ? Yep, a big problem. All traffic is from the port-mapper server, as far as Tomcat knows. I tried this and

Re: Why run tomcat as root

2002-12-05 Thread Cees van de Griend
On Thursday 05 December 2002 15:23, Kristján Rúnarsson wrote: This leaves me with the option of running apache as a normal user and setting up some sort of a redirect service that runs as root which is a pretty unelegant solution compared to a tomcat that suid's it self down after accessing

Re: Detecting Usage of http/1.1 by Tomcat

2002-11-15 Thread Cees van de Griend
On Friday 15 November 2002 12:54, Bill Angel wrote: Hello: I recently installed ApacheTomcat 4.1.12-LE-jdk14. The installation appears to function correctly, but I am experiencing difficulties getting browsers (IE 5.5 and Netscape 7.0) to recognize the cache-control directives specific to

Re: Possible to subclass a web application?

2002-11-15 Thread Cees van de Griend
On Friday 15 November 2002 22:17, Turoff, Steve wrote: I currently have a Tomcat (v 3.2.3) - Apache (v 1.3.19) - Red-Hat web site, www.siteA.com, that consists of several hundred jsp pages and several servlets. I want to create a second web site, www.siteB.com, that uses the same content, but

Re: Possible to subclass a web application?

2002-11-15 Thread Cees van de Griend
On Friday 15 November 2002 22:52, Turoff, Steve wrote: Cees, Thanks for the advice. I thought about doing it your way, however there will actually be 4 or 5 sites, some of which will override more than just header.jsp and footer.jsp. I think this will lead to a maintenance nightmare down the

Re: ServletContextListener::Initial paramters

2002-11-12 Thread Cees van de Griend
Op dinsdag 12 november 2002 14:42, schreef Reynir Hübner: Hello, I am implementing a ServletContextListener. I am wondering if it is possible to get initial parameters into it from web.xml ? void contextInitialized(ServletContextEvent sce) { ServletContext sc = sce.getServletContext();