Maven2 and option /? restartApplication


First of all congratulations for your framework. For now I use vaadin for testing.
I find it very interesting Linux and Windows the possibility to reload the application
with /? restartApplication. I then built Maven2 and now I can not do /? restartApplication

Is this normal?

Best regards,


My first guess would be that your application is flagged to be in production mode - and not in development mode which allows restartApplication. You probably don’t want your customers using restartApplication so Vaadin gives you the ability to turn those off. You’ll do this in the web.xml - usually found in the folder WEB-INF/

Look for this snippet:

  <description>Vaadin production mode</description>

check if your param-value is set to true. Don’t know is true or false default, if that code is not defined at all, but you’ll want ‘false’


Thank you for your reply. But this changes nothing.

For info here’s my pom.xml

<project xmlns="" xmlns:xsi=""
	<description>Vaadin web testing</description>



and my web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="" xmlns:xsi="" xsi:schemaLocation="">
		Vaadin production mode</description>
		<servlet-name>Vaadintesting Application</servlet-name>
			Vaadin application class to start</description>
		<servlet-name>Vaadintesting Application</servlet-name>

My page works, but after modifying the java code and launch /? RestartApplication. Nothing changes.

PS: My conf: 32-bit Linux Ubuntu + jdk



Hmm… hard to say… Just a quick check, the correct format is with no space after the questionmark, and with a little r. As in http://localhost:9090/myApp?restartApplication. Just wanted to make sure as you wrote ? RestartApplication.

Other than that, it’s hard to say. Hope some one else could help out on this.


I am using the correct syntax, ie: /?restartApplication

this does not work with maven (I may be forgetting something?).

This is surprising because the same application (with the /?restartApplication) created using dynamic web project using eclipse



Sounds really strange - restartApplication parameter is built into ApplicationServlet and thus should not be related to build environment. The parameters is just a normal GET parameter, so you could pass it to your application in many ways:

(Sorry for disturbing, but this shouldn’t be in the “News & Announcements” forum :))

Thank you for your responses.

In fact my goal is not to stop my web server and not redeploy my war with each change (development mode)


I modify a java class, I recompile my project and then I start http://localhost:8080/VaadinProject/?restartApplication
and my changes appear. It is more time to develop.

So I managed to make my starting job in maven (jetty is my web server) in debug mode using eclipse.



PS :

If want more detail on this operation, I can make a tutorial video ?


Indeed, a shift in the general category. But how ?