You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Matt Raible <mr...@gmail.com> on 2006/05/09 01:54:22 UTC

AppFuse on Geronimo 1.1

I'm trying to run AppFuse on a nightly build of Geronimo 1.1.  It
worked fine on 1.0 when I included the following geronimo-web.xml:

<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.0"
configId="appfuse">
    <hidden-classes><filter>org.springframework</filter></hidden-classes>
    <hidden-classes><filter>antlr</filter></hidden-classes>
    <context-root>/appfuse</context-root>
    <context-priority-classloader>false</context-priority-classloader>
</web-app>

However, Geronimo 1.1 blows up when I include the above file in my
WAR.  So I removed it and tried it with nothing.  From the log and
stack trace below, it looks like there might be some issues with
EhCache or Hibernate.  Any ideas?

I'm running this on OS X (Intel).

Thanks,

Matt

Booting Geronimo Kernel (in Java 1.4.2_09)...
Configuration  1/20 geronimo/rmi-naming/1.1-SNAPSHOT/car             
started in   0s
Configuration  2/20 geronimo/j2ee-server/1.1-SNAPSHOT/car            
started in   0s
Configuration  3/20 geronimo/j2ee-security/1.1-SNAPSHOT/car          
started in   0s
Configuration  4/20 geronimo/axis/1.1-SNAPSHOT/car                   
started in   0s
Configuration  5/20 geronimo/openejb/1.1-SNAPSHOT/car                
started in   0s
Configuration  6/20 geronimo/system-database/1.1-SNAPSHOT/car        
started in   1s
Configuration  7/20 geronimo/activemq-broker/1.1-SNAPSHOT/car        
started in   1s
Configuration  8/20 geronimo/activemq/1.1-SNAPSHOT/car               
started in   0s
Configuration  9/20 geronimo/tomcat/1.1-SNAPSHOT/car                 
started in   2s
Configuration 10/20 geronimo/geronimo-gbean-deployer/1.1-SNAPSHOT/car
started in   0s
Configuration 11/20 geronimo/j2ee-deployer/1.1-SNAPSHOT/car          
started in   0s
Configuration 12/20 geronimo/openejb-deployer/1.1-SNAPSHOT/car       
started in   0s
Configuration 13/20 geronimo/client-deployer/1.1-SNAPSHOT/car        
started in   0s
Configuration 14/20 geronimo/axis-deployer/1.1-SNAPSHOT/car          
started in   0s
Configuration 15/20 geronimo/sharedlib/1.1-SNAPSHOT/car              
started in   0s
Configuration 16/20 geronimo/tomcat-deployer/1.1-SNAPSHOT/car        
started in   0s
Configuration 17/20 geronimo/welcome-tomcat/1.1-SNAPSHOT/car         
started in   0s
Configuration 18/20 geronimo/webconsole-tomcat/1.1-SNAPSHOT/car      
started in   1s
Configuration 19/20 geronimo/remote-deploy-tomcat/1.1-SNAPSHOT/car   
started in   0s
Configuration 20/20 geronimo/hot-deployer/1.1-SNAPSHOT/car           
started in   0s
Startup completed in 11 seconds
  Listening on Ports:
    1099 0.0.0.0   RMI Naming
    1527 0.0.0.0   Derby Connector
    4201 0.0.0.0   ActiveIO Connector EJB
    4242 127.0.0.1 Remote Login Listener
    8009 0.0.0.0   Tomcat Connector AJP
    8080 0.0.0.0   Tomcat Connector HTTP
    8443 0.0.0.0   Tomcat Connector HTTPS
    9999 0.0.0.0   JMX Remoting Connector
   61616 0.0.0.0   ActiveMQ Message Broker Connector

  Started Application Modules:
    EAR: geronimo/webconsole-tomcat/1.1-SNAPSHOT/car
    RAR: geronimo/activemq/1.1-SNAPSHOT/car
    RAR: geronimo/system-database/1.1-SNAPSHOT/car
    WAR: geronimo/remote-deploy-tomcat/1.1-SNAPSHOT/car
    WAR: geronimo/welcome-tomcat/1.1-SNAPSHOT/car

  Web Applications:
    http://alotta.local:8080/
    http://alotta.local:8080/console
    http://alotta.local:8080/console-standard
    http://alotta.local:8080/remote-deploy

Geronimo Application Server started
16:58:33,327 ERROR [DirectoryMonitor] Unable to scan file
/opt/dev/tools/geronimo-1.1-SNAPSHOT/deploy/demo.war during
initialization
java.lang.IllegalArgumentException: Invalid id: demo
	at org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:49)
	at org.apache.geronimo.deployment.plugin.ConfigIDExtractor.identifyTargetModuleIDs(ConfigIDExtractor.java:168)
	at org.apache.geronimo.deployment.hot.DirectoryHotDeployer.isFileDeployed(DirectoryHotDeployer.java:166)
	at org.apache.geronimo.deployment.hot.DirectoryMonitor.initialize(DirectoryMonitor.java:191)
	at org.apache.geronimo.deployment.hot.DirectoryMonitor.run(DirectoryMonitor.java:169)
	at java.lang.Thread.run(Thread.java:552)
16:58:37,331 INFO  [Hot Deployer] Deploying demo.war
16:58:37,838 WARN  [TomcatModuleBuilder] Web application . does not
contain a WEB-INF/geronimo-web.xml deployment plan.  This may or may
not be a problem, depending on whether you have things like resource
references that need to be resolved.  You can also give the deployer a
separate deployment plan file on the command line.
16:58:39,284 INFO  [ContextLoader] Root WebApplicationContext:
initialization started
16:58:39,323 INFO  [CollectionFactory] JDK 1.4+ collections available
16:58:39,336 INFO  [CollectionFactory] Commons Collections 3.x available
16:58:39,354 INFO  [XmlBeanDefinitionReader] Loading XML bean
definitions from ServletContext resource
[/WEB-INF/applicationContext-resources.xml]
16:58:39,408 INFO  [XmlBeanDefinitionReader] Loading XML bean
definitions from ServletContext resource
[/WEB-INF/applicationContext-security.xml]
16:58:39,585 INFO  [XmlBeanDefinitionReader] Loading XML bean
definitions from ServletContext resource
[/WEB-INF/applicationContext-hibernate.xml]
16:58:39,639 INFO  [XmlBeanDefinitionReader] Loading XML bean
definitions from ServletContext resource
[/WEB-INF/applicationContext-service.xml]
16:58:39,661 INFO  [DefaultListableBeanFactory] Overriding bean
definition for bean 'userManager': replacing [Child bean with parent
'txProxyTemplate': class [null]; abstract=false; singleton=true;
lazyInit=false; autowire=0; dependencyCheck=0; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in ServletContext resource
[/WEB-INF/applicationContext-security.xml]] with [Child bean with
parent 'txProxyTemplate': class [null]; abstract=false;
singleton=true; lazyInit=false; autowire=0; dependencyCheck=0;
factoryBeanName=null; factoryMethodName=null; initMethodName=null;
destroyMethodName=null; defined in ServletContext resource
[/WEB-INF/applicationContext-service.xml]]
16:58:39,700 INFO  [XmlWebApplicationContext] Bean factory for
application context [Root WebApplicationContext]:
org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans [propertyConfigurer,dataSource,filterChainProxy,filterInvocationInterceptor,authenticationManager,loggerListener,daoAuthenticationProvider,passwordEncoder,anonymousAuthenticationProvider,roleVoter,accessDecisionManager,httpSessionContextIntegrationFilter,authenticationProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,remoteUserFilter,authenticationProcessingFilterEntryPoint,userManager,userManagerSecurity,rememberMeProcessingFilter,rememberMeServices,rememberMeAuthenticationProvider,channelProcessingFilter,channelDecisionManager,sessionFactory,transactionManager,dao,lookupDao,userDao,roleDao,lookupManager,txProxyTemplate,manager,userSecurityInterceptor,userSecurityAdvice,userCache,roleManager,mailEngine,mailSender,velocityEngine,mailMessage];
root of BeanFactory hierarchy
16:58:39,709 INFO  [XmlWebApplicationContext] 41 beans defined in
application context [Root WebApplicationContext]
16:58:39,762 INFO  [PropertyPlaceholderConfigurer] Loading properties
file from class path resource [mail.properties]
16:58:39,768 INFO  [XmlWebApplicationContext] Unable to locate
MessageSource with name 'messageSource': using default
[org.springframework.context.support.DelegatingMessageSource@6b9215]
16:58:39,770 INFO  [XmlWebApplicationContext] Unable to locate
ApplicationEventMulticaster with name 'applicationEventMulticaster':
using default [org.springframework.context.event.SimpleApplicationEventMulticaster@131259]
16:58:39,777 INFO  [UiApplicationContextUtils] Unable to locate
ThemeSource with name 'themeSource': using default
[org.springframework.ui.context.support.ResourceBundleThemeSource@3b4da3]
16:58:39,783 INFO  [DefaultListableBeanFactory] Pre-instantiating
singletons in factory
[org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans [propertyConfigurer,dataSource,filterChainProxy,filterInvocationInterceptor,authenticationManager,loggerListener,daoAuthenticationProvider,passwordEncoder,anonymousAuthenticationProvider,roleVoter,accessDecisionManager,httpSessionContextIntegrationFilter,authenticationProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,remoteUserFilter,authenticationProcessingFilterEntryPoint,userManager,userManagerSecurity,rememberMeProcessingFilter,rememberMeServices,rememberMeAuthenticationProvider,channelProcessingFilter,channelDecisionManager,sessionFactory,transactionManager,dao,lookupDao,userDao,roleDao,lookupManager,txProxyTemplate,manager,userSecurityInterceptor,userSecurityAdvice,userCache,roleManager,mailEngine,mailSender,velocityEngine,mailMessage];
root of BeanFactory hierarchy]
16:58:39,986 INFO  [Environment] Hibernate 3.1.3
16:58:39,994 INFO  [Environment] hibernate.properties not found
16:58:39,996 INFO  [Environment] using CGLIB reflection optimizer
16:58:39,997 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
16:58:40,718 INFO  [HbmBinder] Mapping class: com.sun.model.Role -> role
16:58:40,799 INFO  [HbmBinder] Mapping class: com.sun.model.User -> app_user
16:58:40,808 INFO  [HbmBinder] Mapping collection:
com.sun.model.User.roles -> user_role
16:58:40,813 INFO  [LocalSessionFactoryBean] Building new Hibernate
SessionFactory
16:58:41,111 INFO  [ConnectionProviderFactory] Initializing connection
provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
AbandonedObjectPool is used (org.apache.commons.dbcp.AbandonedObjectPool@4ff64d)
   LogAbandoned: false
   RemoveAbandoned: true
   RemoveAbandonedTimeout: 60
