0

bitnami tomcat スタックを使用して作成された aws の tomcat7 で、solr サーバーが起動しません
。以下はエラーです。

SEVERE: Error deploying configuration descriptor /opt/bitnami/apache-tomcat/conf/Catalina/localhost/solr.xml  
java.lang.NullPointerException   

完全なスタックトレースは次のとおりです。

INFO: Starting service Catalina  
May 15, 2013 7:01:51 AM org.apache.catalina.core.StandardEngine startInternal  
INFO: Starting Servlet Engine: Apache Tomcat/7.0.39  
May 15, 2013 7:01:51 AM org.apache.catalina.startup.HostConfig deployDescriptor  
INFO: Deploying configuration descriptor /opt/bitnami/apache-tomcat/conf/Catalina/localhost/solr.xml  
May 15, 2013 7:01:52 AM org.apache.catalina.startup.HostConfig deployDescriptor  
SEVERE: Error deploying configuration descriptor /opt/bitnami/apache-tomcat/conf/Catalina/localhost/solr.xml  
java.lang.NullPointerException  
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:625)  
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)  
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)  
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)  
at java.util.concurrent.FutureTask.run(FutureTask.java:166)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)  
at java.lang.Thread.run(Thread.java:722)  

May 15, 2013 7:01:52 AM org.apache.catalina.startup.HostConfig deployDescriptors  
SEVERE: Error waiting for multi-thread deployment of context descriptors to complete  
java.util.concurrent.ExecutionException: java.lang.NullPointerException  
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)  
at java.util.concurrent.FutureTask.get(FutureTask.java:111)  
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:579)  
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475)  
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1402)  
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:318)  
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)  
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)  
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)  
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:347)  

/opt/bitnami/apache-tomcat/conf/Catalina/localhost/solr.xml は次のようになります。

<?xml version="1.0" encoding="utf-8"?> <context crossContext="true" debug="0" docBase="/usr/share/solr/solr.war"> <environment name="solr/home" override="true" value="/usr/share/solr" type="java.lang.String"> </environment></context>

/usr/share/solr/ の内容も問題ないようです

bitnami@ip-10-144-66-148:/usr/share/solr$ ls -l  
total 11384  

drwxr-xr-x 2 tomcat tomcat 4096 Jul 17  2012 bin  
drwxr-xr-x 5 tomcat tomcat 4096 May 13 13:11 conf  
drwxr-xr-x 9 tomcat tomcat 4096 Jul 17  2012 contrib  
drwxr-xr-x 2 tomcat tomcat 4096 May 13 13:20 data  
drwxr-xr-x 2 tomcat tomcat 4096 May 13 13:21 lib  
-rw-r--r-- 1 tomcat tomcat 2259 Jul 17  2012 README.txt  
-rw-r--r-- 1 tomcat tomcat 11628199 May 14 12:58 solr.war    
-rw-r--r-- 1 tomcat tomcat 1676 Jul 17  2012 solr.xml  

何が悪いのかわかりませんが、これは私を殺しています:-(

4

1 に答える 1