Hi,

>To start a Java class at startup, make it a servlet and set it to autorun.

I have a servlet set to autorun on web application startup.... but it
isn't, or would appear not be autorunning.

I have, inside mt web-application.xml
        <servlet>
                <servlet-name>MashInit</servlet-name>
                <servlet-class>MashInit</servlet-class>
        </servlet>

Nothing is appearing in the site.log file to indicate a MashInit : init
state.  However, if I browse to 127.0.0.1/servlet/MashInit then site.log
shows MashInit : init

Any ideas?

CB
-_`-_`-_`-_`-_`-_`-_`-_`-_`-_`-_`-_`-_`-_`-_`-_`-_`-_`
  Colin Burroughs, Technical Director

  Thë §höppïñg Nëtwö®k     T:+44 (0) 1473 636111
  Woodman's Cottage        M:+44 (0) 78030 51786
  Main Road, MARTLESHAM    F:+44 (0) 1473 636114
  http://www.shoppingnetwork.co.uk

  Thë §ëëd               Free Internet Access
  http://www.theseed.net
-_`-_`-_`-_`-_`-_`-_`-_`-_`-_`-_`-_`-_`-_`-_`-_`-_`-_`

This message contains confidential information and is intended
only for the individual named.  If you are not the named
addressee you should not disseminate, distribute or copy this
e-mail.  Please notify the sender immediately by e-mail if you
have received this  e-mail by mistake and delete this e-mail
from your system.

Reply via email to