Anything is possible, but in general when Adobe provides an Adobe-generated
release of a Sling bundle in AEM, it is denoted with a timestamp and (since
the move to git) a git hash. For example, in AEM 6.4, I see
version 1.4.7-T20180205124646-b0647a3 for org.apache.sling.models.impl.
It would be ve
FWIW, it is possible to externalize that script into a file and then
reference it as the source parameter. It's obviously a judgement call as to
whether you put the script inline or in an external files, but the below
would be enough lines of code for me to want to stick it in an external
file :)
ar.model.json
> [3]
>
> https://github.com/auniverseaway/sling-org-apache-sling-models-impl/blob/POC_Character_Encoding/src/main/java/org/apache/sling/models/impl/ExportServlet.java#L95
>
> On Wed, Nov 29, 2017 at 7:04 PM, Justin Edelson
> wrote:
>
> > I'm not sure what you mean
he model?
> Looking at the Impl, it didn't look like it.
>
> [0]
>
> https://sling.apache.org/apidocs/sling9/org/apache/sling/api/SlingHttpServletRequest.html#getResponseContentType
>
> On Wed, Nov 29, 2017 at 5:14 PM, Justin Edelson
> wrote:
>
> > Hi Chris
Hi Chris,
Are you sure that the charset is being added by Sling, i.e. are you
accessing Sling directly or via an Apache server?
The Export Servlet doesn't actually try to infer anything about the content
type header. It just sets it to request.getResponseContentType(). See
[1]. If you trace that b
ternally, why wouldn't the adaptTo do it?
>
> Resource resource = resourceResolver.getResource("/my/path");
> SelfModel selfModel = resource.adaptTo(SelfModel.class);
>
> Greets,
> Roy
>
> > On 12 Jun 2017, at 21:32, Justin Edelson
> wrote:
> >
> >
nd you will see that the test fails :)
>
> Greets,
> Roy
> > On 12 Jun 2017, at 18:52, Justin Edelson
> wrote:
> >
> > FWIW, I committed an integration test at
> > http://svn.apache.org/viewvc?view=revision&revision=1798489 checking
> that
> > the wrapped res
3 PM Justin Edelson
wrote:
> Hi Roy,
> This sounds like unexpected behavior. Please create a JIRA for this,
> ideally with a test case, if you have not already.
>
> Thanks,
> Justin
>
> On Mon, Jun 12, 2017 at 4:38 AM Roy Teeuwen wrote:
>
>> Hey Jason, Guys,
>>
Hi Roy,
This sounds like unexpected behavior. Please create a JIRA for this,
ideally with a test case, if you have not already.
Thanks,
Justin
On Mon, Jun 12, 2017 at 4:38 AM Roy Teeuwen wrote:
> Hey Jason, Guys,
>
> No one can give me an answer if this is a bug or something wanted? I can
> alw
Hi,
Not an exact answer (and to be clear, I'm not endorsing any of these
companies), but I would assume that most, if not all, of the AEM partners
could handle at least the architectural review portion of your request
since Sling architecture is largely a subset of overall AEM architecture.
You ca
Yes, I mean your application code. In my experience, the actual Sling
launchpad is not very useful by itself except as a learning tool. In any
real-world case, you will end up creating your own launchpad by taking the
standard Sling launchpad and adding additional bundles to it.
And while yes, you
I would say that's how the creators of JavaEE intended for deployment
options to be specified :)
On Thu, Jan 12, 2017 at 10:53 AM lancedolan wrote:
> I can look into overriding init params through some servlet container
> features. Is that the way that Sling devs expect me to turn on Mongo
> fun
But don't you need your own artifact anyway to include your custom
application bits?
IIRC (and I can't find the code right now), we explicitly *don't* allow for
system properties to be used for sling properties in a webapp case since
multiple webapps can be deployed into the same container.
In an
Embedding the JARs is surely not the right solution. These need to be
deployed as OSGi bundles (as Stefan wrote).
Regards,
Justin
On Sat, Nov 19, 2016 at 4:56 AM Gopal Agarwal wrote:
> Hi All,
>
> I managed to resolve the dependency issue by embedding these jars.
> Now I am getting issue @ line
Hi Roy,
In general, JCR namespaces are well suited (the same could said for most
other uses of namespaces) for cases where there is a possibility of naming
conflicts. In JCR, this generally happens when you have multiple
"application" (used broadly) owners overlapping on the same node. When you
hav
indeed, sorry. Ah ok nice, thanks for the explanation.
> Is it obligated to be directly under /apps, or can you also put it
> somewhere else?
>
> Thanks!
> Roy
>
>
> > On 05 May 2016, at 14:38, Justin Edelson
> wrote:
> >
> > Hi,
> > I'm assuming y
Hi,
I'm assuming you mean scripts. In this case, you can replace the colon in
the type name with a slash, so it would be something like
/apps/myns/TypeName/typename.esp (for myns:TypeName node type).
Regards,
Justin
On Thu, May 5, 2016 at 8:09 AM Robert Munteanu wrote:
> Hi Roy,
>
> On Thu, 201
Glad to help, but really you should try using Declarative Services for
anything real.
Regards,
Justin
On Wed, Apr 27, 2016 at 10:52 AM Ivan Gimenez
wrote:
> Hi Justin
>
> At first I was confused as I included the Bundle-Activator in the
> MANIFEST.MF file included
>
> *Bundle-Activator: com.me.
oid stop(BundleContext context) throws Exception {
> System.err.println("HelloService Stopped");
> registration.unregister();
> }
> }
>
>
> On Wed, Apr 27, 2016 at 1:35 PM, Justin Edelson
> wrote:
>
> > Hi,
> > The line
> >
&
Hi,
The line
var service = sling.getService(Packages.com.me.helloservice.HelloService);
Is trying to get an OSGi service from the Service Registry named
com.me.helloservice.HelloService. Is such a service actually registered?
Generally (although not exclusively), those services are registered usi
Are you saying that you have a non-Oak application which connects directly
to MongoDB and manipulates the documents?
On Tue, Dec 1, 2015 at 2:22 PM H K wrote:
> Hi,
>
> Sure. In pseudocode, here it is:
>
> 1. Have Sling standalone running and have application that provides REST
> service createC
Hi Sandro,
JavaScript support is available to any application in Sling using the
JSR-233 API.
Regards,
Justin
On Tue, Oct 13, 2015 at 4:28 PM Sandro Boehme wrote:
> Hello,
>
> I found out, that JavaScript support is not only available in ESP files
> but also in Sightly [1]. Is JavaScript suppor
2015 at 5:17 AM Roll, Kevin wrote:
> That was it! Everything showed right up. Unfortunately I did not see that
> documented on any of the various pages I looked at. Thanks!
>
> -----Original Message-
> From: Justin Edelson [mailto:jus...@justinedelson.com]
> Sent: Monday,
On your @Component annotation is metatype set to true?
On Mon, Sep 28, 2015 at 7:39 PM Roll, Kevin wrote:
> Apologies for a simple question. I'm trying to write my first
> ManagedService... I have an existing service that now implements this
> interface and has the @Component and @Service annotat
IMHO, coming up with general rules is going to be close to impossible.
Instead, we should make this configuration explicit, I.e. Have a
configuration on the installer which declares the action per BSN.
Justin
On Mon, Sep 21, 2015 at 1:26 PM Carsten Ziegeler
wrote:
> Unfortunately, the OSGi inst
Hi Nate,
IIUC, in Sling, you need to use "html-generator". "htmlparser" refers to an
AEM component.
See
https://github.com/apache/sling/blob/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/components/HtmlGeneratorFactory.java
Regards,
Justin
On Tue, Jul 28, 2015 at
Hi,
Adding more options to sling:include makes perfect sense, but changing
the behavior of sling:call does not. When I write
I mean "call the script foo.jsp". I don't mean "call any script named foo."
Regards,
Justin
On Fri, Aug 22, 2014 at 6:51 AM, Julian Sedding wrote:
> Yes, I would be in
Hi Catalin,
Gabriel's original post was about components extending each other
using sling:resourceSuperType, not overriding with the search path
(i.e. /apps overriding /libs). But this works as well (although it
accomplishes something very different).
I'm guessing we need ITs which demonstrate bot
Gabriel-
IMHO, your scenario is invalid and has nothing to do with the
difference in scripting engines. If you have
my-component/my-component.jsp and my-sub-component has a
sling:resourceSuperType of my-component, then the correct way to have
a script for my-sub-component is to call that script
my-
Hi Chetan,
You are correct, at least at present. This was part of the idea behind
exposing those services in the first place. See
https://issues.apache.org/jira/browse/SLING-1725.
Regards,
Justin
On Tue, Mar 25, 2014 at 7:24 AM, Chetan Mehrotra
wrote:
> Any feedback on the proposed approach belo
They're there now.
Sorry for the inconvenience.
Justin
On Fri, Mar 14, 2014 at 3:20 PM, David G. wrote:
> Are the Sling Models bundles supposed to be available via the Sling
> Downloads page?
>
> I dont see it - am i missing something?
>
> http://sling.apache.org/downloads.cgi
They are supposed to be there, but they're not. My bad.
You can find download links here:
http://search.maven.org/#search%7Cga%7C1%7Csling%20models
Will try to fix the page shortly.
Sorry,
Justin
On Fri, Mar 14, 2014 at 3:20 PM, David G. wrote:
> Are the Sling Models bundles supposed to be ava
Hi,
I think in general, this kind of change in our tooling would be
problematic. While there are cases for deploying multiple versions of
the same bundle, for tooling to *automatically* detect that this is
desired is tricky and IMHO likely to be error prone.
Is there a concrete proposal somewhere
eProvider:
> As this provider has the root path "/", it will always be asked to resolve
> the entire resource path (including extensions and selectors) as
> "/.selectors.extensions" is usually not resolved, i.e. it is always asked to
> resolve a child.
>
> Kind
Hi,
As I explained the other day, this is not a bug. The desired change is
a (rather severe) violation of the ResourceProvider contract.
Regards,
Justin
On Thu, Jan 16, 2014 at 6:41 PM, Olaf Otto wrote:
> Hi everyone
>
> I invested more time into the analysis of the issue and did some updates
>
Hi,
IIUC, this is *entirely* expected.
Your ResourceProvider's root is /content/child1/child2. When the
request comes in for /content/child1/child2.html, Sling will first try
to resolve that full path. Your provider will *not* be consulted at
this point because /content/child1/child2.html is not a
Hi,
You can pass the path as part of the ResourceMetadata, so having a
method with both the path and metadata arguments would be duplicative
and confusing.
Regards,
Justin
On Mon, Jan 13, 2014 at 9:18 AM, connuser1 connuser1
wrote:
> Hi
>
> Why isn't there a way to create a Synthetic resource wi
Hi Jason,
I think this is just a basic limitation of the Sling HTML generator.
The one in CQ is a bit more powerful and flexible. Would suggest
filing a bug report in JIRA with your specific findings on the Sling
HTML generator.
Regarding the one in CQ, it is configurable, but that's a better topi
ThreadLocal, could I implement a BindingsValuesProvider
> and get the request object from the bindings and inject them in the wrapped
> resource? Any major problem doing so?
>
>
> Thanks a lot to all.
> Alessandro
>
>
>
> On Thu, Oct 31, 2013 at 12:05 PM, Justin Edelson
Hi Alessandro,
What you could also do is to have a ResourceDecorator which changes up
the resource type. HOWEVER, you might be templted to use the
two-argument method. This doesn't actually work (and now documented as
such). So you'd need to combine this with some ThreadLocal-based
filter to store
Robt-
You should be able to use Felix FileInstall for this.
Regards,
Justin
On Thu, Oct 24, 2013 at 8:57 AM, Robert A. Decker wrote:
> It looks like the maven-deploy-plugin can probably handle things on the
> developer side. Now, I just need a way to handle it on the sling side…
>
> Rob
>
> On
Hi Sandro-
I don't think you need to ask permission for this :)
Regards,
Justin
On Wed, Jul 10, 2013 at 5:09 PM, Sandro Boehme wrote:
> Hello,
>
> as the JCRBrowser [1] currently is only for Sling users I'm assuming and
> hoping that it's ok to use this mailing list to support it. Please tell
Sandro-
In the situation you are describing, the "next request" is getting a new
JCR session. The Sling engine always creates a new JCR session for each
request. Sling does not have a way to reuse JCR sessions between requests.
Regards,
Justin
On Dec 23, 2012 12:14 PM, "Sandro Boehme" wrote:
>
7;ll have to find places where resource.adaptTo(Foo.class) is
called and update with new Bar(resource.adaptTo(Foo.class)) .
On Mon, Dec 17, 2012 at 3:35 PM, Justin Edelson wrote:
> Sam-
> Are you saying that there's is already something which adapts Resource ->
> Foo? And you can'
Sam-
Are you saying that there's is already something which adapts Resource ->
Foo? And you can't change that class?
If so, this class needs to reference that existing AdapterFactory DIRECTLY
rather than via the AdapterManager. This is easy enough to do with a DS
component.
Regarding your service
Dan-
Have you looked at the @SlingServlet annotation? It does something almost
identical to your second code example.
Justin
On Tue, Nov 27, 2012 at 2:40 PM, Dan Klco wrote:
>
>
> -Original Message-
> From: Alexander Klimetschek [mailto:aklim...@adobe.com]
> Sent: Friday, November 16, 2
Sarwar-
This feature was added to Sling in
https://issues.apache.org/jira/browse/SLING-1704
There is a bug in CQ 5.5 which causes the behavior you are describing. Adobe
support can provide you with a workaround. I believe it was also fixed in SP2.
Regards,
Justin
On Nov 10, 2012, at 6:18 AM, S
.java:230)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>
> Thanks.
>
> --Bhathiya
>
>
> On Thu, Aug 16, 2012 at 7:44 AM, Justin Edelson
&g
On Thu, Aug 16, 2012 at 7:24 PM, Alexander Klimetschek
wrote:
> On 16.08.2012, at 04:14, Justin Edelson wrote:
>
> > With a trunk build of the JCR WebConsole plugin, you can curl -u
> > :
> > http://localhost:8080/system/console/config/JCR+Descriptors.nfo and get
Just added this - https://issues.apache.org/jira/browse/SLING-2561
With a trunk build of the JCR WebConsole plugin, you can curl -u
:
http://localhost:8080/system/console/config/JCR+Descriptors.nfo and get all
the repository descriptors, including the name.
Regards,
Justin
On Wed, Aug 15, 2012 a
Hi Robert,
Once you save the Session, the saved nodes should be visible to other
Sessions. Is your job processor using a long-lived session? If so, try
calling refresh on the Session. This is especially true if you are using
some kind of clustering.
Regards,
Justin
On Jul 22, 2012 1:14 PM, "Robert
};
>}
>return resource;
>}
>
> =>8=
>
>
> Is there a way to register my ResourceDecorator service for certain
> resource types only instead of that if conditional above?
Not AFAIK, but this seems like it would be a useful feature. Can you
On Wed, Jun 27, 2012 at 2:34 PM, Justin Edelson >wrote:
>
> > Hi Sam,
> > You should be able to do this with a ResourceDecorator service to change
> > the resource type at runtime.
> >
> > Regards,
> > Justin
> > On Jun 27, 2012 2:25 PM, &qu
Hi Sam,
You should be able to do this with a ResourceDecorator service to change
the resource type at runtime.
Regards,
Justin
On Jun 27, 2012 2:25 PM, "sam ”" wrote:
> Hey,
>
> I have a large number of resources with sling:resourceType = old/handler
>
> I don't want to modify their sling:resou
If the Node has the mix:referenceable mixin, you should see the UUID in the
JSON output.
Justin
On Tue, Jun 26, 2012 at 11:58 AM, Bhathiya Jayasekara wrote:
> Hi,
>
> Thank you for the reply. As I understand, what you say is to write an esp
> or something in server side to get UUID and respond
Created https://issues.apache.org/jira/browse/SLING-2522 for this.
On Tue, Jun 26, 2012 at 8:16 AM, Felix Meschberger wrote:
> Hi,
>
> Am 26.06.2012 um 13:17 schrieb Robert A. Decker:
>
> > Thanks for the help. I figured it out.
> >
> > It as because I declared my adapter factory service like:
>
Reto-
I believe you are missing true from the
maven-launchpad-plugin block (as a direct child of NOT in the plugin
configuration). Without this, Maven doesn't know how to handle partial bundle
list artifacts.
Regards,
Justin
On Jun 25, 2012, at 10:38 AM, Reto Bachmann-Gmür wrote:
> Hello,
>
It also sounds like there are some missing packages in the xml fragment.
That should probably be fixed before we do a release.
Justin
On Thu, Jun 21, 2012 at 2:18 PM, Bertrand Delacretaz wrote:
> Hi James,
>
> On Thu, Jun 21, 2012 at 1:54 PM, Phillpotts, James
> wrote:
> > ...In that case, sho
Hi James,
Can you try adding
org.apache.sling
org.apache.sling.fragment.xml
0.0.1-SNAPSHOT
to your bundle list at startLevel 0?
Regards,
Justin
On Wed, Jun 20, 2012 at 5:57 PM, Phillpotts, James <
james.phillpo...@experian.com> wrote:
> Hi a
Hi,
On Jun 11, 2012, at 1:04 PM, Felix Meschberger wrote:
> Hi,
>
> Am 11.06.2012 um 09:03 schrieb Davide:
>
>> (please note the quotes around securing).
>>
>> I really love the SlingPostServlet and the fact that I can create JCR
>> structure starting from a JSON stream. It really ease the pr
via subversion but the svn revision r1131257 seems to be a
> 2.1.3 release.
>
>
> Günther
>
> Am 05.06.12 02:02, schrieb Justin Edelson:
>
>> SQL2 has been supported since version 2.1.4 of the GET Servlets bundle and
>>
>> version 2.1.0 of the JCR Resource Re
SQL2 has been supported since version 2.1.4 of the GET Servlets bundle and
version 2.1.0 of the JCR Resource Resolver bundle. See
https://issues.apache.org/jira/browse/SLING-1533
Justin
On Mon, Jun 4, 2012 at 3:57 PM, Günther Schmidt wrote:
> Hi David,
>
> I very much presume it is. But I guess
Erik-
I wasn't able to get your project to build due to missing dependencies.
Here's a simplified pom which does work correctly:
https://gist.github.com/2871513
Note that it would be simpler to configure the includeDefaultBundles just
one time (in a top-level configuration element under the plugi
n
> the wrong path.
>
> Thanks
>
>
>
>
> On May 30, 2012, at 3:31 PM, Justin Edelson wrote:
>
> > Hi Craig,
> > Have you looked at the OSGi enterprise specs and Apache Aries? That'd be
> a good place to start.
> >
> > Justin
> >
> > O
Hi Craig,
Have you looked at the OSGi enterprise specs and Apache Aries? That'd be a good
place to start.
Justin
On May 30, 2012, at 6:25 PM, "Craig S. Dickson" wrote:
> Hi,
>
> As part of a pure Sling application (ie. not CQ etc) I need to connect to a
> JDBC DB from my code (could be strai
Gunter,
If you have a suggestion on how to handle this, please consider submitting a
patch.
Regards,
Justin
On May 24, 2012, at 6:15 PM, "David G." wrote:
> Gunter,
>
> I don't believe you can do that.
>
> If you take a look at sling's JSONReader impl [1], it doesn't support Binary
> prop
Are all of the bundles active? I find that frequently when the right script
doesn't get execute, it's because a bundle isn't active.
Justin
On Mon, May 7, 2012 at 1:53 PM, Dascalita Dragos wrote:
> Hi,
>
> Thanks to a patch on Apache Felix, committed by Felix Meschberger a few
> days ago( with
On Fri, May 4, 2012 at 4:16 AM, Bertrand Delacretaz
wrote:
> Hi Chetan,
>
> On Fri, May 4, 2012 at 5:18 AM, Chetan Mehrotra
> wrote:
> > ...Let me know if any other change is required from my side for this
> feature
> > to be included in Sling...
>
> I haven't looked in detail yet, but IIUC your
Michael-
You should be able to find more information as to *why* the
AuthenticationSupport service isn't starting in the log file or through the
web console.
My guess is that the issue you are running into is that the Jackrabbit
repository home can only be used by a single process at a time. I dou
Craig,
Feel free to submit an enhancement request, but personally I don't like
either of these options. I'm pretty sure MKCOL will create nt:folder nodes
and I usually prefer sling:Folder nodes for the second level under /apps.
Conversely, the Sling POST servlet can't create intermediate folders un
Craig-
I believe this is the defined behavior for WebDAV, but I honestly have
never looked it up.
Regards,
Justin
On Wed, Apr 4, 2012 at 5:16 PM, Craig S. Dickson wrote:
> Hi,
>
> I have the following configuration for the maven-sling-plugin in my
> project - notice I have the usePut configurat
Eren-
I would recommend that you read How to Ask Questions The Smart Way:
http://www.catb.org/~esr/faqs/smart-questions.html
And suggest that you start by posting a single question per thread.
That'll be less confusing for everyone.
In general, when building multi-tenant applications on top of JC
ce for "path".
>
> path => ["/foo", "/bar"]
>
> only when I add
>
> path.0 => "any-value"
>
> does the "path" array take effect. From your confusion, i assume that
> path => ["/foo", "/bar
David-
JCR Install does not support combining configuration nodes, so these
configurations are essentially overwriting each other.
So yes, if you are going to use JCR Install you need to configure this
list in a central location.
I don't understand your second issue. What happens when you just ha
Hi Robert-
You can usually check the build status on Jenkins:
https://builds.apache.org/view/S-Z/view/Sling/
In this case, yes, we do seem to have a problem.
Carsten - I think this is related to some stuff you've been working
on. Can you take a look?
Justin
On Wed, Feb 1, 2012 at 4:15 PM, Rober
org/repos/asf/sling/trunk/launchpad/integration-tests
> This looks like the only integration test for sling. But, these don't use
> ResourceResolverFactory (@TestReference).
>
>
>
>
>
>
>
> On Fri, Jan 27, 2012 at 9:54 PM, Justin Edelson
> wrote:
>
>> Sam-
Sam-
Regardless of whether it is a JSP or Servlet, the correct way to
handle this is to create a node with a sling:resourceType property.
Your JSP or Servlet should be associated with that resource type. If
you need to secure the content, secure the content, but that's an
orthogonal concern to the
U... OK. Sling's ResourceProviders provide a way to create
synthetic resources for an entire sub-tree.
But if you want to use PHP, that's up to you.
Justin
On Tue, Dec 20, 2011 at 12:51 PM, sam ” wrote:
> Do not complicate things.
> Do not change urls.
> Use repository path as is (with very
What you are describing is more or less the expected behavior. The FS
ResourceProvider (and by extension the mountByFs directive), only
handles files and folders, not arbitrary JCR nodes. Further, as the
name suggests, it operates on the Sling resource tree, not the
underlying JCR. CRXDE is connect
http://sling.apache.org/site/project-information.html
On Wed, Nov 9, 2011 at 11:01 AM, Ranaudo, John
wrote:
> How do I unsubscribe from this list?
>
> Thanks,
> John
>
>
> On Nov 9, 2011, at 12:33 PM, Justin Edelson wrote:
>
>>
>>
>> On Nov 9,
On Nov 9, 2011, at 9:24 AM, Felix Meschberger wrote:
> Hi,
>
> Am 09.11.2011 um 17:53 schrieb Justin Edelson:
>
>>
>> I'm not in favor of abandoning the DavEx->Sling Auth integration this
>> for two reasons: 1) as Carsten noted in one of his JIRA comm
On Nov 9, 2011, at 9:10 AM, Markus Joschko wrote:
> On Wed, Nov 9, 2011 at 5:53 PM, Justin Edelson
> wrote:
>> On Wed, Nov 9, 2011 at 7:56 AM, Felix Meschberger wrote:
>>> Hi,
>>>
>>> Am 09.11.2011 um 15:41 schrieb Markus Joschko:
>>>
>&g
On Wed, Nov 9, 2011 at 7:56 AM, Felix Meschberger wrote:
> Hi,
>
> Am 09.11.2011 um 15:41 schrieb Markus Joschko:
>
>> On Wed, Nov 9, 2011 at 3:11 PM, Felix Meschberger wrote:
>>> Hi,
>>>
>>> Am 09.11.2011 um 12:56 schrieb Markus Joschko:
>>>
With the most recent changes (SLING-2274) I can a
On Wed, Nov 9, 2011 at 6:41 AM, Markus Joschko wrote:
> On Wed, Nov 9, 2011 at 3:11 PM, Felix Meschberger wrote:
>> Hi,
>>
>> Am 09.11.2011 um 12:56 schrieb Markus Joschko:
>>
>>> With the most recent changes (SLING-2274) I can again use the CLI
>>> client over davex,
>>> but only when the anonym
Correction - the default maximum is 200, not 1000. Not sure what I was
looking at there.
Justin
On Wed, Oct 19, 2011 at 4:18 PM, Justin Edelson
wrote:
> Phil-
> If the JSON object requested contains more than the maximum number of
> nodes, an array is returned indicating which reques
Phil-
If the JSON object requested contains more than the maximum number of
nodes, an array is returned indicating which requests can be made to
return fewer than the max number of nodes.
The typical use case for this is where /xxx contains /xxx/yy0 through
/yy9 and each of /xxx/yy0 through /xxx/y
clustering?
>
> Cheers
> Xavi
>
>
>
> On Wed, Oct 19, 2011 at 2:58 PM, Justin Edelson
> wrote:
>
>> Typically, clustering the repository is all you need. Most Sling
>> application do not use Sessions, but if you do you would need to
>> cluster Tomcat.
>>
many thanks
> Xavi
>
>
>
> On Tue, Oct 18, 2011 at 10:22 PM, Justin Edelson
> wrote:
>
>> Xavi-
>> Take a look at the Jackrabbit Clustering documentation:
>> http://wiki.apache.org/jackrabbit/Clustering
>>
>> Regards,
>> Justin
>>
>
Xavi-
Take a look at the Jackrabbit Clustering documentation:
http://wiki.apache.org/jackrabbit/Clustering
Regards,
Justin
On Tue, Oct 18, 2011 at 4:17 PM, Xavi Beumala wrote:
> Hi all,
>
> I've been looking for information on how to cluster Sling and its underlying
> Jackrabbit instance but I c
This was recently added: http://issues.apache.org/jira/browse/SLING-2238
On Tue, Oct 18, 2011 at 3:26 PM, Carl Hall wrote:
> Is it possible to reference properties from a pom or property file in a
> list.xml file? I can reference them using the additionalBundles block in the
> plugin configuratio
of the APIs which is supported by
Sling Logging. Sling Logging, however, does not use Log4J internally
whereas Pax Logging does.
Justin
>
> Have also seen Pax usage on some forums so think can be a variant
>
> Regards,
> Denis
>
> 17 октября 2011, 20:20 от Justin Edelson
Configuring Sling Logging is documented here:
http://sling.apache.org/site/logging.html
You can't use a log4j.properties file to configure Sling Logging.
You may be able to accomplish what you want with Pax Logging in which
case you could simply remove the Sling Logging bundle.
Regards,
Justin
On Thu, Sep 29, 2011 at 8:13 AM, Carsten Ziegeler wrote:
> 2011/9/29 Bertrand Delacretaz :
>> On Thu, Sep 29, 2011 at 3:16 PM, Carsten Ziegeler
>> wrote:
>>> I wouldn't rely on concurrent reads with the same session. In rare
>>> cases this can lead to problems!
>>
>> Do you have more info about
Markus-
Sorry for the delay. This is committed now (r1171271).
Justin
On Fri, Sep 9, 2011 at 7:08 AM, Markus Joschko wrote:
> Hi,
> Justin has proposed to introduce a postResponseCreator in
> https://issues.apache.org/jira/browse/SLING-2156
>
> Is there any chance that this patch gets into trunk
Yeah, you're best bet in this case is to treat the request as the adaptable.
If this was a real edge case and adapting the request was going to
mess up your code too much, you could also stick the request in a
ThreadLocal (I'd put that in a separate filter). But I think this has
the tendency to ma
r partial bundle lists
>
>
> Key: SLING-2105
> URL: https://issues.apache.org/jira/browse/SLING-2105
> Project: Sling
> Issue Type: New Feature
> Components: Maven Plugins and Archetypes
> Reporter
How about using a filter for this extra processing?
Alternatively, you could use a PostProcessor. At that point, the file
node/properties have been created in the Session, but the Session has
not been saved, so you can abort at that point.
HTH,
Justin
On Thu, Aug 25, 2011 at 1:58 PM, Jithesh A P
On Mon, Aug 8, 2011 at 4:28 PM, sam ” wrote:
>>
>> This is not true. It's certainly possible to write OSGi bundles which
>> contain non-Java code. Not sure about Clojure or Jython, but you can
>> definitely do this with Scala, Groovy, and JRuby without much drama.
>>
>>
> Do you mean that Scala, G
On Mon, Aug 8, 2011 at 2:45 PM, sam ” wrote:
> Hey,
>
> Is there a scripting support with proper module system (import modules from
> repository somewhere)?
>
> I know JSP can <%@page import="some.java.package"%> .
>
> But, the "module" for JSP should be written in Java.. and deployed to felix
> a
Use remote debugging and walk through the code ?
In this particular case, you have a node called
/jars/a23/a23734d6e9cdb1eef1aef5d242a0522dc300f0019.json of type
nt:unstructured. You are requesting
/jars/a23/a23734d6e9cdb1eef1aef5d242a0522dc300f0019.json/ and have
directory indexes turned off. Thi
1 - 100 of 281 matches
Mail list logo