solr - Cant start jetty from terminal - get error on start up -
directory jetty installed, used brew install jetty
vallis-macbook-pro:9.3.7.v20160115 vallisa$ cd libexec/ vallis-macbook-pro:libexec vallisa$ ls -ltr total 1208 drwxr-xr-x 60 vallisa admin 2040 jan 15 16:37 modules drwxr-xr-x 8 vallisa admin 272 jan 15 17:04 demo-base drwxr-xr-x 3 vallisa admin 102 jan 15 17:05 webapps drwxr-xr-x 3 vallisa admin 102 jan 15 17:05 resources drwxr-xr-x 3 vallisa admin 102 jan 15 17:05 bin drwxr-xr-x 44 vallisa admin 1496 jan 15 17:05 lib -rw-r--r-- 1 vallisa admin 3978 jan 15 17:05 start.ini -rw-r--r-- 1 vallisa admin 142605 jan 15 17:06 start.jar -rw-r--r-- 1 vallisa admin 30012 jan 15 17:06 license-eplv10-aslv20.html drwxr-xr-x 50 vallisa admin 1700 jan 15 17:06 etc -rw-r--r-- 1 vallisa admin 428261 jan 15 17:06 version.txt -rw-r--r-- 1 vallisa admin 5 feb 7 19:05 jetty.pid drwxr-xr-x 4 vallisa admin 136 feb 7 19:05 logs -rw-r--r-- 1 vallisa admin 98 feb 7 19:05 jetty.state
here start jetty
vallis-macbook-pro:libexec vallisa$ java -jar start.jar
after executing start below exception , not sure how resolve issue.
2016-02-07 19:06:08.794:info::main: logging initialized @591ms 2016-02-07 19:06:08.892:warn:oejs.homebasewarning:main: instance of jetty not running separate {jetty.base} directory, not recommended. see documentation @ http://www.eclipse.org/jetty/documentation/current/startup.html 2016-02-07 19:06:09.134:info:oejs.server:main: jetty-9.3.7.v20160115 2016-02-07 19:06:09.160:info:oejdp.scanningappprovider:main: deployment monitor [file:///usr/local/cellar/jetty/9.3.7.v20160115/libexec/webapps/] @ interval 1 java.lang.reflect.invocationtargetexception @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:6 2)
i don't recommend installing jetty , trying configure solr (if that's indeed you're trying do), especially if you're using latest version of solr (5.4.1). of 5.3, solr designed standalone server. if, bizarre reason, want make things hard on , put bits , pieces of solr jetty when official solr download would have done you, need go to, @ latest, 5.2.1. time i've seen people pick apart solr download when using different container, tomcat.
not that, shouldn't using start.jar
start solr. should using scripts in bin/solr
. want stress here you're not starting jetty in situation, you're starting solr.
start here directed closest mirror solr 5.4.1 download. read documentation or find tutorial , you'll have solr doing want enough.
you shouldn't need brew install jetty
in case.
Comments
Post a Comment