cancel
Showing results for 
Search instead for 
Did you mean: 

Refresh share-config-custom without restart

nickchase
Champ in-the-making
Champ in-the-making

Is it possible to refresh share-config-custom.xml without a Tomcat restart.

I am developing forms with SDK3 jar and am restarting Tomcat each time I make a change - I am sure this isn't the best way to do this.... Smiley Happy

Nick

1 ACCEPTED ANSWER

heiko_robert
Star Collaborator
Star Collaborator

Sometimes you just need to refresh/reload the Share webscripts (/share/page/index --> Button "Refresh Webscripts"). If that doesn't help you may be quicker by restarting the webapp from the tomcat manager interface or better you put share in a separate tomcat to make restarts much faster.

View answer in original post

2 REPLIES 2

heiko_robert
Star Collaborator
Star Collaborator

Sometimes you just need to refresh/reload the Share webscripts (/share/page/index --> Button "Refresh Webscripts"). If that doesn't help you may be quicker by restarting the webapp from the tomcat manager interface or better you put share in a separate tomcat to make restarts much faster.

afaust
Legendary Innovator
Legendary Innovator

Though the Surf DeclarativeRegistry (handling registered web scripts) and the Surf (XML)ConfigService are two separate components, the base web scripts runtime has been implemented so that a reset of the web scripts also resets the config service. So Heiko's first suggestion should (must) work, though the rest reflects the general best practice of separating the components..