Hello, Riyad,

I would like to select reload for my context. My present server.xml is the following: How would I do that?

<?xml version='1.0' encoding='utf-8'?>

<Server>
  <GlobalNamingResources>
    <Resource
      auth="Container"
      description="User database that can be updated and saved"
      name="UserDatabase"
      type="org.apache.catalina.UserDatabase"/>
    <ResourceParams
      name="UserDatabase">
      <parameter>
        <name>factory</name>
        <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
      </parameter>
      <parameter>
        <name>pathname</name>
        <value>conf/tomcat-users.xml</value>
      </parameter>
    </ResourceParams>
  </GlobalNamingResources>
  <Service
    name="Catalina">
    <Connector
      port="14567">
    </Connector>
    <Connector
      port="8009"
      protocol="AJP/1.3"
      protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler">
    </Connector>
    <Engine
      defaultHost="localhost"
      name="Catalina">
      <Host
        appBase="webapps"
        name="localhost">
      </Host>
      <Logger
        className="org.apache.catalina.logger.FileLogger"/>
      <Realm
        className="org.apache.catalina.realm.UserDatabaseRealm"/>
    </Engine>
  </Service>
</Server>

Thanks. Michael

At 06:58 AM 5/12/2004, Riyad Kalla wrote:
If you are using Tomcat, it should reload this automatically if you have "reload properties" selected for your context (Atleast mine does while I'm wokring on the ApplicationResource file), and if all else fails, just use the Manager to restart the context (takes about 1 second).

-Riyad

Janarthan Sathiamurthy wrote:

Gurus,

I am using Struts1.1.
Is there any custom code(already available) that can reload the ApplicationResource.properties file without a redeploy/restart of the application ?



Regards, Janarthan S



---------------------------------------------------------------------
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]


Reply via email to