1. make a new Maven project and import the samples/web source 2. you should be able to deploy this to a tomcat server at http://localhost:8080/samples-web/
On 12-06-12, "S.P.Knuijver" <[email protected]> wrote: > Howto run the web sample from samples in Eclipse? Which class to run, > arguments to Tomcat, etc. > > From running WebTest.java I get the following console log, but nothing at > localhost:8080 > > 12-jun-2012 13:31:10 org.apache.coyote.AbstractProtocol init > INFO: Initializing ProtocolHandler ["http-bio-8080"] > 12-jun-2012 13:31:10 org.apache.coyote.AbstractProtocol init > INFO: Initializing ProtocolHandler ["ajp-bio-8009"] > 12-jun-2012 13:31:10 org.apache.catalina.startup.Catalina load > INFO: Initialization processed in 190 ms > 12-jun-2012 13:31:10 org.apache.catalina.core.StandardService startInternal > INFO: Starting service Catalina > 12-jun-2012 13:31:10 org.apache.catalina.core.StandardEngine startInternal > INFO: Starting Servlet Engine: Apache Tomcat/7.0.23 > 12-jun-2012 13:31:10 org.apache.coyote.AbstractProtocol start > INFO: Starting ProtocolHandler ["http-bio-8080"] > 12-jun-2012 13:31:10 org.apache.coyote.AbstractProtocol start > INFO: Starting ProtocolHandler ["ajp-bio-8009"] > 12-jun-2012 13:31:10 org.apache.catalina.startup.Catalina start > INFO: Server startup in 97 ms > 12-jun-2012 13:35:36 org.apache.coyote.ajp.AjpMessage processHeader > SEVERE: Invalid message received with signature 18245 > > > >
