Mark,

Thanks for the reply.  First, let me explain sakai a little... Sakai is
a learning management portal.  The architecture is such that if you want
to add a feature, you create a new webapp and tie it into the portal
app.  All service implementation details are  deployed  out of
${CATALINA_HOME}/components due to their nifty classloader, and all
webapps access these services staticly either by an internal lookup, or
factories almost entirely injected by spring.  This one webapp is a
built-in quartz scheduler we use to import our student/course data from
our course management system (Banner).  The job defs are held in the
DB.  If there are more than one scheduler deployed, the first one that
checks in and the job is available to run, gets the privilege of running
it.  This job reads banner via jdbc, and writes to sakai via the sakai
services api (deployed via components).  So we have complete dependency
on these static configured services being present and configured
correctly.  They are all dependent, there is no breaking it up. 

I think the best thing to do is to actually hack the code and place an
init-param that starts/stops the job listener.  That would be cleanest,
and actual require the least amount of effort.  If there was a context
specific override for deployOnStartup, that would have worked to...

Thanks for your time,

- Joe

Mark H. Wood wrote:
> Could you give the host another name and set up a separate virtual
> host for your standby Sakai instance?  The Host container seems to be
> the only one that defines deployOnStartup.  This separation might have
> other minor benefits.
>
> What happens when you place the application outside of appBase, create
> an explicit Context (PATH.xml) with docBase pointing to it, and flip
> the Context file into/out of $CATALINA_HOME/config/Catalina/localhost ?
> It shouldn't be too hard to arrange for a startup script to delete
> certain Context files before Tomcat starts, and then you can copy one
> in later when you want it.
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to