• 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 is running after tomcat is stopped.

 
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Friend,

i am new to Servlet. i start running a simple Servlet

W/o running a Tomcat Server.( I am Sure that Tomcat is Stopped ).But,

i got the Result . by giving the path below

http://localhost:8080/examples/servlet/Hello

how can it possible...................


But i can't run a Servlet in a Deployment Servlet..........

help me ................
 
Ranch Hand
Posts: 3852
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Thennam Pandian:
Dear Friend,

i am new to Servlet. i start running a simple Servlet

W/o running a Tomcat Server.( I am Sure that Tomcat is Stopped ).But,

i got the Result . by giving the path below

http://localhost:8080/examples/servlet/Hello

how can it possible...................


But i can't run a Servlet in a Deployment Servlet..........

help me ................



Very less probablity but may be some other web server is running at port 8080...


 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It might took the page from browser cache.
[ December 29, 2005: Message edited by: Adeel Ansari ]
 
Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
But i can't run a Servlet in a Deployment Servlet..........
What do you mean by this?

Original question's Answer:

It may happen because your page is cached by browser...or otherwise server is not stopped....if you are sure that server is not running then clear history in browser..
for IE click on Tools-->Internet Options-->In General Tab Click on Clear History

Regards
Shrinivas
 
Thennam Pandian
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Friends,

Even After Clearing the history also the Servlet can run.

And I Have other one Doubt in this catageory.


when i am using Internet Explorer 6 the Servlet is

Running after the Tomcat is Stopped.


when i am using Mozilla Firefox 6 the Servlet is not

Running after the Tomcat is Stopped. it show the message " The

Connection was Refused "...............


please clear my doubts.............
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How are you stopping Tomcat?
Exactly how are you sure that Tomcat is stopped?
That may sound like a silly question, but Tomcat can take quite a while to shutdown, especially if you have a recent version. My Tomcat 5 server will occasionally fail to completely shutdown after I run shutdown.bat and I have to kill the process from the Windows Task Manager.
Bill
 
reply
    Bookmark Topic Watch Topic
  • New Topic