Re: Unsatisfied bundle status for DocumentNodeStore

2015-08-02 Thread Clay Ferguson
Hi ​smg11, I have an open source GitHub app that shows how to use Mongo+JCR and get all the dependencies satisfied without dealing with the horrors of OSGi. ​ It's here: https://github.com/Clay-Ferguson/meta64 meta64.com uses maven to build, and SpringBoot for the rest of the dependencies

JCR + MongoDb + Lucene Holy Grail Finally Found

2015-08-02 Thread Clay Ferguson
i'm sharing my example: This code creates a Full Text Search on jcr:content, and an sorting capability on jcr:lastModified: https://github.com/Clay-Ferguson/meta64/blob/master/src/main/java/com/meta64/mobile/repo/OakRepository.java I also just updated meta64 project to be using the 1.0.18 branch

Re: Unsatisfied bundle status for DocumentNodeStore

2015-08-03 Thread Clay Ferguson
deploy to a server, all I have to do is start MongoDb and then run my JAR. Best regards, Clay Ferguson wcl...@gmail.com On Mon, Aug 3, 2015 at 11:35 PM, smg11 santos...@gmail.com wrote: Thanks for the reply Clay Ferguson. Let me try the link you have suggested. Please let me know

Re: Solr Configuration

2015-08-05 Thread Clay Ferguson
how it's done. There are so many different versions of stuff documented online you can really only get hints until you go directly into the source. Best regards, Clay Ferguson ​meta64.com​ On Wed, Aug 5, 2015 at 7:55 AM, lw leonh...@wachutka.eu wrote: Hi all, I am trying to get a remote solr

Re: Jackrabbit Deployment problem in Tomcat 8

2015-08-03 Thread Clay Ferguson
whenever possible. Best regards, Clay Ferguson wcl...@gmail.com On Mon, Aug 3, 2015 at 3:58 AM, Jeroen Reijn j.re...@onehippo.com wrote: Hi, could you perhaps post the actual stacktrace or log messages? The version of Jackrabbit would really help btw. I've been running Jackrabbit in Tomcat 8

Re: Solr Configuration

2015-08-07 Thread Clay Ferguson
lifting in your app. Best regards, Clay Ferguson wcl...@gmail.com On Fri, Aug 7, 2015 at 7:25 AM, lw leonh...@wachutka.eu wrote: Hi Clay, thanks for your advice. Indeed I digged quiet deep into the source and got it finally running. The trick was to include tika-core. The default executor

Re: Jackrabbit Deployment problem in Tomcat 8

2015-08-07 Thread Clay Ferguson
out. Check into those things and get back to us. Best regards, Clay Ferguson wcl...@gmail.com 214-957-5950 On Fri, Aug 7, 2015 at 6:56 AM, SAMPUBLIC gangadasu.re...@fisglobal.com wrote: I am using jackrabbit-webapp-2.10.1... The Stack trace is as below: javax.servlet.ServletException: Only

Re: Problem adding Principal-based ACLs

2015-08-13 Thread Clay Ferguson
Karsten, I have a web app that I think is doing it reasonably correct (ACLs), or at least appears to work. You can find the working code here: https://github.com/Clay-Ferguson/meta64 Just download the zip and search for the keywords acl, privilege, principle. Also see AclService.java

New Open-Source JCR Browser Available (GitHub). Built on JQueryMobile.

2015-07-20 Thread Clay Ferguson
the community would be welcomed! https://github.com/Clay-Ferguson/meta64 https://www.youtube.com/channel/UCbeE-Pwu5AyeSPKuR_9vEeA/feed the main site: http://meta64.com [sorry of you got duplicate of this. I posted to BOTH users+dev groups] Best regards, Clay Ferguson wcl...@gmail.com

Re: Access control

2015-08-24 Thread Clay Ferguson
class, and that is the top level, and a lot of stuff like creating new nodes, moving nodes, adding ACLs etc can be sussed out by just looking at my code and not even running it. It's not too complicated. Does that answer the question? Best regards, Clay Ferguson wcl...@gmail.com On Mon, Aug 24, 2015

Re: Access control

2015-08-25 Thread Clay Ferguson
?id=/wclayf/public/oak-jackrabbit-discussions Best regards, Clay Ferguson wcl...@gmail.com On Tue, Aug 25, 2015 at 9:51 AM, Robert Munteanu romb...@apache.org wrote: Hi, On Tue, 2015-08-25 at 09:44 -0500, Clay Ferguson wrote: Atif, just beware that the addChildren privilege doesn't work

Re: Oak Indexes

2015-10-28 Thread Clay Ferguson
This file shows petty much everything I know... the sum total of my knowledge on indexes! : https://github.com/Clay-Ferguson/meta64/blob/master/src/main/java/com/meta64/mobile/repo/OakRepository.java I was only able to cobble that code together using very scant information from various sources

Re: Node Retrieval Performance

