Gordon, thank you very much for your reply.
I'm ill now and hope to get back to work tomorrow. Then I'll study on
Tomcat, try and test...
Kind regards,
Nico den Boer
Gordon Rose wrote:
> Hi Nico,
>
> First, my best advice is to open a command prompt and run the startup.bat
> file from there in order to see any error messages generated by the startup.
>
> Assuming you had unzipped tomcat into c:\tomcat-3.2.1
> and the current JDK into c:\jdk1.3.0_02
>
> you would want to have environment variables of:
>
> TOMCAT_HOME=c:\tomcat-3.2.1
> JAVA_HOME=c:\jdk1.3.0_02
> PATH=c:\jdk1.3.0_02\bin;%PATH%
>
> You want the bin folder below c:\jdk1.3.0_02 in your path, as that is where
> java.exe and javac.exe are located. Finally, you will want to add all the
> ..jars in the c:\tomcat-3.2.1\lib folder to your CLASSPATH env. variable.
> Although tomcat adds them automatically when you start it, they won't be
> there when you go to compile a servlet, and javac will just spit out an
> error (assuming that is how you are compiling them).
>
> CLASSPATH=%CLASSPATH%;c:\tomcat-3.2.1\lib\servlet.jar;...etc.
>
> You set environment vars, as you probably know, by opening Control Panel,
> then system, the Advanced (for win2k). You'll probably want to set tomcat
> up as a service under Win2k/nt. Easy to do, download the jk_nt_service.zip
> file and use the tomcat docs to do this.
>
> ..WAR files are web archives, and are a part of the current servlet spec --
> they are analogous to .jars. If you put a .war file below
> c:\tomcat-3.2.1\webapps, it should expand it for you automatically. I'm
> reasonably sure that the ANT tool creates them, but I *haven'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 newbie as of this past Fri.
>
> ----- Original Message -----
> From: "H.F.N. den Boer" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 07, 2001 5:59 PM
> Subject: setting up Tomcat, newbee question
>
>
>
>> 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 IIS to work with Tomcat. Therefore,
>> Tomcat doesn't have to work with static web content.
>>
>> On page
>> file:///E|/Java/tomcat/doc/uguide/tomcat_ug.html
>> I read that I need to set TOMCAT_HOME, JAVA_HOME and PATH.
>> After that, Tomcat should start with startup.bat (Win98).
>> Tomcat.bat executes :startServer, I see a Java window with usage
>> information, which closes immediately.
>>
>> On various places, I changed in conf files the wrapper-pointers to
>> tomcat_home and java_home to appropriate values. No result.
>>
>> Questions;
>> - How do I get Tomcat working ?
>> - In doc's I read about WAR's. How can I make them (so far I used only
>> jar's).
>> - I would like to configure Tomcat to recognise different url's and
>> because of that use other jar's (or war's), have other home directories
>
> etc.
>
>> Maybe these questions sound stupid, but any help is greatly appreciated...
>>
>> --
>> Kind regards,
>> Nico den Boer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]