Reload Servlet in Tomcat


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Reload Servlet in Tomcat
# 1  
Old 02-09-2006
Reload Servlet in Tomcat

does anyone know how to reload servlet in tomcat?

when do I actually reload it? when I modify any file in this server?
# 2  
Old 02-10-2006
From my poor memory, I think Tomcat has a manager Web application that allows a servlet to be reloaded while the server is still running. By default it is installed with Tomcat and you need to change the Tomcat configuration to allow a user to access it. Please look at the Tomcat documentation for details.

Otherwise, you can always shutdown the server and start it again then the servlets must reinitialize.

I think you only need to reload a servlet if you have made changes to the .class'es. If you just update some resources (e.g. images, HTML files etc.) then you don't need to reload the servlet. You also do not need to reload a servlet if you have just updated the JSPs.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Curl --cert to call a servlet

Hi, For one of our requirements, we are using curl command from a Linux box to call the servlet using PEM certificates type. Once servlet is trigger, the data will be loaded through servlet. If the servlet thread is completed successfully, then the control should return to Unix and based on... (0 Replies)
Discussion started by: subhransun
0 Replies

2. Solaris

Looking for xsql servlet for Solaris 7

Am trying to find a copy of xsql servlet for solaris 7 but it seams its no longer available to download so am wondering if anyone has a copy backed up there can share with me? thanks :) (2 Replies)
Discussion started by: Wpgn
2 Replies

3. Solaris

Tomcat..Unable to deploy application remotely in tomcat

Hi, We have upgrade tomcat from 5.0.20 to 7.0.33 and made changes to server.xml file according to newer version.. how ever the upgrade went fine and now i am unable to deploy application remotely.. it is giving 403 access denied error.. we have seperate appbase directory mentioned in server.xml..... (0 Replies)
Discussion started by: phani4u
0 Replies

4. UNIX for Dummies Questions & Answers

Command to reload a zone

I just created a CNAME and i was told a zone needs to be reloaded after creating a CNAME. What is the command to reload a zone after the CNAME has been created? Thanks in advance (1 Reply)
Discussion started by: German Shepherd
1 Replies

5. Red Hat

reload vsftp service

Is there a easy-to-use graphical tool (or a simple and direct set of command line instructions) that will help me reload services on Red Hat Enterprise Linux ES version 3? VSFTPD keeps dying on my business server - seemingly at random, with message "dead but subsys locked" VSFTPD starts and... (2 Replies)
Discussion started by: mdarby77
2 Replies

6. Shell Programming and Scripting

Calling a servlet from schell script

Hi All, I have deployed a servlet on my server and the u r l is http:// localhost:9080/ ExampleApp / TestJackServlet This works fine when i launch this URL from the browser I am looking for shell script to hit the servlet or hit the URL without launching the browser session. I... (3 Replies)
Discussion started by: jack3698
3 Replies

7. Web Development

Servlet CLASSPATH for Apache

Hi All, I'm trying to play around with Java Servlets. I have a apache web server running on Solaris. And I'm trying to understand which file I add the JAVA CLASSPATH too so that when apache starts up it will have access to mysql interface libraries etc. Could some one please tell me? ... (0 Replies)
Discussion started by: fishman2001
0 Replies

8. UNIX Desktop Questions & Answers

Automatic reload of Thunar

I am using Thunar on FreeBSD 7.1 and XFCE. I would like the thunar window to reload automatically when a file has been added or deleted. Currently I press Ctrl-R, but perhaps a setting that I dont know of will do this automatically? (0 Replies)
Discussion started by: figaro
0 Replies

9. UNIX for Dummies Questions & Answers

how to reload the shell session

Hi there, I got to find out that if I make changes in the prompt or command aliases from .bashrc, I could apply those changes immediately with the command: source ~/.bashrc There's another situation when I'd like to apply changes without loging out and in again: If I add someone to a group of... (2 Replies)
Discussion started by: chebarbudo
2 Replies

10. Linux

reload kernal without reboot

Hello! Does anyone know howto reload your kernal without rebooting the machine? I´ve updated the "/etc/security/limits.conf " file and need to make this active without rebooting the machine. this is Red Hat Advanced Server 2.1AS Regards... dOzY (3 Replies)
Discussion started by: dozy
3 Replies
Login or Register to Ask a Question