restarting tomcat after modifying struts-onfig.xml file

Posted on 2004-11-11
Last Modified: 2010-04-01

I was wondering is there any way that prevents restarting tomcat after modifying struts-onfig.xml file? So I can keep working on w/o restarting tomcat?

Question by:dkim18
    LVL 8

    Assisted Solution

    no, you cannot do that. becoz struts-onfig.xml file is parsed and loaded in the init method of the ActionServlet of the Struts Framework.
    But you sure can stop your application using Tomcat Manager webapp and when u restart your application it will pick up the new struts-onfig.xml file.

    The following links will give you all the info for what i told in brief above

    LVL 3

    Accepted Solution

    In your TOMCAT_HOME/conf/server.xml you can set reloadable="false" so that tomcat will not check files for changes and reload when it detects them. Is that what your after?

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
    Synchronize a new Active Directory domain with an existing Office 365 tenant
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now