[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[smila-dev] SMILA Eclipse Run Configuration - Search Servelet not working
|
Hi All,
I am setting up the dev environment for SMILA pipelets using
SMILA-1.0-win32.win32.x86 binary distribution and the
SMILA-1.0-integrator-examples. Almost everything is going well so far. I
can compile and deploy pipelet bundles at lease from within Eclipse (as
the osgi console tells me).
Running SMILA from within Eclipse also works. Creation of indexing job
via REST API etc. works BUT when run from Eclipse the search servelet
does NOT work correctly:
When running the SMILA.launch - configuration there are validation
errors (see attachment). Ignoring these SMILA still starts up and works
as describe above but a call to
http://localhost:8080/SMILA/search
ends up with:
+++++++++++++++++++++++++++
javax.servlet.UnavailableException: Servlet Not Initialized
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:518)
at ...
+++++++++++++++++++++++++++
Resolving the Bundle validation errors by checking the required bundles
(after that there are 182 instead of 165 bundles) and Reloading the
target platform wihtin Eclipse the error changes to
+++++++++++++++++++++++++++
java.lang.NullPointerException
at
org.eclipse.smila.search.servlet.activator.Activator.getSolrCoreNames(Activator.java:74)
at
org.eclipse.smila.search.servlet.SMILASearchServlet.appendIndexList(SMILASearchServlet.java:278)
at
org.eclipse.smila.search.servlet.SMILASearchServlet.processRequest(SMILASearchServlet.java:179)
+++++++++++++++++++++++++++
So the servlet seems to work now but some of the required solr/lucene
bundles still seem to be missing. I tried to manually activate some of
them via OSGI console but with no success so far.
Could someone possibly provide a launch configuration that
a) resolves the validation errors
b) contains and starts up required bundles in order to use the search
servelet
when starting SMILA 1.0 from within Eclipse.
Thank you and best regards,
--
Dipl.-Ing. Christian Weigel
Audio-visual Systems group
Fraunhofer Institute for Digital Media Technology IDMT
Ehrenbergstr. 31
98693 Ilmenau, Germany
mailto:christian.weigel@xxxxxxxxxxxxxxxxxx
http://www.idmt.fraunhofer.de
Attachment:
validation_error_SMILA-1.0_launch_config.png
Description: PNG image