; sifting appender are not also logged to error.log), what is the best way to
> to it?
Register the filter as OSGi service with appenders="*" [1]
Chetan Mehrotra
[1]
https://sling.apache.org/documentation/development/logging.html#filters-as-osgi-services
On Fri, Sep 15, 2017 a
While providing a custom logback.xml do remember to add Sling specific
handlers [1]. Otherwise OSGi integration of logging config would not
work as expected
Chetan Mehrotra
[1]
https://sling.apache.org/documentation/development/logging.html#external-config-file
On Thu, Sep 14, 2017 at 6:45 AM
things to avoid using the RDBDocumentStore?
No such list as of now. However do ensure that binaries are not stored
in Database and you make use of any external DataStore
Chetan Mehrotra
nt to that browser
This state can be used to determine if server is safe to be taken out
of the cluster or not.
This is just a rough thought experiment which may or may not work and
would require broader discussion!
Chetan Mehrotra
[1] http://www.allthingsdistributed.com/2008/12/eventually_consistent.html
ing for not always hitting the latest data? Also... Is there any way
> to force all reads to read the most recent revision, perhaps through some
> configuration?
Thats a question best suited for discussion on oak-dev mailing list
(oak-...@jackrabbit.apache.org)
Chetan Mehrotra
based on timestamp. Now each cluster
node also has a "head" revision. So any read call on that cluster node
would only see those values whose revision are <= '"head" revision.
This head revision is updated periodically via background read. Due to
this snapshot isolation mo
ould succeed and other would fail with a conflict.
Some details are provided at [1]
Chetan Mehrotra
[1] https://jackrabbit.apache.org/oak/docs/architecture/transactional-model.html
be required
Chetan Mehrotra
On Thu, Jan 12, 2017 at 7:34 AM, lancedolan <lance.do...@gmail.com> wrote:
> The only example code I can find to authenticate to Sling will use the JEE
> servlet container's "j_security_check" which then stores the authenticated
> session in
Hi John,
This issue is being addressed as part of OAK-4837. With that binary
should not get downloaded for just getting the metadata
Chetan Mehrotra
On Fri, Oct 7, 2016 at 3:00 AM, John Logan <john.lo...@texture.com> wrote:
> I forgot, the other Oak modules are at 1.5.7 al
Thanks for the details. Would try to have a look at the issue soon
Chetan Mehrotra
On Thu, Jun 2, 2016 at 4:17 PM, piyush goyal <coolpiyus...@gmail.com> wrote:
> Hi Chetan,
>
> Thanks for the response. I tried using the work around you referred to.
> Eating up stop() call to d
- You can get that via casting
org.slf4j.LoggerFactory.getILoggerFactory()
3. Then onReset you start the appender again
Or you eat out the stop call and stop it upon your component deactivation!
Chetan Mehrotra
[1]
http://logback.qos.ch/apidocs/ch/qos/logback/classic/spi/LoggerContextListener.html
On Wed, Jun 1,
The Apache Sling team is pleased to announce the release of Apache
Sling Log Tracer version 1.0.0
Apache Sling is a web framework that uses a Java Content Repository,
such as Apache Jackrabbit, to store and manage content. Sling
applications use either scripts or Java servlets, selected based on
ump to see what all is being held up?
Chetan Mehrotra
On Sat, Mar 26, 2016 at 2:47 AM, Jason Bailey <jason.bai...@sas.com> wrote:
> I don't think you'll find that specific answer on this list.
>
> From a practical point of view. I had to create a service that provided a
> re
sily. btw is it on SegmentMK or Mongo? And whats the Oak
version in use here?
Chetan Mehrotra
Thanks Julian for jumping in! OAK-3504 is different. So far we have
not seen such corruption reported on Segment
@Roy - Would be helpful if you can get a support case opened so that
we can get handle to repository content (if possible) which would
allow us to investigate better
Chetan Mehrotra
vEx based remoting [1].
I believe that should work
Chetan Mehrotra
[1] http://wiki.apache.org/jackrabbit/RemoteAccess#DavEx
parentPath);
Node child = parent.addNode(childName, "sling:Folder");
session.save();
session.logout();
store.dispose();
}
It technically creates a new Oak instances and thus you have a
cluster! Had he connected to Sling using Remoti
mark. Would try to find some time and update them
Chetan Mehrotra
not using a cluster. You were
connecting to the JR running within Sling using RMI. So it was a
single node setup. If you use RMI now also and connect to same Sling
node then it would work as expected.
Chetan Mehrotra
[1] http://jackrabbit.apache.org/oak/docs/architecture/nodestate.html
On Wed, Sep 30, 2015 at 8:48 PM, Roll, Kevin <kevin-r...@idexx.com> wrote:
> Is this documented anywhere?
Its partially documented at
http://felix.apache.org/documentation/subprojects/apache-felix-web-console/web-console-restful-api.html#configuration-admin-plugin
Chetan Mehrotra
Try looking to /system/console/status-Configurations which dumps all
the configs on one page
Chetan Mehrotra
On Thu, Aug 6, 2015 at 4:02 PM, Nicolas Peltier npelt...@adobe.com wrote:
Hi,
right now when i want to see which user is tied to such service for
monitoring purpose, i need to go
sling.log.root = ${sling.home}
+1. This would also allows using Sling Logging in non Sling Container easily
Chetan Mehrotra
On Fri, Nov 28, 2014 at 7:33 PM, Felix Meschberger fmesc...@adobe.com wrote:
Hi
How about a sling.log.root property, which we define as
sling.log.root = ${sling.home
Any feedback on the proposed approach below?
Chetan Mehrotra
On Mon, Mar 24, 2014 at 4:49 PM, Chetan Mehrotra
chetan.mehro...@gmail.com wrote:
Hi,
At times we have a requirement to extend the logic of Sling Post
Servlet and do some pre-processing and then continue with the default
behavior
Thanks Justin and Bertrand for reviewing the approach!
That's where the proposed POST pipeline would help
Okie. Now I appreciate the requirement. Would keep a watch on that
Chetan Mehrotra
On Tue, Mar 25, 2014 at 5:52 PM, Bertrand Delacretaz
bdelacre...@apache.org wrote:
Hi Chetan,
On Mon
reference of default ModifyOperation
(sling.post.operation=modify) and delegate to that
4. The client would now use ':my_operation' as part of POST form data
So wanted to confirm if above approach is fine or it would cause issues?
Chetan Mehrotra
The Apache Sling team is pleased to announce the release of Apache
Sling Commons Log version 4.0.0
Apache Sling is a web framework that uses a Java Content Repository,
such as Apache Jackrabbit, to store and manage content. Sling
applications use either scripts or Java servlets, selected based on
Also have a look at [1] which maintains a map of services in sorted order.
Chetan Mehrotra
[1] https://gist.github.com/chetanmeh/3918574
On Tue, Nov 26, 2013 at 12:03 PM, Sean Steimer sean.stei...@gmail.com wrote:
Bertrand,
Thanks for the reply. I'm interested to look
be set?
Also looking at the command line parsing logic it appears that it
probably does not handle such multiple properties [2] that well. So
wanted to confirm if anyone has been able to pass multiple framework
property via command line
Chetan Mehrotra
[1]
http://sling.apache.org/documentation
Done https://issues.apache.org/jira/browse/SLING-2573
Chetan Mehrotra
reference to ResourceProviderFactory and in that time JcrResourceListener
tries to access it. May be the dependency should be set to Required,
Multiple to ensure that ResourceResolverFactoryImpl is properly initialized.
Chetan Mehrotra
[1
the timestamp (as both are snapshots)
Chetan Mehrotra
On Mon, Aug 20, 2012 at 2:18 PM, Carsten Ziegeler cziege...@apache.orgwrote:
Hi,
if you're using the Sling launchpad, then all the bundles are
installed by launchpad and not the OSGi installer.
We(=Adobe)'re using this configuration
simplify my development workflow such that I
can bypass repackaging step #6?
Otherwise I was thinking to modify the MainDelgate to uses some sort
FilesystemResourceProvider depending on startup mode.
Any thoughts/suggestions!!
Chetan Mehrotra
class which makes this request accessible.
Thoughts?
Chetan Mehrotra
On Mon, May 14, 2012 at 4:56 PM, Sarwar Bhuiyan sarwar.bhui...@gmail.comwrote:
the resource will be different for every instance so annotation is not a
good candidate to pass this anyway. annotations would be used to wire up
Mehrotra
On Mon, May 14, 2012 at 7:37 PM, Bertrand Delacretaz bdelacre...@apache.org
wrote:
On Mon, May 14, 2012 at 2:55 PM, Chetan Mehrotra
chetan.mehro...@gmail.com wrote:
...It would be helpful if we can expose the current
SlingHttpServletRequest or
ResourceResolver via a threadlocal
Sure ... or we can keep the service disabled by default and the plugin page
displays a message that it should be enabled before being used. And then a
user can enable it from WebConsole
Chetan Mehrotra
On Fri, May 4, 2012 at 1:46 PM, Bertrand Delacretaz
bdelacre...@apache.orgwrote:
Hi Chetan
to be included in Sling
Chetan Mehrotra
[1] https://issues.apache.org/jira/browse/SLING-2463
(with screen shots) is provided at [2].
Comments and feedback welcome!!
Chetan Mehrotra
[1] https://github.com/chetanmeh/sling/tree/script-console
[2] https://github.com/chetanmeh/c/wiki/Sling-Script-Console
;
}
It appears that type is inferred from the JSON representation itself. And
in some cases from propetyName prefixes. So keeping {foo:1} should create
foo of type integer
Chetan Mehrotra
[1]
http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader
Looking at JsonReader source code it appears that intent of the
implementation was to have separate nodes and properties entries from JSON
tree. However implementation does not follow that intent.
So possibly a bug wrt mismatch between documentation and implementation.
Chetan Mehrotra
On Mon
Chetan Mehrotra
On Fri, Jul 22, 2011 at 9:19 PM, Markus Joschko markus.josc...@gmail.comwrote:
On Fri, Jul 22, 2011 at 5:41 PM, Justin Edelson
jus...@justinedelson.com wrote:
That's correct. boot delegation is something defined at the time the
OSGi framework starts and is then fixed
40 matches
Mail list logo