2015-11-13 Thread Clay Ferguson
t" cases... I'm not saying you don't need to just asking for a bit more background. BTW: If you don't need 'orderable' nodes try to avoid them. That type of node does not work at 'scale'... and 50K is propably pushing it.​ Best regards, Clay Ferguson wcl...@gmail.com On Fri, Nov 13, 2015 at 3:33 PM,

Re: Node Retrieval Performance

2015-11-13 Thread Clay Ferguson
situation. RDBMS have solved these issues years ago, by a "never load everything all at once" rule. However somehow the "It's ok to load all children in memory" mentality caught on in the JCR and we are now stuck with the results. Best regards, Clay Ferguson wcl...@gmail.com On Fr

Re: Node Retrieval Performance

2015-11-14 Thread Clay Ferguson
e only one to think this? Is everybody else just afraid to be critical like me, because they are getting paid to work on JCR? Why don't we just be honest. Best regards, Clay Ferguson wcl...@gmail.com On Sat, Nov 14, 2015 at 2:35 AM, Dirk Rudolph <dirk.rudo...@netcentric.biz> wrote: &

Re: Node Retrieval Performance

2015-11-14 Thread Clay Ferguson
solution. Best regards, Clay Ferguson wcl...@gmail.com On Sat, Nov 14, 2015 at 2:02 AM, Robert Munteanu <romb...@apache.org> wrote: > On Nov 14, 2015 2:21 AM, "Clay Ferguson" <wcl...@gmail.com> wrote: > > > > In my opinion this one issue is the single most crippl

Re: How to connect to OAK standalone server

2015-11-06 Thread Clay Ferguson
I have a server that uses Oak you can look at for ideas, or see an example. I may not be doing things the way you want, but it's the best I've been able to put together, and it does work ok. search for "meta64" on github. Best regards, Clay Ferguson wcl...@gmail.com On Fri, Nov 6, 20

Re: Oak Indexes