16:58:41,465 INFO  [SettingsFactory] RDBMS: MySQL, version: 5.0.20a-standard
16:58:41,466 INFO  [SettingsFactory] JDBC driver: MySQL-AB JDBC
Driver, version: mysql-connector-java-3.1.12 ( $Date: 2005-11-17
15:53:48 +0100 (Thu, 17 Nov 2005) $, $Revision$ )
16:58:41,517 INFO  [Dialect] Using dialect:
org.hibernate.dialect.MySQLInnoDBDialect
16:58:41,528 INFO  [TransactionFactoryFactory] Using default
transaction strategy (direct JDBC transactions)
16:58:41,533 INFO  [TransactionManagerLookupFactory] No
TransactionManagerLookup configured (in JTA environment, use of
read-write or transactional second-level cache is not recommended)
16:58:41,533 INFO  [SettingsFactory] Automatic flush during
beforeCompletion(): disabled
16:58:41,533 INFO  [SettingsFactory] Automatic session close at end of
transaction: disabled
16:58:41,533 INFO  [SettingsFactory] JDBC batch size: 15
16:58:41,533 INFO  [SettingsFactory] JDBC batch updates for versioned
data: disabled
16:58:41,535 INFO  [SettingsFactory] Scrollable result sets: enabled
16:58:41,535 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
16:58:41,535 INFO  [SettingsFactory] Connection release mode: on_close
16:58:41,535 INFO  [SettingsFactory] Maximum outer join fetch depth: 2
16:58:41,536 INFO  [SettingsFactory] Default batch fetch size: 1
16:58:41,536 INFO  [SettingsFactory] Generate SQL with comments: disabled
16:58:41,536 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
16:58:41,536 INFO  [SettingsFactory] Query translator:
org.hibernate.hql.ast.ASTQueryTranslatorFactory
16:58:41,542 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
16:58:41,543 INFO  [SettingsFactory] Query language substitutions: {}
16:58:41,543 INFO  [SettingsFactory] Second-level cache: enabled
16:58:41,543 INFO  [SettingsFactory] Query cache: disabled
16:58:41,543 INFO  [SettingsFactory] Cache provider:
org.hibernate.cache.EhCacheProvider
16:58:41,548 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
16:58:41,548 INFO  [SettingsFactory] Structured second-level cache
entries: disabled
16:58:41,563 INFO  [SettingsFactory] Statistics: disabled
16:58:41,563 INFO  [SettingsFactory] Deleted entity synthetic
identifier rollback: disabled
16:58:41,563 INFO  [SettingsFactory] Default entity-mode: pojo
16:58:41,616 INFO  [SessionFactoryImpl] building session factory
16:58:41,631 INFO  [DefaultListableBeanFactory] Destroying singletons
in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans [propertyConfigurer,dataSource,filterChainProxy,filterInvocationInterceptor,authenticationManager,loggerListener,daoAuthenticationProvider,passwordEncoder,anonymousAuthenticationProvider,roleVoter,accessDecisionManager,httpSessionContextIntegrationFilter,authenticationProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,remoteUserFilter,authenticationProcessingFilterEntryPoint,userManager,userManagerSecurity,rememberMeProcessingFilter,rememberMeServices,rememberMeAuthenticationProvider,channelProcessingFilter,channelDecisionManager,sessionFactory,transactionManager,dao,lookupDao,userDao,roleDao,lookupManager,txProxyTemplate,manager,userSecurityInterceptor,userSecurityAdvice,userCache,roleManager,mailEngine,mailSender,velocityEngine,mailMessage];
root of BeanFactory hierarchy}
16:58:41,631 ERROR [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'filterInvocationInterceptor' defined in
ServletContext resource [/WEB-INF/applicationContext-security.xml]:
Cannot resolve reference to bean 'authenticationManager' while setting
bean property 'authenticationManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'authenticationManager' defined in
ServletContext resource [/WEB-INF/applicationContext-security.xml]:
Cannot resolve reference to bean 'daoAuthenticationProvider' while
setting bean property 'providers' with key [0]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'daoAuthenticationProvider' defined in
ServletContext resource [/WEB-INF/applicationContext-security.xml]:
Cannot resolve reference to bean 'userDao' while setting bean property
'userDetailsService'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'userDao' defined in ServletContext resource
[/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
to bean 'sessionFactory' while setting bean property 'sessionFactory';
nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sessionFactory' defined in ServletContext
resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
of bean failed; nested exception is
org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
Cannot configure CacheManager: error in opening zip file
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'authenticationManager' defined in
ServletContext resource [/WEB-INF/applicationContext-security.xml]:
Cannot resolve reference to bean 'daoAuthenticationProvider' while
setting bean property 'providers' with key [0]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'daoAuthenticationProvider' defined in
ServletContext resource [/WEB-INF/applicationContext-security.xml]:
Cannot resolve reference to bean 'userDao' while setting bean property
'userDetailsService'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'userDao' defined in ServletContext resource
[/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
to bean 'sessionFactory' while setting bean property 'sessionFactory';
nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sessionFactory' defined in ServletContext
resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
of bean failed; nested exception is
org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
Cannot configure CacheManager: error in opening zip file
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'daoAuthenticationProvider' defined in
ServletContext resource [/WEB-INF/applicationContext-security.xml]:
Cannot resolve reference to bean 'userDao' while setting bean property
'userDetailsService'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'userDao' defined in ServletContext resource
[/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
to bean 'sessionFactory' while setting bean property 'sessionFactory';
nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sessionFactory' defined in ServletContext
resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
of bean failed; nested exception is
org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
Cannot configure CacheManager: error in opening zip file
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'userDao' defined in ServletContext resource
[/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
to bean 'sessionFactory' while setting bean property 'sessionFactory';
nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sessionFactory' defined in ServletContext
resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
of bean failed; nested exception is
org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
Cannot configure CacheManager: error in opening zip file
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sessionFactory' defined in ServletContext
resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
of bean failed; nested exception is
org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
Cannot configure CacheManager: error in opening zip file
org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
Cannot configure CacheManager: error in opening zip file
	at org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:134)
	at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:173)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)
	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:825)
	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:751)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1091)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:396)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:202)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:283)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313)
	at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:139)
	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
	at com.sun.webapp.listener.StartupListener.contextInitialized(StartupListener.java:50)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3727)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4162)
	at org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:67)
	at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:331)
	at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
	at org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:186)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
	at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:313)
	at org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
	at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
	at org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$4ab666a8.addContext(<generated>)
	at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:448)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540)
	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:174)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:505)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:486)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
	at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
	at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$31011421.startConfiguration(<generated>)
	at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:66)
	at java.lang.Thread.run(Thread.java:552)
Caused by: net.sf.ehcache.CacheException: Cannot configure
CacheManager: error in opening zip file
	at net.sf.ehcache.CacheManager.configure(CacheManager.java:170)
	at net.sf.ehcache.CacheManager.<init>(CacheManager.java:138)
	at net.sf.ehcache.CacheManager.create(CacheManager.java:193)
	at org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:130)
	... 86 more
