This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat servlet engine is not running, but pid file exists. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat servlet engine is not running, but pid file exists." Watch "Tomcat servlet engine is not running, but pid file exists." New topic
Author

Tomcat servlet engine is not running, but pid file exists.

Thomas Abraham
Greenhorn

Joined: Jan 15, 2011
Posts: 2
Dear Sir/Madam,

I am working in Ubuntu 10.04 Server. I have installed tomcat 6 on the server for running DSPACE. I am getting the error "Tomcat servlet engine is not running, but pid file exists."

I checked the log file catalina.out from /var/log/tomcat6

In the log file it shows


16 Jan, 2011 1:13:17 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib/jni:/lib:/usr/lib
16 Jan, 2011 1:13:17 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
16 Jan, 2011 1:13:17 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 354 ms
16 Jan, 2011 1:13:17 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
16 Jan, 2011 1:13:17 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
16 Jan, 2011 1:13:17 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
16 Jan, 2011 1:13:17 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor docs.xml
16 Jan, 2011 1:13:18 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor examples.xml
16 Jan, 2011 1:13:18 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
16 Jan, 2011 1:13:18 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor ROOT.xml
16 Jan, 2011 1:13:18 AM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base /dspace/webapps/ROOT does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4086)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4255)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
16 Jan, 2011 1:13:18 AM org.apache.catalina.core.StandardContext start
SEVERE: Error in resourceStart()
16 Jan, 2011 1:13:18 AM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
16 Jan, 2011 1:13:18 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
16 Jan, 2011 1:13:18 AM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/] has not been started
16 Jan, 2011 1:13:18 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory lni
- Loading provided config file: /dspace/config/dspace.cfg
- Using dspace provided log configuration (log.init.config)
- Loading: /dspace/config/log4j.properties
16 Jan, 2011 1:13:18 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory xmlui
log4j:WARN No appenders could be found for logger (org.dspace.servicemanager.DSpaceKernelInit).
log4j:WARN Please initialize the log4j system properly.
INFO: Loading provided config file: /dspace/config/dspace.cfg
INFO: Using dspace provided log configuration (log.init.config)
INFO: Loading: /dspace/config/log4j.properties
Loading catalog: file:/var/lib/tomcat6/work/Catalina/localhost/xmlui/cocoon_xml_resolver_entities/catalog
16 Jan, 2011 1:13:20 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory sword
INFO: Loading provided config file: /dspace/config/dspace.cfg
INFO: Using dspace provided log configuration (log.init.config)
INFO: Loading: /dspace/config/log4j.properties
16 Jan, 2011 1:13:20 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory oai
INFO: Loading provided config file: /dspace/config/dspace.cfg
INFO: Using dspace provided log configuration (log.init.config)
INFO: Loading: /dspace/config/log4j.properties
16 Jan, 2011 1:13:21 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory solr
16 Jan, 2011 1:13:21 AM org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init()
16 Jan, 2011 1:13:21 AM org.apache.solr.core.SolrResourceLoader locateInstanceDir
INFO: Using JNDI solr.home: /dspace/solr
16 Jan, 2011 1:13:21 AM org.apache.solr.core.CoreContainer$Initializer initialize
INFO: looking for solr.xml: /dspace/solr/solr.xml
16 Jan, 2011 1:13:21 AM org.apache.solr.core.SolrResourceLoader <init>
INFO: Solr home set to '/dspace/solr/'
16 Jan, 2011 1:13:21 AM org.apache.solr.core.SolrResourceLoader createClassLoader
INFO: Reusing parent classloader
16 Jan, 2011 1:13:21 AM org.apache.solr.core.SolrResourceLoader <init>
INFO: Solr home set to '/dspace/solr/statistics/'
16 Jan, 2011 1:13:21 AM org.apache.solr.core.SolrResourceLoader createClassLoader
INFO: Reusing parent classloader
16 Jan, 2011 1:13:21 AM org.apache.solr.core.SolrConfig <init>
INFO: Loaded SolrConfig: solrconfig.xml
16 Jan, 2011 1:13:21 AM org.apache.solr.schema.IndexSchema readSchema
INFO: Reading Solr Schema
16 Jan, 2011 1:13:21 AM org.apache.solr.schema.IndexSchema readSchema
INFO: Schema name=example
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created string: org.apache.solr.schema.StrField
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created boolean: org.apache.solr.schema.BoolField
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created integer: org.apache.solr.schema.IntField
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created long: org.apache.solr.schema.LongField
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created float: org.apache.solr.schema.FloatField
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created double: org.apache.solr.schema.DoubleField
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created sint: org.apache.solr.schema.SortableIntField
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created slong: org.apache.solr.schema.SortableLongField
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created sfloat: org.apache.solr.schema.SortableFloatField
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created sdouble: org.apache.solr.schema.SortableDoubleField
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created date: org.apache.solr.schema.DateField
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created random: org.apache.solr.schema.RandomSortField
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.WhitespaceTokenizerFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created text_ws: org.apache.solr.schema.TextField
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.WhitespaceTokenizerFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.SynonymFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.StopFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.WordDelimiterFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.LowerCaseFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.EnglishPorterFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.WhitespaceTokenizerFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.StopFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.WordDelimiterFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.LowerCaseFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.EnglishPorterFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created text: org.apache.solr.schema.TextField
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.WhitespaceTokenizerFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.SynonymFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.StopFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.WordDelimiterFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.LowerCaseFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.EnglishPorterFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created textTight: org.apache.solr.schema.TextField
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.StandardTokenizerFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.LowerCaseFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created textSpell: org.apache.solr.schema.TextField
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.KeywordTokenizerFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.LowerCaseFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.TrimFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.PatternReplaceFilterFactory
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created alphaOnlySort: org.apache.solr.schema.TextField
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created ignored: org.apache.solr.schema.StrField
16 Jan, 2011 1:13:21 AM org.apache.solr.schema.IndexSchema readSchema
INFO: default search field is id
16 Jan, 2011 1:13:21 AM org.apache.solr.schema.IndexSchema readSchema
INFO: query parser default operator is AND
16 Jan, 2011 1:13:21 AM org.apache.solr.schema.IndexSchema readSchema
WARNING: no uniqueKey specified in schema.
16 Jan, 2011 1:13:21 AM org.apache.solr.core.SolrCore <init>
INFO: [statistics] Opening new SolrCore at /dspace/solr/statistics/, dataDir=/dspace/solr/statistics/data/
16 Jan, 2011 1:13:21 AM org.apache.solr.core.JmxMonitoredMap <init>
INFO: JMX monitoring is enabled. Adding Solr mbeans to JMX Server: com.sun.jmx.mbeanserver.JmxMBeanServer@4d125127
16 Jan, 2011 1:13:21 AM org.apache.solr.core.SolrCore parseListener
INFO: [statistics] Searching for listeners: //listener[@event="firstSearcher"]
16 Jan, 2011 1:13:21 AM org.apache.solr.core.SolrCore parseListener
INFO: [statistics] Added SolrEventListener: org.apache.solr.core.QuerySenderListener{queries=[{q=fast_warm,start=0,rows=10}, {q=static firstSearcher warming query from solrconfig.xml}]}
16 Jan, 2011 1:13:21 AM org.apache.solr.core.SolrCore parseListener
INFO: [statistics] Searching for listeners: //listener[@event="newSearcher"]
16 Jan, 2011 1:13:21 AM org.apache.solr.core.SolrCore parseListener
INFO: [statistics] Added SolrEventListener: org.apache.solr.core.QuerySenderListener{queries=[{q=solr,start=0,rows=10}, {q=rocks,start=0,rows=10}, {q=static newSearcher warming query from solrconfig.xml}]}
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created xslt: org.apache.solr.request.XSLTResponseWriter
16 Jan, 2011 1:13:21 AM org.apache.solr.request.XSLTResponseWriter init
INFO: xsltCacheLifetimeSeconds=5
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created spellcheck: org.apache.solr.handler.component.SpellCheckComponent
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created standard: org.apache.solr.handler.component.SearchHandler
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created dismax: org.apache.solr.handler.component.SearchHandler
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created partitioned: org.apache.solr.handler.component.SearchHandler
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created /spellCheckCompRH: org.apache.solr.handler.component.SearchHandler
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created /update: org.apache.solr.handler.XmlUpdateRequestHandler
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created /analysis: org.apache.solr.handler.AnalysisRequestHandler
16 Jan, 2011 1:13:21 AM org.apache.solr.core.RequestHandlers$1 create
INFO: adding lazy requestHandler: solr.CSVRequestHandler
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created /update/csv: org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created /admin/: org.apache.solr.handler.admin.AdminHandlers
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created /admin/ping: org.apache.solr.handler.PingRequestHandler
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created /debug/dump: org.apache.solr.handler.DumpRequestHandler
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created gap: org.apache.solr.highlight.GapFragmenter
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created regex: org.apache.solr.highlight.RegexFragmenter
16 Jan, 2011 1:13:21 AM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created html: org.apache.solr.highlight.HtmlFormatter
16 Jan, 2011 1:13:21 AM org.apache.solr.search.SolrIndexSearcher <init>
INFO: Opening Searcher@6bcf8de2 main
16 Jan, 2011 1:13:21 AM org.apache.solr.update.DirectUpdateHandler2$CommitTracker <init>
INFO: AutoCommit: disabled
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SpellCheckComponent inform
INFO: Initializing spell checkers
16 Jan, 2011 1:13:21 AM org.apache.solr.spelling.AbstractLuceneSpellChecker init
INFO: Using WhitespaceAnalzyer for dictionary: default
16 Jan, 2011 1:13:21 AM org.apache.solr.spelling.AbstractLuceneSpellChecker init
INFO: Using WhitespaceAnalzyer for dictionary: jarowinkler
16 Jan, 2011 1:13:21 AM org.apache.solr.spelling.AbstractLuceneSpellChecker init
INFO: Using WhitespaceAnalzyer for dictionary: file
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SpellCheckComponent inform
WARNING: No queryConverter defined, using default converter
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.QueryComponent@77a477b7
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.FacetComponent@4eafccbe
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@77aaf64d
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.HighlightComponent@7910769b
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding debug component:org.apache.solr.handler.component.DebugComponent@27daf835
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.QueryComponent@77a477b7
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.FacetComponent@4eafccbe
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@77aaf64d
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.HighlightComponent@7910769b
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding debug component:org.apache.solr.handler.component.DebugComponent@27daf835
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.QueryComponent@77a477b7
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.FacetComponent@4eafccbe
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@77aaf64d
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.HighlightComponent@7910769b
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding debug component:org.apache.solr.handler.component.DebugComponent@27daf835
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.QueryComponent@77a477b7
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.FacetComponent@4eafccbe
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@77aaf64d
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.HighlightComponent@7910769b
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.SpellCheckComponent@18dd7404
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding debug component:org.apache.solr.handler.component.DebugComponent@27daf835
16 Jan, 2011 1:13:21 AM org.apache.solr.core.QuerySenderListener newSearcher
INFO: QuerySenderListener sending requests to Searcher@6bcf8de2 main
16 Jan, 2011 1:13:21 AM org.apache.solr.core.CoreContainer register
INFO: registering core: statistics
16 Jan, 2011 1:13:21 AM org.apache.solr.servlet.SolrDispatchFilter init
INFO: user.dir=/var/lib/tomcat6
16 Jan, 2011 1:13:21 AM org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init() done
16 Jan, 2011 1:13:21 AM org.apache.solr.servlet.SolrServlet init
INFO: SolrServlet.init()
16 Jan, 2011 1:13:21 AM org.apache.solr.core.SolrResourceLoader locateInstanceDir
INFO: Using JNDI solr.home: /dspace/solr
16 Jan, 2011 1:13:21 AM org.apache.solr.servlet.SolrServlet init
INFO: SolrServlet.init() done
16 Jan, 2011 1:13:21 AM org.apache.solr.core.SolrResourceLoader locateInstanceDir
INFO: Using JNDI solr.home: /dspace/solr
16 Jan, 2011 1:13:21 AM org.apache.solr.servlet.SolrUpdateServlet init
INFO: SolrUpdateServlet.init() done
16 Jan, 2011 1:13:21 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory jspui
16 Jan, 2011 1:13:21 AM org.apache.solr.core.SolrCore execute
INFO: [statistics] webapp=null path=null params={start=0&q=fast_warm&rows=10} hits=0 status=0 QTime=37
16 Jan, 2011 1:13:21 AM org.apache.solr.core.QuerySenderListener newSearcher
INFO: QuerySenderListener done.
16 Jan, 2011 1:13:21 AM org.apache.solr.core.SolrCore execute
INFO: [statistics] webapp=null path=null params={q=static+firstSearcher+warming+query+from+solrconfig.xml} hits=0 status=0 QTime=5
16 Jan, 2011 1:13:21 AM org.apache.solr.core.QuerySenderListener newSearcher
INFO: QuerySenderListener done.
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener newSearcher
INFO: Loading spell index for spellchecker: default
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener newSearcher
INFO: Loading spell index for spellchecker: jarowinkler
16 Jan, 2011 1:13:21 AM org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener newSearcher
INFO: Loading spell index for spellchecker: file
16 Jan, 2011 1:13:21 AM org.apache.solr.core.SolrCore registerSearcher
INFO: [statistics] Registered new searcher Searcher@6bcf8de2 main
log4j:WARN No appenders could be found for logger (org.dspace.servicemanager.DSpaceKernelInit).
log4j:WARN Please initialize the log4j system properly.
INFO: Loading provided config file: /dspace/config/dspace.cfg
INFO: Using dspace provided log configuration (log.init.config)
INFO: Loading: /dspace/config/log4j.properties
16 Jan, 2011 1:13:22 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
16 Jan, 2011 1:13:22 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5055 ms
16 Jan, 2011 1:13:22 AM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:336)
at java.net.ServerSocket.bind(ServerSocket.java:336)
at java.net.ServerSocket.<init>(ServerSocket.java:202)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:657)
at org.apache.catalina.startup.Catalina.start(Catalina.java:617)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)