2015-10-29 Thread Clay Ferguson
; > > > createDefinition("ka:assetType", index); > > [.. lots of other property indexes ..] > > } > > > > private void createDefinition(String definition, NodeBuilder index) { > > IndexUtils.createIndexDefinition(index, definition, true, fal

Re: Node access on concurrent sessions.

2015-10-08 Thread Clay Ferguson
or like the Hibernate Session if you know hibernate. Good luck, sorry if what I just did was state the obvious things you already knew. Please share your solution with the group, once you find it so others will know. thanks. Best regards, Clay Ferguson wcl...@gmail.com On Thu, Oct 8, 2015 at 9

Re: Document search fails

2015-10-14 Thread Clay Ferguson
Uh Benare you sure the asterisks are all correct on that? lol. Seriously, can you check that. I would swear that won't work, but I've been wrong before, and since that one time have always remained humble ever since! Best regards, Clay Ferguson wcl...@gmail.com On Wed, Oct 14, 2015 at 9:20

Re: Document search fails

2015-10-11 Thread Clay Ferguson
Here's an example SQL search code form meta64. Note it uses "like" instead of "contains" because of Lucene having an issue with 'contains' not working. https://github.com/Clay-Ferguson/meta64/blob/master/src/main/java/com/meta64/mobile/service/NodeSearchService.java That sea

Re: Node Retrieval Performance

2015-11-14 Thread Clay Ferguson
opers." If that would be a silly statement in the RDBMS world, it will be silly in the NoSQL world for all the same exact reasons. Best regards, Clay Ferguson wcl...@gmail.com On Sat, Nov 14, 2015 at 10:07 AM, Dirk Rudolph <dirk.rudo...@netcentric.biz> wrote: > Each of the records has an prim

Re: Node Retrieval Performance

2015-11-14 Thread Clay Ferguson
Sorry Ron, You have it precisely backwards. In RDBMS modeling you focus on the organization of the data and relationships of the data, and never break stuff up to "help" the DB loading. For example, once you see the need for a PERSONS table, you generally have just *one* PERSONS table even if you

Re: jackrabbit with mysql

2015-08-28 Thread Clay Ferguson
. I also have a project using mongo I'll share with you if you decide to go that route. Best regards, Clay Ferguson wcl...@gmail.com On Fri, Aug 28, 2015 at 2:36 AM, mike osterhout mikeosterh...@gmail.com wrote: Hello, I am trying to get mysql going with jackrabbit but I am seeing the logs

Re: jackrabbit with mysql

2015-08-28 Thread Clay Ferguson
Lukas, Thanks for clarifying. I looked in the Oak code for the line throwing the NPE, and the entire class didn't exist, so I assumed it was older version, and totally forgot to also suggest he go to new version. May not even be among his options or needs. Thanks. Best regards, Clay Ferguson wcl

Re: jackrabbit with mysql

2015-08-28 Thread Clay Ferguson
I think Jackalope is the PHP option, but I guess you know that if you googled PHP JCR at all. :) Best regards, Clay Ferguson wcl...@gmail.com On Fri, Aug 28, 2015 at 11:12 AM, mike osterhout mikeosterh...@gmail.com wrote: I am seeing the same error when using jackrabbit 2.10.1. Oak sounds

Re: JCR-SQL2 query doesn't respect document order in JCR

2015-08-26 Thread Clay Ferguson
You realize the nodes can only be ordered under (relative to) each parent right? Also the parent has to be an 'orderable' type such as JcrConstants.NT_UNSTRUCTURED. Best regards, Clay Ferguson wcl...@gmail.com On Mon, Aug 24, 2015 at 9:30 AM, ajuran antonin.ju...@magnolia-cms.com wrote: Hello

Re: JCR Management Tool

2015-09-12 Thread Clay Ferguson
hat is new, but has some interesting new features and is JQueryMobile, so that is's built for Mobile First. If you are "developing" something check out my meta64 app on Github, but if you are just wanting something already finished try out one of the above. Best regards, Clay Ferguson wcl..

Re: A New Open Source App using JackRabbit: Gravity

2015-09-22 Thread Clay Ferguson
to check out your code to see what you're doing, but will definitely be back in touch with you if that's ok, and of course with constructive commentary! Best regards, Clay Ferguson wcl...@gmail.com On Tue, Sep 22, 2015 at 6:03 PM, Peter Harrison <cheetah...@gmail.com> wrote: > Hi

Re: How does Jackrabbit compares to Elasticsearch

2015-09-22 Thread Clay Ferguson
Peter, Everybody pretty much ignored the guy who claimed version, locking, etc. can be written in very little time from scratch. Rarely do you see such tomfoolery on this mailing list. In fact that was the only time. Most of us ignored him. Best regards, Clay Ferguson wcl...@gmail.com On Tue

Re: A New Open Source App using JackRabbit: Gravity

2015-09-25 Thread Clay Ferguson
venture, but just me contributing to the JCR community. Best regards, Clay Ferguson wcl...@gmail.com On Fri, Sep 25, 2015 at 6:20 AM, Michael Dürig <mdue...@apache.org> wrote: > > Serge, > > Let me know your preferred userId for the Wiki [1]. I'll provide you with > write a

meta64 converted to Google Polymer GUI

2016-01-03 Thread Clay Ferguson
Hi fellow Jackrabbits! Meta64 is a webapp using JCR (jackrabbit oak), I've shared before on this group. I have finally finished converting over to Google Polymer (no longer JQueryMobile), as the GUI framework. Here's the link (it's open source) https://github.com/Clay-Ferguson/meta64 Best

Re: Dangling node_ids?

2015-12-22 Thread Clay Ferguson
Guys, Here's an example of some searching, in my meta64 project. https://github.com/Clay-Ferguson/meta64/blob/master/src/main/java/com/meta64/mobile/service/NodeSearchService.java To me the key "power" is the ISDESCENDENTOF, because is lets you search recursively under specific parts o

Re: Dangling node_ids?

2015-12-21 Thread Clay Ferguson
es to read the node you are failing to find. Best regards, Clay Ferguson wcl...@gmail.com On Mon, Dec 21, 2015 at 1:39 PM, Roll, Kevin <kevin-r...@idexx.com> wrote: > [I sent this to the Sling users list, but it may be more appropriate for > this list] > > > > I am attempt

Re: Memory usage

2015-11-24 Thread Clay Ferguson
Kevin, Oh, maybe Sling can't do it LIMIT. I didn't realize (or notice) you were on Sling, my bad. In my product (meta64.com) I didn't go with sling and I talk directly to the Java API itself. Best regards, Clay Ferguson wcl...@gmail.com On Tue, Nov 24, 2015 at 3:58 PM, Roll, Kevin <kevi

Re: Memory usage

2015-11-24 Thread Clay Ferguson
Come on Kevin, I just googled it and found it immediately bro. :) https://docs.jboss.org/jbossdna/0.7/manuals/reference/html/jcr-query-and-search.html#jcr-sql2-limits Best regards, Clay Ferguson wcl...@gmail.com On Tue, Nov 24, 2015 at 3:30 PM, Roll, Kevin <kevin-r...@idexx.com>

Re: Memory usage

2015-11-23 Thread Clay Ferguson
ry hogging things - are you sure you are closing all streams and resources in finally blocks, and not leaking resources related to the actual image processing? - are there some GC options you can tweak to help Best regards, Clay Ferguson wcl...@gmail.com On Mon, Nov 23, 2015 at 11:13 AM, R

Re: Memory usage

2015-11-24 Thread Clay Ferguson
eries comes back empty. Will use hardly any memory, and be bullet-proof AND always easily restartable/resumable. Best regards, Clay Ferguson wcl...@gmail.com On Tue, Nov 24, 2015 at 11:56 AM, Roll, Kevin <kevin-r...@idexx.com> wrote: > Basically we replicate images and associated metad

Re: Memory usage

2015-11-24 Thread Clay Ferguson
clean solution unless you have a VERY unusual situation. Best regards, Clay Ferguson wcl...@gmail.com On Tue, Nov 24, 2015 at 10:14 AM, Roll, Kevin <kevin-r...@idexx.com> wrote: > I think I am hot on the trail. I noticed this morning that the top objects > in the heap dump are not

Re: Memory usage

2015-11-23 Thread Clay Ferguson
s... I say it's 99% likely that your memory problem is not related to JCR or Lucene, but just a leak you should be able to find. Best regards, Clay Ferguson wcl...@gmail.com On Mon, Nov 23, 2015 at 9:16 PM, Roll, Kevin <kevin-r...@idexx.com> wrote: > Hi, Ben. I was referring to the follow

Re: Performance using FileDataStore/MySql vs. MongoDB in Oak

2016-02-05 Thread Clay Ferguson
options targeting the JDBC classes and see if you can get it to log out all the sql commits/transactions. I moved from MySql to mongo months ago or else I'd be of more help. Best regards, Clay Ferguson wcl...@gmail.com On Fri, Feb 5, 2016 at 4:12 PM, Mark Moales <mark.moa...@ansys.com> wrote:

Re: query with isdecendantnode join causes duplicates in results

2016-01-27 Thread Clay Ferguson
), and see if you can look for the closest example in there to what you are doing. Lots of times the only way to really know what to do in Jackrabbit is look at the actual code, because so few shops are using JCR yet. Best regards, Clay Ferguson wcl...@gmail.com On Wed, Jan 27, 2016 at 7:36 PM, Tor