16:58:41,639 ERROR [[/demo]] Exception sending context initialized
event to listener instance of class
com.sun.webapp.listener.StartupListener
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'filterInvocationInterceptor' defined in
ServletContext resource [/WEB-INF/applicationContext-security.xml]:
Cannot resolve reference to bean 'authenticationManager' while setting
bean property 'authenticationManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'authenticationManager' defined in
ServletContext resource [/WEB-INF/applicationContext-security.xml]:
Cannot resolve reference to bean 'daoAuthenticationProvider' while
setting bean property 'providers' with key [0]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'daoAuthenticationProvider' defined in
ServletContext resource [/WEB-INF/applicationContext-security.xml]:
Cannot resolve reference to bean 'userDao' while setting bean property
'userDetailsService'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'userDao' defined in ServletContext resource
[/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
to bean 'sessionFactory' while setting bean property 'sessionFactory';
nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sessionFactory' defined in ServletContext
resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
of bean failed; nested exception is
org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
Cannot configure CacheManager: error in opening zip file
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'authenticationManager' defined in
ServletContext resource [/WEB-INF/applicationContext-security.xml]:
Cannot resolve reference to bean 'daoAuthenticationProvider' while
setting bean property 'providers' with key [0]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'daoAuthenticationProvider' defined in
ServletContext resource [/WEB-INF/applicationContext-security.xml]:
Cannot resolve reference to bean 'userDao' while setting bean property
'userDetailsService'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'userDao' defined in ServletContext resource
[/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
to bean 'sessionFactory' while setting bean property 'sessionFactory';
nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sessionFactory' defined in ServletContext
resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
of bean failed; nested exception is
org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
Cannot configure CacheManager: error in opening zip file
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'daoAuthenticationProvider' defined in
ServletContext resource [/WEB-INF/applicationContext-security.xml]:
Cannot resolve reference to bean 'userDao' while setting bean property
'userDetailsService'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'userDao' defined in ServletContext resource
[/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
to bean 'sessionFactory' while setting bean property 'sessionFactory';
nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sessionFactory' defined in ServletContext
resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
of bean failed; nested exception is
org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
Cannot configure CacheManager: error in opening zip file
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'userDao' defined in ServletContext resource
[/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
to bean 'sessionFactory' while setting bean property 'sessionFactory';
nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sessionFactory' defined in ServletContext
resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
of bean failed; nested exception is
org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
Cannot configure CacheManager: error in opening zip file
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sessionFactory' defined in ServletContext
resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
of bean failed; nested exception is
org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
Cannot configure CacheManager: error in opening zip file
org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
Cannot configure CacheManager: error in opening zip file
	at org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:134)
	at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:173)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)
	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:825)
	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:751)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1091)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:396)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:202)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:283)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313)
	at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:139)
	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
	at com.sun.webapp.listener.StartupListener.contextInitialized(StartupListener.java:50)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3727)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4162)
	at org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:67)
	at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:331)
	at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
	at org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:186)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
	at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:313)
	at org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
	at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
	at org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$4ab666a8.addContext(<generated>)
	at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:448)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540)
	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:174)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:505)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:486)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
	at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
	at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$31011421.startConfiguration(<generated>)
	at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:66)
	at java.lang.Thread.run(Thread.java:552)
Caused by: net.sf.ehcache.CacheException: Cannot configure
CacheManager: error in opening zip file
	at net.sf.ehcache.CacheManager.configure(CacheManager.java:170)
	at net.sf.ehcache.CacheManager.<init>(CacheManager.java:138)
	at net.sf.ehcache.CacheManager.create(CacheManager.java:193)
	at org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:130)
	... 86 more
16:58:41,811 INFO  [FacesConfigurator] Reading standard config
org/apache/myfaces/resource/standard-faces-config.xml
16:58:41,985 INFO  [FacesConfigurator] Reading config
jar:file:/opt/dev/tools/geronimo-1.1-SNAPSHOT/repository/default/demo/1147129117488/demo-1147129117488.war/WEB-INF/lib/tomahawk.jar!/META-INF/faces-config.xml
16:58:42,017 INFO  [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
16:58:42,875 INFO  [HtmlRenderKitImpl] Overwriting renderer with
family = javax.faces.Output rendererType = javax.faces.Label renderer
class = com.sun.webapp.action.LabelRenderer
16:58:42,897 INFO  [StartupServletContextListener] ServletContext
'/opt/dev/Tools/geronimo-1.1-SNAPSHOT/repository/default/demo/1147129117488/demo-1147129117488.war/'
initialized.
16:58:42,983 ERROR [StandardContext] Error listenerStart
16:58:42,983 ERROR [StandardContext] Context [/demo] startup failed
due to previous errors
16:58:43,024 WARN  [TomcatWebAppContext] TomcatWebAppContext failed
16:58:43,025 ERROR [GBeanInstanceState] Error while starting; GBean is
now in the FAILED state:
abstractName="default/demo/1147129117488/war?J2EEApplication=null,j2eeType=WebModule,name=default/demo/1147129117488/war"
java.lang.NullPointerException
	at java.util.Hashtable.put(Hashtable.java:393)
	at org.apache.naming.resources.DirContextURLStreamHandler.bind(DirContextURLStreamHandler.java:233)
	at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:453)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540)
	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:174)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:505)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:486)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
	at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
	at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$31011421.startConfiguration(<generated>)
	at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:66)
	at java.lang.Thread.run(Thread.java:552)
org.apache.geronimo.kernel.config.LifecycleException: start of
default/demo/1147129117488/war failed
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:522)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:486)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
	at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
	at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$31011421.startConfiguration(<generated>)
	at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:66)
	at java.lang.Thread.run(Thread.java:552)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
Unknown start exception
	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:440)
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:174)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:505)
	... 12 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
Configuration default/demo/1147129117488/war failed to start due to
the following reasons:
  The service J2EEApplication=null,j2eeType=WebModule,name=default/demo/1147129117488/war
did not start because the doStart method threw an exception.
java.lang.NullPointerException
	at java.util.Hashtable.put(Hashtable.java:393)
	at org.apache.naming.resources.DirContextURLStreamHandler.bind(DirContextURLStreamHandler.java:233)
	at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:453)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540)
	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:174)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:505)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:486)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
	at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
	at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$31011421.startConfiguration(<generated>)
	at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:66)
	at java.lang.Thread.run(Thread.java:552)


	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:403)
	... 14 more
16:58:43,094 WARN  [Hot Deployer] Unable to start some modules for
/opt/dev/tools/geronimo-1.1-SNAPSHOT/deploy/demo.war

Server shutdown begun
Server shutdown completed

Re: AppFuse on Geronimo 1.1

Posted by Bryan Noll <bn...@virtuas.com>.
See the following jira:

http://issues.apache.org/jira/browse/GERONIMO-2008

