You Are Here:

Community: Developer Discussion Boards

#1 Old Reinstalling a newly compile servlet - 2002-05-20, 13:33

Join Date: Mar 2003
Posts: 1,733
Nokia_Archived
Offline
Super Contributor
Posted by Neil Wilkinson, neilmw@totalise.co.uk
on February 06, 2002 at 12:25

Does anyone know how to reinstall a servlet that you've just re-compiled. Using the 'Reload' command doesn't load the new version of the servlet. I'm having to reboot the machine to make NAS use the new one. I've tried shutting down then restarting the cluster/server core etc., but it still uses the old version.

#2 Old RE: Reinstalling a newly compile servlet - 2002-05-20, 13:34

Join Date: Mar 2003
Posts: 1,733
Nokia_Archived
Offline
Super Contributor
Posted by Lars Ellmer, lars.ellmer@smsg.cc
on February 15, 2002 at 12:38

If you restart the server it certainly uses a new version of your servlet. If this doesn't happen it seems like you have a compile error in your servlet and it doesn't rebuild the class file. For testing it delete the old class file and recompile again. If the class file reappears everthing is ok. Otherwise check your code.
If it reapears and after shutting down the NACS and restarting it the servlet is still there ... remove the servlet from the servlet list and add it again ... that should work 100% for sure ...especially shutting down the NACS and restarting it. I done it a thousand times. DO NOT USE THIS install as a service possiblility as then the server won't unload totally and you may get stuck in that. Basically, especially for development, it also makes more sense to see the console window output on the activ server window for debugging.
  « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia