• 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

Servlet problem in Tomcat

 
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am having problems accessing a servlet in Tomcat. I have declared the package name of the servlet class to be
com.ernieboy.aoot.rapid_comp;
Of course, i then have this structure in my WEB-INF/classes directory.
Problem is that whenever I try to access the Servlet online I get an error msg saying that the servlet is currently unavailable. Why is this? It works fine when I'm running it locally in localhost.
 
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what are you writing as URL ?
do you write:
http://localhost:8080/YourWebAppName/servlet/com.ernieboy.aoot.rapid_comp
 
ernest fakudze
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes, I am. However, I've been thinking more about the problem and I think that it's because the server (Tomcat)needs to be restarted by my host www.kattare.com. in order for my servlets to load up. I have emailed support about this. Remember that this app works ok locally (locahost) but when i move it up the the kattare servers, then it tells me that the servlet is currently unavailable. In fact, none of the servlets which i upload will run online. Thanks.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic