re: setting up Tomcat, newbee question

2001-03-09 Thread H.F.N. den Boer
Hi Gordon, On my Win98se machine, I've set; TOMCAT_HOME=e:\java\tomcat JAVA_HOME=e:\java\jdk1.3 PATH=e:\java\jdk1.3\bin;%PATH% The classpath is automatically set by the tomcat.bat script. When I run the tomcat.bat script, java starts and as far as I can see gives usage information. The window

Tomcat context problem

2001-03-09 Thread H.F.N. den Boer
Hi, I'm trying to get a webapp running on a Win2000 machine running IIS. We have troubles with the context. In the webapps dir I've put a imsapps.war. It is unpacked by Tomcat and has web.xml under it and subdirs /lib and /classes. In case of examples, typing url www.localhost/examples displa

Re: Tomcat context problem

2001-03-10 Thread H.F.N. den Boer
Thank you very much for your quick response. It seems I mixed up the servlet-name and servlet-class tags. Next monday I'll correct and test it. To check my understanding; - servlet section; servlet-name is a alias for a servlet, which is the first mapping - servlet-mapping section; here we have

Re: Tomcat context problem

2001-03-12 Thread H.F.N. den Boer
OK, thanks. The principles are clear to me now. In my case the second option is preferred, I'll test it. Regards, Nico > Hi :-) with jakarta-tomcat-4.0-b1(standalone, JDK1.3, wint40), > from several emails && IMHO ^_^, it is not right, I think it > should be: >- if you want to use serv

Re: Classpath

2001-03-12 Thread H.F.N. den Boer
Hi, I've been struggling with about the same things... Steps I took: 1) Make a new servlet context in your server.xml. Something like; or extend with a virtual host. Server.xml will provide enough info. 2) Make a servlet alias in web.xml Whatever 3) Map the al

Re: classpath

2001-03-12 Thread H.F.N. den Boer
Oeps, forgot something... In my example 1) application specific libs (.jar) are in; c:/jakarta-tomcat/webapps/imsapps/lib 2) application specific classes are in; c:/jakarta-tomcat/webapps/imsapps/classes 3) general libs (.jar) are in; c:/jakarta-tomcat/lib Nico -

Re: Tomcat 3.2.1 IIS 5.0

2001-03-12 Thread H.F.N. den Boer
You should add a new context in server.xml and check/modify web.xml. Nico [EMAIL PROTECTED] wrote: > > I'm trying to working with TOMCAT 3.2.1 and Internet Information Server 5.0 > .. I have two JSP-pages. If I put them into the directory > e:/jakarta-tomcat-3.2.1/webapps/examples and I call

isapi_redirect.dll problem

2001-03-16 Thread H.F.N. den Boer
Hi, In attempts to integrate Tomcat 3.2.1 with IIS we have a obstinate problem with loading this dll. It continues refusing to load... (red arrow instead of green one) The system is; Windows2000 5.00.2195 Internet Information Server 5.0 Error in the Win2000, event viewer, system log: The HTTP

Re: ISAPI Redirector Failing on Windows 2000 w/ IIS

2001-03-17 Thread H.F.N. den Boer
Hi, I have a problem getting that famous green pointer. What do you have in your currentcontrolset; only the full path to the isapi_redirect.dll ? I assume working via registry gives a global redirect in favour of all websites on ISS ? Nico Eduardo Gamez wrote: > Hi Scott, > > I also had tha

Re: isapi_redirect.dll problem

2001-03-19 Thread H.F.N. den Boer
Not found anything yet. I'm now going to the docs to check, double, triple etc. check... Nico

Re: isapi_redirect.dll problem

2001-03-19 Thread H.F.N. den Boer
In workers.properties I (already) changed; - the java_home and tomcat_home variables - worker.ajp12.host to something like www.mydomain.com So far, it doesn't work. 8:(( Nico Cox, Charlie wrote: > I changed the worker.properties file to point to my tomcat directory - > even though the tomcat-

Problem starting Tomcat

2001-04-05 Thread H.F.N. den Boer
It seems I've a last problem with configuring and starting Tomcat. Tomcat 3.2.1 running on Win2k (build 5.00.2195) with IIS 5.0 The isapi filter is installed and works properly. However, when using startup.bat, Tomcat tries to start in a new window. In a flash, I see approx. 2 lines appearing in

Re: Problem starting Tomcat

2001-04-05 Thread H.F.N. den Boer
In server.xml, I have port 8080 commented out like this; Could there be a reason for port 8007 to be already used by IIS ? Nico - Original Message - From: Randy Layman <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 05, 2001 10:08 PM Subject: RE: Problem star

servlet classes cannot be found

2001-04-10 Thread H.F.N. den Boer
Hi there, I seem to have a slight problem, classes cannot be found. ISAPI redirecting is OK. The Tomcat output window says; Get real path /dejonge D:\tomcat\webapps\imsapps\dejonge D:\tomcat\webapps\imsapps 404 R( /imsapps + /dejonge + null) null The error returned to the browser is 404, page c

Re: WinNT & IIS

2001-04-13 Thread H.F.N. den Boer
Not a green pointer usually is a error in the registry. Check for spelling etc. Module not found is something I didn't experience (so far). Nico PS Benoît, thanks for translation ! - Original Message - From: Benoît Jacquemont <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, Ap

isapi log

2001-04-17 Thread H.F.N. den Boer
The isapi.log is growing big on my Win2k server. The loglevel in the registry is set to error, but it logs much more than errors. Is there any way to keep this log small (only errors) ? Nico

Re: Tomcat and multipart request

2001-04-17 Thread H.F.N. den Boer
I use; Win2K server, build 5.00.2195 IIS 5.0, configured with ISAPI filter JDK1.3.1beta Tomcat 3.2.1 running as NT service com.oreilly package, used for file upload Versie; 23 jan 2001 Download; http://www.servlets.com/jsp/examples/index.html JAR file; cos.jar It works perfect ! Nico - Ori

Re: isapi log

2001-04-17 Thread H.F.N. den Boer
Thanks. Checked registry, the correct word is mentioned... Maybe I need to restart the server machine to end up in the correct log mode ? Nico - Original Message - From: Stéphane BAUDET <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 17, 2001 4:59 PM Subject: Re: isapi l

Re: Servlet reloading problems

2001-04-17 Thread H.F.N. den Boer
In server.xml set reloadable to true. I use the context mapping;     docBase="xx" crossContext="true" debug="i" reloadable="true" trusted="true" >     That's all.  A

Date problem with Tomcat/IIS

2001-04-18 Thread H.F.N. den Boer
Made a class to do a number of usefull things. One of them is to get the prefix string for a custom servlet-log. In the generated string, the date is correct but the time is always the same. Example of return value: 18-04-2001 11:12:13 I'm working with; Win2K server, build 5.00.2195 IIS 5.0, co

init/destroy counter ??

2001-04-18 Thread H.F.N. den Boer
A slight "problem" with some static variables. There are a number of servlet apps on my webserver. With one servlet, I can check the status. However, it seems the initial values of the static variables are reported, also when I know for sure that I have one or more instances "in the air". I'm wor

RE: Date problem with Tomcat/IIS

2001-04-19 Thread H.F.N. den Boer
Thank you Jann. Expected the constants to be initialised on correct time values, but ok, that's stupid. After all, they are constants... Should have known that. Sorry. Nico

Cleaning up servlets

2001-04-19 Thread H.F.N. den Boer
When a servlet is destroyed, I log a number of things. >From the log I conclude that servlets are only destroyed when the NT service is shut down manually. Do I need to run a separate process (thread) to monitor how long a servlet is not used and from that process destroy it or is there some othe

Re: Cleaning up servlets

2001-04-19 Thread H.F.N. den Boer
my memory serves well) a setting for the maximum lifetime of a servlet after the last hit (doGet or doPost). In Tomcat with IIS I don't know how to set this or how it is arranged "automatically". That's why I asked... Nico - Original Message ----- From: "H.F.N. de

RE: Cleaning up servlets

2001-04-20 Thread H.F.N. den Boer
I asked this because I am trying to understand the behaviour, not only know some base facts. Yes, a servlet in memory when not used is passive and uses not much memory etc. But I would like to understand the mechanism of cleaning up. Sessions are invalidated more or less automatically. That mean

setting up Tomcat, newbee question

2001-03-07 Thread H.F.N. den Boer
Hello, To test Java servlet applications, I used Apache webserver with JServ. Now I intend to switch to Tomcat 3.2.1. First attempt is to have Tomcat run as a stand alone servlet container. Second attempt will be adding Tomcat to Apache webserver locally and configure my Win2000 webserver with I

Re: setting up Tomcat, newbee question

2001-03-08 Thread H.F.N. den Boer
27;t* used it, so > I'm speaking based on an impression from looking at it a little on the > jakarta.apache.org page. Lots of commercial tools create them. I'm > *reasonably* sure there will be a tool on that site if it isn't ANT -- > anyone? > > Gordon > A tomcat