Menu

Problem starting xplanner webapp

2007-10-13
2013-04-17
  • Arnaud Bailly

    Arnaud Bailly - 2007-10-13

    Hello,
    I am trying to install xplanner-0.7b7. I followed instruction on the README.TXT and got the following errors at web app startup:
    My config is: jdk 1.6.0-b105, linux Ubuntu Feisty 7.04, jetty 6.0.0beta17

    :INFO:  Extract jar:file:/old/home/nono/soft/jetty-6.0.0beta17/webapps/xplanner.war!/ to /tmp/Jetty__xplanner/webapp
    log4j:ERROR setFile(null,true) call failed.
    java.io.FileNotFoundException: /xplannerActivity.log (Permission denied)
            at java.io.FileOutputStream.openAppend(Native Method)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
            at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
            at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:165)
            at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
            at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
            at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220)
            at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:150)
            at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163)
            at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:425)
            at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:345)
            at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:827)
            at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)
            at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)
            at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468)
            at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)
            at org.apache.log4j.Logger.getLogger(Logger.java:104)
            at com.technoetic.xplanner.util.LogUtil.getLogger(LogUtil.java:31)
            at com.technoetic.xplanner.filters.HsqldbServerContextListener.<clinit>(HsqldbServerContextListener.java:25)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            at java.lang.Class.newInstance0(Class.java:355)
            at java.lang.Class.newInstance(Class.java:308)
            at org.mortbay.jetty.webapp.WebXmlConfiguration.initListener(WebXmlConfiguration.java:547)
            at org.mortbay.jetty.webapp.WebXmlConfiguration.initWebXmlElement(WebXmlConfiguration.java:326)
            at org.mortbay.jetty.webapp.WebXmlConfiguration.initialize(WebXmlConfiguration.java:248)
            at org.mortbay.jetty.webapp.WebXmlConfiguration.configure(WebXmlConfiguration.java:193)
            at org.mortbay.jetty.webapp.WebXmlConfiguration.configureWebApp(WebXmlConfiguration.java:179)
            at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:984)
            at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:365)
            at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:373)
            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
            at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:159)
            at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:118)
            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
            at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:159)
            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
            at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:97)
            at org.mortbay.jetty.Server.doStart(Server.java:194)
            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
            at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:900)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.mortbay.start.Main.invokeMain(Main.java:184)
            at org.mortbay.start.Main.start(Main.java:508)
            at org.mortbay.start.Main.main(Main.java:116)
    /xplanner:INFO:  Set web app root system property: 'xplanner.root' = [/tmp/Jetty__xplanner/webapp/]
    /xplanner:INFO:  Initializing Log4J from [classpath:log4j.xml]
    [      0]   INFO - work.web.context.ContextLoader - Root WebApplicationContext: initialization started
    /xplanner:INFO:  Loading Spring root WebApplicationContext
    [     51]   INFO - ry.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [spring-beans.xml]
    [     92]   INFO - ry.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [spring-caching.xml]
    [    127]   INFO - ry.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [spring-security.xml]
    [    220]   INFO - amework.core.CollectionFactory - Commons Collections 3.x available
    [    329]   INFO - pport.XmlWebApplicationContext - Bean factory for application context [Root WebApplicationContext]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [resultByArgsByMethodName,permissionCacheAdvisor,personPermissionCacheAdvisor,invalidateCacheAfterLogoutAdvisor,invalidateCacheAfterPermissionChangedAdvisor,authenticator,loginModuleLoader,loginContext,com.technoetic.xplanner.security.module.jaas.JaasLoginModuleAdapterFactory,com.technoetic.xplanner.security.module.ntlm.NtlmLoginModule,ntlmModuleHelper,com.technoetic.xplanner.security.module.jndi.JNDILoginModule,jndiAuthenticator,com.technoetic.xplanner.security.module.XPlannerLoginModule,loginSupport,authorizerInitializer,authorizer,authorizerQueryHelper,principalSpecificPermissionHelper,properties,propertyConfigurer,domainSpecificPropertiesFactory,sessionFactory,transactionManager,springTransactionTemplate,transactionTemplate,objectRepositoryFactory,secureObjectRepositoryFactory,metaRepository,roleRepository,roleAssociationRepository,metaDataRepository,iterationMetrics,iterationLoader,storyContinuer,storyRepository,taskContinuer,taskRepository,taskQueryHelper,taskQuery,editPersonHelper,domainObjectWikiLinkFormatter,searchContentQuery,searchResultFactory,contentSearchHelper,com.technoetic.xplanner.importer.spreadsheet.Spreadsheet,com.technoetic.xplanner.importer.SpreadsheetStoryFactory,com.technoetic.xplanner.importer.spreadsheet.SpreadsheetStoryReader,com.technoetic.xplanner.importer.SpreadsheetStoryImporter,xmlExporter,mpxExporter,pdfExporter,reportExporter,systemInfo,timeGenerator,com.technoetic.xplanner.importer.util.IOStreamFactory,velocityEngine,httpClient,virtualFileSystem,emailFormatter,emailMessageFactory,emailNotificationSupport,missingTimeEntryNotifier,dataSampler,dataSamplingCommand,txDataSamplingCommand,txDataSampler,datasamplingJob,emailnotificationJob,datasamplingTrigger,emailnotificationTrigger,scheduler]; root of BeanFactory hierarchy
    [    334]   INFO - pport.XmlWebApplicationContext - 72 beans defined in application context [Root WebApplicationContext]
    [    478]   INFO - pport.XmlWebApplicationContext - Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@1e5ba24]
    [    479]   INFO - pport.XmlWebApplicationContext - Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@29d75]
    [    481]   INFO - port.UiApplicationContextUtils - Unable to locate ThemeSource with name 'themeSource': using default [org.springframework.ui.context.support.ResourceBundleThemeSource@537935]
    [    482]   INFO - ort.DefaultListableBeanFactory - Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [resultByArgsByMethodName,permissionCacheAdvisor,personPermissionCacheAdvisor,invalidateCacheAfterLogoutAdvisor,invalidateCacheAfterPermissionChangedAdvisor,authenticator,loginModuleLoader,loginContext,com.technoetic.xplanner.security.module.jaas.JaasLoginModuleAdapterFactory,com.technoetic.xplanner.security.module.ntlm.NtlmLoginModule,ntlmModuleHelper,com.technoetic.xplanner.security.module.jndi.JNDILoginModule,jndiAuthenticator,com.technoetic.xplanner.security.module.XPlannerLoginModule,loginSupport,authorizerInitializer,authorizer,authorizerQueryHelper,principalSpecificPermissionHelper,properties,propertyConfigurer,domainSpecificPropertiesFactory,sessionFactory,transactionManager,springTransactionTemplate,transactionTemplate,objectRepositoryFactory,secureObjectRepositoryFactory,metaRepository,roleRepository,roleAssociationRepository,metaDataRepository,iterationMetrics,iterationLoader,storyContinuer,storyRepository,taskContinuer,taskRepository,taskQueryHelper,taskQuery,editPersonHelper,domainObjectWikiLinkFormatter,searchContentQuery,searchResultFactory,contentSearchHelper,com.technoetic.xplanner.importer.spreadsheet.Spreadsheet,com.technoetic.xplanner.importer.SpreadsheetStoryFactory,com.technoetic.xplanner.importer.spreadsheet.SpreadsheetStoryReader,com.technoetic.xplanner.importer.SpreadsheetStoryImporter,xmlExporter,mpxExporter,pdfExporter,reportExporter,systemInfo,timeGenerator,com.technoetic.xplanner.importer.util.IOStreamFactory,velocityEngine,httpClient,virtualFileSystem,emailFormatter,emailMessageFactory,emailNotificationSupport,missingTimeEntryNotifier,dataSampler,dataSamplingCommand,txDataSamplingCommand,txDataSampler,datasamplingJob,emailnotificationJob,datasamplingTrigger,emailnotificationTrigger,scheduler]; root of BeanFactory hierarchy]
    [    592]   INFO - amework.DefaultAopProxyFactory - CGLIB2 available: proxyTargetClass feature enabled
    [    737]   INFO - t.sf.hibernate.cfg.Environment - Hibernate 2.1.8
    [    737]   INFO - t.sf.hibernate.cfg.Environment - hibernate.properties not found
    [    738]   INFO - t.sf.hibernate.cfg.Environment - using CGLIB reflection optimizer
    [    740]   INFO - t.sf.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
    [    907]   INFO -    net.sf.hibernate.cfg.Binder - Mapping class: com.technoetic.xplanner.domain.Attribute -> attribute
    [   1003]   INFO -    net.sf.hibernate.cfg.Binder - Mapping class: com.technoetic.xplanner.security.auth.Permission -> permission
    [   1015]   INFO -    net.sf.hibernate.cfg.Binder - Mapping class: com.technoetic.xplanner.domain.RoleAssociation -> person_role
    [   1044]   INFO -    net.sf.hibernate.cfg.Binder - Mapping class: com.technoetic.xplanner.charts.DataSample -> datasample
    [   1064]   INFO -    net.sf.hibernate.cfg.Binder - Mapping class: com.technoetic.xplanner.domain.Project -> project
    [   1081]   INFO -    net.sf.hibernate.cfg.Binder - Mapping collection: com.technoetic.xplanner.domain.Project.notificationReceivers -> notification_receivers
    [   1083]   INFO -    net.sf.hibernate.cfg.Binder - Mapping collection: com.technoetic.xplanner.domain.Project.attributes -> attribute
    [   1098]   INFO -    net.sf.hibernate.cfg.Binder - Mapping class: com.technoetic.xplanner.domain.Iteration -> iteration
    [   1103]   INFO -    net.sf.hibernate.cfg.Binder - Mapping collection: com.technoetic.xplanner.domain.Iteration.attributes -> attribute
    [   1124]   INFO -    net.sf.hibernate.cfg.Binder - Mapping class: com.technoetic.xplanner.domain.UserStory -> story
    [   1144]   INFO -    net.sf.hibernate.cfg.Binder - Mapping collection: com.technoetic.xplanner.domain.UserStory.attributes -> attribute
    [   1174]   INFO -    net.sf.hibernate.cfg.Binder - Mapping class: com.technoetic.xplanner.domain.Task -> task
    [   1177]   INFO -    net.sf.hibernate.cfg.Binder - Mapping collection: com.technoetic.xplanner.domain.Task.attributes -> attribute
    [   1189]   INFO -    net.sf.hibernate.cfg.Binder - Mapping class: com.technoetic.xplanner.domain.TimeEntry -> time_entry
    [   1212]   INFO -    net.sf.hibernate.cfg.Binder - Mapping class: com.technoetic.xplanner.domain.Integration -> integration
    [   1212]   INFO -    net.sf.hibernate.cfg.Binder - Mapping collection: com.technoetic.xplanner.domain.Integration.attributes -> attribute
    [   1226]   INFO -    net.sf.hibernate.cfg.Binder - Mapping class: com.technoetic.xplanner.domain.Note -> note
    [   1235]   INFO -    net.sf.hibernate.cfg.Binder - Mapping collection: com.technoetic.xplanner.domain.Note.attributes -> attribute
    [   1250]   INFO -    net.sf.hibernate.cfg.Binder - Mapping class: com.technoetic.xplanner.domain.Role -> role
    [   1267]   INFO -    net.sf.hibernate.cfg.Binder - Mapping class: com.technoetic.xplanner.domain.Person -> person
    [   1268]   INFO -    net.sf.hibernate.cfg.Binder - Mapping collection: com.technoetic.xplanner.domain.Person.attributes -> attribute
    [   1280]   INFO -    net.sf.hibernate.cfg.Binder - Mapping class: com.technoetic.xplanner.history.HistoricalEvent -> history
    [   1296]   INFO -    net.sf.hibernate.cfg.Binder - Mapping class: com.technoetic.xplanner.file.File -> xfile
    [   1313]   INFO -    net.sf.hibernate.cfg.Binder - Mapping class: com.technoetic.xplanner.file.Directory -> xdir
    [   1345]   INFO - sf.hibernate.cfg.Configuration - processing one-to-many association mappings
    [   1346]   INFO -    net.sf.hibernate.cfg.Binder - Mapping collection: com.technoetic.xplanner.domain.Project.iterations -> iteration
    [   1346]   INFO -    net.sf.hibernate.cfg.Binder - Mapping collection: com.technoetic.xplanner.domain.Iteration.userStories -> story
    [   1346]   INFO -    net.sf.hibernate.cfg.Binder - Mapping collection: com.technoetic.xplanner.domain.UserStory.tasks -> task
    [   1346]   INFO -    net.sf.hibernate.cfg.Binder - Mapping collection: com.technoetic.xplanner.domain.Task.timeEntries -> time_entry
    [   1347]   INFO -    net.sf.hibernate.cfg.Binder - Mapping collection: com.technoetic.xplanner.file.Directory.subdirectories -> xdir
    [   1347]   INFO -    net.sf.hibernate.cfg.Binder - Mapping collection: com.technoetic.xplanner.file.Directory.files -> xfile
    [   1347]   INFO - sf.hibernate.cfg.Configuration - processing one-to-one association property references
    [   1347]   INFO - sf.hibernate.cfg.Configuration - processing foreign key constraints
    [   1363]   INFO - t.sf.hibernate.dialect.Dialect - Using dialect: com.technoetic.xplanner.db.hibernate.XPlannerMySQLDialect
    [   1371]   INFO - .hibernate.cfg.SettingsFactory - Maximim outer join fetch depth: 2
    [   1371]   INFO - .hibernate.cfg.SettingsFactory - Use outer join fetching: true
    [   1379]   INFO - nection.DBCPConnectionProvider - DBCP using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost/xplanner
    [   1379]   INFO - nection.DBCPConnectionProvider - Connection properties: {user=xplanner, password=xp, dbname=xplanner}
    [   1393]   INFO - nection.DBCPConnectionProvider - DBCP prepared statement pooling enabled
    [   1403]   INFO - ransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
    [   1605]   INFO - .hibernate.cfg.SettingsFactory - Use scrollable result sets: true
    [   1605]   INFO - .hibernate.cfg.SettingsFactory - Use JDBC3 getGeneratedKeys(): true
    [   1605]   INFO - .hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: false
    [   1605]   INFO - .hibernate.cfg.SettingsFactory - Query language substitutions: {false='0', true='1'}
    [   1605]   INFO - .hibernate.cfg.SettingsFactory - cache provider: net.sf.hibernate.cache.EhCacheProvider
    [   1607]   INFO - .hibernate.cfg.SettingsFactory - query cache factory: net.sf.hibernate.cache.StandardQueryCacheFactory
    [   1607]   INFO - sf.hibernate.cfg.Configuration - instantiating and configuring caches
    [   1625]   INFO - ernate.impl.SessionFactoryImpl - building session factory
    [   2145]   INFO - pl.SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI name configured
    [   2145]   INFO - te.cache.UpdateTimestampsCache - starting update timestamps cache at region: net.sf.hibernate.cache.UpdateTimestampsCache
    [   2147]   INFO - rnate.cache.StandardQueryCache - starting query cache at region: net.sf.hibernate.cache.StandardQueryCache
    [   2147]   WARN - ibernate.cache.EhCacheProvider - Could not find configuration [net.sf.hibernate.cache.StandardQueryCache]; using defaults.
    [   2156]   INFO - k.aop.framework.Cglib2AopProxy - Unable to proxy method [public final org.springframework.orm.hibernate.HibernateTemplate org.springframework.orm.hibernate.support.HibernateDaoSupport.getHibernateTemplate()] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
    [   2161]   INFO - k.aop.framework.Cglib2AopProxy - Unable to proxy method [public final void org.springframework.orm.hibernate.support.HibernateDaoSupport.setSessionFactory(net.sf.hibernate.SessionFactory)] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
    [   2161]   INFO - k.aop.framework.Cglib2AopProxy - Unable to proxy method [public final net.sf.hibernate.SessionFactory org.springframework.orm.hibernate.support.HibernateDaoSupport.getSessionFactory()] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
    [   2161]   INFO - k.aop.framework.Cglib2AopProxy - Unable to proxy method [public final void org.springframework.orm.hibernate.support.HibernateDaoSupport.setHibernateTemplate(org.springframework.orm.hibernate.HibernateTemplate)] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
    [   2161]   INFO - k.aop.framework.Cglib2AopProxy - Unable to proxy method [public final void org.springframework.dao.support.DaoSupport.afterPropertiesSet() throws java.lang.IllegalArgumentException,org.springframework.beans.factory.BeanInitializationException] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
    [   2269]   WARN - security.auth.SystemAuthorizer - The authorizer has not been set yet $$$$$$$$
    [   2269]   WARN - anner.actions.EditPersonHelper - Which authorizer do you want me to use? com.technoetic.xplanner.security.auth.AuthorizerImpl@5ba50e or what SystemAuthorizer has, null?????
    [   2330]   INFO - he.velocity.app.VelocityEngine - ************************************************************** 
    [   2330]   INFO - he.velocity.app.VelocityEngine - Starting Jakarta Velocity v1.4
    [   2330]   INFO - he.velocity.app.VelocityEngine - RuntimeInstance initializing.
    [   2330]   INFO - he.velocity.app.VelocityEngine - Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties
    [   2333]   INFO - he.velocity.app.VelocityEngine - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
    [   2335]   INFO - he.velocity.app.VelocityEngine - Resource Loader Instantiated: org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
    [   2335]   INFO - he.velocity.app.VelocityEngine - ClasspathResourceLoader : initialization starting.
    [   2335]   INFO - he.velocity.app.VelocityEngine - ClasspathResourceLoader : initialization complete.
    [   2336]   INFO - he.velocity.app.VelocityEngine - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
    [   2336]   INFO - he.velocity.app.VelocityEngine - Default ResourceManager initialization complete.
    [   2337]   INFO - he.velocity.app.VelocityEngine - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
    [   2339]   INFO - he.velocity.app.VelocityEngine - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
    [   2341]   INFO - he.velocity.app.VelocityEngine - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
    [   2346]   INFO - he.velocity.app.VelocityEngine - Loaded System Directive: org.apache.velocity.runtime.directive.Include
    [   2347]   INFO - he.velocity.app.VelocityEngine - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
    [   2397]   INFO - he.velocity.app.VelocityEngine - Created: 20 parsers.
    [   2401]   INFO - he.velocity.app.VelocityEngine - Velocimacro : initialization starting.
    [   2401]   INFO - he.velocity.app.VelocityEngine - Velocimacro : adding VMs from VM library template : VM_global_library.vm
    [   2403]  ERROR - he.velocity.app.VelocityEngine - ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
    [   2403]   INFO - he.velocity.app.VelocityEngine - Velocimacro : error using  VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm'
    [   2403]   INFO - he.velocity.app.VelocityEngine - Velocimacro :  VM library template macro registration complete.
    [   2403]   INFO - he.velocity.app.VelocityEngine - Velocimacro : allowInline = true : VMs can be defined inline in templates
    [   2403]   INFO - he.velocity.app.VelocityEngine - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
    [   2403]   INFO - he.velocity.app.VelocityEngine - Velocimacro : allowInlineLocal = false : VMs defined inline will be  global in scope if allowed.
    [   2403]   INFO - he.velocity.app.VelocityEngine - Velocimacro : messages on  : VM system will output logging messages
    [   2403]   INFO - he.velocity.app.VelocityEngine - Velocimacro : autoload off  : VM system will not automatically reload global library macros
    [   2403]   INFO - he.velocity.app.VelocityEngine - Velocimacro : initialization complete.
    [   2403]   INFO - he.velocity.app.VelocityEngine - Velocity successfully started.
    [   2461]   INFO - k.aop.framework.Cglib2AopProxy - Unable to proxy method [public final org.springframework.orm.hibernate.HibernateTemplate org.springframework.orm.hibernate.support.HibernateDaoSupport.getHibernateTemplate()] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
    [   2461]   INFO - k.aop.framework.Cglib2AopProxy - Unable to proxy method [public final void org.springframework.orm.hibernate.support.HibernateDaoSupport.setSessionFactory(net.sf.hibernate.SessionFactory)] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
    [   2461]   INFO - k.aop.framework.Cglib2AopProxy - Unable to proxy method [public final net.sf.hibernate.SessionFactory org.springframework.orm.hibernate.support.HibernateDaoSupport.getSessionFactory()] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
    [   2461]   INFO - k.aop.framework.Cglib2AopProxy - Unable to proxy method [public final void org.springframework.orm.hibernate.support.HibernateDaoSupport.setHibernateTemplate(org.springframework.orm.hibernate.HibernateTemplate)] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
    [   2461]   INFO - k.aop.framework.Cglib2AopProxy - Unable to proxy method [public final void org.springframework.dao.support.DaoSupport.afterPropertiesSet() throws java.lang.IllegalArgumentException,org.springframework.beans.factory.BeanInitializationException] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
    [   2766]   INFO -          scheduler.persistence - Quartz scheduler 'XPlannerScheduler' initialized from an externally provided properties instance.
    [   2767]   INFO -          scheduler.persistence - Quartz scheduler version: 1.0.3_beta4
    [   2769]   INFO - ng.quartz.SchedulerFactoryBean - Starting Quartz scheduler now
    [   2769]   INFO -          scheduler.persistence - Scheduler XPlannerScheduler_$_NON_CLUSTERED started.
    [   2812]   INFO - ort.DefaultListableBeanFactory - Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [resultByArgsByMethodName,permissionCacheAdvisor,personPermissionCacheAdvisor,invalidateCacheAfterLogoutAdvisor,invalidateCacheAfterPermissionChangedAdvisor,authenticator,loginModuleLoader,loginContext,com.technoetic.xplanner.security.module.jaas.JaasLoginModuleAdapterFactory,com.technoetic.xplanner.security.module.ntlm.NtlmLoginModule,ntlmModuleHelper,com.technoetic.xplanner.security.module.jndi.JNDILoginModule,jndiAuthenticator,com.technoetic.xplanner.security.module.XPlannerLoginModule,loginSupport,authorizerInitializer,authorizer,authorizerQueryHelper,principalSpecificPermissionHelper,properties,propertyConfigurer,domainSpecificPropertiesFactory,sessionFactory,transactionManager,springTransactionTemplate,transactionTemplate,objectRepositoryFactory,secureObjectRepositoryFactory,metaRepository,roleRepository,roleAssociationRepository,metaDataRepository,iterationMetrics,iterationLoader,storyContinuer,storyRepository,taskContinuer,taskRepository,taskQueryHelper,taskQuery,editPersonHelper,domainObjectWikiLinkFormatter,searchContentQuery,searchResultFactory,contentSearchHelper,com.technoetic.xplanner.importer.spreadsheet.Spreadsheet,com.technoetic.xplanner.importer.SpreadsheetStoryFactory,com.technoetic.xplanner.importer.spreadsheet.SpreadsheetStoryReader,com.technoetic.xplanner.importer.SpreadsheetStoryImporter,xmlExporter,mpxExporter,pdfExporter,reportExporter,systemInfo,timeGenerator,com.technoetic.xplanner.importer.util.IOStreamFactory,velocityEngine,httpClient,virtualFileSystem,emailFormatter,emailMessageFactory,emailNotificationSupport,missingTimeEntryNotifier,dataSampler,dataSamplingCommand,txDataSamplingCommand,txDataSampler,datasamplingJob,emailnotificationJob,datasamplingTrigger,emailnotificationTrigger,scheduler]; root of BeanFactory hierarchy}
    [   2812]   INFO - ng.quartz.SchedulerFactoryBean - Shutting down Quartz scheduler
    [   2812]   INFO -          scheduler.persistence - Scheduler XPlannerScheduler_$_NON_CLUSTERED shutting down.
    [   2812]   INFO -          scheduler.persistence - Scheduler XPlannerScheduler_$_NON_CLUSTERED paused.
    [   2812]   INFO -          scheduler.persistence - Scheduler XPlannerScheduler_$_NON_CLUSTERED shutdown complete.
    [   2814]  ERROR - work.web.context.ContextLoader - Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metaRepository' defined in class path resource [spring-beans.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyAccessExceptionsException: PropertyAccessExceptionsException (1 errors); nested propertyAccessExceptions are: [org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.apache.commons.collections.map.LinkedMap] to required type [java.util.HashMap] for property 'repositories']
    PropertyAccessExceptionsException (1 errors)
    org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.apache.commons.collections.map.LinkedMap] to required type [java.util.HashMap] for property 'repositories'
            at org.springframework.beans.BeanWrapperImpl.doTypeConversionIfNecessary(BeanWrapperImpl.java:839)
            at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:584)
            at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:469)
            at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:626)
            at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:653)
            at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:642)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1023)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:824)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:345)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)
            at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
            at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
            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 org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:392)
            at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:996)
            at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:365)
            at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:373)
            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
            at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:159)
            at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:118)
            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
            at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:159)
            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
            at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:97)
            at org.mortbay.jetty.Server.doStart(Server.java:194)
            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
            at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:900)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.mortbay.start.Main.invokeMain(Main.java:184)
            at org.mortbay.start.Main.start(Main.java:508)
            at org.mortbay.start.Main.main(Main.java:116)
    :WARN:  failed ContextHandler@1fd25ce{/xplanner,file:/tmp/Jetty__xplanner/webapp/}
    :WARN:  failed ContextHandlerCollection@bd36fa
    :WARN:  failed HandlerCollection@f1b25e
    :INFO:  Started SelectChannelConnector @ 0.0.0.0:8090
    :WARN:  failed Server@1ca1837
    :WARN:  EXCEPTION
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metaRepository' defined in class path resource [spring-beans.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyAccessExceptionsException: PropertyAccessExceptionsException (1 errors); nested propertyAccessExceptions are: [org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.apache.commons.collections.map.LinkedMap] to required type [java.util.HashMap] for property 'repositories']
    PropertyAccessExceptionsException (1 errors)
    org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.apache.commons.collections.map.LinkedMap] to required type [java.util.HashMap] for property 'repositories'
            at org.springframework.beans.BeanWrapperImpl.doTypeConversionIfNecessary(BeanWrapperImpl.java:839)
            at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:584)
            at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:469)
            at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:626)
            at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:653)
            at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:642)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1023)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:824)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:345)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)
            at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
            at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
            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 org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:392)
            at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:996)
            at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:365)
            at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:373)
            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
            at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:159)
            at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:118)
            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
            at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:159)
            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
            at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:97)
            at org.mortbay.jetty.Server.doStart(Server.java:194)
            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
            at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:900)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.mortbay.start.Main.invokeMain(Main.java:184)
            at org.mortbay.start.Main.start(Main.java:508)
            at org.mortbay.start.Main.main(Main.java:116)

     
    • Alexey Chernysh

      Alexey Chernysh - 2007-10-31

      It seems the problem is with JRE 1.6 and it is the same as:

      http://jira.codehaus.org/browse/XPR-391

      xplanner-0.7b7 works fine on JRE 1.5

      --
      Regards,
      Alexey Chernysh
      www.ardas.dp.ua

       

Log in to post a comment.