Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Sep 2016 10:42:08 +0200
From:      Kurt Jaeger <lists@opsec.eu>
To:        Matthias Fechner <idefix@fechner.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: apache-solr PR: 201455 (I think 212104 blocks usage of apache-solr)
Message-ID:  <20160911084208.GG85563@home.opsec.eu>
In-Reply-To: <8d90b1f0-2e15-2ffd-bc6c-645e355c7b28@fechner.net>
References:  <403d02ce-a9be-acc6-2d3e-ca24fb267399@fechner.net> <6af81830-d841-b1fa-e5b2-53ea06403153@fechner.net> <20160901132915.GJ96200@home.opsec.eu> <91a30d2b-ff04-c2a9-280b-ebb51320424b@fechner.net> <404a0b7b-41ea-5843-bb7a-f8c8f85dcb6a@fechner.net> <20160901181128.GK96200@home.opsec.eu> <9a0d27c1-2f43-5a3e-8054-87495b73b12e@fechner.net> <900b9828-7a54-8f85-e4c3-0000d2565b2a@fechner.net> <20160911074115.GD93158@home.opsec.eu> <8d90b1f0-2e15-2ffd-bc6c-645e355c7b28@fechner.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

[@sample: thanks!]

> > As far as I understand, if the -dist files are copied to the
> > relevant places, the startup still fails, probably because
> > the default values are not valid ?
> >
> > So what parameters are needed for a simple startup ?
> >
> you have to create an instance and provide a configuration therefor as
> noted in the installation instruction:
> For more information how to configure solr check the manual:
> 
> http://lucene.apache.org/solr/resources.html#documentation
> 
> 
> Maybe you can copy an example to the database folder to test the startup
> script:
> cp -R /usr/local/solr/example/example-DIH/solr/solr /var/db/solr/
> chown -R www /var/db/solr/solr

It still fails, with the same error as before, recorded in
/var/log/solr/solr-8983-console.log:

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/eclipse/jetty/start/Main : Unsupported major.minor version 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)

I've tested it on CURRENT, r305402M.

-- 
pi@opsec.eu            +49 171 3101372                         4 years to go !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160911084208.GG85563>