01-14-2007 11:08 AM
03-06-2007 05:45 PM
03-06-2007 10:26 PM
03-07-2007 09:41 AM
03-10-2007 10:07 AM
#
# Sample custom content and index data location
#
dir.root=/var/alfresco/data
#
# Sample database connection properties
#
db.username=alfresco
db.password=alfresco
db.pool.initial=10
db.pool.max=100
#
# Property to control whether schema updates are performed automatically.
# Updates must be enabled during upgrades as, apart from the static upgrade scripts,
# there are also auto-generated update scripts that will need to be executed. After
# upgrading to a new version, this can be disabled.
#
#db.schema.update=true
#workaround added to deal with bug described here:
#http://forums.alfresco.com/viewtopic.php?t=4882&sid=b37053f6a86fd1e8c16803b11f157a90
#http://issues.alfresco.com/browse/AR-1280
lucene.indexer.batchSize=1000000000
#
# HSQL connection
#
#db.driver=org.hsqldb.jdbcDriver
#db.url=jdbc:hsqldb:file:alf_data/hsql_data/alfresco;ifexists=true;shutdown=true;
#
# MySQL connection (This is default and requires mysql-connector-java-5.0.3-bin.jar, which ships with the Alfresco server)
#
db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://localhost/alfresco
14:27:30,633 INFO [domain.schema.SchemaBootstrap] Executing database script: classpath:alfresco/dbscripts/create/2.0/${db.script.dialect}/AlfrescoPostCreate-2.0-FKIndexes.sql
14:27:31,113 DEBUG [repo.importer.ImporterBootstrap] Created store: user://alfrescoUserStore
14:27:31,118 DEBUG [repo.importer.ImporterBootstrap] Importing alfresco/bootstrap/alfrescoUserStore.xml
14:27:31,311 DEBUG [repo.importer.ImporterBootstrap] Import started at Sat Mar 10 14:27:31 GMT 2007 (1173536851310)
14:27:31,312 DEBUG [importer.view.ViewParser] Pushed ParentContext[parent=user://alfrescoUserStore/7abbaeaf-cf13-11db-a6b0-495759818eaf,assocType=null]14:27:31,313 DEBUG [importer.view.ViewParser] Pushed NodeContext[childName=${alfresco_user_store.system_container.childname},type={http://www.alfresco.org/model/system/1.0}container,nodeRef=null,aspects=[],parentContext=ParentConte...]]
14:27:31,517 DEBUG [repo.importer.ImporterBootstrap] Import completed at Sat Mar 10 14:27:31 GMT 2007 (1173536851517)
14:27:31,518 DEBUG [repo.importer.ImporterBootstrap] Error occured at Sat Mar 10 14:27:31 GMT 2007 (1173536851517)
14:27:31,518 DEBUG [repo.importer.ImporterBootstrap] Exception: org.alfresco.service.cmr.view.ImporterException: Failed to import package at line 8; column 23 due to error: Non-root node has no primary parent:
child: user://alfrescoUserStore/7b0e6291-cf13-11db-a6b0-495759818eaf
14:27:31,518 DEBUG [repo.importer.ImporterBootstrap] Import duration: 207 ms (Note: excluding commit time)
14:27:31,518 DEBUG [repo.importer.ImporterBootstrap] Nodes created: 0
14:27:31,518 DEBUG [repo.importer.ImporterBootstrap] Nodes linked: 0
14:27:31,518 DEBUG [repo.importer.ImporterBootstrap] Aspects Added: 0
14:27:31,518 DEBUG [repo.importer.ImporterBootstrap] Properties set: 0
14:27:31,519 DEBUG [repo.importer.ImporterBootstrap] Content set: 0
14:27:31,519 DEBUG [repo.importer.ImporterBootstrap] Permissions set: 0
14:27:31,531 ERROR [web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:444)
at org.alfresco.repo.importer.ImporterBootstrap.onBootstrap(ImporterBootstrap.java:666)
at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:45)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:225)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:323)
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.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4183)
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.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1112)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.alfresco.service.cmr.view.ImporterException: Failed to import package at line 8; column 23 due to error: Non-root node has no primary parent:
child: user://alfrescoUserStore/7b0e6291-cf13-11db-a6b0-495759818eaf
at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:179)
at org.alfresco.repo.importer.ImporterComponent.parserImport(ImporterComponent.java:352)
at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:219)
at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:426)
… 33 more
Caused by: org.springframework.dao.DataIntegrityViolationException: Non-root node has no primary parent:
child: user://alfrescoUserStore/7b0e6291-cf13-11db-a6b0-495759818eaf
at org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.getPrimaryParentAssoc(HibernateNodeDaoServiceImpl.java:942)
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:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.alfresco.repo.transaction.TransactionalDaoInterceptor.invoke(TransactionalDaoInterceptor.java:68)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy1.getPrimaryParentAssoc(Unknown Source)
at org.alfresco.repo.node.db.DbNodeServiceImpl.getPrimaryParent(DbNodeServiceImpl.java:1163)
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:585)
at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:221)
at $Proxy2.getPrimaryParent(Unknown Source)
at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.createDocuments(LuceneIndexerImpl2.java:1392)
at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.indexImpl(LuceneIndexerImpl2.java:1170)
at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.indexImpl(LuceneIndexerImpl2.java:1158)
at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.flushPending(LuceneIndexerImpl2.java:961)
at org.alfresco.repo.search.impl.lucene.LuceneBase2.getSearcher(LuceneBase2.java:170)
at org.alfresco.repo.search.impl.lucene.LuceneSearcherImpl2.query(LuceneSearcherImpl2.java:227)
at org.alfresco.repo.search.SearcherComponent.query(SearcherComponent.java:85)
at org.alfresco.repo.security.authority.AuthorityDAOImpl.findUserContainers(AuthorityDAOImpl.java:323)
at org.alfresco.repo.security.authority.AuthorityDAOImpl.getUserContainers(AuthorityDAOImpl.java:304)
at org.alfresco.repo.security.authority.AuthorityDAOImpl.findAuthorities(AuthorityDAOImpl.java:282)
at org.alfresco.repo.security.authority.AuthorityDAOImpl.getContainingAuthorities(AuthorityDAOImpl.java:260)
at org.alfresco.repo.security.authority.AuthorityServiceImpl.getContainingAuthorities(AuthorityServiceImpl.java:217)
at org.alfresco.repo.security.authority.AuthorityServiceImpl.getAuthorities(AuthorityServiceImpl.java:126)
at org.alfresco.repo.security.permissions.impl.PermissionServiceImpl.getAuthorisations(PermissionServiceImpl.java:510)
at org.alfresco.repo.security.permissions.impl.PermissionServiceImpl.hasPermission(PermissionServiceImpl.java:405)
at org.alfresco.repo.security.permissions.impl.PermissionServiceImpl.hasPermission(PermissionServiceImpl.java:632)
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:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy11.hasPermission(Unknown Source)
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:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:116)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.alfresco.repo.audit.AuditComponentImpl.auditImpl(AuditComponentImpl.java:219)
at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:165)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy18.hasPermission(Unknown Source)
at org.alfresco.repo.importer.ImporterComponent$NodeImporter$CreateNewNodeImporterStrategy.importNode(ImporterComponent.java:1268)
at org.alfresco.repo.importer.ImporterComponent$NodeImporter.importNode(ImporterComponent.java:542)
at org.alfresco.repo.importer.view.ViewParser.importNode(ViewParser.java:828)
at org.alfresco.repo.importer.view.ViewParser.processStartAssoc(ViewParser.java:743)
at org.alfresco.repo.importer.view.ViewParser.processStartElement(ViewParser.java:284)
at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:165)
… 36 more
14:27:31,312 DEBUG [importer.view.ViewParser] Pushed ParentContext[parent=user://alfrescoUserStore/7abbaeaf-cf13-11db-a6b0-495759818eaf,assocType=null]14:27:31,313 DEBUG [importer.view.ViewParser] Pushed NodeContext[childName=${alfresco_user_store.system_container.childname},type={http://www.alfresco.org/model/system/1.0}container,nodeRef=null,aspects=[],parentContext=ParentConte...]]
23:34:44,127 DEBUG [repo.importer.ImporterComponent] viewReader=
23:34:44,127 DEBUG [repo.importer.ImporterComponent] <view:view xmlns:view="http://www.alfresco.org/view/repository/1.0"
23:34:44,128 DEBUG [repo.importer.ImporterComponent] xmlns:cm="http://www.alfresco.org/model/content/1.0"
23:34:44,128 DEBUG [repo.importer.ImporterComponent] xmlns:sys="http://www.alfresco.org/model/system/1.0"
23:34:44,128 DEBUG [repo.importer.ImporterComponent] xmlns:usr="http://www.alfresco.org/model/user/1.0"
23:34:44,128 DEBUG [repo.importer.ImporterComponent] xmlns:app="http://www.alfresco.org/model/application/1.0">
23:34:44,128 DEBUG [repo.importer.ImporterComponent]
23:34:44,128 DEBUG [repo.importer.ImporterComponent] <sys:container view:childName="${alfresco_user_store.system_container.childname}">
23:34:44,128 DEBUG [repo.importer.ImporterComponent] <sys:children>
23:34:44,128 DEBUG [repo.importer.ImporterComponent] <sys:container view:childName="${alfresco_user_store.user_container.childname}">
23:34:44,128 DEBUG [repo.importer.ImporterComponent] <sys:children>
23:34:44,128 DEBUG [repo.importer.ImporterComponent] <usr:user view:childName="usr:user">
23:34:44,128 DEBUG [repo.importer.ImporterComponent] <usr:username>admin</usr:username>
23:34:44,128 DEBUG [repo.importer.ImporterComponent] <usr:password>209c6174da490caeb422f3fa5a7ae634</usr:password>
23:34:44,129 DEBUG [repo.importer.ImporterComponent] <usr:enabled>true</usr:enabled>
23:34:44,129 DEBUG [repo.importer.ImporterComponent] <usr:accountExpires>false</usr:accountExpires>
23:34:44,129 DEBUG [repo.importer.ImporterComponent] <usr:credentialsExpire>false</usr:credentialsExpire>
23:34:44,129 DEBUG [repo.importer.ImporterComponent] <usr:accountLocked>false</usr:accountLocked>
23:34:44,129 DEBUG [repo.importer.ImporterComponent] </usr:user>
23:34:44,129 DEBUG [repo.importer.ImporterComponent] </sys:children>
23:34:44,129 DEBUG [repo.importer.ImporterComponent] </sys:container>
23:34:44,129 DEBUG [repo.importer.ImporterComponent] </sys:children>
23:34:44,129 DEBUG [repo.importer.ImporterComponent] </sys:container>
23:34:44,129 DEBUG [repo.importer.ImporterComponent]
23:34:44,130 DEBUG [repo.importer.ImporterComponent] </view:view>
repository.properties:alfresco_user_store.store=user://alfrescoUserStore
repository.properties:alfresco_user_store.system_container.childname=sys:system
repository.properties:alfresco_user_store.user_container.childname=sys:people
repository.properties:alfresco_user_store.authorities_container.childname=sys:authorities
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.