Looks like there is an older version of commons-collections jar. What is the
version of commons-collection jar is present in your webapp.?
It should be 3.2.1
Chetan Mehrotra
On Fri, Sep 9, 2011 at 11:20 AM, Markus Meixner <
markus.meix...@optimizeit.ch> wrote:
> Hi everybody
>
&
class")
org.apache.commons.collections.BeanMap.getResource("/org/apache/commons/collections/ArrayStack.class")
To see from where the class is getting pickedup
Chetan Mehrotra
[1] http://snippets.dzone.com/posts/show/3719
worry about services
going away at runtime.
Would such a feature be useful to be part of JR Core. Thoughts?
Chetan Mehrotra
[1] https://github.com/chetanmeh/jackrabbit/tree/osgi-factory
[2] https://github.com/chetanmeh/jackrabbit/compare/osgi-factory
[3]
http://jackrabbit.apache.org/api/2.4/org
> This looks very interesting to me and should rather be targeted at dev@
> instead of user@. I suggest you repost this there. Also I'd create a JCR
Done. Send it to dev. Would continue discussion there
Chetan Mehrotra
On Thu, Sep 6, 2012 at 3:20 PM, Michael Dürig wrote:
&g
Looks like you missed attaching the source code of the LoginModule.
Can you attach that also?
Chetan Mehrotra
On Mon, Sep 24, 2012 at 7:02 PM, connuser1 connuser1
wrote:
> Hi
>
> I am facing a problem wherein when I login to the repository, I get null
> returned as jcrSession. For
Chetan Mehrotra
ysis tool? How are logs analyzed (visual
inspection, home-grown tool/program, external open-source/commercial tool)?
Mostly the logs are seen in a text editor/viewer :). Depending on
requirements people can use Commercial products like Splunk [2] or
Logstash [3]
Chetan Mehrotra
[1] http://logba
/fixtures [2] or docs [3] for programatically constructing
Oak instance
Chetan Mehrotra
[1] https://github.com/apache/jackrabbit-oak/tree/trunk/oak-pojosr
[2]
https://github.com/apache/jackrabbit-oak/blob/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/fixture/OakFixture.java#L378
[3] http
in a user friendly way.
For now repository just ensures that concurrent use does not happen by
taking file locks. For this would be helpful to file a JIRA issue.
Chetan Mehrotra
With OAK-1997 the exception message should provide more details. Can
you try with latest from 1.x branch?
Chetan Mehrotra
On Tue, Jul 29, 2014 at 12:56 PM, Torgeir Veimo wrote:
> Just starting up with a new repository now gives me an exception
> during repository configu
you should not be adding them again. Instead new
Jcr(oak).createRepository(); should be sufficient unless you want to
add extra editors which are not registered by default.
Can you try with above mode?
Chetan Mehrotra
On Tue, Jul 29, 2014 at 2:23 PM, Torgeir Veimo wro
"totalIndexSize" : 102437104,
"indexSizes" : {
"_id_" : 86902704,
"_modified_-1" : 15027488,
"_bin_1" : 449680,
"_deletedOnce_1" : 24528,
"_sdType_1"
35eeb3/raw/getChildCount.groovy
/> getChildCount(session.workingNode)
Chetan Mehrotra
[1] https://gist.github.com/chetanmeh/2138c188a1bcc135eeb3
On Wed, Aug 13, 2014 at 8:06 PM, Andrew Khoury wrote:
> Thanks Chetan, this really helped.
>
> This was for a tar based deployment.
and some Felix bundles to construct repository in a non OSGi
env.
As of now #2 works fine and we use it for couple of integration test
cases also. Just that it involves packaging of some extra jars
Chetan Mehrotra
[1] http://jackrabbit.apache.org/oak/docs/construct.html
[2] https://github.com/apache
This was a regression introduced with OAK-2354 and later fixed with
OAK-2427 in 1.1.6 release. Can you try with Oak 1.1.6 release
Chetan Mehrotra
On Mon, Feb 9, 2015 at 8:41 AM, Torgeir Veimo wrote:
> It fails in 1.1.4 as well, but not in 1.1.3.
>
> On 9 February 2015 at 12:54, Torg
closed also.
Can you create a issue for that?
Chetan Mehrotra
On Tue, Apr 7, 2015 at 6:08 PM, Torgeir Veimo
wrote:
> I run oak in a non-osgi environment (tomcat) and am seeing these on
> webapp reload;
>
> SEVERE: The web application [/frontend] appears to have started a
> th
can export that
package via system packages extra of Felix. That should let oak-core
bundle start.
Chetan Mehrotra
:async hidden node. So essentially by design we enforce
that no concurrent indexing should happen and hence the use of
NoLockFactory
Chetan Mehrotra
On Tue, Aug 4, 2015 at 5:40 PM, Shinichiro Abe
wrote:
> Hello,
>
> If I understand correctly, by OakDirectory, a Lucene index is placed as B
which embeds Oak and Oak relies on
host application for certain aspects like coordinating the jobs across
cluster.
Chetan Mehrotra
AbstractRepositoryServlet would register the created repository
instance in ServletContext against attribute named
'javax.jcr.Repository'. So in your servlet you can obtain the instance
from ServletContext attribute
Chetan Mehrotra
On Wed, Aug 12, 2015 at 12:51 AM, Karsten Priegnitz w
ots of internal to get in right.
Instead of that you can make use of OSGI support without requiring
your code to run in an OSGi container. For an example have a look at
oak-standalone example [1] which is currently being developed (and as
of now in working state)
Chetan Mehrotra
[1] https://github.com/
that helps!
Chetan Mehrotra
[1]
https://docs.jboss.org/keycloak/docs/1.1.0.Final/userguide/html/ch08.html#jaas-adapter
[2]
https://github.com/keycloak/keycloak/blob/master/integration/adapter-core/src/main/java/org/keycloak/adapters/jaas/BearerTokenLoginModule.java#L9
On Thu, Nov 26, 2015 at 10:49 PM,
o its better to keep FileDataStore and not store
binary files in Mongo. So while performing migration/upgrade retain
FileDataStore
Just for completeness - You can generate the csv programatically. For
e.g. when running in OSGi container and using Script Console you can
use script at [1]
Chetan Meh
need to rely on how oak-lucene maps JCR properties to
Lucene Document properties. So would be interested to know the
requirement here. You can achieve the same thing using std JCR query
also
Chetan Mehrotra
On Thu, May 12, 2016 at 5:15 PM, Giovanni L wrote:
> I read you can build a
> lucene index on a node name, and I was wondering if you could do the same
> using a PropertyIndex
>
Currently that is not supported
Chetan Mehrotra
Would suggest that you create an issue providing your requirement.
So far we did not have any specific requirement where such things need to
be supported by property index hence was not implemented there.
Chetan Mehrotra
On Fri, May 13, 2016 at 1:02 PM, Giovanni L wrote:
> Thank you Cha
Is it a single node setup or a cluster? What is the persistence used TarMK
or MongoMK
Chetan Mehrotra
On Tue, May 24, 2016 at 3:11 PM, Loicram Kro wrote:
> Hi.
>
> I'm using oak in version 1.2.11.
> I have a problem with visibility of changes in new sessions.
> Steps whi
Then it should work as you expect. Can you share some code around how you
create the JCR Session and perform the read/write operation
Chetan Mehrotra
On Tue, May 24, 2016 at 4:57 PM, Loicram Kro wrote:
> It is a single node (author) with TarMK
>
> On 24 May 2016 at 12:15, Chetan
To be sure is your application is based on AEM or just a custom Sling based
app?
When you are performing a read is that preceded by invoking a query to find
the resource?
Chetan Mehrotra
On Tue, May 24, 2016 at 9:05 PM, Loicram Kro wrote:
> I don't create it explictly, it is created
based on property index
regards
Chetan
Chetan Mehrotra
On Wed, May 25, 2016 at 1:56 PM, Loicram Kro wrote:
> AEM,
>
> Yes, we execute a questy which finds the resource by a property which was
> already saved on a resource (even before the first request)
>
> On 25 May 2016 at 05:1
operation should be fast i.e. O(1) instead
of being a function of size
Chetan Mehrotra
On Thu, Nov 10, 2016 at 10:25 PM, hsp wrote:
> Hi,
>
> We use persistence with DataStore using a path that maps to a remote NAS,
> using NFS.
> With the default c
Hi Clay,
Looking at the modified file [1] the change was done in rename flow.
So first temporary file gets created and then in new impl its copied
to final file via channel copy
Chetan Mehrotra
[1] http://jackrabbit.510166.n4.nabble.com/file/n4665414/FileDataStore.java
On Fri, Nov 11, 2016 at
Hi Mathias,
Thanks for reporting it. Fixed the issue as part of OAK-5333. Can you
try out the build from latest trunk again?
Chetan Mehrotra
On Sat, Dec 17, 2016 at 9:26 PM, mathiasconradt
wrote:
> Clay, thanks for your reply.
>
> Dependencies look good. Maven states this dependency
On Sat, Dec 17, 2016 at 5:32 PM, mathiasconradt
wrote:
> I was missing the workspace name (default) in the URL.
Updated the readme (1774792) to include workspace name in webdav url.
Chetan Mehrotra
Have a look at JCRVLT-151 where such an API is being worked upon
Chetan Mehrotra
On Fri, Jan 6, 2017 at 5:08 AM, Lance Dolan wrote:
> UPDATE:
>
> I have discovered the file /vault-cli/target/appassembler/bin/vlt after
> building FileVault from source, and that appears to give me
basis would be fine. Also do have a look
at Sling [1] which can be deployed as a war
> 4. Transactions. Is it correct that with JTA I can have transactions
> that span both JPA and Oak scopes? What about different deployment
> models (most interestingly server)?
This is currently not supported i.e.
e for you to
open an issue and attach lsof output (possibly scrubbing private
info). Want to see the file handle pattern
Chetan Mehrotra
On Tue, Mar 28, 2017 at 8:02 PM, Dirk Rudolph
wrote:
> Issue created with the lsof output attached here:
>
> https://issues.apache.org/jira/browse/OAK-5995
> <https://issues.apache.org/jira/browse/OAK-5995>
Would follow up on the issue then
Chetan Mehrotra
missing and which specific aspect
needs improvement.
Chetan Mehrotra
[1] https://jackrabbit.apache.org/oak/docs
[2] https://issues.apache.org/jira/browse/OAK-5998
Also have a look at standalone example [1] which demonstrates using
Oak in a Spring Boot application
Chetan Mehrotra
[1] https://github.com/apache/jackrabbit-oak/tree/trunk/oak-examples/standalone
can we select what version to use? I imagine we can with Secondary Node
> solution.
For that you need to rely on JCR API. At Secondary Node level its all content
Chetan Mehrotra
[1] https://jackrabbit.apache.org/oak/docs/migration.html#Sidegrade
< 2.10 you should not be getting this error
Chetan Mehrotra
You would need to create a Lucene index definition. See [1] for details
Chetan Mehrotra
[1] https://jackrabbit.apache.org/oak/docs/query/lucene.html
On Thu, May 25, 2017 at 12:07 PM, techie2k wrote:
> Hi,
>
> I have custom node type:
>
> [et:document] > nt:file, mix:titl
Mongo or some database backed by DataStore
Chetan Mehrotra
As Ioan also mentioned SegmentNodeStore only supports access from a
single process. So if you want to use it then have the logic to handle
upload also run from the same process to keep setup simple.
Chetan Mehrotra
> Every addition of a child node implies a change to the parent node Document
Looks like the parent nodetype is nt:unstructured which requires
orderable children. If you do not require that use a nodetype like
oak:Unstructured. See [1] for some background
Chetan Mehrotra
[1]
ht
cts which would need to be resolved. Also for inserting find the
last entry would involve iterating over all previous entries. In
general having an orderable list of large size would pose problem and
should be avoided
Chetan Mehrotra
number of rows accessed may be large but only few of them
qualify all criteria at query engine level. This can be confirmed by
query explanation output
3. Or lots of filtering happening due to access control. Does the
performance remains same with admin user?
Chetan Mehrotra
On Mon, Aug 28, 2017 at
s a workaround you can set 'entryCount'
property to some high value such that this lucene index is not
preferred
Chetan Mehrotra
On Wed, Aug 30, 2017 at 7:05 PM, Jason Bailey wrote:
> Hi Chetan,
>
> For the lucene index provider we have the following configured
> Enabled:
&
I have backported the fix for OAK-6333 to 1.2 branch also. Would be
part of Oak 1.2.28
Chetan Mehrotra
On Wed, Aug 30, 2017 at 8:18 AM, Jason Bailey wrote:
> Yes, that's how I patched the problem. You've answered my question by
> explaining that the index value is not the c
Path based sharding is currently not implemented. Some initial work is
done in OAK-3401/OAK-3426 but its still not part of trunk.
Are you looking for sharding to scale out writes or for geo distributed setups?
Chetan Mehrotra
On Sun, Sep 10, 2017 at 6:54 AM, Jon McPherson wrote:
> I
ble approach. In such a case you would
need to programatically construct the Repository instance per Mongo
server to connect to.
Going forward once we OAK-3426 implemented this would be much simpler
Chetan Mehrotra
ase where you would like to do
explicit "sync"?
regards
Chetan
Chetan Mehrotra
On Tue, Oct 17, 2017 at 5:04 AM, Alexey Pechenev wrote:
> Hello everyone,
>
> I'am developing an application with HA requirement which uses Oak (MongoMK).
> So in our system we have N Oak
This is now fixed with OAK-7265. Rajesh can you try with a build from
trunk and see if this works for you? Would then backport it to 1.8
branch
Chetan Mehrotra
On Tue, Feb 13, 2018 at 4:48 PM, rajesh wrote:
> This is my custom application. I just used the files from the Standalone
> p
Looks like its marked as skip from deployment since starting [1].
Opened https://issues.apache.org/jira/browse/OAK-7304 to track that
Chetan Mehrotra
[1] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-pojosr/pom.xml#L34
On Mon, Mar 5, 2018 at 11:26 PM, McIntyre, Kevin
wrote:
>
55 matches
Mail list logo