Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ckan local installation, 500 error on solr JSP support not configured

I am trying to install CKAN on my local computer using Ubuntu 14.04 LTS.

I followed the instructions for installing from source found here and I try to check if solr is running by visiting http://localhost:8983/solr/.

I can see that Jetty is running because when I visit http://localhost:8983 I see that it is up. I added the jdk as follows: JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-amd64

I am getting a 500 error when i try to open the solr page:

HTTP ERROR 500

Problem accessing /solr/index.jsp. Reason:

JSP support not configured

Powered by Jetty://

Any ideas? Should I redo the whole thing from the start?

Edit/Update
I just couldn't do anything with this installation. The bigger problem was that installation files were meshed up! I tried to install tomcat/solr instead of jetty/solr and things went sour. So I just created a VM and did a fresh install there. For anyone interested I did a tomcat/solr installation following this and a CKAN installation following this (with out of course the solr instructions). Also, for some reason the CKAN installation has commented out the solr URL, so even if it is right, I had to delete the comment.

like image 518
Skaros Ilias Avatar asked May 20 '15 16:05

Skaros Ilias


1 Answers

In Ubuntu 14.04 this can be fixed with:

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 jetty restart
like image 120
Luis Alfonso García Manzo Avatar answered Dec 09 '22 15:12

Luis Alfonso García Manzo