• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Simple question : Tomcat installation

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
She still doesn't approve of my superhero lifestyle. Or this shameless plug:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic