• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Server restart for JSP changes.

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

Do I need to restart my server everytime I modify my jsp ? Please help me if I need to configure anything for page refreshing without restart of server.

Thanks.
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The answer is: no

If you are doing "packaged deployement" (i.e deploying packaged .war files) all you have to do is copy a new version to the "deploy" folder.

If you are doing "exploded deployment" (i.e editing your JSP files directly in a .war subfolder of the "deploy" folder) the default setting normally make JBoss recompile the JSP if it has been changed (this setting is set by changing parameters to the default JSP servlet in the META-INF/web.xml file of the embedded Tomcat deployment folder).

If JBoss fails discovering chages that you've made to your JSPs, try reloading your application by either making changes to the web.xml or by using the JMX-console.

[ August 14, 2008: Message edited by: Sondre Kval� ]
[ August 14, 2008: Message edited by: Sondre Kval� ]
 
Tauri Valor
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for response.

Im using Eclipse3.3 with Jboss4.2 plugin. Is there any specific changes needed to be done in Eclipse ?
 
Sondre Kval�
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When using Eclipse and WTP/JBoss plugin a simple "republish" usually does the trick...

Right click on the server you are publishing to in the "servers" view/window and choose "clean". This will republish your application.

If you are using exploded deployment, remeber to set "Publishing" to "Automatically publish when resources change" for the server you are publishing your project to (you'll find this setting if you right-click on the server definition in the "Servers" window and choose "open").
[ August 14, 2008: Message edited by: Sondre Kval� ]
 
Be reasonable. You can't destroy everything. Where would you sit? How would you read a tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic