Tomcat v4.0.3 crash for unknown reasons

2005-06-09 Thread Hertenstein Alain
Hi there, We have our Intranet web site running on a Tomcat 4.0.3 server under Redhat Linux 7.2. It's been a week now that Tomcat is crashing every 2-8 hours unexpectedly without apparent reasons, while it has been working flawlessly for almost 3 years (except for some OutOfMemory exceptions

RE : Catalina.out

2004-05-17 Thread Hertenstein Alain
If you use Tomcat on Windows you'll find the path to the log file in the Registry, under the key : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat 4.1\Parameters\System.out File (and also System.err File key for System.err.println() method) Hope it helps, Alain -Message

RE : RE : 2 Tomcat instances on the same server ?

2004-05-17 Thread Hertenstein Alain
%CATALINA_BASE%\logs\stdout.log -err %CATALINA_BASE%\logs\stderr.log -Original Message- From: Hertenstein Alain [mailto:[EMAIL PROTECTED] Sent: Thursday, May 13, 2004 11:01 AM To: Tomcat Users List Subject: RE : 2 Tomcat instances on the same server ? Thanks Matt and Ralph

RE : JK2 still broken even in new version 2.0.4 with upload Stream ended unexpectedly error

2004-05-14 Thread Hertenstein Alain
Same for me. FileUpload never worked with JK2 connector on my configuration (W2K + IIS6 + Tomcat 4.1.29 + JK2), except with files lower than ca. 54 KB. No slow connection at all here (local network). Downgrading to JK1.2.5 : no problem ! Sad :-( -Message d'origine- De : Shane Linley

RE : JK2 still broken even in new version 2.0.4 with upload Stream ended unexpectedly error

2004-05-14 Thread Hertenstein Alain
Stream ended unexpectedly error There is a fixed version that can be found at: http://jakarta.apache.org/~mturk/isapi_redirector2.zip¨ or you can build from CVS, until the 2.0.5 is released. MT. -Original Message- From: Hertenstein Alain [mailto:[EMAIL PROTECTED] Sent: 14. svibanj

RE : JK2 still broken even in new version 2.0.4 with upload Stream ended unexpectedly error

2004-05-14 Thread Hertenstein Alain
MT, Just tried your fixed version, works like a charm !!! Thanks a lot, Alain -Message d'origine- De : Hertenstein Alain Envoyé : vendredi, 14. mai 2004 12:19 À : 'Tomcat Users List' Objet : RE : JK2 still broken even in new version 2.0.4 with upload Stream ended unexpectedly error

2 Tomcat instances on the same server ?

2004-05-13 Thread Hertenstein Alain
Hello, I have a server with one single webapps running on Tomcat 4.1.29 and MS IIS 6 (linked through the JK Connector) on Win2K, in production and accessible through the web. Now I need to have a second application running on Tomcat + IIS too, but I'm not sure what option to take : 1- install

RE : 2 Tomcat instances on the same server ?

2004-05-13 Thread Hertenstein Alain
hurdles in this environment. Tomcat stand alone and tomcat behind apache are quite easy to setup with multiple instances. If all tomcate have the same versions, you just have to install tomcat once and setup two instances. -Original Message- From: Hertenstein Alain [mailto:[EMAIL

RE : URL redirect problem, even with 'RequestDispatcher' servlet !

2004-03-25 Thread Hertenstein Alain
); return; } Hertenstein Alain [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How can my servlet serve static (or even dynamic) content in my case ? A forward doesn't seem to do the work (see my code below, since a forward would call the servlet again, which would do

URL redirect problem, even with 'RequestDispatcher' servlet !

2004-03-24 Thread Hertenstein Alain
Hi all, This question has already been asked before, but the solutions found in the archives don't seem to work properly. I have a web site running on IIS and Tomcat 4.1.24 under the root context, let's say http://www.mysite.com When people access the URL, it automatically redirects to the

RE : JSP suggestion

2004-03-24 Thread Hertenstein Alain
As for Servlet 2.3 specifications, you could easily create a Servlet Filter which would intercept all your requests based on your url-pattern (defined in web.xml), and which would do something like : RequestDispatcher reqDispatcher = request.getRequestDispatcher(header.jsp);

RE : URL redirect problem, even with 'RequestDispatcher' servlet !

2004-03-24 Thread Hertenstein Alain
] Envoyé : mercredi, 24. mars 2004 14:15 À : Tomcat Users List Objet : Re: URL redirect problem, even with 'RequestDispatcher' servlet ! / is also known as the default servlet. So your servlet will also need tos erver all static content too. -Tim Hertenstein Alain wrote: Hi all, This question

Change URL path of a webapps to root

2004-02-02 Thread Hertenstein Alain
Hi all, Sorry if this question has already been asked before... I have a webapps http://localhost/myApps/ on Tomcat 4.1.27 which I'd simply like to map to http://localhost . I've added a simple context... tag in the server.xml file and put the path attribute to blank (). This seems to work, but

RE : Change URL path of a webapps to root

2004-02-02 Thread Hertenstein Alain
Hi Yoav, What you've done is enough. You don't need to delete the ROOT files because the ROOT context is commented out by default. But if you don't need them, delete them for cleanliness. Thanks a lot. How is it possible that the ROOT context is accessible, while the entry in server.xml is put

RE : Dynamic drop down menus

2003-09-12 Thread Hertenstein Alain
You'll need to know DHTML to achieve this (unless you want to use applets and AWT...). Go here for examples and help : http://www.dynamicdrive.com/ Alain -Message d'origine- De : Anson Zeall [mailto:[EMAIL PROTECTED] Envoyé : vendredi, 12. septembre 2003 11:42 À : Tomcat Users List

RE : Tomcat and IIS + Index Server - possible ?

2003-09-12 Thread Hertenstein Alain
/struts-tiles.tld prefix=tiles % tiles:insert definition=tiles.administer flush=true / As you can see, there is not a lot of content here for a search engine to find :| Good luck, Marco - Original Message - From: Hertenstein Alain [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL

RE : Tomcat and IIS + Index Server - possible ?

2003-09-10 Thread Hertenstein Alain
... Alain -Message d'origine- De : Hertenstein Alain Envoyé : lundi, 1. septembre 2003 18:24 À : 'Tomcat Users List' Objet : Tomcat and IIS + Index Server - possible ? Hello, Our configuration is as follows : Win2K, JDK 1.4.1, Tomcat 4.1.24 connected with IIS using mod_jk. Index Server

RE : Another question - validating user input in fields

2003-09-09 Thread Hertenstein Alain
Hi, If you want to do it on the client-side, you will need JavaScript to check what the user typed, and then alert some message to tell him that his entries are wrong. On the server-side, you can use the request.getParameter(myParam) to check what the user typed, then send the appropriate

RE : Memory leaks?

2003-09-04 Thread Hertenstein Alain
A question here : why do you put rs.close(), rs = null, stmt.close(), stmt = null etc twice, in both try and finally statements ? Since the finally statement is called whenever an exception is thrown or not, you don't need to close rs, stmt and conn in the try statement first... Am I wrong here ?

RE : setting the field focus with a servlet

2003-09-04 Thread Hertenstein Alain
Hi Luke, AFAIK, it's not possible to interact on the client side using Java (unless using Applets). You need JavaScript to fire events on the client browser, like focus() on a text field or the like. However, for form content check you can use your Servlet / JSP to retrieve all request

RE : JSP form submit does not overwrite request parameter value

2003-09-02 Thread Hertenstein Alain
Hi, I have a JSP that contains a form with some input fields. This JSP is called and passed a parameter in the request object. i.e. http://page_url?myparam=abc One of the input fields in the form has the name as the parameter. i.e. input name=myparam ... I don't understand your need of

Tomcat and IIS + Index Server - possible ?

2003-09-01 Thread Hertenstein Alain
Hello, Our configuration is as follows : Win2K, JDK 1.4.1, Tomcat 4.1.24 connected with IIS using mod_jk. Index Server is AFAIK also installed. We are thinking of adding a Search site button in our web application. The problem is that we have content coming from numerous places in our JSP pages :

RE : RE : Folder Permissions taken over by Tomcat 4

2003-08-25 Thread Hertenstein Alain
, it isn't Tomcat that's doing it to you...if I had to guess, it would be samba or something on one of the Windows clients like some goofy tool Microsoft has like a fast indexer or some other munged up app (much more likely). John Hertenstein Alain wrote: Yes I do confirm it again (at least

RE : RE : RE : Folder Permissions taken over by Tomcat 4

2003-08-25 Thread Hertenstein Alain
Hi, I can't reproduce this on linux (RH 9): no permissions are changed. Did you try to change Ownership of the folder (change the User and the Group ownership of the folder) ? This is what Tomcat changes at first sight after restarting it. How did you set your permissions : did you use a Linux

RE : Fetching protected URL in Tomcat

2003-08-22 Thread Hertenstein Alain
What about using JavaScript : script language=JavaScript alert(document.referrer); // Displays the URL of the location that referred the user to the current page. /script See ya Alain -Message d'origine- De : Reinhard Moosauer [mailto:[EMAIL PROTECTED] Envoyé : vendredi, 22. août 2003

Folder Permissions taken over by Tomcat 4

2003-08-22 Thread Hertenstein Alain
Hello, We have a Red Hat Linux 7.2 Server with Tomcat v4.0.3 installed, and a web application configured, let's say myApps. In this webapps/myApps folder, there are folders which we have shared through SMB so that Windows users can access them, and we have also changed the folder's permissions,

RE : Folder Permissions taken over by Tomcat 4

2003-08-22 Thread Hertenstein Alain
to make that directory a smb share directory ? Hertenstein Alain wrote: Hello, We have a Red Hat Linux 7.2 Server with Tomcat v4.0.3 installed, and a web application configured, let's say myApps. In this webapps/myApps folder, there are folders which we have shared through SMB so that Windows

RE : Folder Permissions taken over by Tomcat 4

2003-08-22 Thread Hertenstein Alain
by Tomcat 4 You're saying Tomcat runs around and changes the directory permissions? I find that really hard to believe...I'm running Tomcat 3.1, 4.1.12, 4.1.18, and 4.1.27 in various places and have never seen this behavior. John Hertenstein Alain wrote: Hello, We have a Red Hat Linux 7.2

RE : Does Tomcat trim sessions when it runs out of memory?

2003-08-22 Thread Hertenstein Alain
Is there any indication somewhere about the memory currently used by Tomcat and the maximum memory allowed ? Is there a way to clean up memory used by Tomcat in order to avoid OutOfMemoryErrors (like a Garbage Collector for Java or something) ? Thanks -Message d'origine- De : Shapira,

RE : JK2 question again + context in a different partition

2003-06-27 Thread Hertenstein Alain
. juin 2003 18:59 À : Tomcat Users List Objet : Re: JK2 question again + context in a different partition Answer #1: Yes. Answer #2: I think so, but I don't use JK2. Should be easy to test. John On Thu, 26 Jun 2003 17:24:44 +0200, Hertenstein Alain [EMAIL PROTECTED] wrote: Hi again, I've

RE : isapi_redirector2.dll not loading correctly

2003-06-26 Thread Hertenstein Alain
Hi, Just noticed that all registry entries you entered are for JK Version 1 !! The Registry Entries for JK2 are different : [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\2.0] serverRoot=c:\tomcat extensionUri=/jakarta/isapi_redirector2.dll

RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem - RESOLVED

2003-06-26 Thread Hertenstein Alain
Hi guys, Well, simply said, the Server Reboot magical solution made it work... (thanks David for that one) Now, did all the previous modifications (shm file, etc) also make the JK2 connector work too !? I don't know. In any case, all URLs are now working fine : http://localhost:8080/examples/

RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-26 Thread Hertenstein Alain
To answer your questions (maybe it might help others ?) : - No, no Firewall running - Yes, I created a blank workers2.properties file and copied the text into it - The error page was (don't know the HTTP Error code for it) : The page cannot be displayed The page you are looking for is currently

JK2 question again + context in a different partition

2003-06-26 Thread Hertenstein Alain
Hi again, I've got a couple of questions : - is it possible to create a context whose path goes to another partition ? Let's say Tomcat is installed in the c:\tomcat4 folder. Is it possible to have a Web Application on the d:\myWebApps folder ? - in the uri mapping section of the

IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread Hertenstein Alain
Hi everybody, Seems like this problem is quite known, so I hope you can help me (after searching the web and reading Apache docs, I can't figure it out) : I've installed IIS, JDK 1.4.1_01 and Tomcat 4.1.24 on a Win2k Server computer : everything works fine, all pages work (http://localhost for

RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread Hertenstein Alain
about them. Regards, David Legg Webmaster - 3Dlabs Phone: +44 (0)118 982 8254 http://www.3dlabs.com mailto:[EMAIL PROTECTED] -Original Message- From: Hertenstein Alain [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 14:45 To: 'Tomcat Users List' Subject: IIS 5 + Tomcat 4.1.24 + JK2

RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread Hertenstein Alain
Users List Objet : Re: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Did you restart Tomcat? And reboot your machine? - Original Message - From: Hertenstein Alain To: 'Tomcat Users List' Sent: Wednesday, June 25, 2003 5:38 PM Subject: RE : RE : IIS 5 + Tomcat 4.1.24

RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread Hertenstein Alain
Yes it does listen, here's a summary of netstat -a : Proto Local Address Foreign AddressState TCPweberi:8009weberi:0 LISTENING Even in the Tomcat command window, the following text appears : Starting service Tomcat-Standalone Apache Tomcat/4.1.24