cancel
Showing results for 
Search instead for 
Did you mean: 

Problems when integrating Alfresco within my Web application

nrk
Champ in-the-making
Champ in-the-making
Hi,
I have 3 queries…tried reading lots of forum posts but unable to get any idea on solving them Smiley Sad

1) I have included the Alfresco environment within my web application and everything starts fine when Alfresco connects to a db already init'd by the Alfresco Web app.
Now, after I cleanup the db and delete the lucene indexes and restart my web app it hangs after the open office connection error.
The Java (jboss) process shoots to 100% and remains there till I kill it.

I'm running my web app on JBoss 4.0.2 and my DB is Mysql 5. OS is Windows XP Prof.

It looks like I need to modify some config files as I feel that Alfresco checks for something in the DB or Lucene index and locks up. Can you please help me out with this issue.

2) I'm planning to use the JCR XPath search rather than Lucene currently. Is there some way that I can disable Lucene completely?

3) Alfresco seems to create some entries in the file system which seem to be some kind of unique IDs. Is there any way to store this in the DB via config file changes?

4) This is a request wrt the Lucene version. Though the Lucene version says 1.4.3 for the Alfresco 1.2 release the actual version seems to be 1.5.x I'm using 1.4.3 for my own app and the jar file contents are different. I've now switched to the Alfresco version.
I'm now planning to switch to the 1.9 release and use the DB Directory code in the compass framework to store the index in the DB.
Will Alfresco move to Lucene 1.9 anytime soon? and if possible provide for an option to store the index in the DB Smiley Happy

Eliminating the file system makes it easier to move my application to a clustered environment Smiley Happy

thanks!
12 REPLIES 12

sam69
Champ in-the-making
Champ in-the-making
Up !

I can't really help you, but I can precise some elements for your point 4) :

In this thread, Andy, an alfresco guy said :
http://www.alfresco.org/forums/viewtopic.php?t=150&start=45
Upgrading to lucene 1.9/2.0 is not recommended.
We have some stabilty/scalability fixes in our 1.4.3 jar that have not gone into lucene for some reason. I have raised the issues. We also have some improvements for merging segments without continual index optimisation which is very expensive.

We will migrate at some point.

Only documents indexed/changed after you have set the indexer will be treated correctly. Searching an index with a tokeniser that does not match how the field was indexed will produce odd results. Note stop words may have been previously indexed or be valid for other data types. So files indexed previously will be wrong. Edit the text or an attribute to force a reindex.

I am also interrested by the lucene 1.9 migration 😉

gavinc
Champ in-the-making
Champ in-the-making
Have you also moved over all the configuration from web.xml to your web app?

Most importantly (and a possible reason for the hang) is the following config:


<listener>
   <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>
  
<listener>
   <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
  
<listener>
   <listener-class>org.alfresco.web.app.ContextListener</listener-class>
</listener>

These are all used to 'bootstrap' the webapp, including the creation of the DB tables and basic data required to run Alfresco.

nrk
Champ in-the-making
Champ in-the-making
thanks Gavin….tried what you said and it still doesn't work Smiley Sad

I had earlier only included the Spring ContextListener in web.xml, but now have added the remaining Listeners and Context params excluding the Filters and Servlets.



——————-
WEB.XML
——————-
<!–  Start of Alfresco integration. Load up the Spring environment –>
<context-param>
   <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
   <param-value>server</param-value>
</context-param>

<context-param>
   <param-name>javax.faces.CONFIG_FILES</param-name>
   <param-value>/WEB-INF/faces-config-app.xml,/WEB-INF/faces-config-beans.xml,/WEB-INF/faces-config-navigation.xml,/WEB-INF/faces-config-common.xml,/WEB-INF/faces-config-repo.xml</param-value>
</context-param>

<context-param>
   <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
   <param-value>true</param-value>
</context-param>

<context-param>
   <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
   <param-value>false</param-value>
</context-param>

<!– TODO: Change this to false for production –>
<context-param>
     <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
     <param-value>true</param-value>
</context-param>

<context-param>
     <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
     <param-value>false</param-value>
</context-param>

<context-param>
   <param-name>contextConfigLocation</param-name>
   <param-value>
      classpath:alfresco/web-client-application-context.xml
         classpath:web-services-application-context.xml
         classpath:alfresco/jcr-context.xml
   </param-value>
</context-param>

<listener>
   <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>

<listener>
   <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>

<listener>
   <listener-class>org.alfresco.web.app.ContextListener</listener-class>
</listener>  
<!–  End of Alfresco integration. –>