Re: Issues running native Lucene queries

2016-02-25 Thread Clay Ferguson
I think maybe you just need to escape the '-' ? http://stackoverflow.com/questions/17839053/how-to-perform-a-lucene-query-containing-special-character-using-queryparser Best regards, Clay Ferguson wcl...@gmail.com On Thu, Feb 25, 2016 at 11:56 AM, Leonardo Rodriguez-Velez < drac

Re: Issues running native Lucene queries

2016-02-25 Thread Clay Ferguson
into the code in the debugger. This is all open source stuff so you can do that.. Best regards, Clay Ferguson wcl...@gmail.com On Thu, Feb 25, 2016 at 12:47 PM, Leonardo Rodriguez-Velez < draco_r...@hotmail.com> wrote: > Clay, > > Thanks for the suggestion. I tried escaping t

Re: ClassCastException with standalone-server

2016-03-18 Thread Clay Ferguson
send an email with your test case Java file attached and I will try to help. Best regards, Clay Ferguson wcl...@gmail.com On Fri, Mar 18, 2016 at 5:19 AM, Pascal Knüppel (Entwicklung) < p.knuep...@narz-avn.de> wrote: > Hi I just started using JackRabbit and most things seem to wor

Re: non-administrator user, how to grant permission on folder

2016-03-18 Thread Clay Ferguson
Am I mistaken or did you just give every user the ability to see every node in your repository? Sounds like something only Facebook developers would dream up. ROFL. Sorry for the joke. Let's keep it professional on this mailing list. :) Best regards, Clay Ferguson wcl...@gmail.com On Thu, Mar

Re: Need help logging into Jackrabbit programmatically

2016-03-30 Thread Clay Ferguson
Leave off the "default" parameter and just call the login method that has only the credential object as the parameter. Best regards, Clay Ferguson wcl...@gmail.com On Wed, Mar 30, 2016 at 2:00 PM, Brent Vaughn <vau...@iecokc.com> wrote: > I am new to Jackrabbit. I downlo

Re: Query on nt:Linkedfile

2016-04-03 Thread Clay Ferguson
d anything. There is a chance that it's just not possible because descendant nodes are probably not calculated using "soft links" but only actual parent nodes. Best regards, Clay Ferguson wcl...@gmail.com On Sat, Apr 2, 2016 at 9:54 PM, Rahul Raj <rahul@option3consulting.com> wrote:

Re: Query on nt:Linkedfile

2016-04-02 Thread Clay Ferguson
hatever, i would still go with the approach I just said, because it's clean, and allows more nodes to be attached to the tree later on without "breaking your logic" about how to find all files under some branch. Best regards, Clay Ferguson wcl...@gmail.com On Fri, Apr 1, 2016 at 11:30

Re: Query on nt:Linkedfile

2016-04-02 Thread Clay Ferguson
d has some searching examples also using isdescendantnode a lot. Best regards, Clay Ferguson wcl...@gmail.com On Sat, Apr 2, 2016 at 10:41 AM, Rahul Raj <rahul@option3consulting.com> wrote: > I can add a node property to the leaf nodes. Will it help in dereferencing > the linked fil

Re: Slow backup with large number of folders in Datastore

