我正在尝试在 ubuntu 13.04 的 tomcat7 下运行 solr 4.3.0。请参阅下面的日志片段,当我尝试通过运行 catalina.sh 启动 tomcat 时得到该片段。如日志中所示,我收到错误 filterStart。我该如何解决?
sonu@sonu-Vostro-1550:~$ sudo /usr/share/tomcat7/bin/catalina.sh run
Using CATALINA_BASE: /usr/share/tomcat7
Using CATALINA_HOME: /usr/share/tomcat7
Using CATALINA_TMPDIR: /usr/share/tomcat7/temp
Using JRE_HOME: /usr/lib/jvm/java-7-oracle
Using CLASSPATH: /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar
Jun 19, 2013 1:35:35 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-9999"]
Jun 19, 2013 1:35:35 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 654 ms
Jun 19, 2013 1:35:35 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jun 19, 2013 1:35:35 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.35
Jun 19, 2013 1:35:35 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/host- manager.xml
Jun 19, 2013 1:35:36 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/manager.xml
Jun 19, 2013 1:35:36 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/docs.xml
Jun 19, 2013 1:35:36 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/solr4.xml
Jun 19, 2013 1:35:36 PM org.apache.catalina.startup.SetContextPropertiesRule begin
WARNING: [SetContextPropertiesRule]{Context} Setting property 'debug' to '0' did not find a matching property.
**Jun 19, 2013 1:35:40 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error filterStart
Jun 19, 2013 1:35:40 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/solr4] startup failed due to previous errors**
Jun 19, 2013 1:35:40 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/examples.xml
Jun 19, 2013 1:35:40 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
Jun 19, 2013 1:35:40 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
Jun 19, 2013 1:35:40 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
Jun 19, 2013 1:35:40 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
Jun 19, 2013 1:35:40 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
Jun 19, 2013 1:35:40 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
Jun 19, 2013 1:35:40 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
Jun 19, 2013 1:35:40 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
Jun 19, 2013 1:35:40 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
Jun 19, 2013 1:35:40 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
Jun 19, 2013 1:35:40 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
Jun 19, 2013 1:35:40 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
Jun 19, 2013 1:35:40 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
Jun 19, 2013 1:35:40 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
Jun 19, 2013 1:35:40 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
Jun 19, 2013 1:35:40 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-9999"]
Jun 19, 2013 1:35:40 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5096 ms
^CJun 19, 2013 1:37:00 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-9999"]
Jun 19, 2013 1:37:00 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Jun 19, 2013 1:37:00 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-9999"]
Jun 19, 2013 1:37:00 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-9999"]
sonu@sonu-Vostro-1550:~$
我已在 /etc/tomcat7 的 server.xml 中将默认端口更改为 9999。我无法打开 localhost:9999 或 localhost:9999/solr。