Tomcat7 server "Stopped Status" while it s running

asked 2014-01-05 12:38:32 +0800

skric gravatar image skric flag of Bolivia, Plurinational State of
31 1

Hi, I can load localhost:8080 on my Pc but still... in ZK-Eclipse when trying to start a Zul file in the browser I see: Tomcat v7.0 server at localhost - State : Stopped ! (???)

Other error message that follows is: Could not load Tomcat server config at /Servers/Tomcat v7.0 server at localhost-config. The config may be corrupt or incomplete.

Any idea what is going wrong or why it says that file id Corrupted ? Thanks

This are the two files involved:


<server port="8005" shutdown="SHUTDOWN"> <listener classname="org.apache.catalina.core.AprLifecycleListener" sslengine="on"/> <listener classname="org.apache.catalina.core.JasperListener"/> <listener classname="org.apache.catalina.core.JreMemoryLeakPreventionListener"/> <listener classname="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/> <listener classname="org.apache.catalina.core.ThreadLocalLeakPreventionListener"/>

<globalnamingresources> <resource name="UserDatabase" auth="Container" type="org.apache.catalina.UserDatabase" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" pathname="conf/tomcat-users.xml"/> </globalnamingresources>

<service name="Catalina">

<!--The connectors can use a shared executor, you can define one or more named thread pools-->
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-" 
    maxThreads="150" minSpareThreads="4"/>

<!-- A "Connector" represents an endpoint by which requests are received
     and responses are returned. Documentation at :
     Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
     Java AJP  Connector: /docs/config/ajp.html
     APR (HTTP/AJP) Connector: /docs/apr.html
     Define a non-SSL HTTP/1.1 Connector on port 8080
<Connector port="8080" protocol="HTTP/1.1" 
           redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<Connector executor="tomcatThreadPool"
           port="8080" protocol="HTTP/1.1" 
           redirectPort="8443" />
<!-- Define a SSL HTTP/1.1 Connector on port 8443
     This connector uses the JSSE configuration, when using APR, the 
     connector should be using the OpenSSL style configuration
     described in the APR documentation -->
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
           maxThreads="150" scheme="https" secure="true"
           clientAuth="false" sslProtocol="TLS" />

<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />

<!-- An Engine represents the entry point (within Catalina) that processes
     every request.  The Engine implementation for Tomcat stand alone
     analyzes the HTTP headers included with the request, and passes them
     on to the appropriate Host (virtual host).
     Documentation at /docs/config/engine.html -->

<!-- You should set jvmRoute to support load-balancing via AJP ie :
<Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">         
<Engine name="Catalina" defaultHost="localhost">
  <!--For clustering, please take a look at documentation at:
      /docs/cluster-howto.html  (simple how to)
      /docs/config/cluster.html (reference documentation) -->
  <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>

  <!-- Use the LockOutRealm to prevent attempts to guess user passwords
       via a brute-force attack -->
  <Realm className="org.apache.catalina.realm.LockOutRealm">
    <!-- This Realm uses the UserDatabase configured in the global JNDI
         resources under the key "UserDatabase".  Any edits
         that are performed against this UserDatabase are immediately
         available for use by the Realm.  -->
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"

  <Host name="localhost"  appBase="webapps"
        unpackWARs="true" autoDeploy="true">

    <!-- SingleSignOn valve, share authentication between web applications
         Documentation at: /docs/config/valve.html -->
    <Valve className="org.apache.catalina.authenticator.SingleSignOn" />

    <!-- Access log processes all example.
         Documentation at: /docs/config/valve.html
         Note: The pattern used is equivalent to using pattern="common" -->
    <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"  
           prefix="localhost_access_log." suffix=".txt"
           pattern="%h %l %u %t "%r" %s %b" resolveHosts="false"/>





<tomcat-users> <role rolename="manager-gui"/> <user username="tomcat" password="tomcat" roles="manager-gui"/> <role rolename="admin-gui"/> <user username="tomcat" password="tomcat" roles="admin-gui"/>


delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-09-14 08:38:49 +0800

Darksu gravatar image Darksu
1991 1 4

Hello skric,

A little late but you could do the following:

Step 1: Delete server at local host(Server tab)

Step 2: Delete Servers folder in (navigator/project explorer)

Step 3: After add again the server

Step 4: start the server

Best Regards,


link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2014-01-05 12:38:32 +0800

Seen: 35 times

Last updated: Sep 14 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More