You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by amit <am...@gmail.com> on 2013/05/15 11:50:12 UTC
solr doesn't start on tomcat on aws
I am installing solr on tomcat7 in aws using bitmani tomcat stack.My solr
server is not starting; below is the errorINFO: 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)
The /opt/bitnami/apache-tomcat/conf/Catalina/localhost/solr.xml looks like
this.<?xml version="1.0" encoding="utf-8"?> The contents of
/usr/share/solr/ also looks finebitnami@ip-10-144-66-148:/usr/share/solr$ ls
-ltotal 11384drwxr-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 Not sure
what is wrong, but this is killing me :-(
--
View this message in context: http://lucene.472066.n3.nabble.com/solr-doesn-t-start-on-tomcat-on-aws-tp4063448.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: solr doesn't start on tomcat on aws
Posted by Gora Mohanty <go...@mimirtech.com>.
On 15 May 2013 15:20, amit <am...@gmail.com> wrote:
> I am installing solr on tomcat7 in aws using bitmani tomcat stack.
[...]
If you are using the Bitnami stack, I would direct questions
to their forums. Having used Bitnami for AWS deployments,
we have gone back to rolling our own starting from a standard
Linux server AMI: Their customisations of locations and other
things seemed strange, and it turned out to be as much work
maintaining those.
We have been running Solr from 1.4 to 3.6 to 4.x on AWS
(now with Tomcat 7) without issues. Maybe I should take the
time to document this.
Regards,
Gora