————————-
JBOSS Server output
————————-
11:09:19,293 INFO  [ContextLoader] Root WebApplicationContext: initialization started
11:09:19,794 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/web-client-application-context.xml]
11:09:19,874 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [web-services-application-context.xml]
11:09:20,235 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/application-context.xml]
11:09:20,255 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/core-services-context.xml]
11:09:20,775 INFO  [CollectionFactory] JDK 1.4+ collections available
11:09:20,845 INFO  [CollectionFactory] Commons Collections 3.x available
11:09:21,456 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/public-services-context.xml]
11:09:21,516 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/public-services-security-context.xml]
11:09:22,077 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/cache-context.xml]
11:09:22,438 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/model-specific-services-context.xml]
11:09:22,548 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/action-services-context.xml]
11:09:22,698 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/rule-services-context.xml]
11:09:22,738 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/node-services-context.xml]
11:09:22,888 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/scheduled-jobs-context.xml]
11:09:22,999 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/network-protocol-context.xml]
11:09:23,079 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/content-services-context.xml]
11:09:23,529 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/hibernate-context.xml]
11:09:23,619 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/ownable-services-context.xml]
11:09:23,639 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/template-services-context.xml]
11:09:23,770 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/index-recovery-context.xml]
11:09:23,950 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/authority-services-context.xml]
11:09:23,970 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/authentication-services-context.xml]
11:09:24,471 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/bootstrap-context.xml]
11:09:24,661 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from URL [jar:file:/E:/_3_DAM/jboss_4/server/default/deploy/.ear/.war/WEB-INF/lib/alfresco-repository.jar!/alfresco/patch/patch-services-context.xml]
11:09:25,011 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from file [WEB-INF\classes\alfresco\extension\-custom-context.xml]
11:09:25,041 INFO  [DefaultListableBeanFactory] Overriding bean definition for bean 'repository-properties': replacing [Root bean: class [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [alfresco/core-services-context.xml]] with [Root bean: class [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in file [WEB-INF\classes\alfresco\extension\-custom-context.xml]]
11:09:25,041 INFO  [DefaultListableBeanFactory] Overriding bean definition for bean 'hibernateConfigProperties': replacing [Root bean: class [org.springframework.beans.factory.config.PropertiesFactoryBean]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [alfresco/hibernate-context.xml]] with [Root bean: class [org.springframework.beans.factory.config.PropertiesFactoryBean]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in file [WEB-INF\classes\alfresco\extension\-custom-context.xml]]
11:09:25,041 INFO  [DefaultListableBeanFactory] Overriding bean definition for bean 'extension.dictionaryBootstrap': replacing [Child bean with parent 'dictionaryModelBootstrap': class [null]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in class path resource [alfresco/core-services-context.xml]] with [Child bean with parent 'dictionaryModelBootstrap': class [null]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in file [WEB-INF\classes\alfresco\extension\-custom-context.xml]]
11:09:25,041 INFO  [XmlWebApplicationContext] Bean factory for application context [Root WebApplicationContext]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [webClientConfigSource,webClientConfigService,dataDictionary,ticketCallbackHandler,querySessionCache,userQuerySessionCache,CMLUtil,authenticationWebService,repositoryWebService,contentWebService,authoringWebService,classificationWebService,actionWebService,accessControlWebService,administrationWebService,repository-properties,dataSource,transactionComponent,methodCallLogAdvice,resourceBundles,mailService,indexerComponent,indexerComponent_PerformanceMonitorAdvice,searchService,indexerAndSearcherFactory,categoryService,luceneIndexerAndSearcherFactory,luceneCategoryService,luceneIndexLock,lockService,versionService,versionNodeService,versionCounterDaoService,versionBootstrap,versionableAspect,namespaceDAO,dictionaryModelType,dictionaryDAO,dictionaryService,namespaceService,dictionaryModelBootstrap,dictionaryBootstrap,extension.dictionaryBootstrap,dictionaryRepositoryBootstrap,copyService,checkOutCheckInService,workingCopyAspect,discussableAspect,policyBehaviourFilter,policyComponent,LuceneFullTextSearchIndexer,luceneIndexBackupComponent,threadPoolExecutor,queryRegisterComponent,viewParser,importerComponent,storeImporter,userStoreImporter,systemStoreImporter,spacesStoreImporter,versionStoreImporter,exporterComponent,auditableAspect,referenceableAspect,configurableService,ehCacheManager,transactionalEHCacheManager,nullPermissionSharedCache,nullPermissionCache,userToAuthoritySharedCache,userToAuthorityCache,permissionsAccessSharedCache,permissionsAccessCache,nodeOwnerSharedCache,nodeOwnerCache,permissionService,permissionServiceImpl,ownerDynamicAuthority,lockOwnerDynamicAuthority,permissionsDAO,permissionsModelDAO,roleVoter,groupVoter,aclEntryVoter,accessDecisionManager,afterAcl,afterInvocationManager,NamespaceService_security,DictionaryService_security,NodeService_security,ContentService_security,MimetypeService_security,SearchService_security,CategoryService_security,CopyService_security,LockService_security,VersionService_security,CheckoutCheckinService_security,RuleService_security,ImporterService_security,ActionService_security,PermissionService_security,AuthorityService_security,AuthenticationService_security,OwnableService_security,PersonService_security,TemplateService_security,AlfrescoServiceDescriptor,ServiceRegistry,ServiceRegistry_descriptor,exceptionTranslator,DescriptorService,DescriptorService_descriptor,NamespaceService,NamespaceService_transaction,NamespaceService_descriptor,DictionaryService,DictionaryService_transaction,DictionaryService_descriptor,NodeService,NodeService_transaction,NodeService_descriptor,ContentService,ContentService_transaction,ContentService_descriptor,MimetypeService,MimetypeService_descriptor,SearchService,SearchService_transaction,SearchService_descriptor,CategoryService,CategoryService_transaction,CategoryService_descriptor,CopyService,CopyService_transaction,CopyService_descriptor,LockService,LockService_transaction,LockService_descriptor,VersionService,VersionService_transaction,VersionService_descriptor,CheckoutCheckinService,CheckoutCheckinService_transaction,CheckoutCheckinService_descriptor,RuleService,RuleService_transaction,RuleService_descriptor,ImporterService,ImporterService_transaction,ImporterService_descriptor,ExporterService,ExporterService_transaction,ExporterService_descriptor,ActionService,ActionService_transaction,ActionService_descriptor,PermissionService,PermissionService_transaction,PermissionService_descriptor,AuthorityService,AuthorityService_transaction,AuthorityService_descriptor,OwnableService,OwnableService_transaction,OwnableService_descriptor,PersonService,PersonService_transaction,PersonService_descriptor,AuthenticationService,AuthenticationService_transaction,AuthenticationService_descriptor,TemplateService,TemplateService_transaction,TemplateService_descriptor,FileFolderService,FileFolderService_transaction,fileFolderService,actionService,asynchronousActionExecutionQueue,actionsAspect,actionResourceBundles,action-condition-evaluator,no-condition,compare-property-value,compare-mime-type,in-category,is-subtype,has-aspect,has-version-history,action-executer,composite-action,create-version,add-features,specialise-type,link-category,simple-workflow,transform,transform-image,copy,move,check-in,check-out,mail,set-property-value,extract-metadata,import,export,ruleService,rulesAspect,ruleResourceBundles,rule-type-base,inbound,outbound,rule-trigger-base,on-create-node-trigger,on-update-node-trigger,on-property-update-trigger,on-delete-node-trigger,on-create-child-association-trigger,on-delete-child-association-trigger,on-create-association-trigger,on-delete-association-trigger,on-content-update-trigger,on-content-create-trigger,nodeDaoServiceImpl,dbNodeDaoServiceTxnRegistration,nodeDaoService,nodeService,dbNodeService,dbNodeService_PerformanceMonitorAdvice,nodeIndexer,integrityChecker,ftsIndexerTrigger,tempFileCleanerTrigger,contentStoreCleanerTrigger,indexRecoveryTrigger,indexBackupTrigger,ehCacheTracerJob,schedulerFactory,fileServersConfigSource,fileServersConfigService,fileServerConfigurationBase,contentDiskDriver,cifsHelper,fileContentStore,deletedContentStore,deletedContentBackupListener,contentStoreCleaner,contentService,mimetypeConfigService,mimetypeService,metadataExtracterRegistry,baseMetadataExtracter,org.alfresco.repo.content.metadata.PdfBoxMetadataExtracter,org.alfresco.repo.content.metadata.OfficeMetadataExtracter,org.alfresco.repo.content.metadata.HtmlMetadataExtracter,org.alfresco.repo.content.metadata.MP3MetadataExtracter,org.alfresco.repo.content.metadata.OpenDocumentMetadataExtracter,org.alfresco.repo.content.metadata.UnoMetadataExtracter,contentTransformerRegistry,baseContentTransformer,transformer.StringExtracter,transformer.BinaryPassThrough,transformer.PdfBox,transformer.Poi,transformer.TextMining,transformer.HtmlParser,transformer.OpenOffice,transformer.complex.OpenOffice.PdfBox,transformer.ImageMagick,hibernateConfigProperties,cacheStrategiesPlaceholderConfigurer,sessionFactory,transactionManager,ownableService,templateService,freeMarkerProcessor,indexRecoveryComponent,authorityService,authenticationManager,daoAuthenticationProvider,authenticatedAuthenticationPassthroughProvider,alfDaoImpl,authenticationDao,passwordEncoder,authenticationService,authenticationServiceImpl,authenticationComponent,authenticationComponentImpl,personService,ticketComponent,userBootstrap,systemBootstrap,spacesBootstrap,descriptorComponent,patchExecuter,fileServerConfiguration,cifsServer,ftpServer,startupLog,PatchService,PatchService_transaction,patchDaoComponent,patchComponent,basePatch,patch.sample.01,patch.sample.02,patch.savedSearches.Base,bootstrapSpacesMessageSource,patch.savedSearchesFolder,patch.savedSearchesPermission,patch.updatePermissionData,patch.guestUser,patch.fixNodeSerializableValues,patch.updateGuestPermission,patch.guestPersonPermission,patch.spacesRootPermission,patch.categoryRootPermission]; root of BeanFactory hierarchy
11:09:25,072 INFO  [XmlWebApplicationContext] 319 beans defined in application context [Root WebApplicationContext]
11:09:25,152 INFO  [PropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/repository.properties]
11:09:25,152 INFO  [PropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
11:09:25,152 INFO  [PropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/transaction.properties]
11:09:25,152 INFO  [PropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/extension/custom_.properties]
11:09:25,212 INFO  [PropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
11:09:25,242 INFO  [XmlWebApplicationContext] Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@df88d2]
11:09:25,242 INFO  [XmlWebApplicationContext] Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@16e1ccd]
11:09:25,252 INFO  [UiApplicationContextUtils] Unable to locate ThemeSource with name 'themeSource': using default [org.springframework.ui.context.support.ResourceBundleThemeSource@70cdd2]
11:09:25,422 INFO  [PropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/hibernate-cfg.properties]
11:09:25,422 INFO  [PropertiesFactoryBean] Loading properties file from class path resource [alfresco/extension/custom_.properties]
11:09:25,472 INFO  [Environment] Hibernate 3.1.2
11:09:25,492 INFO  [Environment] hibernate.properties not found
11:09:25,492 INFO  [Environment] using CGLIB reflection optimizer
11:09:25,492 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
11:09:26,794 INFO  [HbmBinder] Mapping class: org.alfresco.repo.domain.hibernate.NodeImpl -> node
11:09:27,255 INFO  [HbmBinder] Mapping collection: org.alfresco.repo.domain.hibernate.NodeImpl.properties -> node_properties
11:09:27,265 INFO  [HbmBinder] Mapping collection: org.alfresco.repo.domain.hibernate.NodeImpl.aspects -> node_aspects
11:09:27,265 INFO  [HbmBinder] Mapping class: org.alfresco.repo.domain.hibernate.NodeStatusImpl -> node_status
11:09:27,265 INFO  [HbmBinder] Mapping class: org.alfresco.repo.domain.hibernate.ChildAssocImpl -> child_assoc
11:09:27,275 INFO  [HbmBinder] Mapping class: org.alfresco.repo.domain.hibernate.NodeAssocImpl -> node_assoc
11:09:27,315 INFO  [HbmBinder] Mapping class: org.alfresco.repo.domain.hibernate.StoreImpl -> store
11:09:27,335 INFO  [HbmBinder] Mapping class: org.alfresco.repo.domain.hibernate.VersionCountImpl -> version_count
11:09:27,495 INFO  [HbmBinder] Mapping class: org.alfresco.repo.domain.hibernate.AppliedPatchImpl -> applied_patch
11:09:27,535 INFO  [HbmBinder] Mapping class: org.alfresco.repo.security.permissions.impl.hibernate.NodePermissionEntryImpl -> node_permission
11:09:27,535 INFO  [HbmBinder] Mapping class: org.alfresco.repo.security.permissions.impl.hibernate.PermissionEntryImpl -> node_perm_entry
11:09:27,555 INFO  [HbmBinder] Mapping class: org.alfresco.repo.security.permissions.impl.hibernate.PermissionReferenceImpl -> permission_ref
11:09:27,555 INFO  [HbmBinder] Mapping class: org.alfresco.repo.security.permissions.impl.hibernate.RecipientImpl -> recipient
11:09:27,555 INFO  [HbmBinder] Mapping collection: org.alfresco.repo.security.permissions.impl.hibernate.RecipientImpl.externalKeys -> externalKeys
11:09:27,555 INFO  [LocalSessionFactoryBean] Building new Hibernate SessionFactory
11:09:27,565 INFO  [HbmBinder] Mapping collection: org.alfresco.repo.domain.hibernate.NodeImpl.parentAssocs -> child_assoc
11:09:27,575 INFO  [HbmBinder] Mapping collection: org.alfresco.repo.domain.hibernate.NodeImpl.childAssocs -> child_assoc
11:09:27,575 INFO  [HbmBinder] Mapping collection: org.alfresco.repo.domain.hibernate.NodeImpl.sourceNodeAssocs -> node_assoc
11:09:27,575 INFO  [HbmBinder] Mapping collection: org.alfresco.repo.domain.hibernate.NodeImpl.targetNodeAssocs -> node_assoc
11:09:27,575 INFO  [HbmBinder] Mapping collection: org.alfresco.repo.security.permissions.impl.hibernate.NodePermissionEntryImpl.permissionEntries -> node_perm_entry
11:09:28,076 INFO  [ConnectionProviderFactory] Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
11:09:29,187 INFO  [SettingsFactory] RDBMS: MySQL, version: 5.0.15
11:09:29,187 INFO  [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.1.10 ( $Date: 2005/05/19 15:52:23 $, $Revision: 1.1.2.2 $ )
11:09:29,248 INFO  [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
11:09:29,268 INFO  [TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions)
11:09:29,278 INFO  [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
11:09:29,278 INFO  [SettingsFactory] Automatic flush during beforeCompletion(): disabled
11:09:29,278 INFO  [SettingsFactory] Automatic session close at end of transaction: disabled
11:09:29,278 INFO  [SettingsFactory] JDBC batch size: 32
11:09:29,278 INFO  [SettingsFactory] JDBC batch updates for versioned data: disabled
11:09:29,278 INFO  [SettingsFactory] Scrollable result sets: enabled
11:09:29,278 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
11:09:29,278 INFO  [SettingsFactory] Connection release mode: auto
11:09:29,278 INFO  [SettingsFactory] Maximum outer join fetch depth: 10
11:09:29,278 INFO  [SettingsFactory] Default batch fetch size: 1
11:09:29,278 INFO  [SettingsFactory] Generate SQL with comments: disabled
11:09:29,278 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
11:09:29,278 INFO  [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
11:09:29,288 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
11:09:29,288 INFO  [SettingsFactory] Query language substitutions: {}
11:09:29,288 INFO  [SettingsFactory] Second-level cache: enabled
11:09:29,288 INFO  [SettingsFactory] Query cache: enabled
11:09:29,288 INFO  [SettingsFactory] Cache provider: org.hibernate.cache.EhCacheProvider
11:09:29,288 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
11:09:29,288 INFO  [SettingsFactory] Structured second-level cache entries: disabled
11:09:29,288 INFO  [SettingsFactory] Query cache factory: org.hibernate.cache.StandardQueryCacheFactory
11:09:29,308 INFO  [SettingsFactory] Statistics: disabled
11:09:29,308 INFO  [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
11:09:29,308 INFO  [SettingsFactory] Default entity-mode: pojo
11:09:29,388 INFO  [SessionFactoryImpl] building session factory
11:09:30,409 INFO  [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
11:09:30,419 INFO  [SchemaUpdate] Running hbm2ddl schema update
11:09:30,419 INFO  [SchemaUpdate] fetching database metadata
11:09:30,429 INFO  [SchemaUpdate] updating schema
11:09:30,579 INFO  [TableMetadata] table found: alfresco.applied_patch
11:09:30,579 INFO  [TableMetadata] columns: [succeeded, target_schema, fixes_to_schema, applied_on_date, fixes_from_schema, was_executed, applied_to_schema, applied_to_server, report, description, id]
11:09:30,579 INFO  [TableMetadata] foreign keys: []
11:09:30,579 INFO  [TableMetadata] indexes: [primary]
11:09:30,640 INFO  [TableMetadata] table found: alfresco.child_assoc
11:09:30,640 INFO  [TableMetadata] columns: [isprimary, type_qname, child_protocol, assoc_index, parent_guid, qname, child_guid, child_identifier, parent_identifier, id, parent_protocol]
11:09:30,640 INFO  [TableMetadata] foreign keys: [fkc6efff32a0f28d72, fkc6efff3294135688]
11:09:30,640 INFO  [TableMetadata] indexes: [primary, fkc6efff32a0f28d72, fkc6efff3294135688]
11:09:30,690 INFO  [TableMetadata] table found: alfresco.externalkeys
11:09:30,690 INFO  [TableMetadata] columns: [externalkey, id]
11:09:30,690 INFO  [TableMetadata] foreign keys: [fkad60285faadd7239]
11:09:30,690 INFO  [TableMetadata] indexes: [fkad60285faadd7239, primary]
11:09:30,750 INFO  [TableMetadata] table found: alfresco.node
11:09:30,750 INFO  [TableMetadata] columns: [type_qname, protocol, guid, identifier]
11:09:30,750 INFO  [TableMetadata] foreign keys: [fk33ae021c9053b, fk33ae02d24add25]
11:09:30,750 INFO  [TableMetadata] indexes: [primary, fk33ae021c9053b, fk33ae02d24add25]
11:09:30,840 INFO  [TableMetadata] table found: alfresco.node_aspects
11:09:30,840 INFO  [TableMetadata] columns: [protocol, qname, guid, identifier]
11:09:30,840 INFO  [TableMetadata] foreign keys: [fk2b91a9de65e86569]
11:09:30,840 INFO  [TableMetadata] indexes: [fk2b91a9de65e86569]
11:09:30,920 INFO  [TableMetadata] table found: alfresco.node_assoc
11:09:30,920 INFO  [TableMetadata] columns: [target_guid, source_identifier, source_protocol, type_qname, target_protocol, target_identifier, source_guid, id]
11:09:30,920 INFO  [TableMetadata] foreign keys: [fk5baef398b9dee1b3, fk5baef3984e68a555]
11:09:30,920 INFO  [TableMetadata] indexes: [primary, fk5baef398b9dee1b3, fk5baef3984e68a555]
11:09:31,260 INFO  [TableMetadata] table found: alfresco.node_perm_entry
11:09:31,260 INFO  [TableMetadata] columns: [protocol, typeuri, guid, identifier, name, typename, id, allowed, recipient]
11:09:31,260 INFO  [TableMetadata] foreign keys: [fkcfe31cc0dbbed737, fkcfe31cc05a6a54c3, fkcfe31cc026f66010]
11:09:31,260 INFO  [TableMetadata] indexes: [fkcfe31cc0dbbed737, primary, fkcfe31cc05a6a54c3, fkcfe31cc026f66010]
11:09:31,341 INFO  [TableMetadata] table found: alfresco.node_permission
11:09:31,341 INFO  [TableMetadata] columns: [protocol, inherits, guid, identifier]
11:09:31,341 INFO  [TableMetadata] foreign keys: []
11:09:31,341 INFO  [TableMetadata] indexes: [primary]
11:09:31,411 INFO  [TableMetadata] table found: alfresco.node_properties
11:09:31,411 INFO  [TableMetadata] columns: [protocol, multi_valued, persisted_type, qname, long_value, string_value, double_value, boolean_value, serializable_value, actual_type, guid, float_value, identifier]
11:09:31,411 INFO  [TableMetadata] foreign keys: [fkc962bf9065e86569]
11:09:31,411 INFO  [TableMetadata] indexes: [primary, fkc962bf9065e86569]
11:09:31,481 INFO  [TableMetadata] table found: alfresco.node_status
11:09:31,481 INFO  [TableMetadata] columns: [deleted, protocol, guid, identifier, change_txn_id]
11:09:31,481 INFO  [TableMetadata] foreign keys: []
11:09:31,481 INFO  [TableMetadata] indexes: [primary]
11:09:31,531 INFO  [TableMetadata] table found: alfresco.permission_ref
11:09:31,531 INFO  [TableMetadata] columns: [type_uri, type_name, name]
11:09:31,531 INFO  [TableMetadata] foreign keys: []
11:09:31,531 INFO  [TableMetadata] indexes: [primary]
11:09:31,591 INFO  [TableMetadata] table found: alfresco.recipient
11:09:31,591 INFO  [TableMetadata] columns: [recipient]
11:09:31,591 INFO  [TableMetadata] foreign keys: []
11:09:31,591 INFO  [TableMetadata] indexes: [primary]
11:09:31,641 INFO  [TableMetadata] table found: alfresco.store
11:09:31,641 INFO  [TableMetadata] columns: [protocol, root_identifier, root_guid, root_protocol, identifier]
11:09:31,641 INFO  [TableMetadata] foreign keys: [fk68af8e11f473ce0]
11:09:31,641 INFO  [TableMetadata] indexes: [primary, fk68af8e11f473ce0]
11:09:31,701 INFO  [TableMetadata] table found: alfresco.version_count
11:09:31,701 INFO  [TableMetadata] columns: [protocol, version_count, identifier]
11:09:31,701 INFO  [TableMetadata] foreign keys: []
11:09:31,701 INFO  [TableMetadata] indexes: [primary]
11:09:31,711 INFO  [SchemaUpdate] schema update complete
11:09:31,711 INFO  [UpdateTimestampsCache] starting update timestamps cache at region: org.hibernate.cache.UpdateTimestampsCache
11:09:31,721 INFO  [StandardQueryCache] starting query cache at region: org.hibernate.cache.StandardQueryCache
11:09:34,095 INFO  [HibernateTransactionManager] Using DataSource [org.apache.commons.dbcp.BasicDataSource@1628303] of Hibernate SessionFactory for HibernateTransactionManager
11:09:34,125 INFO  [DefaultAopProxyFactory] CGLIB2 available: proxyTargetClass feature enabled
11:09:34,936 INFO  [PolicyComponentImpl] Registered class policy {http://www.alfresco.org}beforeCreateStore (interface org.alfresco.repo.node.NodeServicePolicies$BeforeCreateStorePolicy)
11:09:34,946 INFO  [PolicyComponentImpl] Registered class policy {http://www.alfresco.org}onCreateStore (interface org.alfresco.repo.node.NodeServicePolicies$OnCreateStorePolicy)
11:09:34,946 INFO  [PolicyComponentImpl] Registered class policy {http://www.alfresco.org}beforeCreateNode (interface org.alfresco.repo.node.NodeServicePolicies$BeforeCreateNodePolicy)
11:09:34,946 INFO  [PolicyComponentImpl] Registered class policy {http://www.alfresco.org}onCreateNode (interface org.alfresco.repo.node.NodeServicePolicies$OnCreateNodePolicy)
11:09:34,946 INFO  [PolicyComponentImpl] Registered class policy {http://www.alfresco.org}beforeUpdateNode (interface org.alfresco.repo.node.NodeServicePolicies$BeforeUpdateNodePolicy)
11:09:34,946 INFO  [PolicyComponentImpl] Registered class policy {http://www.alfresco.org}onUpdateNode (interface org.alfresco.repo.node.NodeServicePolicies$OnUpdateNodePolicy)
11:09:34,946 INFO  [PolicyComponentImpl] Registered class policy {http://www.alfresco.org}onUpdateProperties (interface org.alfresco.repo.node.NodeServicePolicies$OnUpdatePropertiesPolicy)
11:09:34,946 INFO  [PolicyComponentImpl] Registered class policy {http://www.alfresco.org}beforeDeleteNode (interface org.alfresco.repo.node.NodeServicePolicies$BeforeDeleteNodePolicy)
11:09:34,956 INFO  [PolicyComponentImpl] Registered class policy {http://www.alfresco.org}onDeleteNode (interface org.alfresco.repo.node.NodeServicePolicies$OnDeleteNodePolicy)
11:09:34,966 INFO  [PolicyComponentImpl] Registered class policy {http://www.alfresco.org}beforeAddAspect (interface org.alfresco.repo.node.NodeServicePolicies$BeforeAddAspectPolicy)
11:09:34,966 INFO  [PolicyComponentImpl] Registered class policy {http://www.alfresco.org}onAddAspect (interface org.alfresco.repo.node.NodeServicePolicies$OnAddAspectPolicy)
11:09:34,966 INFO  [PolicyComponentImpl] Registered class policy {http://www.alfresco.org}beforeRemoveAspect (interface org.alfresco.repo.node.NodeServicePolicies$BeforeRemoveAspectPolicy)
11:09:34,966 INFO  [PolicyComponentImpl] Registered class policy {http://www.alfresco.org}onRemoveAspect (interface org.alfresco.repo.node.NodeServicePolicies$OnRemoveAspectPolicy)
11:09:34,966 INFO  [PolicyComponentImpl] Registered association policy {http://www.alfresco.org}beforeCreateChildAssociation (interface org.alfresco.repo.node.NodeServicePolicies$BeforeCreateChildAssociationPolicy)
11:09:34,966 INFO  [PolicyComponentImpl] Registered association policy {http://www.alfresco.org}onCreateChildAssociation (interface org.alfresco.repo.node.NodeServicePolicies$OnCreateChildAssociationPolicy)
11:09:34,976 INFO  [PolicyComponentImpl] Registered association policy {http://www.alfresco.org}beforeDeleteChildAssociation (interface org.alfresco.repo.node.NodeServicePolicies$BeforeDeleteChildAssociationPolicy)
11:09:34,976 INFO  [PolicyComponentImpl] Registered association policy {http://www.alfresco.org}onDeleteChildAssociation (interface org.alfresco.repo.node.NodeServicePolicies$OnDeleteChildAssociationPolicy)
11:09:34,976 INFO  [PolicyComponentImpl] Registered association policy {http://www.alfresco.org}onCreateAssociation (interface org.alfresco.repo.node.NodeServicePolicies$OnCreateAssociationPolicy)
11:09:34,976 INFO  [PolicyComponentImpl] Registered association policy {http://www.alfresco.org}onDeleteAssociation (interface org.alfresco.repo.node.NodeServicePolicies$OnDeleteAssociationPolicy)
11:09:35,376 INFO  [PolicyComponentImpl] Bound Java method[class=org.alfresco.repo.content.RoutingContentService, method=onUpdateProperties] to policy {http://www.alfresco.org}onUpdateProperties for service org.alfresco.repo.content.RoutingContentService@1e4e6db
11:09:35,376 INFO  [PolicyComponentImpl] Registered class policy {http://www.alfresco.org}onContentUpdate (interface org.alfresco.repo.content.ContentServicePolicies$OnContentUpdatePolicy)
11:09:35,386 INFO  [PolicyComponentImpl] Registered class policy {http://www.alfresco.org}onContentRead (interface org.alfresco.repo.content.ContentServicePolicies$OnContentReadPolicy)
11:09:35,547 INFO  [EhCacheFactoryBean] Using default EHCache CacheManager for cache region 'nullPermissionCache'
11:09:35,547 INFO  [EhCacheFactoryBean] Creating new EHCache cache region 'nullPermissionCache'
11:09:35,557 INFO  [EhCacheManagerFactoryBean] Initializing EHCache CacheManager
11:09:35,637 INFO  [EhCacheFactoryBean] Using default EHCache CacheManager for cache region 'permissionsAccessCache'
11:09:35,637 INFO  [EhCacheFactoryBean] Creating new EHCache cache region 'permissionsAccessCache'
11:09:35,697 INFO  [EhCacheFactoryBean] Using default EHCache CacheManager for cache region 'nodeOwnerCache'
11:09:35,697 INFO  [EhCacheFactoryBean] Creating new EHCache cache region 'nodeOwnerCache'
11:09:35,717 INFO  [PolicyComponentImpl] Behaviour Java method[class=org.alfresco.repo.lock.LockServiceImpl, method=checkForLock] is binding (ClassBinding[class={http://www.alfresco.org/model/content/1.0}lockable]) to policy {http://www.alfresco.org}beforeCreateVersion before the policy is registered
11:09:35,717 INFO  [PolicyComponentImpl] Bound Java method[class=org.alfresco.repo.lock.LockServiceImpl, method=checkForLock] to policy {http://www.alfresco.org}beforeCreateVersion for class {http://www.alfresco.org/model/content/1.0}lockable
11:09:35,717 INFO  [PolicyComponentImpl] Bound Java method[class=org.alfresco.repo.lock.LockServiceImpl, method=checkForLock] to policy {http://www.alfresco.org}beforeUpdateNode for class {http://www.alfresco.org/model/content/1.0}lockable
11:09:35,717 INFO  [PolicyComponentImpl] Bound Java method[class=org.alfresco.repo.lock.LockServiceImpl, method=checkForLock] to policy {http://www.alfresco.org}beforeDeleteNode for class {http://www.alfresco.org/model/content/1.0}lockable
11:09:35,717 INFO  [PolicyComponentImpl] Behaviour Java method[class=org.alfresco.repo.lock.LockServiceImpl, method=onCopy] is binding (ClassBinding[class={http://www.alfresco.org/model/content/1.0}lockable]) to policy {http://www.alfresco.org}onCopyNode before the policy is registered
11:09:35,717 INFO  [PolicyComponentImpl] Bound Java method[class=org.alfresco.repo.lock.LockServiceImpl, method=onCopy] to policy {http://www.alfresco.org}onCopyNode for class {http://www.alfresco.org/model/content/1.0}lockable
11:09:35,717 INFO  [PolicyComponentImpl] Behaviour Java method[class=org.alfresco.repo.lock.LockServiceImpl, method=onCreateVersion] is binding (ClassBinding[class={http://www.alfresco.org/model/content/1.0}lockable]) to policy {http://www.alfresco.org}onCreateVersion before the policy is registered
11:09:35,717 INFO  [PolicyComponentImpl] Bound Java method[class=org.alfresco.repo.lock.LockServiceImpl, method=onCreateVersion] to policy {http://www.alfresco.org}onCreateVersion for class {http://www.alfresco.org/model/content/1.0}lockable
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract void org.alfresco.service.cmr.repository.NodeService.setProperties(org.alfresco.service.cmr.repository.NodeRef,java.util.Map) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.0.sys:base.WriteProperties]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract java.util.List org.alfresco.service.cmr.repository.NodeService.getStores()] with attributes [[AFTER_ACL_NODE.sys:base.Read]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract void org.alfresco.service.cmr.repository.NodeService.addAspect(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName,java.util.Map) throws org.alfresco.service.cmr.repository.InvalidNodeRefException,org.alfresco.service.cmr.dictionary.InvalidAspectException] with attributes [[ACL_NODE.0.sys:base.Write]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract void org.alfresco.service.cmr.repository.NodeService.removeAssociation(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ROLE_AUTHENTICATED]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract java.util.List org.alfresco.service.cmr.repository.NodeService.getChildAssocs(org.alfresco.service.cmr.repository.NodeRef) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.0.sys:base.ReadChildren, AFTER_ACL_NODE.sys:base.Read]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract java.util.List org.alfresco.service.cmr.repository.NodeService.getChildAssocs(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QNamePattern,org.alfresco.service.namespace.QNamePattern) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.0.sys:base.ReadChildren, AFTER_ACL_NODE.sys:base.Read]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract void org.alfresco.service.cmr.repository.NodeService.removeChild(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.cmr.repository.NodeRef) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.1.sys:base.Delete]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract void org.alfresco.service.cmr.repository.NodeService.removeAspect(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName) throws org.alfresco.service.cmr.repository.InvalidNodeRefException,org.alfresco.service.cmr.dictionary.InvalidAspectException] with attributes [[ACL_NODE.0.sys:base.Write]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract void org.alfresco.service.cmr.repository.NodeService.setType(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.0.sys:base.Write]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract void org.alfresco.service.cmr.repository.NodeService.deleteNode(org.alfresco.service.cmr.repository.NodeRef) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.0.sys:base.Delete]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract void org.alfresco.service.cmr.repository.NodeService.setChildAssociationIndex(org.alfresco.service.cmr.repository.ChildAssociationRef,int) throws org.alfresco.service.cmr.repository.InvalidChildAssociationRefException] with attributes [[ACL_PARENT.0.sys:base.WriteProperties]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract java.util.Set org.alfresco.service.cmr.repository.NodeService.getAspects(org.alfresco.service.cmr.repository.NodeRef) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.0.sys:base.ReadProperties]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.cmr.repository.ChildAssociationRef org.alfresco.service.cmr.repository.NodeService.moveNode(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName,org.alfresco.service.namespace.QName) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.0.sys:base.WriteProperties, ACL_PARENT.0.sys:base.DeleteChildren, ACL_NODE.1.sys:base.CreateChildren]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.cmr.repository.AssociationRef org.alfresco.service.cmr.repository.NodeService.createAssociation(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName) throws org.alfresco.service.cmr.repository.InvalidNodeRefException,org.alfresco.service.cmr.repository.AssociationExistsException] with attributes [[ROLE_AUTHENTICATED]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.namespace.QName org.alfresco.service.cmr.repository.NodeService.getType(org.alfresco.service.cmr.repository.NodeRef) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.0.sys:base.Read]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.cmr.repository.StoreRef org.alfresco.service.cmr.repository.NodeService.createStore(java.lang.String,java.lang.String) throws org.alfresco.service.cmr.repository.StoreExistsException] with attributes [[ACL_METHOD.ROLE_ADMINISTRATOR]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract boolean org.alfresco.service.cmr.repository.NodeService.exists(org.alfresco.service.cmr.repository.NodeRef)] with attributes [[ACL_NODE.0.sys:base.Read]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract boolean org.alfresco.service.cmr.repository.NodeService.exists(org.alfresco.service.cmr.repository.StoreRef)] with attributes [[ACL_NODE.0.sys:base.Read]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.cmr.repository.ChildAssociationRef org.alfresco.service.cmr.repository.NodeService.getPrimaryParent(org.alfresco.service.cmr.repository.NodeRef) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.0.sys:base.ReadProperties, AFTER_ACL_PARENT.sys:base.Read]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.cmr.repository.ChildAssociationRef org.alfresco.service.cmr.repository.NodeService.addChild(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName,org.alfresco.service.namespace.QName) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.0.sys:base.CreateChildren, ACL_NODE.1.sys:base.ReadProperties]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract java.util.List org.alfresco.service.cmr.repository.NodeService.getParentAssocs(org.alfresco.service.cmr.repository.NodeRef) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.0.sys:base.ReadProperties, AFTER_ACL_PARENT.sys:base.Read]]
11:09:35,767 INFO  [MethodDefinitionMap] Adding secure method [public abstract java.util.List org.alfresco.service.cmr.repository.NodeService.getParentAssocs(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QNamePattern,org.alfresco.service.namespace.QNamePattern) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.0.sys:base.ReadProperties, AFTER_ACL_PARENT.sys:base.Read]]
11:09:35,777 INFO  [MethodDefinitionMap] Adding secure method [public abstract java.io.Serializable org.alfresco.service.cmr.repository.NodeService.getProperty(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.0.sys:base.ReadProperties]]
11:09:35,777 INFO  [MethodDefinitionMap] Adding secure method [public abstract java.util.List org.alfresco.service.cmr.repository.NodeService.getSourceAssocs(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QNamePattern) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ROLE_AUTHENTICATED]]
11:09:35,777 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.cmr.repository.NodeRef org.alfresco.service.cmr.repository.NodeService.getRootNode(org.alfresco.service.cmr.repository.StoreRef) throws org.alfresco.service.cmr.repository.InvalidStoreRefException] with attributes [[ACL_NODE.0.sys:base.Read]]
11:09:35,777 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.cmr.repository.ChildAssociationRef org.alfresco.service.cmr.repository.NodeService.createNode(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName,org.alfresco.service.namespace.QName,org.alfresco.service.namespace.QName,java.util.Map) throws org.alfresco.service.cmr.repository.InvalidNodeRefException,org.alfresco.service.cmr.dictionary.InvalidTypeException] with attributes [[ACL_NODE.0.sys:base.CreateChildren]]
11:09:35,777 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.cmr.repository.ChildAssociationRef org.alfresco.service.cmr.repository.NodeService.createNode(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName,org.alfresco.service.namespace.QName,org.alfresco.service.namespace.QName) throws org.alfresco.service.cmr.repository.InvalidNodeRefException,org.alfresco.service.cmr.dictionary.InvalidTypeException] with attributes [[ACL_NODE.0.sys:base.CreateChildren]]
11:09:35,777 INFO  [MethodDefinitionMap] Adding secure method [public abstract java.util.List org.alfresco.service.cmr.repository.NodeService.getTargetAssocs(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QNamePattern) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ROLE_AUTHENTICATED]]
11:09:35,777 INFO  [MethodDefinitionMap] Adding secure method [public abstract void org.alfresco.service.cmr.repository.NodeService.setProperty(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName,java.io.Serializable) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.0.sys:base.WriteProperties]]
11:09:35,777 INFO  [MethodDefinitionMap] Adding secure method [public abstract java.util.Map org.alfresco.service.cmr.repository.NodeService.getProperties(org.alfresco.service.cmr.repository.NodeRef) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.0.sys:base.ReadProperties]]
11:09:35,777 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.cmr.repository.Path org.alfresco.service.cmr.repository.NodeService.getPath(org.alfresco.service.cmr.repository.NodeRef) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.0.sys:base.ReadProperties]]
11:09:35,777 INFO  [MethodDefinitionMap] Adding secure method [public abstract boolean org.alfresco.service.cmr.repository.NodeService.hasAspect(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName) throws org.alfresco.service.cmr.repository.InvalidNodeRefException,org.alfresco.service.cmr.dictionary.InvalidAspectException] with attributes [[ACL_NODE.0.sys:base.ReadProperties]]
11:09:35,777 INFO  [MethodDefinitionMap] Adding secure method [public abstract java.util.List org.alfresco.service.cmr.repository.NodeService.getPaths(org.alfresco.service.cmr.repository.NodeRef,boolean) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.0.sys:base.ReadProperties]]
11:09:35,777 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.cmr.repository.NodeRef$Status org.alfresco.service.cmr.repository.NodeService.getNodeStatus(org.alfresco.service.cmr.repository.NodeRef)] with attributes [[ACL_NODE.0.sys:base.Read]]
11:09:35,777 INFO  [AbstractSecurityInterceptor] Validated configuration attributes
11:09:35,787 INFO  [MethodDefinitionMap] Adding secure method [public abstract java.util.List org.alfresco.service.cmr.search.SearchService.selectProperties(org.alfresco.service.cmr.repository.NodeRef,java.lang.String,org.alfresco.service.cmr.search.QueryParameterDefinition[],org.alfresco.service.namespace.NamespacePrefixResolver,boolean) throws org.alfresco.service.cmr.repository.InvalidNodeRefException,org.alfresco.service.cmr.repository.XPathException] with attributes [[ACL_NODE.0.sys:base.Read]]
11:09:35,787 INFO  [MethodDefinitionMap] Adding secure method [public abstract java.util.List org.alfresco.service.cmr.search.SearchService.selectProperties(org.alfresco.service.cmr.repository.NodeRef,java.lang.String,org.alfresco.service.cmr.search.QueryParameterDefinition[],org.alfresco.service.namespace.NamespacePrefixResolver,boolean,java.lang.String) throws org.alfresco.service.cmr.repository.InvalidNodeRefException,org.alfresco.service.cmr.repository.XPathException] with attributes [[ACL_NODE.0.sys:base.Read]]
11:09:35,797 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.cmr.search.ResultSet org.alfresco.service.cmr.search.SearchService.query(org.alfresco.service.cmr.repository.StoreRef,java.lang.String,java.lang.String,org.alfresco.service.cmr.repository.Path[])] with attributes [[AFTER_ACL_NODE.sys:base.Read]]
11:09:35,797 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.cmr.search.ResultSet org.alfresco.service.cmr.search.SearchService.query(org.alfresco.service.cmr.repository.StoreRef,org.alfresco.service.namespace.QName,org.alfresco.service.cmr.search.QueryParameter[])] with attributes [[AFTER_ACL_NODE.sys:base.Read]]
11:09:35,797 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.cmr.search.ResultSet org.alfresco.service.cmr.search.SearchService.query(org.alfresco.service.cmr.search.SearchParameters)] with attributes [[AFTER_ACL_NODE.sys:base.Read]]
11:09:35,797 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.cmr.search.ResultSet org.alfresco.service.cmr.search.SearchService.query(org.alfresco.service.cmr.repository.StoreRef,java.lang.String,java.lang.String,org.alfresco.service.cmr.search.QueryParameterDefinition[])] with attributes [[AFTER_ACL_NODE.sys:base.Read]]
11:09:35,797 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.cmr.search.ResultSet org.alfresco.service.cmr.search.SearchService.query(org.alfresco.service.cmr.repository.StoreRef,java.lang.String,java.lang.String)] with attributes [[AFTER_ACL_NODE.sys:base.Read]]
11:09:35,797 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.cmr.search.ResultSet org.alfresco.service.cmr.search.SearchService.query(org.alfresco.service.cmr.repository.StoreRef,java.lang.String,java.lang.String,org.alfresco.service.cmr.repository.Path[],org.alfresco.service.cmr.search.QueryParameterDefinition[])] with attributes [[AFTER_ACL_NODE.sys:base.Read]]
11:09:35,797 INFO  [MethodDefinitionMap] Adding secure method [public abstract boolean org.alfresco.service.cmr.search.SearchService.contains(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName,java.lang.String,org.alfresco.service.cmr.search.SearchParameters$Operator) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.0.sys:base.Read]]
11:09:35,797 INFO  [MethodDefinitionMap] Adding secure method [public abstract boolean org.alfresco.service.cmr.search.SearchService.contains(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName,java.lang.String) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.0.sys:base.Read]]
11:09:35,797 INFO  [MethodDefinitionMap] Adding secure method [public abstract java.util.List org.alfresco.service.cmr.search.SearchService.selectNodes(org.alfresco.service.cmr.repository.NodeRef,java.lang.String,org.alfresco.service.cmr.search.QueryParameterDefinition[],org.alfresco.service.namespace.NamespacePrefixResolver,boolean) throws org.alfresco.service.cmr.repository.InvalidNodeRefException,org.alfresco.service.cmr.repository.XPathException] with attributes [[AFTER_ACL_NODE.sys:base.Read]]
11:09:35,797 INFO  [MethodDefinitionMap] Adding secure method [public abstract java.util.List org.alfresco.service.cmr.search.SearchService.selectNodes(org.alfresco.service.cmr.repository.NodeRef,java.lang.String,org.alfresco.service.cmr.search.QueryParameterDefinition[],org.alfresco.service.namespace.NamespacePrefixResolver,boolean,java.lang.String) throws org.alfresco.service.cmr.repository.InvalidNodeRefException,org.alfresco.service.cmr.repository.XPathException] with attributes [[AFTER_ACL_NODE.sys:base.Read]]
11:09:35,797 INFO  [MethodDefinitionMap] Adding secure method [public abstract boolean org.alfresco.service.cmr.search.SearchService.like(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName,java.lang.String,boolean) throws org.alfresco.service.cmr.repository.InvalidNodeRefException] with attributes [[ACL_NODE.0.sys:base.Read]]
11:09:35,797 INFO  [AbstractSecurityInterceptor] Validated configuration attributes
11:09:35,817 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.cmr.repository.ContentReader org.alfresco.service.cmr.repository.ContentService.getReader(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName) throws org.alfresco.service.cmr.repository.InvalidNodeRefException,org.alfresco.service.cmr.dictionary.InvalidTypeException] with attributes [[ACL_NODE.0.cm:content.ReadContent]]
11:09:35,817 INFO  [MethodDefinitionMap] Adding secure method [public abstract void org.alfresco.service.cmr.repository.ContentService.transform(org.alfresco.service.cmr.repository.ContentReader,org.alfresco.service.cmr.repository.ContentWriter) throws org.alfresco.service.cmr.repository.NoTransformerException,org.alfresco.service.cmr.repository.ContentIOException] with attributes [[ACL_ALLOW]]
11:09:35,817 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.cmr.repository.ContentWriter org.alfresco.service.cmr.repository.ContentService.getTempWriter()] with attributes [[ACL_ALLOW]]
11:09:35,817 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.cmr.repository.ContentWriter org.alfresco.service.cmr.repository.ContentService.getWriter(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName,boolean) throws org.alfresco.service.cmr.repository.InvalidNodeRefException,org.alfresco.service.cmr.dictionary.InvalidTypeException] with attributes [[ACL_NODE.0.cm:content.WriteContent]]
11:09:35,817 INFO  [MethodDefinitionMap] Adding secure method [public abstract boolean org.alfresco.service.cmr.repository.ContentService.isTransformable(org.alfresco.service.cmr.repository.ContentReader,org.alfresco.service.cmr.repository.ContentWriter)] with attributes [[ACL_ALLOW]]
11:09:35,817 INFO  [AbstractSecurityInterceptor] Validated configuration attributes
11:09:35,897 INFO  [MethodDefinitionMap] Adding secure method [public abstract void org.alfresco.service.cmr.security.PermissionService.clearPermission(org.alfresco.service.cmr.repository.NodeRef,java.lang.String)] with attributes [[ACL_NODE.0.sys:base.ChangePermissions]]
11:09:35,897 INFO  [MethodDefinitionMap] Adding secure method [public abstract java.util.Set org.alfresco.service.cmr.security.PermissionService.getSettablePermissions(org.alfresco.service.cmr.repository.NodeRef)] with attributes [[ACL_ALLOW]]
11:09:35,897 INFO  [MethodDefinitionMap] Adding secure method [public abstract java.util.Set org.alfresco.service.cmr.security.PermissionService.getSettablePermissions(org.alfresco.service.namespace.QName)] with attributes [[ACL_ALLOW]]
11:09:35,897 INFO  [MethodDefinitionMap] Adding secure method [public abstract java.lang.String org.alfresco.service.cmr.security.PermissionService.getOwnerAuthority()] with attributes [[ACL_ALLOW]]
11:09:35,897 INFO  [MethodDefinitionMap] Adding secure method [public abstract org.alfresco.service.cmr.security.AccessStatus org.alfresco.service.cmr.security.PermissionService.hasPermission(org.alfresco.service.cmr.repository.NodeRef,java.lang.String)] with attributes [[ACL_ALLOW]]
11:09:35,897 INFO  [MethodDefinitionMap] Adding secure method [public abstract boolean org.alfresco.service.cmr.security.PermissionService.getInheritParentPermissions(org.alfresco.service.cmr.repository.NodeRef)] with attributes [[ACL_ALLOW]]
11:09:35,897 INFO  [MethodDefinitionMap] Adding secure method [public abstract java.lang.String org.alfresco.service.cmr.security.PermissionService.getAllAuthorities()] with attributes [[ACL_ALLOW]]
11:09:35,897 INFO  [MethodDefinitionMap] Adding secure method [public abstract void org.alfresco.service.cmr.security.PermissionService.setPermission(org.alfresco.service.cmr.repository.NodeRef,java.lang.String,java.lang.String,boolean)] with attributes [[ACL_NODE.0.sys:base.ChangePermissions]]
11:0

nrk
Champ in-the-making
Champ in-the-making
Part of my message didn't come thru, here it is….



11:09:40,904 INFO  [RAMJobStore] RAMJobStore initialized.
11:09:40,914 INFO  [StdSchedulerFactory] Quartz scheduler 'QuartzScheduler' initialized from an externally provided properties instance.
11:09:40,914 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.4.5
11:09:40,914 INFO  [SchedulerFactoryBean] Starting Quartz scheduler now
11:09:40,914 INFO  [QuartzScheduler] Scheduler QuartzScheduler_$_NON_CLUSTERED started.
11:09:41,936 INFO  [STDOUT] Mar 9, 2006 11:09:41 AM net.sf.joott.uno.UnoConnection connect
INFO: connecting using "socket,host=localhost,port=8100,tcpNoDelay=1"…
11:09:43,138 INFO  [STDOUT] Mar 9, 2006 11:09:43 AM net.sf.joott.uno.UnoConnection connect
SEVERE: connection failed: com.sun.star.connection.NoConnectException: java.net.ConnectException: Connection refused: connect
11:09:43,338 INFO  [STDOUT] Mar 9, 2006 11:09:43 AM net.sf.joott.uno.UnoConnection connect
INFO: connecting using "socket,host=localhost,port=8100,tcpNoDelay=1"…
11:09:44,349 INFO  [STDOUT] Mar 9, 2006 11:09:44 AM net.sf.joott.uno.UnoConnection connect
SEVERE: connection failed: com.sun.star.connection.NoConnectException: java.net.ConnectException: Connection refused: connect


jboss gets stuck after this and CPU shoots to 100%
Unable to figure out what I'm missing compared to the Alfresco Web App.

-nrk

nrk
Champ in-the-making
Champ in-the-making
the remaining server log. Didn't appear in my earlier post. JBoss hangs after this.

    11:09:40,904 INFO  [RAMJobStore] RAMJobStore initialized.
    11:09:40,914 INFO  [StdSchedulerFactory] Quartz scheduler 'QuartzScheduler' initialized from an externally provided properties instance.
    11:09:40,914 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.4.5
    11:09:40,914 INFO  [SchedulerFactoryBean] Starting Quartz scheduler now
    11:09:40,914 INFO  [QuartzScheduler] Scheduler QuartzScheduler_$_NON_CLUSTERED started.
    11:09:41,936 INFO  [STDOUT] Mar 9, 2006 11:09:41 AM net.sf.joott.uno.UnoConnection connect
    INFO: connecting using "socket,host=localhost,port=8100,tcpNoDelay=1"…
    11:09:43,138 INFO  [STDOUT] Mar 9, 2006 11:09:43 AM net.sf.joott.uno.UnoConnection connect
    SEVERE: connection failed: com.sun.star.connection.NoConnectException: java.net.ConnectException: Connection refused: connect
    11:09:43,338 INFO  [STDOUT] Mar 9, 2006 11:09:43 AM net.sf.joott.uno.UnoConnection connect
    INFO: connecting using "socket,host=localhost,port=8100,tcpNoDelay=1"…
    11:09:44,349 INFO  [STDOUT] Mar 9, 2006 11:09:44 AM net.sf.joott.uno.UnoConnection connect
    SEVERE: connection failed: com.sun.star.connection.NoConnectException: java.net.ConnectException: Connection refused: connect

nrk
Champ in-the-making
Champ in-the-making
Not sure if this helps diagnose the problem. Listing a compare of the contentstore folder.

A folder structure 2006->3->9->13 gets created within the contentstore folder when started with Alfresco.war. This folder contains a bunch of bin files.

These folders are not created when I run my app.

thanks,
Rk

gavinc
Champ in-the-making
Champ in-the-making
I would also try adding the rest of the configuration from our web.xml to yours to see if that makes a difference.

Have you tried accessing Alfresco from http://localhost:8080/alfresco? What happens if you do?

There are a couple of changes we've made to JBoss too that may or may not be affecting you, see this thread: http://www.alfresco.org/forums/viewtopic.php?t=582

When JBoss goes to 100% could you do a thread dump and post the results as this may give us an idea what it's doing…to do this press CTRL BREAK in the JBoss console window.

nrk
Champ in-the-making
Champ in-the-making
Got it working! but the solutions seems very weird!

I will place another post within the next few days detailing out how I've integrated Alfresco into my webapp successfully. Once I've rechecked everything and cleaned up the integration.

There were 2 inter-related issues:
1) I was missing the pdf "Alfresco-Tutorial.pdf" in the "alfresco\bootstrap" folder since I thought it was not required (my mistake!)
I created the individual jars (core, repository,jcr, etc…) and bundled the respective config files into each of them. During this step I deleted the pdf.

2) I did not have the following in the log4j.xml file located in "jbosshome\server\default\conf"



<root>
   <priority value="INFO" />
   <appender-ref ref="CONSOLE"/>
   <appender-ref ref="FILE"/>
</root>


Though sounding very odd, it looks like somewhere there's code that seems very tightly linked to log4j configuration. I'm using apache commons logging in my app and maybe do not have this dependency issue.
With this snippet in place, I was able to see a bootstrap failed exception on my console due to the missing pdf and then everything went on fine.
Without this snippet, something threw CPU into 100% where it stayed!

Placing the pdf into the expected location enabled my app to bootstrap alfresco and setup the sample "Company home" space. I'll remove this later once we define our own spaces, users etc.
We're retaining this for now so that we can switch to the Alfresco web app at any time to visually see any changes we make Smiley Happy

thanks,
nrk

nrk
Champ in-the-making
Champ in-the-making
the snippet from log4j.xml didn't come thru…
—————————————–
<root>
     <priority value="INFO" />
     <appender-ref ref="CONSOLE"/>
     <appender-ref ref="FILE"/>
</root>
—————————————–