Matt Raible wrote:
> I'm trying to run AppFuse on a nightly build of Geronimo 1.1.  It
> worked fine on 1.0 when I included the following geronimo-web.xml:
>
> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.0"
> configId="appfuse">
>    <hidden-classes><filter>org.springframework</filter></hidden-classes>
>    <hidden-classes><filter>antlr</filter></hidden-classes>
>    <context-root>/appfuse</context-root>
>    <context-priority-classloader>false</context-priority-classloader>
> </web-app>
>
> However, Geronimo 1.1 blows up when I include the above file in my
> WAR.  So I removed it and tried it with nothing.  From the log and
> stack trace below, it looks like there might be some issues with
> EhCache or Hibernate.  Any ideas?
>
> I'm running this on OS X (Intel).
>
> Thanks,
>
> Matt
>
> Booting Geronimo Kernel (in Java 1.4.2_09)...
> Configuration  1/20 geronimo/rmi-naming/1.1-SNAPSHOT/car             
> started in   0s
> Configuration  2/20 geronimo/j2ee-server/1.1-SNAPSHOT/car            
> started in   0s
> Configuration  3/20 geronimo/j2ee-security/1.1-SNAPSHOT/car          
> started in   0s
> Configuration  4/20 geronimo/axis/1.1-SNAPSHOT/car                   
> started in   0s
> Configuration  5/20 geronimo/openejb/1.1-SNAPSHOT/car                
> started in   0s
> Configuration  6/20 geronimo/system-database/1.1-SNAPSHOT/car        
> started in   1s
> Configuration  7/20 geronimo/activemq-broker/1.1-SNAPSHOT/car        
> started in   1s
> Configuration  8/20 geronimo/activemq/1.1-SNAPSHOT/car               
> started in   0s
> Configuration  9/20 geronimo/tomcat/1.1-SNAPSHOT/car                 
> started in   2s
> Configuration 10/20 geronimo/geronimo-gbean-deployer/1.1-SNAPSHOT/car
> started in   0s
> Configuration 11/20 geronimo/j2ee-deployer/1.1-SNAPSHOT/car          
> started in   0s
> Configuration 12/20 geronimo/openejb-deployer/1.1-SNAPSHOT/car       
> started in   0s
> Configuration 13/20 geronimo/client-deployer/1.1-SNAPSHOT/car        
> started in   0s
> Configuration 14/20 geronimo/axis-deployer/1.1-SNAPSHOT/car          
> started in   0s
> Configuration 15/20 geronimo/sharedlib/1.1-SNAPSHOT/car              
> started in   0s
> Configuration 16/20 geronimo/tomcat-deployer/1.1-SNAPSHOT/car        
> started in   0s
> Configuration 17/20 geronimo/welcome-tomcat/1.1-SNAPSHOT/car         
> started in   0s
> Configuration 18/20 geronimo/webconsole-tomcat/1.1-SNAPSHOT/car      
> started in   1s
> Configuration 19/20 geronimo/remote-deploy-tomcat/1.1-SNAPSHOT/car   
> started in   0s
> Configuration 20/20 geronimo/hot-deployer/1.1-SNAPSHOT/car           
> started in   0s
> Startup completed in 11 seconds
>  Listening on Ports:
>    1099 0.0.0.0   RMI Naming
>    1527 0.0.0.0   Derby Connector
>    4201 0.0.0.0   ActiveIO Connector EJB
>    4242 127.0.0.1 Remote Login Listener
>    8009 0.0.0.0   Tomcat Connector AJP
>    8080 0.0.0.0   Tomcat Connector HTTP
>    8443 0.0.0.0   Tomcat Connector HTTPS
>    9999 0.0.0.0   JMX Remoting Connector
>   61616 0.0.0.0   ActiveMQ Message Broker Connector
>
>  Started Application Modules:
>    EAR: geronimo/webconsole-tomcat/1.1-SNAPSHOT/car
>    RAR: geronimo/activemq/1.1-SNAPSHOT/car
>    RAR: geronimo/system-database/1.1-SNAPSHOT/car
>    WAR: geronimo/remote-deploy-tomcat/1.1-SNAPSHOT/car
>    WAR: geronimo/welcome-tomcat/1.1-SNAPSHOT/car
>
>  Web Applications:
>    http://alotta.local:8080/
>    http://alotta.local:8080/console
>    http://alotta.local:8080/console-standard
>    http://alotta.local:8080/remote-deploy
>
> Geronimo Application Server started
> 16:58:33,327 ERROR [DirectoryMonitor] Unable to scan file
> /opt/dev/tools/geronimo-1.1-SNAPSHOT/deploy/demo.war during
> initialization
> java.lang.IllegalArgumentException: Invalid id: demo
>     at 
> org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:49)
>     at 
> org.apache.geronimo.deployment.plugin.ConfigIDExtractor.identifyTargetModuleIDs(ConfigIDExtractor.java:168) 
>
>     at 
> org.apache.geronimo.deployment.hot.DirectoryHotDeployer.isFileDeployed(DirectoryHotDeployer.java:166) 
>
>     at 
> org.apache.geronimo.deployment.hot.DirectoryMonitor.initialize(DirectoryMonitor.java:191) 
>
>     at 
> org.apache.geronimo.deployment.hot.DirectoryMonitor.run(DirectoryMonitor.java:169) 
>
>     at java.lang.Thread.run(Thread.java:552)
> 16:58:37,331 INFO  [Hot Deployer] Deploying demo.war
> 16:58:37,838 WARN  [TomcatModuleBuilder] Web application . does not
> contain a WEB-INF/geronimo-web.xml deployment plan.  This may or may
> not be a problem, depending on whether you have things like resource
> references that need to be resolved.  You can also give the deployer a
> separate deployment plan file on the command line.
> 16:58:39,284 INFO  [ContextLoader] Root WebApplicationContext:
> initialization started
> 16:58:39,323 INFO  [CollectionFactory] JDK 1.4+ collections available
> 16:58:39,336 INFO  [CollectionFactory] Commons Collections 3.x available
> 16:58:39,354 INFO  [XmlBeanDefinitionReader] Loading XML bean
> definitions from ServletContext resource
> [/WEB-INF/applicationContext-resources.xml]
> 16:58:39,408 INFO  [XmlBeanDefinitionReader] Loading XML bean
> definitions from ServletContext resource
> [/WEB-INF/applicationContext-security.xml]
> 16:58:39,585 INFO  [XmlBeanDefinitionReader] Loading XML bean
> definitions from ServletContext resource
> [/WEB-INF/applicationContext-hibernate.xml]
> 16:58:39,639 INFO  [XmlBeanDefinitionReader] Loading XML bean
> definitions from ServletContext resource
> [/WEB-INF/applicationContext-service.xml]
> 16:58:39,661 INFO  [DefaultListableBeanFactory] Overriding bean
> definition for bean 'userManager': replacing [Child bean with parent
> 'txProxyTemplate': class [null]; abstract=false; singleton=true;
> lazyInit=false; autowire=0; dependencyCheck=0; factoryBeanName=null;
> factoryMethodName=null; initMethodName=null; destroyMethodName=null;
> defined in ServletContext resource
> [/WEB-INF/applicationContext-security.xml]] with [Child bean with
> parent 'txProxyTemplate': class [null]; abstract=false;
> singleton=true; lazyInit=false; autowire=0; dependencyCheck=0;
> factoryBeanName=null; factoryMethodName=null; initMethodName=null;
> destroyMethodName=null; defined in ServletContext resource
> [/WEB-INF/applicationContext-service.xml]]
> 16:58:39,700 INFO  [XmlWebApplicationContext] Bean factory for
> application context [Root WebApplicationContext]:
> org.springframework.beans.factory.support.DefaultListableBeanFactory
> defining beans 
> [propertyConfigurer,dataSource,filterChainProxy,filterInvocationInterceptor,authenticationManager,loggerListener,daoAuthenticationProvider,passwordEncoder,anonymousAuthenticationProvider,roleVoter,accessDecisionManager,httpSessionContextIntegrationFilter,authenticationProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,remoteUserFilter,authenticationProcessingFilterEntryPoint,userManager,userManagerSecurity,rememberMeProcessingFilter,rememberMeServices,rememberMeAuthenticationProvider,channelProcessingFilter,channelDecisionManager,sessionFactory,transactionManager,dao,lookupDao,userDao,roleDao,lookupManager,txProxyTemplate,manager,userSecurityInterceptor,userSecurityAdvice,userCache,roleManager,mailEngine,mailSender,velocityEngine,mailMessage]; 
>
> root of BeanFactory hierarchy
> 16:58:39,709 INFO  [XmlWebApplicationContext] 41 beans defined in
> application context [Root WebApplicationContext]
> 16:58:39,762 INFO  [PropertyPlaceholderConfigurer] Loading properties
> file from class path resource [mail.properties]
> 16:58:39,768 INFO  [XmlWebApplicationContext] Unable to locate
> MessageSource with name 'messageSource': using default
> [org.springframework.context.support.DelegatingMessageSource@6b9215]
> 16:58:39,770 INFO  [XmlWebApplicationContext] Unable to locate
> ApplicationEventMulticaster with name 'applicationEventMulticaster':
> using default 
> [org.springframework.context.event.SimpleApplicationEventMulticaster@131259] 
>
> 16:58:39,777 INFO  [UiApplicationContextUtils] Unable to locate
> ThemeSource with name 'themeSource': using default
> [org.springframework.ui.context.support.ResourceBundleThemeSource@3b4da3]
> 16:58:39,783 INFO  [DefaultListableBeanFactory] Pre-instantiating
> singletons in factory
> [org.springframework.beans.factory.support.DefaultListableBeanFactory
> defining beans 
> [propertyConfigurer,dataSource,filterChainProxy,filterInvocationInterceptor,authenticationManager,loggerListener,daoAuthenticationProvider,passwordEncoder,anonymousAuthenticationProvider,roleVoter,accessDecisionManager,httpSessionContextIntegrationFilter,authenticationProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,remoteUserFilter,authenticationProcessingFilterEntryPoint,userManager,userManagerSecurity,rememberMeProcessingFilter,rememberMeServices,rememberMeAuthenticationProvider,channelProcessingFilter,channelDecisionManager,sessionFactory,transactionManager,dao,lookupDao,userDao,roleDao,lookupManager,txProxyTemplate,manager,userSecurityInterceptor,userSecurityAdvice,userCache,roleManager,mailEngine,mailSender,velocityEngine,mailMessage]; 
>
> root of BeanFactory hierarchy]
> 16:58:39,986 INFO  [Environment] Hibernate 3.1.3
> 16:58:39,994 INFO  [Environment] hibernate.properties not found
> 16:58:39,996 INFO  [Environment] using CGLIB reflection optimizer
> 16:58:39,997 INFO  [Environment] using JDK 1.4 java.sql.Timestamp 
> handling
> 16:58:40,718 INFO  [HbmBinder] Mapping class: com.sun.model.Role -> role
> 16:58:40,799 INFO  [HbmBinder] Mapping class: com.sun.model.User -> 
> app_user
> 16:58:40,808 INFO  [HbmBinder] Mapping collection:
> com.sun.model.User.roles -> user_role
> 16:58:40,813 INFO  [LocalSessionFactoryBean] Building new Hibernate
> SessionFactory
> 16:58:41,111 INFO  [ConnectionProviderFactory] Initializing connection
> provider: 
> org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
> AbandonedObjectPool is used 
> (org.apache.commons.dbcp.AbandonedObjectPool@4ff64d)
>   LogAbandoned: false
>   RemoveAbandoned: true
>   RemoveAbandonedTimeout: 60
> 16:58:41,465 INFO  [SettingsFactory] RDBMS: MySQL, version: 
> 5.0.20a-standard
> 16:58:41,466 INFO  [SettingsFactory] JDBC driver: MySQL-AB JDBC
> Driver, version: mysql-connector-java-3.1.12 ( $Date: 2005-11-17
> 15:53:48 +0100 (Thu, 17 Nov 2005) $, $Revision$ )
> 16:58:41,517 INFO  [Dialect] Using dialect:
> org.hibernate.dialect.MySQLInnoDBDialect
> 16:58:41,528 INFO  [TransactionFactoryFactory] Using default
> transaction strategy (direct JDBC transactions)
> 16:58:41,533 INFO  [TransactionManagerLookupFactory] No
> TransactionManagerLookup configured (in JTA environment, use of
> read-write or transactional second-level cache is not recommended)
> 16:58:41,533 INFO  [SettingsFactory] Automatic flush during
> beforeCompletion(): disabled
> 16:58:41,533 INFO  [SettingsFactory] Automatic session close at end of
> transaction: disabled
> 16:58:41,533 INFO  [SettingsFactory] JDBC batch size: 15
> 16:58:41,533 INFO  [SettingsFactory] JDBC batch updates for versioned
> data: disabled
> 16:58:41,535 INFO  [SettingsFactory] Scrollable result sets: enabled
> 16:58:41,535 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
> 16:58:41,535 INFO  [SettingsFactory] Connection release mode: on_close
> 16:58:41,535 INFO  [SettingsFactory] Maximum outer join fetch depth: 2
> 16:58:41,536 INFO  [SettingsFactory] Default batch fetch size: 1
> 16:58:41,536 INFO  [SettingsFactory] Generate SQL with comments: disabled
> 16:58:41,536 INFO  [SettingsFactory] Order SQL updates by primary key: 
> disabled
> 16:58:41,536 INFO  [SettingsFactory] Query translator:
> org.hibernate.hql.ast.ASTQueryTranslatorFactory
> 16:58:41,542 INFO  [ASTQueryTranslatorFactory] Using 
> ASTQueryTranslatorFactory
> 16:58:41,543 INFO  [SettingsFactory] Query language substitutions: {}
> 16:58:41,543 INFO  [SettingsFactory] Second-level cache: enabled
> 16:58:41,543 INFO  [SettingsFactory] Query cache: disabled
> 16:58:41,543 INFO  [SettingsFactory] Cache provider:
> org.hibernate.cache.EhCacheProvider
> 16:58:41,548 INFO  [SettingsFactory] Optimize cache for minimal puts: 
> disabled
> 16:58:41,548 INFO  [SettingsFactory] Structured second-level cache
> entries: disabled
> 16:58:41,563 INFO  [SettingsFactory] Statistics: disabled
> 16:58:41,563 INFO  [SettingsFactory] Deleted entity synthetic
> identifier rollback: disabled
> 16:58:41,563 INFO  [SettingsFactory] Default entity-mode: pojo
> 16:58:41,616 INFO  [SessionFactoryImpl] building session factory
> 16:58:41,631 INFO  [DefaultListableBeanFactory] Destroying singletons
> in factory 
> {org.springframework.beans.factory.support.DefaultListableBeanFactory
> defining beans 
> [propertyConfigurer,dataSource,filterChainProxy,filterInvocationInterceptor,authenticationManager,loggerListener,daoAuthenticationProvider,passwordEncoder,anonymousAuthenticationProvider,roleVoter,accessDecisionManager,httpSessionContextIntegrationFilter,authenticationProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,remoteUserFilter,authenticationProcessingFilterEntryPoint,userManager,userManagerSecurity,rememberMeProcessingFilter,rememberMeServices,rememberMeAuthenticationProvider,channelProcessingFilter,channelDecisionManager,sessionFactory,transactionManager,dao,lookupDao,userDao,roleDao,lookupManager,txProxyTemplate,manager,userSecurityInterceptor,userSecurityAdvice,userCache,roleManager,mailEngine,mailSender,velocityEngine,mailMessage]; 
>
> root of BeanFactory hierarchy}
> 16:58:41,631 ERROR [ContextLoader] Context initialization failed
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'filterInvocationInterceptor' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'authenticationManager' while setting
> bean property 'authenticationManager'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'authenticationManager' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'daoAuthenticationProvider' while
> setting bean property 'providers' with key [0]; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'daoAuthenticationProvider' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'userDao' while setting bean property
> 'userDetailsService'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'userDao' defined in ServletContext resource
> [/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
> to bean 'sessionFactory' while setting bean property 'sessionFactory';
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in ServletContext
> resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
> of bean failed; nested exception is
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'authenticationManager' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'daoAuthenticationProvider' while
> setting bean property 'providers' with key [0]; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'daoAuthenticationProvider' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'userDao' while setting bean property
> 'userDetailsService'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'userDao' defined in ServletContext resource
> [/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
> to bean 'sessionFactory' while setting bean property 'sessionFactory';
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in ServletContext
> resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
> of bean failed; nested exception is
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'daoAuthenticationProvider' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'userDao' while setting bean property
> 'userDetailsService'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'userDao' defined in ServletContext resource
> [/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
> to bean 'sessionFactory' while setting bean property 'sessionFactory';
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in ServletContext
> resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
> of bean failed; nested exception is
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'userDao' defined in ServletContext resource
> [/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
> to bean 'sessionFactory' while setting bean property 'sessionFactory';
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in ServletContext
> resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
> of bean failed; nested exception is
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in ServletContext
> resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
> of bean failed; nested exception is
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
>     at 
> org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:134)
>     at 
> org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:173)
>     at 
> org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176) 
>
>     at 
> org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:825) 
>
>     at 
> org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:751) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1091) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:396) 
>
>     at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233) 
>
>     at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) 
>
>     at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186) 
>
>     at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378) 
>
>     at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233) 
>
>     at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) 
>
>     at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186) 
>
>     at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378) 
>
>     at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233) 
>
>     at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) 
>
>     at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186) 
>
>     at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) 
>
>     at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:202) 
>
>     at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378) 
>
>     at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233) 
>
>     at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) 
>
>     at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186) 
>
>     at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378) 
>
>     at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233) 
>
>     at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) 
>
>     at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:283) 
>
>     at 
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313) 
>
>     at 
> org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:139) 
>
>     at 
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246) 
>
>     at 
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184) 
>
>     at 
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) 
>
>     at 
> com.sun.webapp.listener.StartupListener.contextInitialized(StartupListener.java:50) 
>
>     at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3727) 
>
>     at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4162)
>     at 
> org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:67) 
>
>     at 
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:331) 
>
>     at 
> org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31) 
>
>     at 
> org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:186) 
>
>     at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) 
>
>     at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>     at 
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>     at 
> org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:313) 
>
>     at 
> org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke(<generated>) 
>
>     at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>     at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817) 
>
>     at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>     at 
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) 
>
>     at 
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) 
>
>     at 
> org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$4ab666a8.addContext(<generated>) 
>
>     at 
> org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:448) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540) 
>
>     at 
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379) 
>
>     at 
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374) 
>
>     at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:174) 
>
>     at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:505) 
>
>     at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:486) 
>
>     at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>) 
>
>     at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>     at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817) 
>
>     at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>     at 
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) 
>
>     at 
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) 
>
>     at 
> org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$31011421.startConfiguration(<generated>) 
>
>     at 
> org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:66) 
>
>     at java.lang.Thread.run(Thread.java:552)
> Caused by: net.sf.ehcache.CacheException: Cannot configure
> CacheManager: error in opening zip file
>     at net.sf.ehcache.CacheManager.configure(CacheManager.java:170)
>     at net.sf.ehcache.CacheManager.<init>(CacheManager.java:138)
>     at net.sf.ehcache.CacheManager.create(CacheManager.java:193)
>     at 
> org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:130)
>     ... 86 more
> 16:58:41,639 ERROR [[/demo]] Exception sending context initialized
> event to listener instance of class
> com.sun.webapp.listener.StartupListener
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'filterInvocationInterceptor' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'authenticationManager' while setting
> bean property 'authenticationManager'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'authenticationManager' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'daoAuthenticationProvider' while
> setting bean property 'providers' with key [0]; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'daoAuthenticationProvider' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'userDao' while setting bean property
> 'userDetailsService'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'userDao' defined in ServletContext resource
> [/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
> to bean 'sessionFactory' while setting bean property 'sessionFactory';
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in ServletContext
> resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
> of bean failed; nested exception is
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'authenticationManager' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'daoAuthenticationProvider' while
> setting bean property 'providers' with key [0]; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'daoAuthenticationProvider' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'userDao' while setting bean property
> 'userDetailsService'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'userDao' defined in ServletContext resource
> [/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
> to bean 'sessionFactory' while setting bean property 'sessionFactory';
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in ServletContext
> resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
> of bean failed; nested exception is
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'daoAuthenticationProvider' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'userDao' while setting bean property
> 'userDetailsService'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'userDao' defined in ServletContext resource
> [/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
> to bean 'sessionFactory' while setting bean property 'sessionFactory';
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in ServletContext
> resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
> of bean failed; nested exception is
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'userDao' defined in ServletContext resource
> [/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
> to bean 'sessionFactory' while setting bean property 'sessionFactory';
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in ServletContext
> resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
> of bean failed; nested exception is
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in ServletContext
> resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
> of bean failed; nested exception is
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
>     at 
> org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:134)
>     at 
> org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:173)
>     at 
> org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176) 
>
>     at 
> org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:825) 
>
>     at 
> org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:751) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1091) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:396) 
>
>     at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233) 
>
>     at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) 
>
>     at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186) 
>
>     at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378) 
>
>     at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233) 
>
>     at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) 
>
>     at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186) 
>
>     at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378) 
>
>     at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233) 
>
>     at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) 
>
>     at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186) 
>
>     at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) 
>
>     at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:202) 
>
>     at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378) 
>
>     at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233) 
>
>     at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) 
>
>     at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186) 
>
>     at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857) 
>
>     at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378) 
>
>     at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233) 
>
>     at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) 
>
>     at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:283) 
>
>     at 
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313) 
>
>     at 
> org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:139) 
>
>     at 
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246) 
>
>     at 
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184) 
>
>     at 
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) 
>
>     at 
> com.sun.webapp.listener.StartupListener.contextInitialized(StartupListener.java:50) 
>
>     at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3727) 
>
>     at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4162)
>     at 
> org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:67) 
>
>     at 
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:331) 
>
>     at 
> org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31) 
>
>     at 
> org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:186) 
>
>     at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) 
>
>     at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>     at 
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>     at 
> org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:313) 
>
>     at 
> org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke(<generated>) 
>
>     at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>     at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817) 
>
>     at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>     at 
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) 
>
>     at 
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) 
>
>     at 
> org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$4ab666a8.addContext(<generated>) 
>
>     at 
> org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:448) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540) 
>
>     at 
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379) 
>
>     at 
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374) 
>
>     at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:174) 
>
>     at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:505) 
>
>     at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:486) 
>
>     at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>) 
>
>     at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>     at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817) 
>
>     at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>     at 
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) 
>
>     at 
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) 
>
>     at 
> org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$31011421.startConfiguration(<generated>) 
>
>     at 
> org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:66) 
>
>     at java.lang.Thread.run(Thread.java:552)
> Caused by: net.sf.ehcache.CacheException: Cannot configure
> CacheManager: error in opening zip file
>     at net.sf.ehcache.CacheManager.configure(CacheManager.java:170)
>     at net.sf.ehcache.CacheManager.<init>(CacheManager.java:138)
>     at net.sf.ehcache.CacheManager.create(CacheManager.java:193)
>     at 
> org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:130)
>     ... 86 more
> 16:58:41,811 INFO  [FacesConfigurator] Reading standard config
> org/apache/myfaces/resource/standard-faces-config.xml
> 16:58:41,985 INFO  [FacesConfigurator] Reading config
> jar:file:/opt/dev/tools/geronimo-1.1-SNAPSHOT/repository/default/demo/1147129117488/demo-1147129117488.war/WEB-INF/lib/tomahawk.jar!/META-INF/faces-config.xml 
>
> 16:58:42,017 INFO  [FacesConfigurator] Reading config 
> /WEB-INF/faces-config.xml
> 16:58:42,875 INFO  [HtmlRenderKitImpl] Overwriting renderer with
> family = javax.faces.Output rendererType = javax.faces.Label renderer
> class = com.sun.webapp.action.LabelRenderer
> 16:58:42,897 INFO  [StartupServletContextListener] ServletContext
> '/opt/dev/Tools/geronimo-1.1-SNAPSHOT/repository/default/demo/1147129117488/demo-1147129117488.war/' 
>
> initialized.
> 16:58:42,983 ERROR [StandardContext] Error listenerStart
> 16:58:42,983 ERROR [StandardContext] Context [/demo] startup failed
> due to previous errors
> 16:58:43,024 WARN  [TomcatWebAppContext] TomcatWebAppContext failed
> 16:58:43,025 ERROR [GBeanInstanceState] Error while starting; GBean is
> now in the FAILED state:
> abstractName="default/demo/1147129117488/war?J2EEApplication=null,j2eeType=WebModule,name=default/demo/1147129117488/war" 
>
> java.lang.NullPointerException
>     at java.util.Hashtable.put(Hashtable.java:393)
>     at 
> org.apache.naming.resources.DirContextURLStreamHandler.bind(DirContextURLStreamHandler.java:233) 
>
>     at 
> org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:453) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540) 
>
>     at 
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379) 
>
>     at 
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374) 
>
>     at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:174) 
>
>     at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:505) 
>
>     at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:486) 
>
>     at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>) 
>
>     at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>     at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817) 
>
>     at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>     at 
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) 
>
>     at 
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) 
>
>     at 
> org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$31011421.startConfiguration(<generated>) 
>
>     at 
> org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:66) 
>
>     at java.lang.Thread.run(Thread.java:552)
> org.apache.geronimo.kernel.config.LifecycleException: start of
> default/demo/1147129117488/war failed
>     at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:522) 
>
>     at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:486) 
>
>     at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>) 
>
>     at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>     at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817) 
>
>     at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>     at 
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) 
>
>     at 
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) 
>
>     at 
> org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$31011421.startConfiguration(<generated>) 
>
>     at 
> org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:66) 
>
>     at java.lang.Thread.run(Thread.java:552)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
> Unknown start exception
>     at 
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:440) 
>
>     at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:174) 
>
>     at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:505) 
>
>     ... 12 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
> Configuration default/demo/1147129117488/war failed to start due to
> the following reasons:
>  The service 
> J2EEApplication=null,j2eeType=WebModule,name=default/demo/1147129117488/war 
>
> did not start because the doStart method threw an exception.
> java.lang.NullPointerException
>     at java.util.Hashtable.put(Hashtable.java:393)
>     at 
> org.apache.naming.resources.DirContextURLStreamHandler.bind(DirContextURLStreamHandler.java:233) 
>
>     at 
> org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:453) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540) 
>
>     at 
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379) 
>
>     at 
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374) 
>
>     at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:174) 
>
>     at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:505) 
>
>     at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:486) 
>
>     at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>) 
>
>     at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>     at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122) 
>
>     at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817) 
>
>     at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>     at 
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) 
>
>     at 
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) 
>
>     at 
> org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$31011421.startConfiguration(<generated>) 
>
>     at 
> org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:66) 
>
>     at java.lang.Thread.run(Thread.java:552)
>
>
>     at 
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:403) 
>
>     ... 14 more
> 16:58:43,094 WARN  [Hot Deployer] Unable to start some modules for
> /opt/dev/tools/geronimo-1.1-SNAPSHOT/deploy/demo.war
>
> Server shutdown begun
> Server shutdown completed
>
>

