DevelopmentServerLauncher

I am having endless problems restarting Glassfish while developing. I searched and found that you can debug the application using com.vaadin.launcher.DevelopmentServerLauncher, However, it is not included in vaadin-6.8.5.jar and I can’t seem to download it from anywhere else. Why is it not included in the jar? Where can I find a jar containing it without having to download the complete vaadin source? Alternatively, is there a way in which I can start a vaadin project using something like Jetty?

Any help would be much appreciated.

Hi,

DevelopmentServerLauncher is only used when developing Vaadin as is not distributed in any way. It is however only a wrapper for starting a Jetty server, as you can see from the source:
http://dev.vaadin.com/svn/versions/6.8/tests/testbench/com/vaadin/launcher/DevelopmentServerLauncher.java

If you are running Eclipse you can
use the J2EEPreview server
which is also a Jetty server.

I have already tried that. I followed the instructions exactly as on web page you referred to. The J2EE Preview seems to start up (console output follows)

Starting preview server on port 8080

Modules:
idealWeb (/ideal)

[color=#ff0000]

2012-11-16 13:56:44.078:INFO:oejs.Server:jetty-8.1.3.v20120522
2012-11-16 13:56:44.173:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8080

[/color]

The last tow lines are coloured red in Eclipse console. In the server view, the J2EE Preview server has the project listed below the server name and the server status is [ Started / Synchronized ]

However, when I try to open any of these URL’s

http://localhost:8080/ideal

http://localhost:8080/idealWeb

http://localhost:8080/

I simply get this error in the browser:

Error 404 - Not Found

No context on this server matched or handled this request.
Contexts known to this server are:
idealWeb(/ideal)

I am having the same problem and don’t knw hw to fix it…

can anyone has got the way out or not ? pls help