tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcin Okraszewszki <okrasz_n...@o2.pl>
Subject Re: How to turn of CONTEXT RELOADS??
Date Mon, 02 Jan 2006 16:39:17 GMT
So, where should I put this '<Manager pathname="" />'? I hope it will 
help :)

Regars,
Marcin Okraszewski

Martin Gainty napisał(a):

> Yes I believe those rules changed ever so slightly in Tomcat 5.x as 
> your message indicated
> the doc states
> "Restart persistence may be disabled by setting this [pathname] 
> attribute to an empty string."
> so
> <Manager pathname="" />
> should disable session object serialisation
>
> Anyone else?
> Martin-
> By default, Tomcat 5.5 attempts to save all objects that are stored in 
> the session object every timeit shuts downBy default, Tomcat 5.5 
> attempts to save all objects that are stored in the session object 
> every timeit shuts down----- Original Message ----- From: "Marcin 
> Okraszewszki" <okrasz_news@o2.pl>
> To: "Tomcat Users List" <users@tomcat.apache.org>
> Sent: Monday, January 02, 2006 10:52 AM
> Subject: Re: How to turn of CONTEXT RELOADS??
>
>
>> 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: users-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message