Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 2015 23:24:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 201455] textproc/apache-solr does not start after upgrade from 4.10.4 to 5.2.1
Message-ID:  <bug-201455-13-vsaRTuiua6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-201455-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-201455-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201455

paul@gromit.dlib.vt.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paul@gromit.dlib.vt.edu

--- Comment #1 from paul@gromit.dlib.vt.edu ---
As of Solr 5, the startup mechanism has changed dramatically.  In the "Major
Changes from Solr 4 to Solr 5" page,
https://cwiki.apache.org/confluence/display/solr/Major+Changes+from+Solr+4+to+Solr+5
there is a "Solr is a Standalone Server" section that explains that Solr 5 is
meant to be a standalone Java application now.  It now includes a bin/
directory in the distribution that has a "solr" script that is used to start,
stop, and otherwise interact with Solr 5.  This bin/ directory (along with the
example server/ directory) are missing from the current installed FreeBSD
textproc/apache-solr port.

Furthermore, in the "Upgrading from Older Versions of Solr" section of the
"Upgrading Solr" page,
https://cwiki.apache.org/confluence/display/solr/Upgrading+Solr it says the
following:

"Solr has internally been upgraded to use Jetty 9. See SOLR-4839 for full
details, but there are a few key details all Solr users should know when
upgrading:

- It is no longer possible to run "java -jar start.jar" from inside the server
directory. The bin/solr script is the only supported way to run Solr. This is
necessary to support HTTP and HTTPS modules in Jetty which can be selectively
enabled by the bin/solr scripts.

- The way SSL support is configured has been changed. Please refer to the
Enabling SSL section in the Solr Reference Guide for complete details."

So, running via "start.jar" likely won't fix the issue in a proper way.  (The
start.jar JAR file is in the missing server/ directory of the Solr 5.2.1
distribution.)

I did test starting and stopping Solr 5 via the bin/solr script provided in the
distribution and it did appear to work for me.  That might be a good starting
point for updating the rc.d script.  Note, however, I haven't checked the
bin/solr script for dependencies.  At the very least, it appears to use bash
and implies it also needs curl...

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201455-13-vsaRTuiua6>