2016-04-02 Thread Clay Ferguson
f work at a time to eat away at the task bit by bit. Much less memory is used, etc, if you do this approach. (similar to 'buffering') Best regards, Clay Ferguson wcl...@gmail.com On Thu, Mar 31, 2016 at 10:37 AM, Imtiaz <masterpr...@free.fr> wrote: > Hello, > I'm trying to optimize the

Re: Oak PropertyIndex on node name

2016-05-12 Thread Clay Ferguson
Glovanni, These are a couple of files in my open source project that may be of some help: https://github.com/Clay-Ferguson/meta64/blob/master/src/main/java/com/meta64/mobile/service/NodeSearchService.java https://github.com/Clay-Ferguson/meta64/blob/master/src/main/java/com/meta64/mobile/repo

Re: Get Repository from OAK

2016-05-17 Thread Clay Ferguson
Techie2k, Here's a link, to my open source project: https://github.com/Clay-Ferguson/meta64 I only post it when someone genuinely needs it, so people don't think I'm trying to advertise on here or something, but my app really does do what it sounds like you need, so you can look at how it creates

Re: Get Repository from OAK

2016-05-16 Thread Clay Ferguson
or MongoDB to list all its objects it contains, but this has nothing to do with JCR and is in general not ever neede for the same reason you'd never need an RDBMS to tell you what table names you use. Best regards, Clay Ferguson wcl...@gmail.com On Mon, May 16, 2016 at 1:43 AM, techie2k <

Re: Get Repository from OAK

2016-05-16 Thread Clay Ferguson
r be using mongo API to work with a JCR Repository. You should use the JCR API only. Tell us more about what you are trying to do and maybe someone like me can offer more help. Best regards, Clay Ferguson wcl...@gmail.com On Mon, May 16, 2016 at 2:37 PM, techie2k <developer.spr...@gma

Re: Help me on below issue.. I tried with session.refresh(true) also, but it's not working

2016-04-13 Thread Clay Ferguson
wouldn't "has been modified externally" mean somehow multiple different processes are probably trying to write to the same files? Are you running multiple instances or something? Best regards, Clay Ferguson wcl...@gmail.com On Tue, Apr 12, 2016 at 4:01 PM, arshi <arshi14...@gma

