portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From luc_boudr...@uqss.uquebec.ca
Subject Tomcat 5.5.9, Maven 1.0.2 and Maven-Plugin M4 Snapshot
Date Mon, 07 Nov 2005 21:30:12 GMT

Hi there,

I tried to install the Jetspeed 2 Enterprise Portal as described in :

http://portals.apache.org/jetspeed-2/getting-started.html

Everything worked fine until I got this message from Tomcat when it tried to start the webapp
:

--------------------------------------------------------------------------
INFO: Reloading context [/jetspeed2]
2005-11-07 15:54:44 org.apache.catalina.core.StandardContext stop
INFO: Le conteneur org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jetspeed2]
n'a pas été démarré
2005-11-07 15:54:50 org.apache.catalina.startup.ContextConfig validateSecurityRoles
INFO: ATTENTION: Le nom de rôle de sécurité admin est utilisé dans un <auth-constraint>
sans avoir été défini dans <security-role>
2005-11-07 15:54:50 org.apache.catalina.core.StandardContext start
GRAVE: Error filterStart
2005-11-07 15:54:50 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/jetspeed2] suite aux erreurs précédentes
2005-11-07 15:54:57 org.apache.catalina.startup.ContextConfig validateSecurityRoles
INFO: ATTENTION: Le nom de rôle de sécurité admin est utilisé dans un <auth-constraint>
sans avoir été défini dans <security-role>
2005-11-07 15:54:57 org.apache.catalina.core.StandardContext start
GRAVE: Error filterStart
2005-11-07 15:54:57 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/jetspeed2] suite aux erreurs précédentes
--------------------------------------------------------------------------

Sorry for the french... basically, it says that I used the security role 'admin' as specified
in <auth-constraint> without having specified it in <security-role>. 

So, I've modified manually the web.xml (I really didn't like doing this, is there any other
way to make maven do it automatically for me ??) :

--------------------------------------------------------------------------
<security-role>
  <role-name>admin</role-name>
</security-role>
--------------------------------------------------------------------------

But now, I get the following error !!

--------------------------------------------------------------------------
INFO: Reloading context [/jetspeed2]
2005-11-07 16:03:06 org.apache.catalina.core.StandardContext stop
INFO: Le conteneur org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jetspeed2]
n'a pas été démarré
2005-11-07 16:03:09 org.apache.catalina.core.StandardContext start
GRAVE: Error filterStart
2005-11-07 16:03:09 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/jetspeed2] suite aux erreurs précédentes
2005-11-07 16:03:17 org.apache.catalina.core.StandardContext start
GRAVE: Error filterStart
--------------------------------------------------------------------------

...which is basically the same message without the <security-role> thing.

I've found this in my jetspeed.log :

--------------------------------------------------------------------------
2005-09-07 14:34:11,285 [main] ERROR org.apache.jetspeed.engine.JetspeedEngine - org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'JetspeedDS' defined in ServletContext resource [/../../etc/db-ojb/test-repository-datasource-spring.xml]:
Initialization of bean failed; nested exception is org.apache.ojb.broker.metadata.MetadataException:
Could not get the metadata from the given datasource
--------------------------------------------------------------------------

My guess is that it has something to do, or it will create more problems later anyways...




Any ideas ?? Ever encountered this ????


____________________________
Luc Boudreau
SID - Université du Québec
luc_boudreau@uqss.uquebec.ca
 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Mime
View raw message