compile and deploy

Im not using eclipse but instead using the ant build xml directly. I dropped the source into the directory and built it like below. The web.xml is modified as below as well.
The problem is the “java.lang.IllegalArgumentException: No application specified” when i use the URL.
Thanks for ideas.

<servlet>
	<servlet-name>PaulTest</servlet-name>
	<servlet-class>com.vaadin.terminal.gwt.server.ApplicationRunnerServlet</servlet-class>
	<init-param>
		<param-name>application</param-name>
		<param-value>com.cisco.ccbu.PaulTest</param-value>
	</init-param>
</servlet>


<servlet-mapping>
		<servlet-name>PaulTest</servlet-name>
		<url-pattern>/paul/*</url-pattern>
</servlet-mapping>

C:\vaadin\vaadin-6.6.6>ant
Buildfile: build.xml

configure:

init:
[echo]
Requirements for classpath:
[echo]
C:/vaadin/vaadin-6.6.6/gwt/gwt-dev.jar
[echo]
C:/vaadin/vaadin-6.6.6/gwt/gwt-user.jar
[echo]
C:/vaadin/vaadin-6.6.6/gwt/validation-api-1.0.0.GA.jar
[echo]
C:/vaadin/vaadin-6.6.6/gwt/validation-api-1.0.0.GA-sources.jar
[echo]
C:/vaadin/vaadin-6.6.6/WebContent/WEB-INF/lib/vaadin-6.6.6.jar
[echo]
C:/vaadin/vaadin-6.6.6/WebContent/WEB-INF/src
[echo]
Output will be written into C:/vaadin/vaadin-6.6.6/WebContent/VAADIN/widgetsets

compile-server-side:

configure-widgetset:
[echo]
Modify this example Ant script to compile your own widget sets.

generate-widgetset:

compile-widgetset:
[echo]
Compiling com.cisco.ccbu.PaulTest…
[java]
Compiling module com.cisco.ccbu.PaulTest
[java]
Scanning for additional dependencies: jar:file:/C:/vaadin/vaadin-6.6.6/WebContent/WEB-INF/lib/vaadin-6.6.6.jar!/com/vaadin/terminal/gwt/client/WidgetSet.java
[java]
Computing all possible rebind results for ‘com.vaadin.terminal.gwt.client.WidgetMap’
[java]
Rebinding com.vaadin.terminal.gwt.client.WidgetMap
[java]
Invoking generator com.vaadin.terminal.gwt.widgetsetutils.EagerWidgetMapGenerator
[java]
Detecting Vaadin components in classpath to generate WidgetMapImpl.java …
[java]
Sep 21, 2011 9:51:11 AM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getPaintablesHavingWidgetAnnotation
[java]
INFO: Searching for paintables…
[java]
Sep 21, 2011 9:51:17 AM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getPaintablesHavingWidgetAnnotation
[java]
INFO: Search took 6375ms
[java]
[WARN]
Widget class com.vaadin.demo.sampler.gwt.client.ui.VActiveLink was not found. The component com.vaadin.demo.sampler.ActiveLink will not be included in the widgetset.
[java]
[WARN]
Widget class com.vaadin.demo.colorpicker.gwt.client.ui.VColorPicker was not found. The component com.vaadin.demo.colorpicker.ColorPicker will not be included in the widgetset.
[java]
[WARN]
Widget class com.vaadin.demo.sampler.gwt.client.ui.VGoogleAnalytics was not found. The component com.vaadin.demo.sampler.GoogleAnalytics will not be included in the widgetset.
[java]
[WARN]
Widget class com.vaadin.demo.sampler.gwt.client.ui.VCodeLabel was not found. The component com.vaadin.demo.sampler.CodeLabel will not be included in the widgetset.
[java]
Widget set will contain implementations for following components:
[java]
com.vaadin.ui.AbsoluteLayout
[java]
com.vaadin.ui.Accordion
[java]
com.vaadin.ui.Button
[java]
com.vaadin.ui.CheckBox
[java]
com.vaadin.ui.ComboBox
[java]
com.vaadin.ui.CssLayout
[java]
com.vaadin.ui.CustomComponent
[java]
com.vaadin.ui.CustomLayout
[java]
com.vaadin.ui.DateField
[java]
com.vaadin.ui.DragAndDropWrapper
[java]
com.vaadin.ui.Embedded
[java]
com.vaadin.ui.Form
[java]
com.vaadin.ui.FormLayout
[java]
com.vaadin.ui.GridLayout
[java]
com.vaadin.ui.HorizontalLayout
[java]
com.vaadin.ui.HorizontalSplitPanel
[java]
com.vaadin.ui.InlineDateField
[java]
com.vaadin.ui.Label
[java]
com.vaadin.ui.Link
[java]
com.vaadin.ui.ListSelect
[java]
com.vaadin.ui.MenuBar
[java]
com.vaadin.ui.NativeButton
[java]
com.vaadin.ui.NativeSelect
[java]
com.vaadin.ui.OptionGroup
[java]
com.vaadin.ui.OrderedLayout
[java]
com.vaadin.ui.Panel
[java]
com.vaadin.ui.PasswordField
[java]
com.vaadin.ui.PopupView
[java]
com.vaadin.ui.ProgressIndicator
[java]
com.vaadin.ui.RichTextArea
[java]
com.vaadin.ui.Select
[java]
com.vaadin.ui.Slider
[java]
com.vaadin.ui.SplitPanel
[java]
com.vaadin.ui.TabSheet
[java]
com.vaadin.ui.Table
[java]
com.vaadin.ui.TextArea
[java]
com.vaadin.ui.TextField
[java]
com.vaadin.ui.Tree
[java]
com.vaadin.ui.TwinColSelect
[java]
com.vaadin.ui.Upload
[java]
com.vaadin.ui.UriFragmentUtility
[java]
com.vaadin.ui.VerticalLayout
[java]
com.vaadin.ui.VerticalSplitPanel
[java]
com.vaadin.ui.Window
[java]
Done. (6seconds)
[java]
Scanning for additional dependencies: jar:file:/C:/vaadin/vaadin-6.6.6/WebContent/WEB-INF/lib/vaadin-6.6.6.jar!/com/vaadin/terminal/gwt/client/ui/dd/VAcceptCriteria.java
[java]
Computing all possible rebind results for ‘com.vaadin.terminal.gwt.client.ui.dd.VAcceptCriterionFactory’
[java]
Rebinding com.vaadin.terminal.gwt.client.ui.dd.VAcceptCriterionFactory
[java]
Invoking generator com.vaadin.terminal.gwt.widgetsetutils.AcceptCriteriaFactoryGenerator
[java]
Detecting available criteria …
[java]
creating mapping for com.vaadin.event.dd.acceptcriteria.SourceIs
[java]
creating mapping for com.vaadin.ui.AbstractSelect.AcceptItem
[java]
creating mapping for com.vaadin.event.dd.acceptcriteria.ContainsDataFlavor
[java]
creating mapping for com.vaadin.event.dd.acceptcriteria.Or
[java]
creating mapping for com.vaadin.event.dd.acceptcriteria.AcceptAll
[java]
creating mapping for com.vaadin.event.dd.acceptcriteria.Not
[java]
creating mapping for com.vaadin.event.dd.acceptcriteria.SourceIsTarget
[java]
creating mapping for com.vaadin.event.dd.acceptcriteria.TargetDetailIs
[java]
creating mapping for com.vaadin.event.dd.acceptcriteria.And
[java]
creating mapping for com.vaadin.ui.Table.TableDropCriterion
[java]
creating mapping for com.vaadin.ui.Tree.TreeDropCriterion
[java]
creating mapping for com.vaadin.event.dd.acceptcriteria.ServerSideCriterion
[java]
creating mapping for com.vaadin.ui.Tree.TargetInSubtree
[java]
creating mapping for com.vaadin.ui.AbstractSelect.TargetItemIs
[java]
Done. (0seconds)
[java]
Compiling 6 permutations
[java]
Compiling permutation 0…
[java]
Compiling permutation 1…
[java]
Compiling permutation 2…
[java]
Compiling permutation 3…
[java]
Compiling permutation 4…
[java]
Compiling permutation 5…
[java]
Compile of permutations succeeded
[java]
Linking into C:\vaadin\vaadin-6.6.6\WebContent\VAADIN\widgetsets\com.cisco.ccbu.PaulTest
[java]
Link succeeded
[java]
Compilation succeeded – 166.781s

BUILD SUCCESSFUL
Total time: 2 minutes 48 seconds
C:\vaadin\vaadin-6.6.6>
C:\vaadin\vaadin-6.6.6>
C:\vaadin\vaadin-6.6.6>
C:\vaadin\vaadin-6.6.6>
C:\vaadin\vaadin-6.6.6>

<servlet-class>com.vaadin.terminal.gwt.server.ApplicationRunnerServlet</servlet-class>

The ApplicationRunnerServlet is a very special servlet class for running Vaadin application classes by giving the actual application class name as a path parameter for the servlet, for example, [tt]
http://localhost:8080/myproject/run/com.some.example.MyApplicationClass
[/tt]. We use it for running tests.

So, unless that is what you want to do, you should stick with the normal servlet class [tt]
com.vaadin.terminal.gwt.server.ApplicationServlet
[/tt], as is
explained in the Book
.

All is working now. Thanks for the help. I did a cut and paste from another section in the xml and must have grabbed that one.