Re: javax.jcr.RepositoryException: Failed to update after 5 attempts, giving up...: d74d7d28-f0c2-473a-ac41-9dabc33f6790/{http://www.xyz.net/ns/3.0/repository}latestVersion has been modified externall

2016-04-13 Thread Clay Ferguson
know much more than just an error message. If JCR is truly failing on this test case it is a VERY serious problem. Worth looking into becasue proper locking behavior is absolutely a critical function. Best regards, Clay Ferguson wcl...@gmail.com On Tue, Apr 12, 2016 at 5:30 PM, arshi <arshi14

Re: Retrieving Binary Value Identifier

2016-07-07 Thread Clay Ferguson
breakpoing on the 'getContentIdentity' and step into the code and see that it's generating a hash. Seems like they would have stored this hash so it can be used again, but i'm not sure if it's stored or not. If it is, stored you could use the stored value rather than let it get recalculated every time. Best reg

Re: Retrieving Binary Value Identifier

2016-07-07 Thread Clay Ferguson
rethink. It's like a checksum for efficient blob comparison. Best regards, Clay Ferguson wcl...@gmail.com On Thu, Jul 7, 2016 at 4:14 PM, Woonsan Ko <woon...@apache.org> wrote: > Hi, > > I'm trying to retrieve Binary Value Identifier by following [1]. > The example shows retrievin

Re: Retrieving Binary Value Identifier

2016-07-08 Thread Clay Ferguson
stantiated or else you just have a class that doesn't provide the implementation. Probably implementing this method is not defined. Just detect if this is the case, and do your own checksum may be the best you can do if you need an actual checksum. Best regards, Clay Ferguson wcl...@gmail.com On

Re: Slow Index Init on server startup

2016-06-20 Thread Clay Ferguson
github.com/Clay-Ferguson/meta64/blob/master/src/main/java/com/meta64/mobile/repo/OakRepository.java If you don't shutdown in a proper way I think the DB will have to go thru a lot of checking and recovery next time it starts. 2) Go into your logger config and set level to TRACE for maxim

Re: Query condition for multi-value in range

2017-02-02 Thread Clay Ferguson
performance becuse using DESCENDANTOF to search under a specific branch on the tree is highly perofrmant even on large trees. > 10,000 (or eve millions) Best regards, Clay Ferguson wcl...@gmail.com On Thu, Feb 2, 2017 at 2:38 PM, Hayes, Michael <mha...@srcinc.com> wrote: > Hello, > > I

Re: FileVault for import and export of JCR?

2017-02-08 Thread Clay Ferguson
to a file/stream. However i've never used filevault or composium, so i don't know specifically what that entails. Best regards, Clay Ferguson wcl...@gmail.com On Tue, Feb 7, 2017 at 12:54 PM, lancedolan <lance.do...@gmail.com> wrote: > Hi All, > > I can no longer use composum. &

Re: does jackrabbit support scanning files for viruses

2017-01-23 Thread Clay Ferguson
answer was wrong, just that with a couple of lines of code the answer becomes "yes". In sofar as signing documents, it's a similar story. Most doc signing APIs will support a stream as input (I would assume) Best regards, Clay Ferguson wcl...@gmail.com On Mon, Jan 23, 2017 at 11:52

Re: Journal Lock after Index Rebuild

2017-01-24 Thread Clay Ferguson
not proficient in these areas of the API myself, but making couple of general observations. Best regards, Clay Ferguson wcl...@gmail.com On Thu, Dec 29, 2016 at 2:54 AM, <zerocoo...@web.de> wrote: > Hi Guys, > > we faced the problem with "Unable to lock global revision table"

Re: jcr 2.0 spec url

2016-09-02 Thread Clay Ferguson
e we can make a plan. Best regards, Clay Ferguson wcl...@gmail.com On Fri, Sep 2, 2016 at 6:25 AM, Robert Munteanu <romb...@apache.org> wrote: > Hi Clay, > > On Thu, 2016-08-25 at 16:06 -0500, Clay Ferguson wrote: > > that url works for me. However it's such a shame th

Re: Indexing issue in cluster

2016-10-05 Thread Clay Ferguson
. Best regards, Clay Ferguson wcl...@gmail.com On Tue, Oct 4, 2016 at 10:26 AM, Kishore Ohal <kishore.o...@lrn.com> wrote: > Hi , > We have a course that we access on one node. However, when we copy the > course from that node, the data gets created in MySql db. > > H

Re: Custom index type

2016-10-05 Thread Clay Ferguson
is logged into by a user who had read (and/or write) privileges on the node you are trying to read. Are you getting an exception? Send us the stack trace if so. If not, what method specifically are you calling that's giving unexpected results? Best regards, Clay Ferguson wcl...@gmail.com On Wed, Oct 5, 20

Re: serverStatus command fials on mongodb

2016-09-21 Thread Clay Ferguson
Giovanni, Here's the code in my project (meta64.com) which shows an example of initializing and terminating Oak on mongodb. https://github.com/Clay-Ferguson/meta64/blob/master/src/main/java/com/meta64/mobile/repo/OakRepository.java If that code doesn't help, post the stack trace

Re: jcr 2.0 spec url

2016-08-25 Thread Clay Ferguson
and still you ask most java devs if they've ever heard of JCR and the answer is no. So sad that the technology is dying such a slow painful death. Best regards, Clay Ferguson wcl...@gmail.com On Thu, Aug 25, 2016 at 4:09 AM, Torgeir Veimo <torgeir.ve...@gmail.com> wrote: > There's a number

Re: Use FileDataStore with NFS SAN (NAS)

2016-11-10 Thread Clay Ferguson
in some timing logging, or use a profile to know where the slowness is. Problem was not well enough described to know more at this point. Best regards, Clay Ferguson wcl...@gmail.com On Fri, Nov 11, 2016 at 12:15 AM, Chetan Mehrotra <chetan.mehro...@gmail.com > wrote: > Hi Clay, &g

Re: Use FileDataStore with NFS SAN (NAS)

2016-11-10 Thread Clay Ferguson
Chetan, I thought he was saying the uploading was slow. Not renaming. I may be wrong. Forgive me if I missed some part of this. Best regards, Clay Ferguson wcl...@gmail.com On Thu, Nov 10, 2016 at 11:46 PM, Chetan Mehrotra <chetan.mehro...@gmail.com > wrote: > Interesting. T

Re: How to connect to OAK standalone server

2016-10-22 Thread Clay Ferguson
of. Here's one link http://stackoverflow.com/questions/5857212/how-to-access-remote-jackrabbit-repository So maybe someone can provide the pros/cons to comparing RMI with Java to REST/JSON. Best regards, Clay Ferguson wcl...@gmail.com On Sat, Oct 22, 2016 at 7:54 AM, mathiasconradt <

Re: How to connect to OAK standalone server

2016-10-22 Thread Clay Ferguson
add an abstraction layer to my JCR interfacing and does the remoting via Sling REST, so that I can make JAVA calls that end up getting automatically marshalled to/from the JSON of Sling. Best regards, Clay Ferguson wcl...@gmail.com On Sat, Oct 22, 2016 at 7:54 AM, mathiasconradt <mathias.c

Re: How to connect to OAK standalone server

2016-10-23 Thread Clay Ferguson
that one class called Best regards, Clay Ferguson wcl...@gmail.com On Sun, Oct 23, 2016 at 9:48 AM, mathiasconradt <mathias.conr...@gmail.com> wrote: > Hi Clay, > > thanks for the link on StackOverflow. I came across this already, but the > JcrUtils.getRepository(url) method

Re: Custom index type

2016-10-18 Thread Clay Ferguson
e will see as a "normal character" so that it won's split up your search and find "key" and "value" as separate strings. Good luck. ​ Best regards, Clay Ferguson wcl...@gmail.com On Tue, Oct 18, 2016 at 3:08 AM, rachna <rachana.me...@telegraph.co.uk> wrote: &g

Re: Custom index type

2016-10-11 Thread Clay Ferguson
dexed" automatically. If you ARE trying to store DATA in an index, then do not do that. That is wrong. You should be storing data as nodes on the tree. The index will take care of itself automatically. Best regards, Clay Ferguson wcl...@gmail.com On Tue, Oct 11, 2016 at 8:49 AM, rachna &

Re: Custom index type

2016-10-14 Thread Clay Ferguson
l question is: "What's the best way to query for LARGE NUMBERS of key/value pairs?" Maybe some experts who know more than me about Oak can reply to that simplified version of your question. Best regards, Clay Ferguson wcl...@gmail.com On Fri, Oct 14, 2016 at 10:29 AM, rachna <rachan

Re: Oak vs Jcr APIs

2016-12-12 Thread Clay Ferguson
biternay: I'm not trying to drive any actual traffic to my site yet, but I do have an app built on JCR you could use for additional examples: It's called meta64 and is open source on Github. It can be tricky to find relevant up-to-date example code for the JCR, so what I've done before is

Re: oak-standalone with --mongo unable to start repository

2016-12-17 Thread Clay Ferguson
dency tree and verify that this particular felix class is on the classpath and that it's the correct one on the classpath. Something in the springboot may be overriding it on the classpath with a version-incompatible situation, or it may be missing from the classpath entirely. Best regards, Clay Fe

Re: Escaping % sign in a query

2017-01-11 Thread Clay Ferguson
did you try this? CONTAINS(s.*, '\%\%myword\%\%') Best regards, Clay Ferguson wcl...@gmail.com On Wed, Jan 11, 2017 at 11:18 AM, Roy Teeuwen <r...@teeuwen.be> wrote: > Hey all, > > I am trying to do a query where the actual word I am looking for looks > like %%mywo

Re: Escaping % sign in a query

2017-01-11 Thread Clay Ferguson
fixed this" in my own JCR code yet either. Best regards, Clay Ferguson wcl...@gmail.com On Wed, Jan 11, 2017 at 2:15 PM, Roy Teeuwen <r...@teeuwen.be> wrote: > Yes i did ;), same results > > Greets, > Roy > > On 11 Jan 2017, at 18:30, Clay Ferguson <wcl...@gmail

Re: FileVault for import and export of JCR?

2017-01-05 Thread Clay Ferguson
, but as a former AEM dev you may already know all this, and i'm maybe just not understanding what you're looking for. Let me know. Best regards, Clay Ferguson wcl...@gmail.com On Thu, Jan 5, 2017 at 5:30 PM, Lance Dolan <la...@edlio.com> wrote: > Hello, > > I'm a former CQ/AEM develope

Re: LuceneIndexProviderService copyonread/write running into too much open file handles

2017-03-28 Thread Clay Ferguson
Dirk, Based on all the open indexes, it may be that you are accidentally opening multiple repository connections when you really only need one for the entire app (I"m just guessing). Shutdown can be tricky, heres code from my own project: https://github.com/Clay-Ferguson/meta64/blob/maste

Re: incompatible Derby version when using jackrabbit standalone release

2017-04-09 Thread Clay Ferguson
on the older VM? Best regards, Clay Ferguson wcl...@gmail.com On Sun, Apr 9, 2017 at 10:17 AM, tessa <tm.lus...@gmail.com> wrote: > Dear community, > > I am using Jackrabbit 2.6.8 deployed as RAR and everything works fine > beside > of RMI access. > although i deployed the mat

Re: Manual repairing damaged JCR Repo reference to the Filesystem inside DB

2017-04-17 Thread Clay Ferguson
data. Hacking around in the internal data formats is probably going to create more problems, imo, and is too dangerous to try to guess how to do that. Best regards, Clay Ferguson wcl...@gmail.com On Mon, Apr 17, 2017 at 9:45 AM, tessa <tm.lus...@gmail.com> wrote: > Dear commmunity, &g

Re: DocumentStoreException

2017-03-06 Thread Clay Ferguson
Peter, I know you're already aware of meta64, but at the very bottom of the following file is a shutdown procedure for gracefully terminating that I think works. (Various dispose, close, and shutdown methods are required.) https://github.com/Clay-Ferguson/meta64/blob/master/src/main/java/com

Re: No properties on REPORT response?

2017-03-06 Thread Clay Ferguson
Mario, That looks a bit too scary for the command line: try this: http://stackoverflow.com/questions/6408904/send-post-request-with-data-specified-in-file-via-curl Best regards, Clay Ferguson wcl...@gmail.com On Mon, Mar 6, 2017 at 3:04 PM, Mario Danic <ma...@nextcloud.com> wrote: &

Re: Oak repository using MongoDB fails to renew lease

2017-07-06 Thread Clay Ferguson
other thing, when running in Eclipse I have to use the shutdown hook in this file: https://github.com/Clay-Ferguson/meta64/blob/master/src/main/java/com/meta64/mobile/AppServer.java where I actually have to type the letter 'q' into the Eclipse debug console, because eclipse otherwise wasn't calling

Re: Oak repository using MongoDB fails to renew lease

2017-07-06 Thread Clay Ferguson
Sefan, 1) make sure you are using a try/finally block to be sure to always close each session after using it 2) look at the following code to see if you are closing everything in the way this code does: Specifically, look at the close() method: https://github.com/Clay-Ferguson/meta64/blob/master

