jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Santiago Gala <santiago.g...@gmail.com>
Subject Re: Evaluating jackrabbit use for media content
Date Wed, 23 Oct 2013 10:40:23 GMT
On Wed, Oct 23, 2013 at 1:51 AM, Alexander Klimetschek
<aklimets@adobe.com>wrote:

> On 22.10.2013, at 08:31, Santiago Gala <santiago.gala@gmail.com> wrote:
>
> > On Tue, Oct 15, 2013 at 12:10 PM, Julian Reschke <julian.reschke@gmx.de
> >wrote:
> >
> >> Well, if this (Range request support) is indeed missing, we really
> really
> >> should add it.
> >
> > Adding support for single range requests for GET (i.e., requests without
> a
> > comma in the Range: Header) seems easy enough. This is what openstack
> > storage/swift object storage supports (one of the alternatives to
> > JCR/jackrabbit or modeshape we are considering).
>
> Apache Sling supports range requests with JCR underneath via it's default
> GET servlet [0]. (And yes, WebDAV is supported as well, but in most cases
> people don't actually need WebDAV but simply full HTTP GET etc. support on
> top of JCR, which is what Sling provides out of the box).
>
> [0]
> http://svn.apache.org/repos/asf/sling/trunk/bundles/servlets/get/src/main/java/org/apache/sling/servlets/get/impl/helpers/StreamRendererServlet.java
>
>
When trying to check it (again, it was some time since I last installed
 and tested it), I'm getting
https://issues.apache.org/jira/browse/SLING-3067 . i just download
sling-standalone current and run it as
$ java -jar ~/Downloads/org.apache.sling.launchpad-6-standalone.jar
I get an exception and it never starts. It is the same exception as in this
error.

23.10.2013 12:34:48.439 *INFO* [main] Setting sling.home=sling (default)
23.10.2013 12:34:48.440 *INFO* [main] Starting Sling in sling
(/home/sgala/sling)
23.10.2013 12:34:48.446 *INFO* [main] Checking launcher JAR in folder sling
23.10.2013 12:34:48.455 *INFO* [main] Installing new launcher:
jar:file:/home/sgala/Downloads/org.apache.sling.launchpad-6-standalone.jar!/resources/org.apache.sling.launchpad.base.jar,
2.3.0 (org.apache.sling.launchpad.base.jar.1382524488454)
23.10.2013 12:34:48.456 *INFO* [main] Loading launcher class
org.apache.sling.launchpad.base.app.MainDelegate from
org.apache.sling.launchpad.base.jar.1382524488454
23.10.2013 12:34:48.469 *INFO* [main] Starting launcher ...
23.10.2013 12:34:48.471 *INFO* [main] HTTP server port: 8080
23.10.2013 12:34:48.530 *ERROR* [main] Failed to Start OSGi framework
org.osgi.framework.BundleException: Uncaught Instantiation Issue:
java.lang.ArrayIndexOutOfBoundsException: -1
at org.apache.sling.launchpad.base.impl.Sling.<init>(Sling.java:245)
at
org.apache.sling.launchpad.base.app.MainDelegate$1.<init>(MainDelegate.java:159)
at
org.apache.sling.launchpad.base.app.MainDelegate.start(MainDelegate.java:159)
at org.apache.sling.launchpad.app.Main.startSling(Main.java:244)
at org.apache.sling.launchpad.app.Main.<init>(Main.java:107)
at org.apache.sling.launchpad.app.Main.main(Main.java:56)
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(ArrayList.java:371)
at java.util.ArrayList.get(ArrayList.java:384)
at
org.apache.felix.framework.BundleImpl.getCurrentModule(BundleImpl.java:1046)
at
org.apache.felix.framework.BundleImpl.getSymbolicName(BundleImpl.java:863)
at
org.apache.sling.launchpad.base.impl.SlingFelix.getSymbolicName(SlingFelix.java:32)
at org.apache.felix.framework.Felix.toString(Felix.java:1012)
at org.apache.felix.framework.Logger.doLog(Logger.java:128)
at org.apache.felix.framework.Logger._log(Logger.java:181)
at org.apache.felix.framework.Logger.log(Logger.java:114)
at
org.apache.felix.framework.ExtensionManager.<init>(ExtensionManager.java:201)
at org.apache.felix.framework.Felix.<init>(Felix.java:374)
at
org.apache.sling.launchpad.base.impl.SlingFelix.<init>(SlingFelix.java:39)
at org.apache.sling.launchpad.base.impl.Sling.<init>(Sling.java:235)
... 5 more
23.10.2013 12:34:48.532 *ERROR* [main] There was a problem launching Sling
23.10.2013 12:34:48.532 *INFO* [Sling Terminator] Java VM is shutting down


Any workaround or version that works and I can try?


> Cheers,
> Alex
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message