Daily Log for #alfresco IRC Channel

Alfresco discussion and collaboration. Stick around a few hours after asking a question.

Official support for Enterprise subscribers: support.alfresco.com.

Joining the Channel:

Join in the conversation by getting an IRC client and connecting to #alfresco at Freenode. Our you can use the IRC web chat.

More information about the channel is in the wiki.

Getting Help

More help is available in this list of resources.

Daily Log for #alfresco

2018-03-16 07:28:04 GMT <yreg> Good morning

2018-03-16 08:16:47 GMT <DarkStar1> Good morning everyone

2018-03-16 08:27:28 GMT <yreg> morning DarkStar1

2018-03-16 09:07:30 GMT <hi-ko> good morning!

2018-03-16 09:07:39 GMT <hi-ko> did anybody try to configure multiple filesystems in alfresco to get different mount points / different behavior depending on the mounted filesytem?

2018-03-16 09:57:00 GMT <hi-ko> in theory it is still possible by using the subsystem extension classpath mechanism and add a new item to the filesystemContexts list

2018-03-16 09:57:58 GMT <hi-ko> but I'm struggleing with that damn jar wins always mechanism which brakes the extension classpath mechanism

2018-03-16 09:58:53 GMT <yreg> hi-ko, would AFaust's alfresco-simple-store affon be of help to you ?

2018-03-16 09:59:34 GMT <yreg> you could use it to have multiple file content stores from different mountpoints

2018-03-16 09:59:58 GMT <yreg> and you can wrap any of them to add features/behaviours ....

2018-03-16 10:00:05 GMT <AFaust> I think hi-ko is referring to the fileServers subsystem - not the content store

2018-03-16 10:00:09 GMT <AFaust> so FTP / CIFS etc

2018-03-16 10:00:12 GMT <hi-ko> yreg: alfresco-simple-store is the contentstore part but I want to extend the protocol part

2018-03-16 10:00:22 GMT <yreg> OK

2018-03-16 10:00:28 GMT <hi-ko> AFaust: wright ;-)

2018-03-16 10:00:34 GMT <hi-ko> right

2018-03-16 10:01:23 GMT <hi-ko> so the question is now more generic and not feature specific: How to fix the subsystem extension classpath mechanism ...

2018-03-16 10:01:34 GMT <AFaust> hi-ko: With a bean post-processor you should be able to modify the filesystemsContexts list

2018-03-16 10:01:51 GMT <hi-ko> AFaust: I waited on this answer ;-)

2018-03-16 10:02:22 GMT <AFaust> Well - it's my go-to reply for this. Though I do not yet fully understand your issues with the extension classpath in this case...

2018-03-16 10:02:46 GMT <AFaust> The default is defined in the regular subsystem, so where are you having a conflict on the extension classpath?

2018-03-16 10:02:59 GMT <AFaust> Which JAR is messing you up?

2018-03-16 10:04:41 GMT <AFaust> JAR wins only breaks the extension classpath mechanism if some doofus JAR-module developer follows the stupid advise from Alfresco to always put everything in extension - IMHO: addons / modules should never put their stuff in extension and leave extension for the customer / administrator to use

2018-03-16 10:08:00 GMT <hi-ko> AFaust: my issue is that my bean defined in extension/subsystems/fileServers/default/default/custom-file-servers-context.xml is ignored since already defined in alfresco-repository-*.jar

2018-03-16 10:08:49 GMT <AFaust> Which Alfresco version is that? I see no custom-file-servers-context.xml in alfresco-repository*.jar

2018-03-16 10:08:55 GMT <hi-ko> 5.2

2018-03-16 10:09:02 GMT <AFaust> Custom build?

2018-03-16 10:09:52 GMT <AFaust> Source code does not show any subsystems directory in extension for alfresco-repository: https://github.com/Alfresco/alfresco-repository/tree/master/src/main/resources/alfresco/extension

2018-03-16 10:09:53 GMT <alfbot> Title: alfresco-repository/src/main/resources/alfresco/extension at master · Alfresco/alfresco-repository · GitHub (at github.com)

2018-03-16 10:09:53 GMT <hi-ko> no but I debug the property load and give feedback

2018-03-16 10:25:35 GMT <hi-ko> Now it's running. My custom-file-servers-context.xml was catched up from extension/subsystems/fileServers/default/default but I also copied file-servers.properties which no longer took the parameters defined in alfresco-global.properties

2018-03-16 10:26:24 GMT <hi-ko> What did I wrong? I thought alfresco-global has always precedence?

2018-03-16 11:27:27 GMT <AFaust> hi-ko: No, alfresco-global.properties only has precedence over the subsystem defaults. But if you use extension subsystem path, then any properties configured therein have precedence for that subsystem

2018-03-16 11:28:00 GMT <AFaust> This is required to support multiple authentication subsystems with different configuration, i.e. 2 LDAP instances...