Re: Runaway Repo

2017-08-04 Thread Clay Ferguson
, Clay Ferguson wcl...@gmail.com On Thu, Aug 3, 2017 at 11:24 PM, Andrew Khoury <akho...@adobe.com.invalid> wrote: > Hi Peter, > > Compaction is for Oak SegmentStore. For (MongoDB) DocumentNodeStore > setups you have to run "Revision Garbage Collection" a

Re: node.hasNodes() ,node.getNodes() and removing nodes with node.remove()

2017-08-06 Thread Clay Ferguson
benefit from seeing what problems they are creating and how people are working around those problems. Hopefully that's a legit use of this email list also. Best regards, Clay Ferguson wcl...@gmail.com On Sun, Aug 6, 2017 at 7:38 PM, Peter Harrison <cheetah...@gmail.com> wrote: > Over

Re: node.hasNodes() ,node.getNodes() and removing nodes with node.remove()

2017-08-06 Thread Clay Ferguson
wish Adobe would find some people with the requisite skill to get that fixed. Every serious user runs into this problem. I mean the Derby DB is litterally 100x of times more powerful, and most people consider Derby a toy. Best regards, Clay Ferguson wcl...@gmail.com On Sun, Aug 6, 2017 at 7:38 PM

Re: node.hasNodes() ,node.getNodes() and removing nodes with node.remove()

