I haven't set the reloadable option. Accorting to documentation, the
default is "false", so I thought I do not need to set it.
The context.xml:
<Context path="" cookies="false" allowLinking="true">
<Realm className="org.apache.catalina.realm.MemoryRealm"
pathname="/var/webapps/ROOT/WEB-INF/users.xml" />
</Context>
And the server.xml
<?xml version="1.0"?>
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
<GlobalNamingResources>
<!-- Used by Manager webapp -->
<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">
<Connector port="8080" address="127.0.0.1"/>
<Engine name="Catalina" defaultHost="localhost">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
<Host appBase="/var/webapps" name="localhost"/>
</Engine>
</Service>
</Server>
Martin Gainty napisaĆ(a):
Marcin-
can we see contents of your
/META-INF/context.xml
specifically the value of the reloadable option
dziekuje,
Martin-
Hi,
I would like to turn off automatic context reloading in Tomcat. It is
isn't about reloadable="true" context setting, because I haven't set it
and I do not change anything in webapp and I still I found such log
entry:
INFO: Reloading context []
And then the application is reloaded, the context listeners get the
signal, etc. I do not want such behavior. I have no idea what makes
Tomcat to reload the context. I would like an application to be loaded
and kept there until I stop Tomcat.
Is it possible to somehow turn this off and have the application loaded
only once?
Regards,
Marcin Okraszewski
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]