But i have installed the sun-java6-jdk sun-java6-jre sun-java6-bin

.

Please help me


Thanking you

With regards

Thomas Abraham
Tom Reilly
Rancher

Joined: Jun 01, 2010
Posts: 618
I am working in Ubuntu 10.04 Server. I have installed tomcat 6 on the server for running DSPACE. I am getting the error "Tomcat servlet engine is not running, but pid file exists."
What is giving you this error?
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base /dspace/webapps/ROOT does not exist or is not a readable directory
Do you have a /dspace/webapps/ROOT directory with the appropriate permissions?
Thomas Abraham
Greenhorn

Joined: Jan 15, 2011
Posts: 2
Dear Tom,

Thank you for the reply. The folder /dspace/webapps/ROOT correct permission.

Now i have completely removed the whole tomcat6* packages. But not it is fail to start tomcat

The Catalina.out shows as follows

16 Jan, 2011 9:32:00 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib/jni:/lib:/usr/lib
16 Jan, 2011 9:32:00 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
16 Jan, 2011 9:32:00 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 354 ms
16 Jan, 2011 9:32:00 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
16 Jan, 2011 9:32:00 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
16 Jan, 2011 9:32:00 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
16 Jan, 2011 9:32:00 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
16 Jan, 2011 9:32:00 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 184 ms
16 Jan, 2011 9:32:00 AM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:336)
at java.net.ServerSocket.bind(ServerSocket.java:336)
at java.net.ServerSocket.<init>(ServerSocket.java:202)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:657)
at org.apache.catalina.startup.Catalina.start(Catalina.java:617)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
16 Jan, 2011 9:34:18 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib/jni:/lib:/usr/lib
16 Jan, 2011 9:34:18 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
16 Jan, 2011 9:34:18 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 354 ms
16 Jan, 2011 9:34:18 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
16 Jan, 2011 9:34:18 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
16 Jan, 2011 9:34:18 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
16 Jan, 2011 9:34:18 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor docs.xml
16 Jan, 2011 9:34:18 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor examples.xml
16 Jan, 2011 9:34:18 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
16 Jan, 2011 9:34:18 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor ROOT.xml
16 Jan, 2011 9:34:19 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
16 Jan, 2011 9:34:19 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 383 ms
16 Jan, 2011 9:34:19 AM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:336)
at java.net.ServerSocket.bind(ServerSocket.java:336)
at java.net.ServerSocket.<init>(ServerSocket.java:202)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:657)
at org.apache.catalina.startup.Catalina.start(Catalina.java:617)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)


Thanking you

With regards

Thomas Abraham
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19541
    
  16

Moving to our Tomcat forum.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15632
    
  15



Kill any catalina (tomcat) process(es) you have running using the Linux kill command.

Remove the pidfile manually. In my case, that would be "rm -f /var/run/tomcat6/tomcat6", but I didn't see what it is on your system.

At this point you should be able to safely start Tomcat. If you're using an init script and it uses a non-privileged Tomcat userID, make sure you have deleted and leftover chunder that might have been created if someone ran Tomcat directly as the root user. The places to look are TOMCAT_HOME/temp, TOMCAT_HOME/work and TOMCAT_HOME/webapps. Also before starting Tomcat, make sure that no other process is using any of the ports used by Tomcat.

It looks like you may have defective deployment descriptors, so the above won't solve all problems, but at least you'll have a clean Tomcat environment running.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat servlet engine is not running, but pid file exists.
 
Similar Threads
I am connecting liferay communtiy edition 6.0.6 with postgresql 9.1 and using apache tomcat server6.
problem with tomcat Native library
struts-config.xml giving "cannot resolve class/symbol" errors
Facing an issue trying to use Struts 2.0.14 with Tiles 2.0.
tomcat failed to initialize