2017-08-07 Thread Clay Ferguson
I was unaware simply making nodes unorderable would allow good scalability. Good to know! I guess we could always experiment with using a nextNode property to allow iterating in order, and also get good scalability for inserting/deleting, but using that linked-list approach would be slow at

Re: Jackrabbit conflict during the restart of the repository

2017-05-11 Thread Clay Ferguson
/browse/OAK-3400 Best regards, Clay Ferguson wcl...@gmail.com On Wed, May 10, 2017 at 4:19 PM, gabriele <gabriele.bold...@finantix.com> wrote: > I have a problem while re-starting the repository oak > > Environment: > Jackrabbit Oak 1.6.1 > RDBDocumentStore instantiated fo

Re: Using Jackrabbit in orchestration environment

2017-06-24 Thread Clay Ferguson
ons of this mailing list and I apologize if so. I went slightly beyond a reply to John. Best regards, Clay Ferguson ​https://github.com/Clay-Ferguson/meta64 ​wcl...@gmail.com On Sat, Jun 24, 2017 at 6:52 AM, John Chilton <jcchil...@gmail.com> wrote: > Thanks Galo, this is useful informa

Re: Using Oak for distributed system

2017-05-18 Thread Clay Ferguson
of JCR's capabilities, rather than building on either plain MongoDB or RDBMS or even other NoSQL solution, becasue the JCR does give you a huge head start towards what you need as compared to any non-JCR thing. Best regards, Clay Ferguson wcl...@gmail.com On Thu, May 18, 2017 at 8:40 AM, Ioan

Re: Oak and Mongo

2017-05-22 Thread Clay Ferguson
exists. The single classpath is a limitation of Java. Best regards, Clay Ferguson wcl...@gmail.com On Mon, May 22, 2017 at 10:59 PM, Chetan Mehrotra <chetan.mehro...@gmail.com > wrote: > On Mon, May 22, 2017 at 7:14 PM, Ron Wheeler > <rwhee...@artifact-software.com> wrote: >

Re: Oak and Mongo

2017-05-22 Thread Clay Ferguson
I am using the latest stable spring boot, which provides some version of appropriate mongodb version, and also i just upgraded to latest stable Jackrabbit: All versions can be gleaned from this: https://github.com/Clay-Ferguson/meta64/blob/master/pom.xml BTW: The reason I love spring-boot

Merkel and/or Blockchain on JCR

2017-05-28 Thread Clay Ferguson
ler app like a great blockchain built on top of JCR Jackrabbit, would make the world wake up and take notice that the JCR even exists. Currently I'd say 1% of Java developers have ever even heard of JCR. Just asking if anyone has any thoughtssuggestions, etc. Best regards, Clay Ferguson ​The

  1   2   >