Hi, I have 2 separate Struts 2 webapps, based both on Struts 2.1.6.
Both webapps work fine when deployed separately on Tomcat 6.0.18. But when I deploy both at the same time on the same Tomcat, one is working (the first one alphabetically) and the seconds doesn’t start up, it gives me the infamous ‘SEVERE : error filterStart’ in the logs, and not much more meaningful information as to why it’s crashing. (I set the log level to DEBUG for the struts2 and xworks2 packages in log4j). If I comment out the struts 2 filter and filter mapping segments in the web.xml of the second webapp, then the webapp starts without error (but of course it doesn’t work), that’s why I think the problem is related to having 2 Struts 2 webapps together. Thanks for any advice. I would like to at least have a stack trace… My config : Vista 64 Tomcat 6.0.18 Struts 2.1.6 Besides that my apps also use Hibernate, Quartz, Tiles… Pierre The log of Tomcat’s startup : Listening for transport dt_socket at address: 8888 14 ao¹t 2009 15:53:14 org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not fou nd on the java.library.path: c:\Program Files (x86)\Java\jdk1.6.0_13\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C :\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Intel\DMIX;C:\Program Files (x86)\Com mon Files\Roxio Shared\DLLShared;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared;C:\Program Files (x86)\Commo n Files\Roxio Shared\9.0\DLLShared;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\WinSCP\;C:\Program Files\SlikSvn\bin\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\CVSNT\ 14 ao¹t 2009 15:53:14 org.apache.coyote.http11.Http11Protocol init INFO: Initialisation de Coyote HTTP/1.1 sur http-8080 14 ao¹t 2009 15:53:14 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 319 ms 14 ao¹t 2009 15:53:15 org.apache.catalina.core.StandardService start INFO: D´┐¢marrage du service Catalina 14 ao¹t 2009 15:53:15 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.18 15:53:15,755 - [thread:main] org.apache.tiles.context.ChainedTilesApplicationContextFactory.init() WARN:'Cannot find TilesContextFactory class org.apache.tiles.portlet.context.PortletTilesApplicationContextFactory' 15:53:15,760 - [thread:main] org.apache.tiles.context.ChainedTilesApplicationContextFactory.init() WARN:'Cannot find TilesContextFactory class org.apache.tiles.portlet.context.PortletTilesApplicationContextFactory' 15:53:15,793 - [thread:main] org.apache.tiles.context.ChainedTilesApplicationContextFactory.init() WARN:'Cannot find TilesContextFactory class org.apache.tiles.portlet.context.PortletTilesApplicationContextFactory' 15:53:15,796 - [thread:main] org.apache.tiles.context.ChainedTilesRequestContextFactory.init() WARN:'Cannot find TilesRequestContextFactory class org.apache.tiles.portlet.context.PortletTilesRequestContextFactory' 15:53:16,569 - [thread:main] ch.unine.sitel.bipeadmin.hibernate.HibernateSessionInterceptor.init() INFO:'Initializing filter...' 15:53:16,569 - [thread:main] ch.unine.sitel.bipeadmin.hibernate.HibernateSessionInterceptor.init() INFO:'Obtaining SessionFactory from static HibernateUtil singleton' 15:53:19,482 - [thread:main] ch.unine.sitel.bipeadmin.hibernate.HibernateUtil.<clinit>() DEBUG:'Hibernate session factory created.' 15:53:19,502 - [thread:main] ch.unine.sitel.bipeadmin.struts.security.SecurityInterceptor.init() INFO:'Intializing the securityInterceptor.' 15:53:19,506 - [thread:main] ch.unine.sitel.bipeadmin.services.SecurityService.reloadFile() INFO:'Reloading permissions.xml file because it has changed.' 15:53:20,602 - [thread:main] org.apache.tiles.context.ChainedTilesApplicationContextFactory.init() WARN:'Cannot find TilesContextFactory class org.apache.tiles.portlet.context.PortletTilesApplicationContextFactory' 15:53:20,610 - [thread:main] org.apache.tiles.context.ChainedTilesApplicationContextFactory.init() WARN:'Cannot find TilesContextFactory class org.apache.tiles.portlet.context.PortletTilesApplicationContextFactory' 15:53:20,649 - [thread:main] org.apache.tiles.context.ChainedTilesApplicationContextFactory.init() WARN:'Cannot find TilesContextFactory class org.apache.tiles.portlet.context.PortletTilesApplicationContextFactory' 15:53:20,653 - [thread:main] org.apache.tiles.context.ChainedTilesRequestContextFactory.init() WARN:'Cannot find TilesRequestContextFactory class org.apache.tiles.portlet.context.PortletTilesRequestContextFactory' 15:53:20,727 - [thread:main] ch.unine.sitel.bipemailing.jobs.QuartzStartContextListener.contextInitialized() INFO:'QuartzStartContextListener is starting Quartz jobs...' 14 ao¹t 2009 15:53:20 ch.unine.sitel.bipemailing.jobs.QuartzUtils getQuartz INFO: Starting the Quartz scheduler and save its instance 15:53:20,847 - [thread:main] ch.unine.sitel.bipemailing.jobs.QuartzStartContextListener.startFonctionsMonitoringJob() INFO:'Scheduling FonctionsMonitoringJob using cron pattern '0 * * * * ?'...' 15:53:20,927 - [thread:main] com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.debug() DEBUG:'Loading action configurations from: struts-default.xml' 14 ao¹t 2009 15:53:20 org.apache.catalina.core.StandardContext start GRAVE: Error filterStart 14 ao¹t 2009 15:53:20 org.apache.catalina.core.StandardContext start GRAVE: Erreur de d´┐¢marrage du contexte [/BIPE-Mailing] suite aux erreurs pr´┐¢c´┐¢dentes 14 ao¹t 2009 15:53:21 org.apache.coyote.http11.Http11Protocol start INFO: D´┐¢marrage de Coyote HTTP/1.1 sur http-8080 14 ao¹t 2009 15:53:21 org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 14 ao¹t 2009 15:53:21 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=1/27 config=null 14 ao¹t 2009 15:53:21 org.apache.catalina.startup.Catalina start INFO: Server startup in 6390 ms Pierre Henry Software Engineer ------------------------------------------------- pierre.he...@unine.ch +41 32 718 20 45 ------------------------------------------------- Université de Neuchâtel Service Informatique et Télématique Rue Emile-Argand 11 Case postale 158 CH-2009 Neuchâtel