Re: AppFuse on Geronimo 1.1

Posted by Aaron Mulder <am...@alumni.princeton.edu>.
On 5/8/06, Matt Raible <mr...@gmail.com> wrote:
> I'm trying to run AppFuse on a nightly build of Geronimo 1.1.  It
> worked fine on 1.0 when I included the following geronimo-web.xml:

The syntax for this part of the file has changed:

<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.0"
configId="appfuse">
   <hidden-classes><filter>org.springframework</filter></hidden-classes>
   <hidden-classes><filter>antlr</filter></hidden-classes>

I don't have time to give you back the correct version now, but the
old "configId" and the hidden-classes now go in a new environment
element.  There's a scheme for this in the file
geronimo-module-1.1.xsd.

I should mention that some significant changes related to this stuff
went in today (renaming configId to moduleId, etc.), so you'll
definitely want to update to a build based on this evening's code.

Thanks,
    Aaron

>
> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.0"
> configId="appfuse">
>     <hidden-classes><filter>org.springframework</filter></hidden-classes>
>     <hidden-classes><filter>antlr</filter></hidden-classes>
>     <context-root>/appfuse</context-root>
>     <context-priority-classloader>false</context-priority-classloader>
> </web-app>
>
> However, Geronimo 1.1 blows up when I include the above file in my
> WAR.  So I removed it and tried it with nothing.  From the log and
> stack trace below, it looks like there might be some issues with
> EhCache or Hibernate.  Any ideas?
>
> I'm running this on OS X (Intel).
>
> Thanks,
>
> Matt
>
> Booting Geronimo Kernel (in Java 1.4.2_09)...
> Configuration  1/20 geronimo/rmi-naming/1.1-SNAPSHOT/car
> started in   0s
> Configuration  2/20 geronimo/j2ee-server/1.1-SNAPSHOT/car
> started in   0s
> Configuration  3/20 geronimo/j2ee-security/1.1-SNAPSHOT/car
> started in   0s
> Configuration  4/20 geronimo/axis/1.1-SNAPSHOT/car
> started in   0s
> Configuration  5/20 geronimo/openejb/1.1-SNAPSHOT/car
> started in   0s
> Configuration  6/20 geronimo/system-database/1.1-SNAPSHOT/car
> started in   1s
> Configuration  7/20 geronimo/activemq-broker/1.1-SNAPSHOT/car
> started in   1s
> Configuration  8/20 geronimo/activemq/1.1-SNAPSHOT/car
> started in   0s
> Configuration  9/20 geronimo/tomcat/1.1-SNAPSHOT/car
> started in   2s
> Configuration 10/20 geronimo/geronimo-gbean-deployer/1.1-SNAPSHOT/car
> started in   0s
> Configuration 11/20 geronimo/j2ee-deployer/1.1-SNAPSHOT/car
> started in   0s
> Configuration 12/20 geronimo/openejb-deployer/1.1-SNAPSHOT/car
> started in   0s
> Configuration 13/20 geronimo/client-deployer/1.1-SNAPSHOT/car
> started in   0s
> Configuration 14/20 geronimo/axis-deployer/1.1-SNAPSHOT/car
> started in   0s
> Configuration 15/20 geronimo/sharedlib/1.1-SNAPSHOT/car
> started in   0s
> Configuration 16/20 geronimo/tomcat-deployer/1.1-SNAPSHOT/car
> started in   0s
> Configuration 17/20 geronimo/welcome-tomcat/1.1-SNAPSHOT/car
> started in   0s
> Configuration 18/20 geronimo/webconsole-tomcat/1.1-SNAPSHOT/car
> started in   1s
> Configuration 19/20 geronimo/remote-deploy-tomcat/1.1-SNAPSHOT/car
> started in   0s
> Configuration 20/20 geronimo/hot-deployer/1.1-SNAPSHOT/car
> started in   0s
> Startup completed in 11 seconds
>   Listening on Ports:
>     1099 0.0.0.0   RMI Naming
>     1527 0.0.0.0   Derby Connector
>     4201 0.0.0.0   ActiveIO Connector EJB
>     4242 127.0.0.1 Remote Login Listener
>     8009 0.0.0.0   Tomcat Connector AJP
>     8080 0.0.0.0   Tomcat Connector HTTP
>     8443 0.0.0.0   Tomcat Connector HTTPS
>     9999 0.0.0.0   JMX Remoting Connector
>    61616 0.0.0.0   ActiveMQ Message Broker Connector
>
>   Started Application Modules:
>     EAR: geronimo/webconsole-tomcat/1.1-SNAPSHOT/car
>     RAR: geronimo/activemq/1.1-SNAPSHOT/car
>     RAR: geronimo/system-database/1.1-SNAPSHOT/car
>     WAR: geronimo/remote-deploy-tomcat/1.1-SNAPSHOT/car
>     WAR: geronimo/welcome-tomcat/1.1-SNAPSHOT/car
>
>   Web Applications:
>     http://alotta.local:8080/
>     http://alotta.local:8080/console
>     http://alotta.local:8080/console-standard
>     http://alotta.local:8080/remote-deploy
>
> Geronimo Application Server started
> 16:58:33,327 ERROR [DirectoryMonitor] Unable to scan file
> /opt/dev/tools/geronimo-1.1-SNAPSHOT/deploy/demo.war during
> initialization
> java.lang.IllegalArgumentException: Invalid id: demo
>         at org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:49)
>         at org.apache.geronimo.deployment.plugin.ConfigIDExtractor.identifyTargetModuleIDs(ConfigIDExtractor.java:168)
>         at org.apache.geronimo.deployment.hot.DirectoryHotDeployer.isFileDeployed(DirectoryHotDeployer.java:166)
>         at org.apache.geronimo.deployment.hot.DirectoryMonitor.initialize(DirectoryMonitor.java:191)
>         at org.apache.geronimo.deployment.hot.DirectoryMonitor.run(DirectoryMonitor.java:169)
>         at java.lang.Thread.run(Thread.java:552)
> 16:58:37,331 INFO  [Hot Deployer] Deploying demo.war
> 16:58:37,838 WARN  [TomcatModuleBuilder] Web application . does not
> contain a WEB-INF/geronimo-web.xml deployment plan.  This may or may
> not be a problem, depending on whether you have things like resource
> references that need to be resolved.  You can also give the deployer a
> separate deployment plan file on the command line.
> 16:58:39,284 INFO  [ContextLoader] Root WebApplicationContext:
> initialization started
> 16:58:39,323 INFO  [CollectionFactory] JDK 1.4+ collections available
> 16:58:39,336 INFO  [CollectionFactory] Commons Collections 3.x available
> 16:58:39,354 INFO  [XmlBeanDefinitionReader] Loading XML bean
> definitions from ServletContext resource
> [/WEB-INF/applicationContext-resources.xml]
> 16:58:39,408 INFO  [XmlBeanDefinitionReader] Loading XML bean
> definitions from ServletContext resource
> [/WEB-INF/applicationContext-security.xml]
> 16:58:39,585 INFO  [XmlBeanDefinitionReader] Loading XML bean
> definitions from ServletContext resource
> [/WEB-INF/applicationContext-hibernate.xml]
> 16:58:39,639 INFO  [XmlBeanDefinitionReader] Loading XML bean
> definitions from ServletContext resource
> [/WEB-INF/applicationContext-service.xml]
> 16:58:39,661 INFO  [DefaultListableBeanFactory] Overriding bean
> definition for bean 'userManager': replacing [Child bean with parent
> 'txProxyTemplate': class [null]; abstract=false; singleton=true;
> lazyInit=false; autowire=0; dependencyCheck=0; factoryBeanName=null;
> factoryMethodName=null; initMethodName=null; destroyMethodName=null;
> defined in ServletContext resource
> [/WEB-INF/applicationContext-security.xml]] with [Child bean with
> parent 'txProxyTemplate': class [null]; abstract=false;
> singleton=true; lazyInit=false; autowire=0; dependencyCheck=0;
> factoryBeanName=null; factoryMethodName=null; initMethodName=null;
> destroyMethodName=null; defined in ServletContext resource
> [/WEB-INF/applicationContext-service.xml]]
> 16:58:39,700 INFO  [XmlWebApplicationContext] Bean factory for
> application context [Root WebApplicationContext]:
> org.springframework.beans.factory.support.DefaultListableBeanFactory
> defining beans [propertyConfigurer,dataSource,filterChainProxy,filterInvocationInterceptor,authenticationManager,loggerListener,daoAuthenticationProvider,passwordEncoder,anonymousAuthenticationProvider,roleVoter,accessDecisionManager,httpSessionContextIntegrationFilter,authenticationProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,remoteUserFilter,authenticationProcessingFilterEntryPoint,userManager,userManagerSecurity,rememberMeProcessingFilter,rememberMeServices,rememberMeAuthenticationProvider,channelProcessingFilter,channelDecisionManager,sessionFactory,transactionManager,dao,lookupDao,userDao,roleDao,lookupManager,txProxyTemplate,manager,userSecurityInterceptor,userSecurityAdvice,userCache,roleManager,mailEngine,mailSender,velocityEngine,mailMessage];
> root of BeanFactory hierarchy
> 16:58:39,709 INFO  [XmlWebApplicationContext] 41 beans defined in
> application context [Root WebApplicationContext]
> 16:58:39,762 INFO  [PropertyPlaceholderConfigurer] Loading properties
> file from class path resource [mail.properties]
> 16:58:39,768 INFO  [XmlWebApplicationContext] Unable to locate
> MessageSource with name 'messageSource': using default
> [org.springframework.context.support.DelegatingMessageSource@6b9215]
> 16:58:39,770 INFO  [XmlWebApplicationContext] Unable to locate
> ApplicationEventMulticaster with name 'applicationEventMulticaster':
> using default [org.springframework.context.event.SimpleApplicationEventMulticaster@131259]
> 16:58:39,777 INFO  [UiApplicationContextUtils] Unable to locate
> ThemeSource with name 'themeSource': using default
> [org.springframework.ui.context.support.ResourceBundleThemeSource@3b4da3]
> 16:58:39,783 INFO  [DefaultListableBeanFactory] Pre-instantiating
> singletons in factory
> [org.springframework.beans.factory.support.DefaultListableBeanFactory
> defining beans [propertyConfigurer,dataSource,filterChainProxy,filterInvocationInterceptor,authenticationManager,loggerListener,daoAuthenticationProvider,passwordEncoder,anonymousAuthenticationProvider,roleVoter,accessDecisionManager,httpSessionContextIntegrationFilter,authenticationProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,remoteUserFilter,authenticationProcessingFilterEntryPoint,userManager,userManagerSecurity,rememberMeProcessingFilter,rememberMeServices,rememberMeAuthenticationProvider,channelProcessingFilter,channelDecisionManager,sessionFactory,transactionManager,dao,lookupDao,userDao,roleDao,lookupManager,txProxyTemplate,manager,userSecurityInterceptor,userSecurityAdvice,userCache,roleManager,mailEngine,mailSender,velocityEngine,mailMessage];
> root of BeanFactory hierarchy]
> 16:58:39,986 INFO  [Environment] Hibernate 3.1.3
> 16:58:39,994 INFO  [Environment] hibernate.properties not found
> 16:58:39,996 INFO  [Environment] using CGLIB reflection optimizer
> 16:58:39,997 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
> 16:58:40,718 INFO  [HbmBinder] Mapping class: com.sun.model.Role -> role
> 16:58:40,799 INFO  [HbmBinder] Mapping class: com.sun.model.User -> app_user
> 16:58:40,808 INFO  [HbmBinder] Mapping collection:
> com.sun.model.User.roles -> user_role
> 16:58:40,813 INFO  [LocalSessionFactoryBean] Building new Hibernate
> SessionFactory
> 16:58:41,111 INFO  [ConnectionProviderFactory] Initializing connection
> provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
> AbandonedObjectPool is used (org.apache.commons.dbcp.AbandonedObjectPool@4ff64d)
>    LogAbandoned: false
>    RemoveAbandoned: true
>    RemoveAbandonedTimeout: 60
> 16:58:41,465 INFO  [SettingsFactory] RDBMS: MySQL, version: 5.0.20a-standard
> 16:58:41,466 INFO  [SettingsFactory] JDBC driver: MySQL-AB JDBC
> Driver, version: mysql-connector-java-3.1.12 ( $Date: 2005-11-17
> 15:53:48 +0100 (Thu, 17 Nov 2005) $, $Revision$ )
> 16:58:41,517 INFO  [Dialect] Using dialect:
> org.hibernate.dialect.MySQLInnoDBDialect
> 16:58:41,528 INFO  [TransactionFactoryFactory] Using default
> transaction strategy (direct JDBC transactions)
> 16:58:41,533 INFO  [TransactionManagerLookupFactory] No
> TransactionManagerLookup configured (in JTA environment, use of
> read-write or transactional second-level cache is not recommended)
> 16:58:41,533 INFO  [SettingsFactory] Automatic flush during
> beforeCompletion(): disabled
> 16:58:41,533 INFO  [SettingsFactory] Automatic session close at end of
> transaction: disabled
> 16:58:41,533 INFO  [SettingsFactory] JDBC batch size: 15
> 16:58:41,533 INFO  [SettingsFactory] JDBC batch updates for versioned
> data: disabled
> 16:58:41,535 INFO  [SettingsFactory] Scrollable result sets: enabled
> 16:58:41,535 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
> 16:58:41,535 INFO  [SettingsFactory] Connection release mode: on_close
> 16:58:41,535 INFO  [SettingsFactory] Maximum outer join fetch depth: 2
> 16:58:41,536 INFO  [SettingsFactory] Default batch fetch size: 1
> 16:58:41,536 INFO  [SettingsFactory] Generate SQL with comments: disabled
> 16:58:41,536 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
> 16:58:41,536 INFO  [SettingsFactory] Query translator:
> org.hibernate.hql.ast.ASTQueryTranslatorFactory
> 16:58:41,542 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
> 16:58:41,543 INFO  [SettingsFactory] Query language substitutions: {}
> 16:58:41,543 INFO  [SettingsFactory] Second-level cache: enabled
> 16:58:41,543 INFO  [SettingsFactory] Query cache: disabled
> 16:58:41,543 INFO  [SettingsFactory] Cache provider:
> org.hibernate.cache.EhCacheProvider
> 16:58:41,548 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
> 16:58:41,548 INFO  [SettingsFactory] Structured second-level cache
> entries: disabled
> 16:58:41,563 INFO  [SettingsFactory] Statistics: disabled
> 16:58:41,563 INFO  [SettingsFactory] Deleted entity synthetic
> identifier rollback: disabled
> 16:58:41,563 INFO  [SettingsFactory] Default entity-mode: pojo
> 16:58:41,616 INFO  [SessionFactoryImpl] building session factory
> 16:58:41,631 INFO  [DefaultListableBeanFactory] Destroying singletons
> in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory
> defining beans [propertyConfigurer,dataSource,filterChainProxy,filterInvocationInterceptor,authenticationManager,loggerListener,daoAuthenticationProvider,passwordEncoder,anonymousAuthenticationProvider,roleVoter,accessDecisionManager,httpSessionContextIntegrationFilter,authenticationProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,remoteUserFilter,authenticationProcessingFilterEntryPoint,userManager,userManagerSecurity,rememberMeProcessingFilter,rememberMeServices,rememberMeAuthenticationProvider,channelProcessingFilter,channelDecisionManager,sessionFactory,transactionManager,dao,lookupDao,userDao,roleDao,lookupManager,txProxyTemplate,manager,userSecurityInterceptor,userSecurityAdvice,userCache,roleManager,mailEngine,mailSender,velocityEngine,mailMessage];
> root of BeanFactory hierarchy}
> 16:58:41,631 ERROR [ContextLoader] Context initialization failed
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'filterInvocationInterceptor' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'authenticationManager' while setting
> bean property 'authenticationManager'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'authenticationManager' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'daoAuthenticationProvider' while
> setting bean property 'providers' with key [0]; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'daoAuthenticationProvider' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'userDao' while setting bean property
> 'userDetailsService'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'userDao' defined in ServletContext resource
> [/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
> to bean 'sessionFactory' while setting bean property 'sessionFactory';
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in ServletContext
> resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
> of bean failed; nested exception is
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'authenticationManager' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'daoAuthenticationProvider' while
> setting bean property 'providers' with key [0]; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'daoAuthenticationProvider' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'userDao' while setting bean property
> 'userDetailsService'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'userDao' defined in ServletContext resource
> [/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
> to bean 'sessionFactory' while setting bean property 'sessionFactory';
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in ServletContext
> resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
> of bean failed; nested exception is
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'daoAuthenticationProvider' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'userDao' while setting bean property
> 'userDetailsService'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'userDao' defined in ServletContext resource
> [/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
> to bean 'sessionFactory' while setting bean property 'sessionFactory';
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in ServletContext
> resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
> of bean failed; nested exception is
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'userDao' defined in ServletContext resource
> [/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
> to bean 'sessionFactory' while setting bean property 'sessionFactory';
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in ServletContext
> resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
> of bean failed; nested exception is
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in ServletContext
> resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
> of bean failed; nested exception is
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
>         at org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:134)
>         at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:173)
>         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)
>         at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:825)
>         at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:751)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1091)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:396)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
>         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186)
>         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
>         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186)
>         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
>         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186)
>         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
>         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:202)
>         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
>         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186)
>         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:283)
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313)
>         at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:139)
>         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
>         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
>         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
>         at com.sun.webapp.listener.StartupListener.contextInitialized(StartupListener.java:50)
>         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3727)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4162)
>         at org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:67)
>         at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:331)
>         at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
>         at org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:186)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>         at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:313)
>         at org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>         at org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$4ab666a8.addContext(<generated>)
>         at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:448)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
>         at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:174)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:505)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:486)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>         at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$31011421.startConfiguration(<generated>)
>         at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:66)
>         at java.lang.Thread.run(Thread.java:552)
> Caused by: net.sf.ehcache.CacheException: Cannot configure
> CacheManager: error in opening zip file
>         at net.sf.ehcache.CacheManager.configure(CacheManager.java:170)
>         at net.sf.ehcache.CacheManager.<init>(CacheManager.java:138)
>         at net.sf.ehcache.CacheManager.create(CacheManager.java:193)
>         at org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:130)
>         ... 86 more
> 16:58:41,639 ERROR [[/demo]] Exception sending context initialized
> event to listener instance of class
> com.sun.webapp.listener.StartupListener
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'filterInvocationInterceptor' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'authenticationManager' while setting
> bean property 'authenticationManager'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'authenticationManager' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'daoAuthenticationProvider' while
> setting bean property 'providers' with key [0]; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'daoAuthenticationProvider' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'userDao' while setting bean property
> 'userDetailsService'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'userDao' defined in ServletContext resource
> [/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
> to bean 'sessionFactory' while setting bean property 'sessionFactory';
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in ServletContext
> resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
> of bean failed; nested exception is
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'authenticationManager' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'daoAuthenticationProvider' while
> setting bean property 'providers' with key [0]; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'daoAuthenticationProvider' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'userDao' while setting bean property
> 'userDetailsService'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'userDao' defined in ServletContext resource
> [/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
> to bean 'sessionFactory' while setting bean property 'sessionFactory';
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in ServletContext
> resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
> of bean failed; nested exception is
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'daoAuthenticationProvider' defined in
> ServletContext resource [/WEB-INF/applicationContext-security.xml]:
> Cannot resolve reference to bean 'userDao' while setting bean property
> 'userDetailsService'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'userDao' defined in ServletContext resource
> [/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
> to bean 'sessionFactory' while setting bean property 'sessionFactory';
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in ServletContext
> resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
> of bean failed; nested exception is
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'userDao' defined in ServletContext resource
> [/WEB-INF/applicationContext-hibernate.xml]: Cannot resolve reference
> to bean 'sessionFactory' while setting bean property 'sessionFactory';
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in ServletContext
> resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
> of bean failed; nested exception is
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in ServletContext
> resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization
> of bean failed; nested exception is
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
> org.hibernate.cache.CacheException: net.sf.ehcache.CacheException:
> Cannot configure CacheManager: error in opening zip file
>         at org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:134)
>         at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:173)
>         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)
>         at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:825)
>         at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:751)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1091)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:396)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
>         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186)
>         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
>         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186)
>         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
>         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186)
>         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
>         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:202)
>         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
>         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186)
>         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:283)
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313)
>         at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:139)
>         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
>         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
>         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
>         at com.sun.webapp.listener.StartupListener.contextInitialized(StartupListener.java:50)
>         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3727)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4162)
>         at org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:67)
>         at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:331)
>         at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
>         at org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:186)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>         at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:313)
>         at org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>         at org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$4ab666a8.addContext(<generated>)
>         at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:448)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
>         at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:174)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:505)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:486)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>         at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$31011421.startConfiguration(<generated>)
>         at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:66)
>         at java.lang.Thread.run(Thread.java:552)
> Caused by: net.sf.ehcache.CacheException: Cannot configure
> CacheManager: error in opening zip file
>         at net.sf.ehcache.CacheManager.configure(CacheManager.java:170)
>         at net.sf.ehcache.CacheManager.<init>(CacheManager.java:138)
>         at net.sf.ehcache.CacheManager.create(CacheManager.java:193)
>         at org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:130)
>         ... 86 more
> 16:58:41,811 INFO  [FacesConfigurator] Reading standard config
> org/apache/myfaces/resource/standard-faces-config.xml
> 16:58:41,985 INFO  [FacesConfigurator] Reading config
> jar:file:/opt/dev/tools/geronimo-1.1-SNAPSHOT/repository/default/demo/1147129117488/demo-1147129117488.war/WEB-INF/lib/tomahawk.jar!/META-INF/faces-config.xml
> 16:58:42,017 INFO  [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
> 16:58:42,875 INFO  [HtmlRenderKitImpl] Overwriting renderer with
> family = javax.faces.Output rendererType = javax.faces.Label renderer
> class = com.sun.webapp.action.LabelRenderer
> 16:58:42,897 INFO  [StartupServletContextListener] ServletContext
> '/opt/dev/Tools/geronimo-1.1-SNAPSHOT/repository/default/demo/1147129117488/demo-1147129117488.war/'
> initialized.
> 16:58:42,983 ERROR [StandardContext] Error listenerStart
> 16:58:42,983 ERROR [StandardContext] Context [/demo] startup failed
> due to previous errors
> 16:58:43,024 WARN  [TomcatWebAppContext] TomcatWebAppContext failed
> 16:58:43,025 ERROR [GBeanInstanceState] Error while starting; GBean is
> now in the FAILED state:
> abstractName="default/demo/1147129117488/war?J2EEApplication=null,j2eeType=WebModule,name=default/demo/1147129117488/war"
> java.lang.NullPointerException
>         at java.util.Hashtable.put(Hashtable.java:393)
>         at org.apache.naming.resources.DirContextURLStreamHandler.bind(DirContextURLStreamHandler.java:233)
>         at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:453)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
>         at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:174)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:505)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:486)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>         at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$31011421.startConfiguration(<generated>)
>         at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:66)
>         at java.lang.Thread.run(Thread.java:552)
> org.apache.geronimo.kernel.config.LifecycleException: start of
> default/demo/1147129117488/war failed
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:522)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:486)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>         at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$31011421.startConfiguration(<generated>)
>         at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:66)
>         at java.lang.Thread.run(Thread.java:552)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
> Unknown start exception
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:440)
>         at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:174)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:505)
>         ... 12 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
> Configuration default/demo/1147129117488/war failed to start due to
> the following reasons:
>   The service J2EEApplication=null,j2eeType=WebModule,name=default/demo/1147129117488/war
> did not start because the doStart method threw an exception.
> java.lang.NullPointerException
>         at java.util.Hashtable.put(Hashtable.java:393)
>         at org.apache.naming.resources.DirContextURLStreamHandler.bind(DirContextURLStreamHandler.java:233)
>         at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:453)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
>         at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:174)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:505)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:486)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>         at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$31011421.startConfiguration(<generated>)
>         at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:66)
>         at java.lang.Thread.run(Thread.java:552)
>
>
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:403)
>         ... 14 more
> 16:58:43,094 WARN  [Hot Deployer] Unable to start some modules for
> /opt/dev/tools/geronimo-1.1-SNAPSHOT/deploy/demo.war
>
> Server shutdown begun
> Server shutdown completed
>