2018-03-16 11:54:57 GMT *** angelborroy_ is now known as angelborroy

2018-03-16 12:26:44 GMT <hi-ko> AFaust: thanks - got it.

2018-03-16 13:24:51 GMT <kgastaldo_> Hey Guys - Latest community roundup is out - https://community.alfresco.com/community/collaborate/blog/2018/03/16/community-newsletter-march-16-2018

2018-03-16 13:24:53 GMT <alfbot> Title: Community Newsletter - March 16, 2018 | Alfresco Community (at community.alfresco.com)

2018-03-16 13:58:24 GMT <bmejias> thanks kgastaldo_

2018-03-16 14:01:26 GMT <douglascrp> morning everyone

2018-03-16 14:01:40 GMT <douglascrp> hi-ko, users are not complaining anymore about performance issues

2018-03-16 14:37:22 GMT <hi-ko> douglascrp: cool - well done! send a pull request on https://github.com/ecm4u/alfresco-ce-repository ;-)

2018-03-16 14:37:23 GMT <alfbot> Title: GitHub - ecm4u/alfresco-ce-repository: Alfresco Community Edition Repository (at github.com)

2018-03-16 14:46:10 GMT <douglascrp> hi-ko, there was not need

2018-03-16 14:46:17 GMT <douglascrp> I was wrong about the hard code

2018-03-16 14:46:29 GMT <douglascrp> that is just the default value, but there are setter methods for both

2018-03-16 14:46:37 GMT <douglascrp> so it is configurable using properties

2018-03-16 14:46:45 GMT <douglascrp> hi-ko, ^

2018-03-16 14:50:09 GMT <hi-ko> douglascrp: https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/repository/config/alfresco/subsystems/ActivitiesFeed/default/activities-jobs.properties

2018-03-16 14:50:58 GMT <hi-ko> so you changed: cronExpression, maxItemsPerCycle, batchSize ?

2018-03-16 14:51:33 GMT <hi-ko> numThreads=1, batchSize=100, ... ?

2018-03-16 14:53:24 GMT <douglascrp> hi-ko, yes

2018-03-16 14:53:49 GMT <douglascrp> activities.feed.generator.numThreads=1

2018-03-16 14:53:49 GMT <douglascrp> activities.feed.generator.cronExpression=0 0/1 * * * ?

2018-03-16 14:53:49 GMT <douglascrp> cache.userToAuthoritySharedCache.tx.maxItems=200

2018-03-16 14:53:56 GMT <douglascrp> I had to change the cache too

2018-03-16 14:54:18 GMT <douglascrp> I have 160 users, so I decided to increase it to 200, as there can be more users being created

2018-03-16 14:54:25 GMT <douglascrp> so far, so good

2018-03-16 14:57:31 GMT <hi-ko> numThreads=1 sounds reasonable, every minute is a little bit heavy but I will try next time. The caches are not so relevant if your db (storage) is fast enough

2018-03-16 14:58:28 GMT <douglascrp> the original value is 30 seconds :P

2018-03-16 14:58:35 GMT <douglascrp> hi-ko, ^

2018-03-16 14:58:51 GMT <douglascrp> the full default values

2018-03-16 14:58:52 GMT <douglascrp> activities.feed.generator.batchSize=1000

2018-03-16 14:58:52 GMT <douglascrp> activities.feed.generator.numThreads=4

2018-03-16 14:58:52 GMT <douglascrp> activities.feed.generator.cronExpression=0/30 * * * * ?

2018-03-16 14:59:01 GMT <douglascrp> so I reduced it a lot

2018-03-16 14:59:20 GMT <douglascrp> both in number and in time

2018-03-16 14:59:32 GMT <douglascrp> ok guys... lunch time... brb

2018-03-16 15:27:27 GMT <Younes> ~later tell angelborroy Thanks for the great blog ! Short, concise and awesome.. as usual !

2018-03-16 15:27:27 GMT <alfbot> Younes: The operation succeeded.

2018-03-16 16:12:34 GMT *** Kater__ is now known as Kater

2018-03-16 20:31:10 GMT <resplin> ~last seen Modestas

2018-03-16 20:31:10 GMT <alfbot> resplin: (last [--{from,in,on,with,without,regexp} <value>] [--nolimit]) -- Returns the last message matching the given criteria. --from requires a nick from whom the message came; --in requires a channel the message was sent to; --on requires a network the message was sent on; --with requires some string that had to be in the message; --regexp requires a regular expression the message must match; --nolimit returns all (1 more message)

2018-03-16 20:31:16 GMT <resplin> ~seen Modestas

2018-03-16 20:31:16 GMT <alfbot> resplin: Modestas was last seen in #alfresco 44 weeks, 2 days, 6 hours, 25 minutes, and 23 seconds ago: <Modestas> same

End of Daily Log

The other logs are at http://esplins.org/hash_alfresco