Hi,
I'm setting up my eclipse environment, and I thought I'd add the schemas for
sling and jcr to the xml catalog that's on eclipse so that I can get context
validation and auto-completion while I'm working on xml.
I can't seem to locate those schemas in the bundles. Can someone point me to
on the Sling and JCR level.
Regards
Felix
Am 04.09.2012 um 12:34 schrieb Jason Bailey:
Hi,
I'm setting up my eclipse environment, and I thought I'd add the schemas for
sling and jcr to the xml catalog that's on eclipse so that I can get context
validation and auto-completion while I'm working
clarity from the sling user base to whether
they have seen this before, is there a setting that I am missing? Or do I need
to do some additional to prevent this from being an issue? Etc.
Thanks
-Jason Bailey
We're using CQ5 pretty extensively for our external web presence and I'm in the
process of evaluating Sling for a wider range of use cases internally.
One of the questions that comes up on a regular basis is whether we are able to
define a java object alongside the JSP when we are creating a
gives you .adaptTo +
resource to model mapping and Spring MVC plus some more features. I'm a bit
biased towards that one - since I am NEBA's lead developer ;-)
Kind regards,
Olaf
-Original Message-
From: Jason Bailey [mailto:jason.bai...@sas.com]
Sent: Mittwoch, 16. Juli 2014 21:07
Got an odd situation here. I'm unable to start the Sling Standalone Application
(org.apache.sling.launchpad-6-standalone.jar) it throws the following
19.07.2014 08:25:18.502 *ERROR* [main] Failed to Start OSGi framework
org.osgi.framework.BundleException: Uncaught Instantiation Issue:
Standalone Application won't start
Hi Jason,
On Jul 19, 2014 8:55 PM, Jason Bailey jason.bai...@sas.com wrote:
Got an odd situation here. I'm unable to start the Sling Standalone
Application (org.apache.sling.launchpad-6-standalone.jar) it throws the
following
19.07.2014 08:25:18.502 *ERROR
Not unless you add it yourself. As a note, you may not want to design your
application where you are relying on the default json renderer to supply
information to the front end client. It can reveal more information and
structure then a lot of people are comfortable with.
-Original
.
-Bruce
From: Jason Bailey jason.bai...@sas.commailto:jason.bai...@sas.com
javascript:;mailto:
jason.bai...@sas.commailto:jason.bai...@sas.com javascript:;
Reply-To: users@sling.apache.orgmailto:users@sling.apache.org
javascript:;mailto:
users@sling.apache.orgmailto:users@sling.apache.org
I did something similar with a side project that I work on, I created an import
service that would be called based on the mimetype of the data that was being
delivered.
OOTB, there is a ContentImporter service, but it seems to be deliberately
limited to a single implementation. IMHO I would
Bruce,
How you would do this depends in part on what that servlet does that's
listening at /var/cars/
If you have all the data that is supposed to be at a particular path then
removing that custom servlet and using the built in content creation process
detailed at
That's an usual problem you're having. You should be able to see the service
you've defined in the OSGi panel before executing the request that creates the
model.
-Jason
From: Hasanein Khafaji hasanein@gmail.com
Sent: Wednesday, November 19, 2014
Our environment is set up where we have an apache instance with a dispatcher
passing the requests back to our Sling instances.
The apache instance prepends either /content/external1 or /content/external2
onto the request before sending it the sling instance(based on domain). In the
sling
I'm going to chime in and say that I don't think you need to change your
process.
You mentioned defining the :operation=import which really threw me off since
I associate that with a form posting and you mentioned JSON. I took a second
look at the links that Julian sent out and there's a
Hi Chris,
Can you capture what the post url looks like?
-Jason
-Original Message-
From: Christopher Rockwell [mailto:cmroc...@umich.edu]
Sent: Wednesday, July 15, 2015 2:08 PM
To: users@sling.apache.org
Subject: SlingServlet SO Question
Hi all. I'm having trouble with a servlet
if it's possible for a general error page as
well.
Best,
Sandro
Am 15.07.15 um 21:49 schrieb Jason Bailey:
Sandro,
I guess I haven't been keeping up, I thought error handlers had to be under
/sling/servlet/errorhandler/ ???
Was that changed?
-Jason
-Original Message-
From
I'm reading Steven's concern as that the Sling plugin is not assuming the use
of the Sling post handler. Which is preventing the use of the POST command to
the desired location.
Which is kind of odd.
-Original Message-
From: Stefan Seifert [mailto:sseif...@pro-vision.de]
Sent:
it up
> :)
>
>
>
> On Fri, Nov 13, 2015 at 2:48 PM, Daniel Klco <daniel.k...@gmail.com>
> wrote:
>
> > Agreed, I would also highly suggest looking at Sling Models as an
> > option to make your code more strongly typed without requiring a
> > rigid node type
> >
I was reviewing the way we manage deployments of our sling instances. Apache
ACE looks interesting. I was wondering if anyone on the list has tried it, or
has recommendations.
-Jason
Working on an upgrade to AEM 6.0sp2 and things started going weird all over the
place. Figured out the ordering of the servlet filters got reversed.
Per https://issues.apache.org/jira/browse/SLING-2920
We're now going through the process of changing our filter run ordering .
However I'm not
My opinions:
Sling is really about being able to take a data set and present that data in
multiple ways. For the vast majority of use cases you should use the existing
node types and property values and you don't need to use a CND.
A custom nodetype is useful if there is a need to perform
I'm a bit confused by the use case.
Breakage should only occur if the bundle is exporting an API that is versioned,
and you have a bundle that is explicitly set to not accept the new package
version.
Or is the breakage somewhere else?
-Jason
-Original Message-
From: Steven Walters
I'm trying to understand the relationships between the different pools of
threads in Sling and get feedback on configuration. Specifically with Jobs.
There is a default job queue with a job pool size.
You can then define a specific job queue with a pool size and optional thread
queue
There is
I agree with Paul, I would say that the rule of thumb is to stay open for just
the length of time needed to access the resource via the resource resolver.
A couple of notes, based on your sample
1. The use of getAdministrativeResourceResolver is considered harmful. Ideally
you should have an
I believe that exists, or I'm misunderstanding the intent. Under
org.apache.sling.servlets.resolver
for the property servletresolver.defaultExtensions
-Original Message-
From: Bertrand Delacretaz [mailto:bdelacre...@apache.org]
Sent: Wednesday, June 22, 2016 8:16 AM
To: users
mulate the nodes I traverse? Or, will they be
reclaimable as soon as I am finished with them? Again, I am extremely paranoid
about memory usage and I cannot have an out-of-memory condition.
-Original Message-
From: Jason Bailey [mailto:jason.bai...@sas.com]
Sent: Friday, March 25, 2016 1
A couple of observations.
1. The query you created is amazingly broad with the usage of nt:base and no
restricitions such as path. If you're going to create a query the more
restrictive you can make the query the better.
2. Not sure if you're using JCR or OAK. If you're using oak, be sure to
I've never needed to have the resource resolver select a different script.
Referencing your example of breadcrumb. I've had the main breadcrumb script
import the specific implementation based on a configuration.
/apps/www/components/breadcrumb/breadcrumb.jsp
I'm under the understanding that it is;
request.getResource().getPath()
-Original Message-
From: Roy Teeuwen [mailto:r...@teeuwen.be]
Sent: Thursday, July 28, 2016 12:31 PM
To: users@sling.apache.org
Subject: Getting the actual resource from a request
Hey all,
I am creating a
resources with a selector AND suffix (as
stated in my example of course) ?
Thanks!
Roy
> On 28 Jul 2016, at 18:35, Jason Bailey <jason.bai...@sas.com> wrote:
>
> I'm under the understanding that it is;
>
> request.getResource().getPath()
>
> -Original Messa
last modified
> date and only return it then, and else return a 404. This would solve the
> caching possibility of infinite image issue!
>
> Thanks
> Roy
>
>
>> On 29 Jul 2016, at 14:31, Jason Bailey <jason.bai...@sas.com> wrote:
>>
>> Roy,
>>
I have a utility for sling that I've been working on open sourcing that I'd
like to share.
https://github.com/JEBailey/sling-resourcelocator
This is a java 8 port of a tool I developed in-house. It provides a set of
predefined predicates for properties, and a traversal control so that you
This really depends on what you mean by 'calling directly'
if you put a jsp file under the /apps directory. You are putting a file there.
You can access that file directly as a file. If you are looking at accessing
the functionality that the jsp provides, the servlet, you need to point to
is healthy or not, additional
properties might be confusing. Could you describe your use case in a bit more
detail?
Regards
Georg
On 2017-01-30 18:56, Jason Bailey wrote:
> Anyone know if it's possible to use the Sling Health Checks to expose
> a value via the MBean other than the ones ex
checking these deltas against your
thresholds (we are using this setup in one of our projects).
Best regards,
Bjoern
On Tue, Jan 31, 2017 at 4:59 PM, Jason Bailey <jason.bai...@sas.com> wrote:
> So I'm part of a team that I will characterize as being "highly
> resource o
7 at 4:59 PM, Jason Bailey <jason.bai...@sas.com> wrote:
> ...We have an AppDynamics instance that we use to monitor the state of our
> instances as much as possible...
> ...If the number of submissions each instance is handling falls below
> a certain threshold or increases
Anyone know if it's possible to use the Sling Health Checks to expose a value
via the MBean other than the ones explicitly defined in the Result Object?
Thanks
-Jason
I found out recently through github that people are using json files to create
content nodes in bundles. Is this something I can do downstream in AEM and/or
in a package?
Thanks
-jason
Couldn't this be simplified to simply stating that the sticky session cookie
only lasts for x amount of seconds?
I like this idea, but I'm not sure this is really a sling solution rather than
an API management or proxy solution. When you take an instance out of the pool,
you would need to
IMHO the big selling point of OSGi, is the ability to add additional packages
as you go. If the package is needing an api of a particular version that isn't
in your environment it just won't turn on.
If the bundle is defined correctly, which I admit, seems to be a difficult
thing to do. Then
The focus seems to be around providing a service user.
Wouldn't it be preferable to have a system where the bundle defined the
permissions it requires and then automatically associate an already existing
system user?
-Original Message-
From: Robert Munteanu [mailto:romb...@apache.org]
I've experienced a variety of results between switching between a dynamic and
static types languages I think a lot of it has to do with context.
IMHO there's a certain rhythm to developing on any specific platform. Where
using a certain set of technologies make more sense than others. Since
I know that Sling is used for 2 downstream CMS applications.
I was wondering if anyone could share other use cases that they have found
Sling to be useful for.
Thanks.
Alright, I'll bite.
If you're talking about model building logic. Is there some architectural
constraint on why you don't just stick with java?
-Jason
-Original Message-
From: lancedolan [mailto:lance.do...@gmail.com]
Sent: Wednesday, January 11, 2017 2:37 PM
To:
Bertrand,
I can't you how relieved I am to here that there is a desire to be scripting
language agnostic. I hope this continues.
-Original Message-
From: Bertrand Delacretaz [mailto:bdelacre...@apache.org]
Sent: Wednesday, March 29, 2017 6:39 AM
To: users
Wondering if anyone has done anything with creating a war that can be deployed
as bundle and have its resources exposed as sling content.
-Jason
Hey Roy,
Couple of Assumptions:
For the Self resource you have it defined as:
@Self
public Resource resource;
and for the @Model you have something like
@Model(adaptables = RoysCustomDecorator.class)
Am I close?
-Jason
-Original Message-
From: Roy Teeuwen [mailto:r...@teeuwen.be]
I've finally solved a nagging eclipse configuration issue with developing Sling
JSP's and I wanted to share with the community.
One of the pain points we've always found was the lack of a context root in a
bundle package. That's the ability to reference a file in JSP via an include
to
Congrats Robert!
-Original Message-
From: Georg Henzler [mailto:slin...@ghenzler.de]
Sent: Friday, November 17, 2017 5:27 AM
To: users@sling.apache.org
Subject: Re: [ANN] New Apache Sling PMC Chair: Robert Munteanu
EXTERNAL
Congratulations also from my side!
On 2017-11-17 10:26,
Here are some authentication implementations and their source code
https://github.com/apache?utf8=%E2%9C%93=sling+auth
It's been a while since I touched this, so I hope I'm not too off base here.
There are two parts to an access control system, authentication and
authorization.
It should be
50 matches
Mail list logo