<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>thanks !!<br><br><div>---</div>Regards,<div><font color="#2672ec" face="Comic Sans MS">Sravan.</font></div><div><br></div><br><br><div><hr id="stopSpelling">From: stephen.masters@me.com<br>Date: Tue, 25 Mar 2014 09:24:12 +0000<br>To: rules-users@lists.jboss.org<br>Subject: Re: [rules-users] how to deploy rules<br><br><div>Assuming that you’re sticking to 5.0, you’ll need to code it yourself. The simplest way I found was to create a web service, with an operation which destroys your current sessions and knowledge bases, and reinitialises them. You should be able to re-use whatever code you already have for initialising the knowledge base.</div><div><br></div><div>This assumes that you store your rules separately. For the example above, I was using Guvnor, so reinitialising the knowledge base would go to Guvnor and load packages from a ‘live’ snapshot.</div><div><br></div><div>btw - I also tweaked the Guvnor HTML to embed a ‘deploy’ button, which would invoke the web service. This way the users could update their rules, create a ‘live’ snapshot and click ‘deploy’ to activate their changes.</div><div><br></div><div>Steve</div><div><br></div><br><div><div>On 25 Mar 2014, at 06:35, sravan k &lt;<a href="mailto:sravan008@outlook.com">sravan008@outlook.com</a>&gt; wrote:</div><br class="ecxApple-interchange-newline"><blockquote><div class="ecxhmmessage" style="font-size:12pt;font-family:Calibri;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><div dir="ltr">Hi I am new to drools ,in current company we are using drools 5.0 .When ever we are creating a new rule or enabling or disabling a rule we are restarting the tomcat .<div>is there any way for dynamic deployment ??</div><div><br></div><div>Kindly please suggest&nbsp;<br><br><div>---</div>Regards,<div><font color="#2672ec" face="Comic Sans MS">Sravan.</font></div><div><br></div></div></div>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a></div></blockquote></div><br><br>_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users</div>                                               </div></body>
</html>