|
From: Patrick Y. <kc...@ce...> - 2003-02-04 08:03:05
|
Hi Jason,
Thanks for the suggestion. However, after some discussion, we think the
change is not quite necessary because:
1. Hermes deployment is not a day-to-day work. We expect the configuration
will not be changed frequently. So using static values will be adequate for
most of the time.
2. In the scenario that you suggest, we are only transferring the
"hard-wiring" of property values from Hermes's configuraiton file to the
application server's configuration files. There is anyway a file which
should "hard-wire" the property values, which is not portable from file
system to file system. Under this basis, we believe to "hard-wire" the value
in Hermes property file is acceptable.
3. We need some extra exception handling when trying to interpolating a
non-existing system property. In this angle, this makes the configuration
more complicated. Our design philosophy is to keep every behaviour
deterministic. Of course, we may not be doing very well, but at least that
is our direction.
What do you think? Let's discuss about this. Thank you for your continuous
input.
Regards, -Patrick
----- Original Message -----
From: "Jason van Zyl" <ja...@ze...>
To: <ebx...@li...>
Sent: Sunday, February 02, 2003 12:45 AM
Subject: [ebxmlms-develop] Variable interpolation in configuration
> Hi,
>
> I've added variable interpolation in the XMLProperty.java file so that I
> can more easily integrate Hermes into our application server. The
> interpolation only works with system properties with the "ebxmlms"
> prefix.
>
> So I'm setting a system property in our application server with:
>
> <system-properties>
> <property name="ebxmlms.basedir" value="${plexus.work}/ebxmlms"/>
> </system-properties>
>
> And then I can do something like the following in the
> msh.properties.xml:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Property>
> <MSH>
> <Log>
> <!-- "JDK" or "LOG4J" -->
> <UseLogger>LOG4J</UseLogger>
> <!-- empty path: user.home -->
> <LogPath>${ebxmlms.basedir}</LogPath>
> <LogFile>msh.log</LogFile>
> ...
> </Log>
> </MSH>
> </Property>
>
> This makes it very easy for integrators, like myself, to move the
> application server around the filesystem and have things completely
> self-contained.
>
> So this means we can deploy Hermes and not have to deal with absolute
> paths which is essential for our installation setup.
>
> You can find the file here:
>
> http://www.apache.org/~jvanzyl/ebxmlms/XMLProperty.java
>
> I'll send changes in whatever form you like. Do you prefer patches or
> whole files?
>
>
> --
> jvz.
>
> Jason van Zyl
> ja...@ze...
> http://tambora.zenplex.org
>
> In short, man creates for himself a new religion of a rational
> and technical order to justify his work and to be justified in it.
>
> -- Jacques Ellul, The Technological Society
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> ebxmlms-develop mailing list
> ebx...@li...
> https://lists.sourceforge.net/lists/listinfo/ebxmlms-develop
>
|