You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by evimail <ev...@gmail.com> on 2006/11/01 15:12:14 UTC

FAIL - Application at context path /jetspeed could not be started

Hi!

While trying to start jetspeed I get an error message:   FAIL - Application
at context path /jetspeed could not be started

catalina.2006-11-01.log fail shows several security role errors:

Nov 1, 2006 3:58:13 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Nov 1, 2006 3:58:13 PM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
Nov 1, 2006 3:58:13 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1656 ms
Nov 1, 2006 3:58:13 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 1, 2006 3:58:13 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
Nov 1, 2006 3:58:13 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Nov 1, 2006 3:58:15 PM org.apache.catalina.startup.ContextConfig
validateSecurityRoles
INFO: WARNING: Security role name admin used in an <auth-constraint> without
being defined in a <security-role>
Nov 1, 2006 3:58:15 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Nov 1, 2006 3:58:15 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/jetspeed] startup failed due to previous errors
Nov 1, 2006 3:58:17 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Nov 1, 2006 3:58:17 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Nov 1, 2006 3:58:17 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Nov 1, 2006 3:58:17 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4563 ms
Nov 1, 2006 4:03:57 PM org.apache.catalina.startup.ContextConfig
validateSecurityRoles
INFO: WARNING: Security role name admin used in an <auth-constraint> without
being defined in a <security-role>
Nov 1, 2006 4:03:57 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Nov 1, 2006 4:03:57 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/jetspeed] startup failed due to previous errors

As my C:\Tomcat\Tomcat 5.5\conf\tomcat-users.xml gives to user "admin" all
possible roles, I do not understand what should I do to get the application
running. 

  <?xml version="1.0" encoding="utf-8" ?> 
- <tomcat-users>
  <role rolename="tomcat" /> 
  <role rolename="role1" /> 
  <role rolename="manager" /> 
  <role rolename="admin" /> 
  <user username="tomcat" password="tomcat" roles="tomcat" /> 
  <user username="both" password="tomcat" roles="tomcat,role1" /> 
  <user username="role1" password="tomcat" roles="role1" /> 
  <user username="admin" password="remxxx" fullName=""
roles="admin,manager,role1,tomcat" /> 
  </tomcat-users>

Looking forward to advise,

Evi


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: FAIL - Application at context path /jetspeed could not be started

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: evimail [mailto:evimail@gmail.com] 
> Subject: FAIL - Application at context path /jetspeed could 
> not be started
> 
> While trying to start jetspeed I get an error message:   FAIL 
> - Application at context path /jetspeed could not be started
> 
> Nov 1, 2006 3:58:15 PM org.apache.catalina.startup.ContextConfig
> validateSecurityRoles
> INFO: WARNING: Security role name admin used in an 
> <auth-constraint> without being defined in a <security-role>
> 
> As my C:\Tomcat\Tomcat 5.5\conf\tomcat-users.xml gives to 
> user "admin" all possible roles, I do not understand what
> should I do to get the application running. 

This has nothing to do with what's in tomcat-users.xml - you're missing
required <security-role> entries in the web.xml of the jetspeed app.
See section 12 of the Servlet spec and look at Tomcat's manager app for
examples.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org