Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2939] & [1651] How to solr-jetty JSP support #2966

Closed

Conversation

mstantoncook
Copy link
Contributor

Fixes #2939 & #1651

Proposed fixes:

Many beginning CKAN run into issues with solr-jetty (Ubuntu 14.04). The following documentation addition provides a recipe to fix the JSP support error.

Features:

  • includes tests covering changes Not applicable
  • includes updated documentation
  • includes user-visible changes As above
  • includes API changes Not applicable
  • includes bugfix for possible backport Not applicable

Please [X] all the boxes above that apply

There are still issues with solr-jetty. The documentation additions here
provide a recipe to handle/fix the 'HTTP ERROR 500... JSP support not
configured' error.

There are still issues with solr-jetty. The documentation additions here
provide a recipe to handle/fix the 'HTTP ERROR 500... JSP support not
configured' error.
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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be
sudo service jetty restart ?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for providing this recipe. It works now!

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! This worked for me

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HTTP ERROR 404
Problem accessing /solr/admin/index.jsp. Reason:

missing core name in path

@ERC-data
Copy link

ERC-data commented Jun 8, 2016

Thanks so much for the fix! Saved me endless hours of mind scratching. Gave up on the package install last time because I couldn't get solr-jetty working.

@nesnera
Copy link

nesnera commented Nov 16, 2016

I still have a problem with Solr-jetty
I've done suggested:

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

but http://myVPS:8983/solr/ returns attached error (/var/log/jetty/out.log) - out.log.txt

configuration of myVPS:

  • Ubuntu 14.04.5 LTS
  • Linux 3.16.6-042stab120.3 [doc,s] Minor updates to documentation about loader scripts. #1 SMP Thu Oct 20 18:18:21 MSK 2016 x86_64 x86_64
  • x86_64 GNU/Linux
  • /usr/lib/jvm/java-7-openjdk-amd64
  • java -version
  • java version "1.7.0_111"
  • OpenJDK Runtime Environment (IcedTea 2.6.7) (7u111-2.6.7-0ubuntu0.14.04.3)
  • OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode)

I've tried java-6 too but with the same result.

@amercader
Copy link
Member

To all having problems with solr-jetty: disregard the docs and install solr-tomcat. It should work without an issue and (on Ubuntu) the configuration files should be in the same places. Note that Tomcat's default port is 8080 though, so in the ini file use solr_url = http://localhost:8080/solr
We will update the docs as soon as we have a moment.

@davidread
Copy link
Contributor

I benefitted from this fix too today.

@davidread
Copy link
Contributor

Closing in favour of #3562 with the correction

@davidread davidread closed this May 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

After install jetty-solr fails to run on Ubuntu 14.04 LTS
9 participants