You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by "S.P.Knuijver" <s....@student.rug.nl> on 2012/06/12 13:39:27 UTC

how to run web from samples

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


Re: how to run web from samples

Posted by "S.P.Knuijver" <s....@student.rug.nl>.
and add a lib folder to web-inf and add jstl-1.2.jar (http://mvnrepository.com/artifact/jstl/jstl)

On 12-06-12, "S.P.Knuijver"  <s....@student.rug.nl> wrote:
> 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"  <s....@student.rug.nl> 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
> > 
> > 
> > 
> > 
> 
> 
> 

Re: how to run web from samples

Posted by "S.P.Knuijver" <s....@student.rug.nl>.
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"  <s....@student.rug.nl> 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
> 
> 
> 
>