I run Tomcat 3.1 Final on win2k at work.  I can say with certainty that it works.  If I were you, I would not run tomcat in a directory that has spaces in its pathname.  While this can work, You always have to be so damn careful with your quoting that I find it is not worth the effort.

Another piece of free advice (and we know what they say about free advice,) is to run tomcat as a service.  There is an excellent howto for achieving this in the docs directory.  If you run tomcat as a service, then all your environment setup for tomcat is explicitly set in the wrapper.properties file - so you can stuff up your classpath and system path as much as you like without breaking tomcat.

Good luck - post back some more info on your configuration if you still have trouble.

--------------------------------------------------------------------------------
Aaron Knauf
Systems Integrator
Genie Systems Ltd
Auckland, New Zealand
Ph. +64-9-573 3310 x812
email: [EMAIL PROTECTED]
http://www.geniesystems.com
--------------------------------------------------------------------------------



"Matthew A. Overlund" <[EMAIL PROTECTED]>

01/11/2000 09:42
Please respond to tomcat-user

       
        To:        <[EMAIL PROTECTED]>
        cc:        
        Subject:        RE: Apache/Tomcat Setup on Win2000 Professional




Hi  Don,
 
   If your server is responding as expected, with the exception of JSP pages not  working the first thing I would check is your JSP compiler.  If you are set  up and using the JIKES compiler, make sure it is on the path.  If you are  using the default javac compiler add c:\jdk1.3\lib\tools.jar to your classpath  before executing.
 
Matthew A. Overlund
 
 -----Original Message-----
From:  Don Lee [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 31, 2000  11:42 AM
To: [EMAIL PROTECTED]
Subject:  Apache/Tomcat Setup on Win2000 Professional


Hi,
I'm trying to run Apache/Jakarta-Tom cat on  Windows 2000 Professional but it's not successful.
If anyone has suggestion/input about what I  did for setup, I'll eternally appreciate it.
(Please bear in mind that I'm a beginner in  Java/JSP/Apache world)
 
Again, my OS is Windows 2000 Professional, not  unix.
 
(1) JDK1.3
Downloaded JDK1.3 and installed under  c:\jdk1.3.
Set the path value for   C:\jdk1.3\bin;C:\jdk1.3\lib.
(from System property GUI not  from autoexec.bat)
 
(2) Apache
Downloaded  apache_1_3_12_win32.exe.
Installed under C:\program Files\Apache  Group\Apache
Added "ServerName localhost" on  \conf\httpd.conf
(actual line doesn't have quotes)
 
(3) Jakarta-Tomcat
Downloaded jakarta-tomcat Win32  version.
Installed under C:\program files\apache  group\jakarta-tomcat
 
(4) Mod_jserv
Downloaded ApacheModuleJServ.dll
Installed under C:\Program files\apache  group\apache\modules
Registered dll  with regsrv32.exe
 
(5) httpd.conf edit
Include "C:/program files/apache  group/jakarta-tomcat/conf/tomcat-apache.conf" to the end.
Start tomcat using  \bin\startup.bat.
Start Apache.
 
After I did all these steps, I tried with http://localhost:8080/ , it's  working.
I can see html files.
Also, I can execute sample serverlets that  come with tomcat-jakarta.
But when I tried to execute sample jsp files,  I'm getting 500 error.
 
What am I doing wrong here?
 
Any input will be greatly  appreciated.
 
Don
 
 
  
 

Reply via email to