CKAN/Solr: JSP support not configured

て烟熏妆下的殇ゞ 提交于 2019-12-07 18:57:04

问题


I have problem following steps while installing CKAN on ubuntu 14.04 (elementary OS Freya 0.3)

Specifically this one: http://docs.ckan.org/en/latest/maintaining/installing/install-from-source.html#setup-solr

When I start JPS server and open http://localhost:8983/solr/ I have the following error:

HTTP ERROR 500

Problem accessing /solr/index.jsp. Reason:

    JSP support not configured
Powered by Jetty://

Can you tell me what happen? Adding JAVA_HOME=/usr/lib/jvm/java-8-oracle to jetty config does not help.


回答1:


I followed the instructions here and it worked --

https://github.com/ckan/ckan/pull/2966

cd /tmp
wget https://launchpad.net/~vshn/+archive/ubuntu/solr/+files/solr-jetty-jsp-fix_1.0.2_all.deb
sudo dpkg -i solr-jetty-jsp-fix_1.0.2_all.deb
sudo service solr restart



回答2:


It's probably this bug report - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740596 as mentioned in https://github.com/ckan/ckan/issues/2019 and https://github.com/ckan/ckan/issues/1651




回答3:


You must have Selected J2EE Preview at localhost server to run this program, so instead of that use apache tomcat server, if not defined then please manually select this server and run it. It worked for me...




回答4:


@ashishsingal worked for me with a minor change to restart jetty instead of solr, i.e.:

sudo service jetty restart


来源:https://stackoverflow.com/questions/32047288/ckan-solr-jsp-support-not-configured

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!