• 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

Deploy a Servlet

 
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I am studying HFSJ
and i am in pg 31,trying to deploy my application.

my directory tree is exactly the same way in book:

ie.,
tomcat
|
webapps
|
ch1

but when i am using this command:
bin/startup.sh

i get this error ---
windows cannot find '-Djava.endorse.dirs='. make sure you typed the name correctly, and then try again.

please help.
i really want to display my servlet in tomcat server, i did it in BEA weblogic its working.
but i want to use tomcat server , as the book is using this server.

Thanks Priya.
 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are using the Windows platform, then:
1. First navigate to the directory where Tomcat is installed. For e.g. I have installed Tomcat in C: drive, so my command prompt should read C:/Tomcat/bin> before i issue the start-up command.
2. Once you have managed to get the correct directory path onto your command prompt, just type 'startup' (without quotes) and press enter.

Follow the above steps and if you still face issues, please feel free to send me a PM.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic