In default setup of many servers (which I know) and java has no
prohibited reading of files outside ear. You can read changeset and
rule files from specific directory e.g. (/etc/rules/...). Or you can
use user.home property. We are using it without problems.
However you can use other mechanisms which are more appropriate for
your setup. For example for clustered environment and better
management I will store rules to database or you can use Guvnor.
Regards
Pavel
On Fri, Jul 23, 2010 at 6:56 PM, H.C. <canterburry(a)gmail.com> wrote:
Pavel,
Thanks for the reply. However, if my change-set file and drl files are not
packed in the war/ear but located on the server's file system outside of the
app server then I do believe the JEE spec forces me to map an external
resource via JNDI? We want this because we need to frequently update the
rules without having to repackaging and deploy the application.
For this scenario, will the rule agent work correctly? Or...
Are you saying that my change-set file should be packaged with my
application but point to the drl files located outside of the app server? If
so, without using JNDI, wouldn't that break the container provided isolation
from the file system?
I am thinking this has to work somehow since Drools provides a way to manage
and deploy rules via Guvnor which obviously wouldn't always be located on
the same server as the execution environment and drools is deployed in
plenty of enterprise apps.
I just can't quite wrap my head around the correct architecture/setup.
Is there maybe a doc about this anywhere?
Thanks
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/RuleAgents-and-contai...
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users