我使用Azure来托管我的虚拟机。在一个VM中,我有基于Laravel Framework的Web应用程序,另一个VM用于缓存和搜索vm。我在那个VM上安装了Jetty和Solr。现在Jetty正在运行,但我无法看到Solr正在运行。而我的网络服务器在松弛时给我这个错误。
getBoolean()
如果尝试运行此命令,还有一个
```ErrorException: Trying to get property of non-object in /srv/websites/test.com/app/test/Solr/Solr.php:248
Stack trace:
#0 /srv/websites/test.com/app/test/Solr/Solr.php(248): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Trying to get p...', '/srv/websites/r...', 248, Array)
#1 /srv/websites/test.com/app/Http/Controllers/SearchController.php(39): App\test\Solr\Solr->search(Array)
#2 [internal function]: App\Http\Controllers\SearchController->getSearchResponse()
#3 /srv/websites/test.com/bootstrap/cache/compiled.php(9424): call_user_func_array(Array, Array)
#4 /srv/websites/test.com/bootstrap/cache/compiled.php(9486): Illuminate\Routing\Controller->callAction('getSearchRespon...', Array)
#5 /srv/websites/test.com/bootstrap/cache/compiled.php(9466): Illuminate\Routing\ControllerDispatcher->call(Object(App\Http\Controllers\SearchController), Object(Illuminate\Routing\Route), 'getSearchRespon...')
#6 [internal function]: Illuminate\Routing\ControllerDispatcher->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)).............
它给我这样的错误
$java -jar start.jar
如果运行service jetty status命令来检查jetty的状态,那么就像
</opt/solr># java -jar start.jar
java.io.FileNotFoundException: No XML configuration files specified in start.config or command line.
at org.eclipse.jetty.start.Main.start(Main.java:502)
at org.eclipse.jetty.start.Main.main(Main.java:96)
Usage: java -jar start.jar [options] [properties] [configs]
java -jar start.jar --help # for more information
如何解决此问题? Java 1.8安装在Jetty VM上。
在CentOS 7.2上运行的VM。
我无法使用此http://my-ip:8983或http://my-ip:3000(端口已更改)ping Jetty vm