• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple question : Tomcat installation

 
Smilidon Sapiens
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I installed the apache, tomcat, jdk 1.3 and jsdk 2.0 on a Windows NT. I set the PATH for the Tomcat_Home and the other.
I copied the ApacheModuleJServ.dll into the Apache module directory and insert the tomcat.conf file into the Httpd.conf.
The apache runs fine on port 8080 (Apache/1.3.14 (Win32) tomcat/1.0 running), but the jsp files don't work ???!!!
I start the JSDK Webserver and the jsp - files don't work. Do you know why ??? Please help.
Thanks
 
marko markovic
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
if you use tomcat 3.2.1 you have a file server.xml in tomcat/conf.
You must put the following lines:
<Context path="/DirectoryOfYourJSP"
docBase="webapps/DirectoryOfYourJSP"
debug="0"
reloadable="true" >
</Context>
and then you must restart apache and tomcat.
The address is then for example :
http://127.0.0.1:8080/DirectoryOfYourJSP/welcome.jsp
If you have errors with your Js pages you must look if you have all classes in directory web-inf/classes of your DirectoryOfYourJSP.
Hope it will helps. When not, detail what don't work!
$Regards
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WOW! too many thing here.............
taking one thing at a time.....
does your tomcat run properly without apache?
does your apache run properly without tomcat?
why is apache running on 8080, id you change it?
now if you are trying to get your jsp to run with
apache thru the Apj??? stuff you mentioned, then
you are trying to do the right thing.
Let us know what you did so far and we will go
from there......
regds.
- satya
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic