Alfresco discussion and collaboration. Stick around a few hours after asking a question.
Official support for Enterprise subscribers: support.alfresco.com.
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.
More help is available in this list of resources.
2018-01-12 07:37:39 GMT <bhagyas> Good morning AFaust
2018-01-12 07:37:43 GMT <bhagyas> and Tichodroma
2018-01-12 07:39:11 GMT <Tichodroma> good morning
2018-01-12 08:15:15 GMT <bhagyas> :)
2018-01-12 08:15:36 GMT <bhagyas> who's already in lisbon?
2018-01-12 08:17:47 GMT <iblanco> Hi Alfresquians, good morning
2018-01-12 08:18:51 GMT <yreg> Morning everyone !
2018-01-12 08:19:08 GMT <yreg> bhagyas, will be there late on Monday
2018-01-12 08:19:43 GMT <iblanco> I'm having an strange behaviour with a search in an scheduled task.
2018-01-12 08:19:44 GMT <yreg> haven't made up my mind yet about what to hack on the first day
2018-01-12 08:20:11 GMT <iblanco> Let's see if someone can give me any clue.
2018-01-12 08:20:24 GMT <yreg> iblanco, could you share a paste of your code, what you expect and what seems wrong with what you get ?
2018-01-12 08:20:55 GMT <iblanco> Yreg, sure, let me first just explain what is happening.
2018-01-12 08:22:42 GMT <iblanco> My scheduled task executes the same search over and over again and does some job on the nodes. The problem is that the result of the query seems to be "cached" and even after some hours after the creation of a new node that satisfies the condition it still does not see the new nodes.
2018-01-12 08:23:03 GMT <iblanco> Is not a SOLR issue becaus I can see that it is up to date soon.
2018-01-12 08:23:26 GMT <iblanco> The most strange thing is that if i execute the same query in the node browser the correct result is obtained.
2018-01-12 08:23:46 GMT <iblanco> Not only that. After searching in the node browser my process sees the new result.
2018-01-12 08:24:20 GMT <iblanco> It seems like if the search in the node browser was invalidating the "query's cache" or something like that.
2018-01-12 08:28:33 GMT <iblanco> Obviously I would expect/need my process to behave like the nodebrowser is doing, getting the new results as soon as they are indexed in SOLR.
2018-01-12 08:28:56 GMT <iblanco> The query is executed with EVENTUAL consistency.
2018-01-12 08:29:45 GMT <iblanco> Inside a retryingTransactionHelper an fully authenticated as Admin user.
2018-01-12 08:44:08 GMT <bhagyas> yreg: Awesome! Hope to see you there
2018-01-12 08:45:33 GMT <angelborroy> ~HtmlLogger flushlog
2018-01-12 08:45:33 GMT <alfbot> angelborroy: Woooosh, your log has been flushed...
2018-01-12 09:45:17 GMT <yreg> iblanco, could you share the snippet where you configure and execute your search ? Also, what's the cron for tracking configured on the Solr Level?
2018-01-12 09:52:25 GMT <iblanco> https://pastebin.com/xWWJbeU7
2018-01-12 09:52:26 GMT <alfbot> Title: [Java] AuthenticationUtil.setAdminUserAsFullyAuthenticatedUser(); SearchParameters par - Pastebin.com (at pastebin.com)
2018-01-12 09:54:08 GMT <iblanco> yreg the core tracking configuration is the default, 15 seconds. I think the solr core is updated properly because as i said if I execute the exact same query in the node browser the new results are seem.
2018-01-12 09:55:06 GMT <iblanco> The query I execute uses ISNULL and some other checks so I'm quite confident that the node browser does also have to execute it eventually because i don't think those constructions are supported in a transactional metadata query.
2018-01-12 09:55:33 GMT <yreg> iblanco, I am not azware of any caching level regarding alfresco->solr queries
2018-01-12 09:55:53 GMT <yreg> well mabe nodes and node properties contained in the result
2018-01-12 09:56:01 GMT <yreg> but definitely not the result itself
2018-01-12 09:56:08 GMT <yreg> so there must be an other issue
2018-01-12 09:56:29 GMT <yreg> also I am not a fan of how you execute as admin
2018-01-12 09:56:46 GMT <yreg> I would have puth the whole thing in a runAsSystem block
2018-01-12 09:57:30 GMT <yreg> you could hook in solrAdmin bean and check number of nodes pending index
2018-01-12 09:57:31 GMT <iblanco> This is the query itself:
2018-01-12 09:57:32 GMT <iblanco> private static final String QUERY_FIND_NOT_MARKED_NOTES = "ASPECT:\"acme:controlProcesamientoAlbaranes\" AND (ISUNSET:\"acme:fechaLocalizacionAlbaranEnErp\" OR ISNULL:\"acme:fechaLocalizacionAlbaranEnErp\")";
2018-01-12 09:58:07 GMT <yreg> AFAIK this does qualify for TMQ
2018-01-12 09:59:26 GMT <iblanco> ummm...it does? I'm using Alfresco 5.1.
2018-01-12 10:00:07 GMT <iblanco> I'll give it a try. I have already ported some queries to transactional queries but I thinks this one didn't qualify for TMQ.
2018-01-12 10:00:26 GMT <yreg> try it in the node browser with language set to db-afts to test it
2018-01-12 10:01:00 GMT <yreg> I am not 100% sure, but I do not see anything flashy why wouldn't it qualify
2018-01-12 10:01:31 GMT <iblanco> If I try to execute the query with db-afts it complains
2018-01-12 10:01:43 GMT <iblanco> it does work with fts-alfresco
2018-01-12 10:02:01 GMT <yreg> although with TMQ I would strongly recommend limiting the max results to your query and paginate
2018-01-12 10:02:08 GMT <iblanco> I have AND and OR in the query and I think that one of those wasn't supported until 5.2
2018-01-12 10:02:37 GMT <yreg> iblanco, nope, both and and or were implemented far before 5.2
2018-01-12 10:03:00 GMT <iblanco> yreg if things haven't changed subtantially TMQ does the pagination after getting all the rows from the DB
2018-01-12 10:03:01 GMT <yreg> maybe isunset or is null is the problem
2018-01-12 10:03:25 GMT <iblanco> It was quite a big issue with an installation in which I was collaborating.
2018-01-12 10:04:03 GMT <AFaust> ISNULL and ISUNSET are not supported for TMQ in FTS
2018-01-12 10:04:19 GMT <iblanco> Thanks AFaust for the confirmation
2018-01-12 10:04:19 GMT <AFaust> Only CMIS supports checks against NULL as TMQ
2018-01-12 10:05:10 GMT <yreg> but it could have been easily implemented, and would have been good performance also
2018-01-12 10:05:36 GMT <AFaust> Yeah - a lot "could have been easily implemented" but it wasn't, because it was not defined by a PM as a requirement...
2018-01-12 10:05:42 GMT <iblanco> so in both cases , in the node browser and in my process, the query is supposed to be executed in the same way. But the node browser sees the updates to the index but not the schedules process.
2018-01-12 10:06:33 GMT <AFaust> iblanco: please never, ever, ever use LANGUAGE_LUCENE
2018-01-12 10:06:48 GMT <iblanco> As additional info that might be relevant there are alwasy 57 nodes that appear in the search. Those never change because they have some issues and can't be processed. So my query has alwasy 57 results or more.
2018-01-12 10:06:52 GMT <AFaust> It is an abomination.... legacy to the core and does not receive any improvements
2018-01-12 10:07:52 GMT <iblanco> AFaust, thanks for the hint. This is a project that was created against 4.2 and then updated. Nowadays I always try to use CMISQL.
2018-01-12 10:08:38 GMT <iblanco> AFaust, do you think that changing it to FTS might make any change?
2018-01-12 10:08:47 GMT <AFaust> FTS should have been used as the default / standard language back to 4.0 - it is only because of hillariously outdated code sample and community-propagated advice / "know-how" that this is still surviving...
2018-01-12 10:09:18 GMT <AFaust> ... and because Alfresco does not remove it, since it can be used for low-level unit testing and such...
2018-01-12 10:10:00 GMT <AFaust> iblanco: No - with regards to caching (which I agree with yreg, there should be none for SOLR queries) there should not be any difference between FTS or CMIS
2018-01-12 10:10:28 GMT <iblanco> This is how I schedule the task: https://pastebin.com/FvFSFtMz
2018-01-12 10:10:29 GMT <alfbot> Title: <bean id="acme.invoiceAutomation.async.markInErp" class="org.alfresco.util - Pastebin.com (at pastebin.com)
2018-01-12 10:10:46 GMT <AFaust> I mean - no cache from alfresco => SOLR - there definitely is a cache within SOLR itself
2018-01-12 10:11:15 GMT <AFaust> but that cache applies to all incoming queries, including the one from NodeBrowser
2018-01-12 10:14:51 GMT <iblanco> AFaust, yep, that is what I thought too. In fact I can't replicate the behaviour in my development machine but I can see this happening in a consistent way in the customers machine.
2018-01-12 10:15:33 GMT <iblanco> Does the Threading of the application have any impact on this? Could it be that because of the fact that the code is in a scheduled thread that might be reused the results are "cached"?
2018-01-12 10:15:37 GMT <iblanco> Does it make any sense?
2018-01-12 10:15:52 GMT <iblanco> I know it sounds strange but right now I'm out of ideas.
2018-01-12 10:28:40 GMT <AFaust> As there is no caching on the Repository-tier for SOLR results, no - threading should not have any impact on this.
2018-01-12 10:30:11 GMT <AFaust> TMQ FTS queries might be cached - but this would require code to run in the very same transaction, which is typically not the case for scheduled jobs being executed by the same thread.
2018-01-12 10:30:33 GMT <AFaust> BTW: I do hope you have a proper doInTransaction around the code snippet you sent us
2018-01-12 10:30:57 GMT <AFaust> (same as you should have the runAsSystem instead of setAdminAsFullyAuthenticatedUser - like yreg pointed out)
2018-01-12 10:34:30 GMT <iblanco> I do have a doInTransaction yes, this is just a snippet of the most relevant part.
2018-01-12 10:35:13 GMT <iblanco> And as for setAdminAsFullyAuthenticatedUser because if ran as System I have some issues with the behaviours.
2018-01-12 10:36:03 GMT <iblanco> the behaviours need a fully authenticated user
2018-01-12 10:49:51 GMT <AFaust> You know that runAs will set a fully authenticated user when none has been set yet, right? So runAs should fullfill the requirement to have a fully authenticated user for those behaviours
2018-01-12 10:50:19 GMT <AFaust> The only thing those behaviours may be incapable of is handling a user which does not have a cm:person object, which would be a bug / design flaw in the behaviour
2018-01-12 10:51:37 GMT <AFaust> Either way - should have nothing to do with the apparent caching (which should not exist), and since you use proper transaction handling, there are even fewer potential reasons for the issue you are having
2018-01-12 10:57:25 GMT <fcorti> Good morning folks
2018-01-12 10:57:43 GMT <fcorti> https://twitter.com/FrkCorti/status/951769834865512448
2018-01-12 10:57:46 GMT <fcorti> FYI!
2018-01-12 10:57:46 GMT <iblanco> AFaust, didn't know about the runAs setting the fully authenticated user. If I have a chance to go over this part of the code again I will recheck it.
2018-01-12 10:58:02 GMT <iblanco> Good morning fcorti
2018-01-12 10:58:11 GMT <fcorti> Hola iblanco!
2018-01-12 10:58:19 GMT <fcorti> iblanco
2018-01-12 13:21:41 GMT <qwebirc90113> Hi
2018-01-12 13:21:58 GMT <qwebirc90113> am getting exception while starting alfresco
2018-01-12 13:22:15 GMT <qwebirc90113> exception: 2018-01-12 11:58:40,831 ERROR [solr.tracker.AbstractTracker] [org.alfresco.solr.AlfrescoCoreAdminHandler@d2cda0b_Worker-1] Model tracking failed org.alfresco.error.AlfrescoRuntimeException: 00120000 archive GetModelsDiff return status is 404
2018-01-12 13:28:39 GMT <qwebirc90113> Any help on my issue?
2018-01-12 13:29:04 GMT <MorganP> Alfresco is probably not able to reach out to Solr
2018-01-12 13:29:48 GMT <MorganP> Did you change something? Like removing the keystores or regenering new keystores
2018-01-12 13:29:52 GMT <MorganP> setting up Tomcat in SSL
2018-01-12 13:29:55 GMT <MorganP> this kind of things
2018-01-12 13:32:50 GMT <angelborroy> MorganP probably is a new addon that is not loading at boot (my guess)
2018-01-12 13:39:21 GMT <qwebirc90113> i have added a new AMP into the AIO project
2018-01-12 13:39:29 GMT <qwebirc90113> and it started giving this error
2018-01-12 13:40:56 GMT <qwebirc90113> when i execute mvn clean install alfresco:run command
2018-01-12 13:41:41 GMT <angelborroy> so you have to scroll up to find the first “Caused by” line in your log
2018-01-12 13:42:41 GMT <qwebirc90113> solr.log
2018-01-12 13:42:43 GMT <qwebirc90113> 2018-01-12 11:02:15,083 ERROR [org.alfresco.solr.tracker.AbstractTracker] Tracking failed java.lang.IllegalStateException: Connection factory has been shutdown. at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:463)
2018-01-12 13:42:59 GMT <angelborroy> alfresco.log
2018-01-12 13:43:05 GMT <angelborroy> not solr.log
2018-01-12 13:43:24 GMT <angelborroy> solr is failing because Alfresco has not started
2018-01-12 13:43:46 GMT <qwebirc90113> alfresco.log
2018-01-12 13:43:49 GMT <qwebirc90113> 2018-01-12 11:02:14,308 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-2] Stopped 'Search' subsystem, ID: [Search, managed, solr4] 2018-01-12 11:02:14,385 DEBUG [com.michelin.platformsample.HelloWorldWebScript] [localhost-startStop-2] preDeregister called. 2018-01-12 11:02:14,386 DEBUG [com.michelin.platformsample.HelloWorldWebScript] [localhost-startStop-2] postDeregister
2018-01-12 13:44:01 GMT <angelborroy> no more?
2018-01-12 13:44:09 GMT <angelborroy> you can access to http://localhost:8080/alfresco
2018-01-12 13:44:10 GMT <angelborroy> ?
2018-01-12 13:45:26 GMT <qwebirc90113> console log:
2018-01-12 13:45:28 GMT <qwebirc90113> SEVERE: Error configuring application listener of class org.apache.myfaces.webapp.StartupServletContextListener java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/faces/context/ExternalContext at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.SecureClassLoader.defin
2018-01-12 13:45:43 GMT <angelborroy> find the first “Caused by” line in your logs
2018-01-12 13:45:52 GMT <angelborroy> but it looks like it’s sttoped now
2018-01-12 13:46:01 GMT <angelborroy> stopped
2018-01-12 13:46:35 GMT <qwebirc90113> Caused by: org.springframework.extensions.webscripts.WebScriptException: 00120008 Failed to process template org/alfresco/simple-guest.ftl at org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:196) at org.springframework.extensions.webscripts.WebTemplateProcessor.executeBody(WebTemplateProcessor.java:439)
2018-01-12 13:47:43 GMT <qwebirc90113> yes..i have stopped it since i am getting the above errors
2018-01-12 13:47:44 GMT <angelborroy> another caused by?
2018-01-12 13:47:55 GMT <angelborroy> find the first caused by when starting
2018-01-12 13:47:59 GMT <qwebirc90113> Caused by: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing: ==> config.global.flags.childrenMap[key] [in template "org/alfresco/import/alfresco-common.ftl" at line 10, column 25]
2018-01-12 13:48:38 GMT <qwebirc90113> SEVERE: Context [/alfresco] startup failed due to previous errors
2018-01-12 13:49:09 GMT <qwebirc90113> Previous error is "SEVERE: Error configuring application listener of class org.apache.myfaces.webapp.StartupServletContextListener java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/faces/context/ExternalContext at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.Secu
2018-01-12 13:50:06 GMT <qwebirc90113> any help?
2018-01-12 13:50:51 GMT <MorganP> Clean your log
2018-01-12 13:50:55 GMT <MorganP> And start again
2018-01-12 13:51:01 GMT <MorganP> And check the first error
2018-01-12 13:51:19 GMT <angelborroy> MorganP +1
2018-01-12 13:51:45 GMT <qwebirc90113> ok .. i will do it right away
2018-01-12 13:52:08 GMT <MorganP> Or paste the full log on pastebin or whatever
2018-01-12 13:52:44 GMT <angelborroy> MorganP +1000 :)
2018-01-12 13:53:00 GMT <angelborroy> (Exactly the same 2 things I was thinking of)
2018-01-12 13:53:47 GMT <MorganP> angelborroy: don't +1 me too much, I will get aroused :D
2018-01-12 13:55:12 GMT <qwebirc90113> how can i share the complete log file
2018-01-12 13:56:15 GMT <qwebirc90113> First Error in console is
2018-01-12 13:56:20 GMT <qwebirc90113> "java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/faces/context/ExternalContext at java.lang.ClassLoader.defineClass1(Native Method)"
2018-01-12 13:56:26 GMT <qwebirc90113> and after that
2018-01-12 13:56:37 GMT <qwebirc90113> SEVERE: Context [/alfresco] startup failed due to previous errors
2018-01-12 13:56:53 GMT <qwebirc90113> followed by "org.alfresco.error.AlfrescoRuntimeException: 00120000 alfresco GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1181)"
2018-01-12 13:58:11 GMT <MorganP> https://pastebin.com/
2018-01-12 13:58:12 GMT <alfbot> Title: Pastebin.com - #1 paste tool since 2002! (at pastebin.com)
2018-01-12 14:02:54 GMT <qwebirc90113> I have pasted the complete log @ https://pastebin.com/RfCEUnMT
2018-01-12 14:02:55 GMT <alfbot> Title: Alfresco Exception - Pastebin.com (at pastebin.com)
2018-01-12 14:03:14 GMT <qwebirc90113> can you please check the log
2018-01-12 14:07:33 GMT <qwebirc90113> Hello MorganP can you pls check the log and help me out
2018-01-12 14:08:21 GMT <angelborroy> java -version
2018-01-12 14:08:21 GMT <angelborroy> ?
2018-01-12 14:08:58 GMT <qwebirc90113> java version "1.8.0_144"
2018-01-12 14:10:02 GMT <angelborroy> I haven’t seen this before
2018-01-12 14:10:12 GMT <angelborroy> looks like a ClassFormatError
2018-01-12 14:10:23 GMT <angelborroy> probably due to some configuration related with Maven or JDK
2018-01-12 14:10:53 GMT <qwebirc90113> am using alfresco5.2.2 version, FYI
2018-01-12 14:11:11 GMT <qwebirc90113> and i was able to lauch it without any issues after adding 2 AMPs
2018-01-12 14:11:26 GMT <qwebirc90113> after adding the 3rd AMP .. this issue started
2018-01-12 14:11:55 GMT <angelborroy> so probably that 3rd addon includes something weird on its “lib” folder
2018-01-12 14:12:04 GMT <angelborroy> does this AMP includes external JARs inside?
2018-01-12 14:12:38 GMT <MorganP> Haven't seen this either before
2018-01-12 14:12:53 GMT <MorganP> What is this 3rd addon?
2018-01-12 14:12:56 GMT <MorganP> A home made one?
2018-01-12 14:13:19 GMT <qwebirc90113> yes ..it uses poi-ooxml jar and spring-context jars
2018-01-12 14:13:27 GMT <qwebirc90113> yes
2018-01-12 14:13:35 GMT <angelborroy> you can use “provided"
2018-01-12 14:13:40 GMT <angelborroy> that stuff is by default in Alfresco WAR
2018-01-12 14:13:41 GMT <qwebirc90113> 3rd AMP is my customised AMP
2018-01-12 14:13:53 GMT <angelborroy> just use “provided"
2018-01-12 14:14:28 GMT <qwebirc90113> let me try by adding <scope>provided</scope>
2018-01-12 14:14:35 GMT <qwebirc90113> in both the jars
2018-01-12 14:17:09 GMT <qwebirc90113> should i run "mvn clean install alfresco:run" or simply "mvn install afresco:run"
2018-01-12 14:17:21 GMT <angelborroy> use “clean” for safety
2018-01-12 14:17:32 GMT <qwebirc90113> because if i use CLEAN option ...mostly it gives error
2018-01-12 14:17:36 GMT <qwebirc90113> ok
2018-01-12 14:18:01 GMT <qwebirc90113> am executing the command
2018-01-12 14:18:11 GMT <qwebirc90113> just a moment pls... i will update
2018-01-12 14:20:33 GMT <qwebirc90113> its the same exception again
2018-01-12 14:22:32 GMT <qwebirc90113> after keeping provided also....am getting the same exception
2018-01-12 14:24:23 GMT <angelborroy> can you unzip your AMP and list JARs included in lib folder?
2018-01-12 14:24:56 GMT <qwebirc90113> ok
2018-01-12 14:26:49 GMT <qwebirc90113> it has only 1 jar which is a4c-commons-mgrps-repo-amp-1.0-SNAPSHOT.jar
2018-01-12 14:30:31 GMT <qwebirc90113> any update?
2018-01-12 14:35:53 GMT <angelborroy> where this AMP-JAR come from?
2018-01-12 14:54:17 GMT <qwebirc90113> this AMP i have created it
2018-01-12 14:54:23 GMT <qwebirc90113> a customized AMP
2018-01-12 14:54:37 GMT <angelborroy> you cannot include the JAR directly in your “lib” folder
2018-01-12 14:54:57 GMT <qwebirc90113> i did not include the jar
2018-01-12 14:55:19 GMT <qwebirc90113> i unzipped the amp file ....and inside lib folder i could see this jar in it
2018-01-12 14:55:42 GMT <angelborroy> ah, nope
2018-01-12 14:55:47 GMT <angelborroy> this is auto-generated
2018-01-12 14:55:47 GMT <angelborroy> ok
2018-01-12 14:55:57 GMT <angelborroy> so you have only your own source code
2018-01-12 14:56:59 GMT <qwebirc90113> yes
2018-01-12 14:57:06 GMT <angelborroy> no clues from my part
2018-01-12 14:57:32 GMT <qwebirc90113> what can be done?
2018-01-12 14:57:40 GMT <angelborroy> probably you can start an empty project and start including pieces of your current code till the error appears
2018-01-12 14:58:00 GMT <qwebirc90113> can you suggest someone who could help me on this?
2018-01-12 14:59:10 GMT <angelborroy> if you start a new project and use “run.sh” everything is working fine?
2018-01-12 14:59:15 GMT <angelborroy> (with no modifications)
2018-01-12 14:59:41 GMT <angelborroy> mvn arquetype:generate -Dfilter=org.alfresco:
2018-01-12 15:00:24 GMT <qwebirc90113> i followed SDK 3 project documentation and i have setup AIO archetype project
2018-01-12 15:00:39 GMT <qwebirc90113> which was working fine
2018-01-12 15:00:50 GMT <qwebirc90113> but after adding my AMP....its started giving the error
2018-01-12 15:01:19 GMT <angelborroy> Sorry, I’m not using AIO archetype
2018-01-12 15:01:27 GMT <angelborroy> But it looks like the problem is in your code
2018-01-12 15:01:29 GMT <qwebirc90113> but i have to add my AMP...only then ii will be able to test my customization
2018-01-12 15:07:14 GMT <qwebirc90113> i think ..no issues in my code...because am able to build the jar and amp
2018-01-12 15:07:54 GMT <angelborroy> you can install Alfresco and make a deploy of your AMP
2018-01-12 15:08:27 GMT <qwebirc90113> i did the same
2018-01-12 15:08:42 GMT <qwebirc90113> created an All In One archetype project and added my AMP to it
2018-01-12 15:08:51 GMT <angelborroy> that is not the same
2018-01-12 15:09:14 GMT <angelborroy> I’m just trying to help, but do whatever you think right, feel free
2018-01-12 15:10:01 GMT <qwebirc90113> am new to alfresco
2018-01-12 15:10:09 GMT <qwebirc90113> may be i might be wrong
2018-01-12 15:10:17 GMT <qwebirc90113> appreciate your help
2018-01-12 15:57:41 GMT <qwebirc90113> mu issue is similar to this link https://github.com/loftuxab/alfresco-ubuntu-install/issues/75
2018-01-12 15:57:42 GMT <alfbot> Title: Solr doesn't seem to work · Issue #75 · loftuxab/alfresco-ubuntu-install · GitHub (at github.com)
2018-01-12 15:58:03 GMT <qwebirc90113> can someone provide a link for solution to the above problem
2018-01-12 16:03:39 GMT <AxelFaust> qwebirc90113: angelborroy and MorganP already explained that the 404 error is just a follow-up error of your weird ClassFormatError during startup of the Repository. Just because one part of your error looks the same as an error message you find online does not mean it is the very same.
2018-01-12 16:05:07 GMT <qwebirc90113> ok
2018-01-12 16:05:30 GMT <AxelFaust> In your case it would be good to know where that org.apache.myfaces.webapp.StartupServletContextListener is comming from, because I don't see it referenced in default Alfresco.
2018-01-12 16:06:47 GMT <AxelFaust> Did you already try and clean up your dependencies so those pesky "WARNING: The file 'xxx' is being overwritten by this module. The original has been backed-up to 'yyy'" no longer show up?
2018-01-12 16:07:09 GMT <AxelFaust> Do you have a custom web.xml somewhere?
2018-01-12 16:07:53 GMT <AxelFaust> I realise that your code project may not be available for sharing, but I am afraid that without clear insight into your setup, it will be hard for anyone to help you on this (more than what angelborroy and MorganP already tried)
2018-01-12 16:09:22 GMT <qwebirc90113> i will cross check once again ...StartupServletContextListener
2018-01-12 16:09:26 GMT <AxelFaust> Also, you are using a Enterprise-specific WARs. This means you likely have a license & support agreement with Alfresco (as Michelin), so may also be eligible to get support via the official channels
2018-01-12 16:09:52 GMT <MorganP> There are means to find a class inside jars
2018-01-12 16:09:53 GMT <qwebirc90113> sure..i will try from support portal
2018-01-12 16:11:07 GMT <MorganP> With the right command by simply supplying the Class name, you can find the jar file containing it as well as locating where it is
2018-01-12 16:11:29 GMT <MorganP> It might help
2018-01-12 16:13:29 GMT <qwebirc90113> sure
2018-01-12 16:17:49 GMT <MorganP> I don't have my command here but I'm sure you can find a similar solution on internet
2018-01-12 16:18:07 GMT <qwebirc90113> ok
2018-01-12 17:03:32 GMT <cDavid> Hi, is the object storage (Openstack Swift) supported by the content-store-encryption module?
2018-01-12 17:05:15 GMT <cDavid> Can you point me to some documentation?
2018-01-12 17:05:21 GMT <cDavid> (thank you!)
2018-01-12 17:07:52 GMT <AxelFaust> cDavid: Do you mean the official Alfresco Content Encryption module?
2018-01-12 17:08:07 GMT <AxelFaust> That only supports file-based storage as far as I know.
2018-01-12 17:08:10 GMT <cDavid> Yes Thanks
2018-01-12 17:08:38 GMT <AxelFaust> So unless you can mount the object storage to a file system representation, I would be doubtful
2018-01-12 17:09:29 GMT <cDavid> Yes I can. The object storage will be mount as NFS on the Alfresco server...
2018-01-12 17:10:10 GMT <AxelFaust> Then you should be fine.
2018-01-12 17:10:14 GMT <cDavid> The customer says that he read the the object store (S3 like) is not well supported by the encryption module
2018-01-12 17:10:28 GMT <cDavid> But I can't find any documentation
2018-01-12 17:10:35 GMT <cDavid> about that
2018-01-12 17:10:49 GMT <AxelFaust> I was looking for some documentation on that restriction, but I fear the fact that only file-based storage is supported was communicated at some point in this channel by an Alfresco product manager
2018-01-12 17:11:11 GMT <AxelFaust> Ah - I actually found it
2018-01-12 17:11:12 GMT <AxelFaust> http://docs.alfresco.com/5.2/concepts/encrypt-consideration.html
2018-01-12 17:11:13 GMT <alfbot> Title: Issues to consider before using Encrypted content store | Alfresco Documentation (at docs.alfresco.com)
2018-01-12 17:11:21 GMT <AxelFaust> "The Encrypted content store is a wrapper around the File content store, and it is not supported to use the Encrypted content store in any other configuration, such as with the Content Store Selector or an Aggregating content store. Such configurations are likely to expose encrypted content in an unencrypted store, such as in the version history or when the content is deleted."
2018-01-12 17:12:09 GMT <cDavid> Thank you!
2018-01-12 17:12:25 GMT <AxelFaust> That restriction is actually a bit stupid and could have been avoided if the feature was developed differently
2018-01-12 17:12:59 GMT <cDavid> But if we mount the object storage as NFS, this "volume" can be a file Content store, right?
2018-01-12 17:13:04 GMT <AxelFaust> Right
2018-01-12 17:15:04 GMT <cDavid> Ok... In your opinion is the Encrytion content store a "good tool" to use in a bit project project?
2018-01-12 17:15:29 GMT <cDavid> (big project... big for the high volume of data)
2018-01-12 17:31:17 GMT <AxelFaust> Apart from having evaluated it back when I was working for a partner, I have not used it in any of my customer projects.
2018-01-12 17:31:44 GMT <AxelFaust> Problem is, if you are looking for a supported "encryption at rest" functionality, it is the only one out there.
2018-01-12 17:32:40 GMT <AxelFaust> I mean, I included a similar encryption feature in one of my open source projects (as a facade in front of any content store, not just file-based), but that is a module without warranty
2018-01-12 17:33:26 GMT <AxelFaust> In short: The Encryption Content Store of Alfresco is- individually - as good a tool as any other official modules
2018-01-12 17:34:36 GMT <AxelFaust> For big volume, I only see the potential problem that re-encrypting content with a different master key may at some point end up being unpractical due to the time / IO requirements
2018-01-12 17:43:35 GMT <cDavid> Thank you very much Axel! Your suggestions are very useful
The other logs are at http://esplins.org/hash_alfresco