Eduard Witteveen <[EMAIL PROTECTED]> wrote:
> CALL BY: Eduard Witteveen
> CALL FOR: Allowing startup of MMBase by a cloud call
>
> INTRODUCTION
> ============
> When MMBase has not been started, and the following lines are executed:
> CloudContext cx = LocalContext.getCloudContext();
> Cloud cl = cx.getCloud("mmbase");
> The last line will throw an exception with the the following error: "MMBase
> has not been started, and cannot be started by this Class." In the new
> situation this will not cause an exception IF the config directory is set
> by using the system properties.
>
> This propery was earlier called the make.flax.happy, but since specifying
> an 'mmbase.config' propery implies that you are running mmbase outside the
> servlet
> environment(http://www.mmbase.org/development/mailarchive/msg97481.html).
Which is not entirely true, because you can specify it in web.xml too. So,
that exception should be made, then.
I would also not against startup of mmbase in any case when it is not
running.
Michiel
--
Michiel Meeuwissen
Mediapark C101 Hilversum
+31 (0)35 6772979
nl_NL eo_XX en_US
mihxil'
[] ()