Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There is some velocity part in the current solrconfig that crashes when used with war files and tomcat (not sure about jetty)
This should be removed from the code as it does not serve any purpose
Comment | File | Size | Author |
---|---|---|---|
#8 | remove-velocity-1612556-8.patch | 2.2 KB | cpliakas |
#1 | 1612556-1.patch | 4.44 KB | Nick_vh |
Comments
Comment #1
Nick_vhComment #2
Nick_vhComment #3
drunken monkeyTrailing whitespace.
As is often the case, I have no idea what the effect or purpose of this is. It isn't in the Search API config, though, so I for one can certainly live without it.
Comment #4
cpliakas CreditAttribution: cpliakas commentedThanks guys. Regarding #1612556-1: Velocity not needed in solrconfig, would you guys be opposed to commenting out the various configs rather than deleting them? I feel it would make it a little easier to maintain going forward, as it will be easier to see the differences between configs going forward. In addition, it will make it more transparent about what we are not using without having to go through the git logs.
Comment #5
Nick_vhSure, you can comment it out. :-)
Comment #6
drunken monkeyYes, I'd be fine with that. Maybe a small comment could, at least in the more interesting cases, even explain why things are commented out.
Comment #7
cpliakas CreditAttribution: cpliakas commented+1 to #1612556-6: Velocity not needed in solrconfig, even if the comment just points to the issue discussing the change.
Comment #8
cpliakas CreditAttribution: cpliakas commentedPatch attached with changes suggested in #1612556-4: Velocity not needed in solrconfig and #1612556-6: Velocity not needed in solrconfig.
Comment #9
cpliakas CreditAttribution: cpliakas commentedCommitted at http://drupalcode.org/sandbox/cpliakas/1600962.git/commit/1ec5d27.
Comment #11
amonteroAny pointer of which is exactly what triggers the Tomcat crash? Is there any issue or steps to reproduce the crash?
As the issue 2 years old, perhaps it's currently fixed and Velocity can be reenabled. It's a nice UI worth having and I will happily check it and update the config.
Tagging and linking to #2428093: Update provided Solr 4.x solrconfig.xml