<div dir="ltr">I don&#39;t know KIE Server very well. What is this &quot;InstallRequest&quot; of which you speak!?<div><br></div><div>I assume KIE Server&#39;s artifact resolution mechanism is vanilla Maven, in which case whether you want to install or deploy depends on whether KIE Server is running on the same host as your local Maven repository.</div><div><br></div><div>If it is; then install should be sufficient; as Maven (used by KIE Server) will first try to resolve artifacts against the local repository. If not; then Maven will fail to resolve locally and try the configured remotes.</div><div><br></div><div>I don&#39;t know the life-cycle of KIE Server&#39;s &quot;container&quot; so an answer for that needs to come from my colleagues.</div><div><br></div><div>Please use drools-usage mailing list. </div></div><div class="gmail_extra"><br><div class="gmail_quote">On 26 April 2017 at 07:31, wang Sherry <span dir="ltr">&lt;<a href="mailto:wang.xye@gmail.com" target="_blank">wang.xye@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Michael, <div><br></div><div>Thanks for the reply. The jar file is already been installed into m2 repository on KIE server.  Here is the folder structure of m2 repository after each install.   I am using <span style="color:rgb(0,0,0);font-family:&quot;courier new&quot;;font-size:9pt">InstallRequest API </span>to install the jar and pom artifact.  Do I need to Deploy as well? I disposed the container and recreated it again... No new rules were applied...</div><div><br></div><div><img src="cid:ii_15ba86646bb0c417" alt="Inline images 1" width="562" height="169"><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 26 April 2017 at 08:36, Michael Anstis <span dir="ltr">&lt;<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Seems like you&#39;re using KIE Server? Is it KIE Server that is not &quot;seeing&quot; the revised  Snapshots? What is the maven refresh policy for snapshots on the server running KIE Server? It&#39;ll only detect updates once a day by default. </p><div class="m_-6422459151985676337HOEnZb"><div class="m_-6422459151985676337h5">
<div class="gmail_quote">On 25 Apr 2017 21:31, &quot;wang Sherry&quot; &lt;<a href="mailto:wang.xye@gmail.com" target="_blank">wang.xye@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi, Michael,</div><div><br></div><div>I followed your  solution to auto generate kjar. I added the dependency and  install the jar using Install to KIE&#39;s maven repository.  Each time new timestamp is added to pom.xml of the kjar. After install, the container is disposed and recreated as well. But it will only take effect after a restart.  I am using latest JBPM 7 Beta8</div><div><br></div><div><a href="https://groups.google.com/forum/?utm_medium=email&amp;utm_source=footer#!msg/drools-usage/0MwV2n3juYo/41Mk7NumJwAJ" target="_blank">https://groups.google.com/foru<wbr>m/?utm_medium=email&amp;utm_source<wbr>=footer#!msg/drools-usage/0MwV<wbr>2n3juYo/41Mk7NumJwAJ</a></div><div><br></div><div><br></div><div>Thanks</div><div>Sherry</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 24 April 2017 at 21:32, Michael Anstis <span dir="ltr">&lt;<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Nope, sorry. The cache is &quot;internal&quot; and not for public (API) usage.<div><br></div><div>What problem do you have? What application server are you using?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 24 April 2017 at 01:03, wang Sherry <span dir="ltr">&lt;<a href="mailto:wang.xye@gmail.com" target="_blank">wang.xye@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, Michael ,<div><br></div><div>Is there any API that could be used to refresh the cache?  I changed description in pom.xml each time when generating the JAR and then install it to m2 repository of KIE. It never refresh the cache.... </div><div><br>On Monday, 9 May 2016 21:14:53 UTC+12, Michael Anstis  wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">There is a cache of class meta-data extracted from the Project&#39;s classes and Project&#39;s dependencies.<div><br></div><div>The cache is cleared whenever a change to the pom.xml, kmodule.xml or Project .java file is detected.</div><div><br></div><div>Since you are only uploading a new JAR the Workbench is not detecting any changes and the cache is not cleared.</div><div><br></div><div>Try editing the pom.xml after uploading your new JAR (e.g. just change the Project Description and save).  </div></div><div><br><div class="gmail_quote">On 9 May 2016 at 10:09, Marius Lazar <span dir="ltr">&lt;<a rel="nofollow">marius...@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have uploaded a jar containing my data model to workbench through &quot;Artifact repository&quot; and set the version to &quot;1.0-SNAPSHOT&quot;. Then I added the jar as a dependency to my project and I have built some rules with it ( no need to add the jar to &quot;Config&quot; because the class inside jar is in the same package ). <br><br>Now I want to update the data model. After I generate a new jar with the new data model (added a new property) and upload it again through &quot;Artifact repository&quot;, I want to see the new field when I try to update a rule. ( I didn&#39;t add the jar to dependency list of the project again because the first time I have set the version to SNAPSHOT, so it should take the right one, and it does, but not the way I want it).<br><br>I don&#39;t see the new field added nor when I refresh the project or refresh the page ( CTRL+F5 ), but I do see the field if I close the running instance of Workbench + Server ( CTRL+C on command line ) and start it again. ( I use the workbench and server on the same PC and opened them with one command ).<br><br>I really need to do the refresh programmatically, without the need of restarting the running instance of workbench + server. Can you give me some guidance ?<span class="m_-6422459151985676337m_-220064890020156770m_-8542099325007711400HOEnZb"><font color="#888888"><span class="m_-6422459151985676337m_-220064890020156770m_-8542099325007711400m_-6486441494526636516HOEnZb"><font color="#888888"><span><font color="#888888"><br></font></span></font></span></font></span></div><span class="m_-6422459151985676337m_-220064890020156770m_-8542099325007711400HOEnZb"><font color="#888888"><span class="m_-6422459151985676337m_-220064890020156770m_-8542099325007711400m_-6486441494526636516HOEnZb"><font color="#888888"><span><font color="#888888">

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups &quot;Drools Usage&quot; group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a rel="nofollow">drools-usage...@googlegroups.c<wbr>om</a>.<br>
To post to this group, send email to <a rel="nofollow">drools...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/drools-usage/e88ec7e1-14b9-41d0-8864-8abbaf77a2e8%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank">https://groups.google.com/d/ms<wbr>gid/drools-usage/e88ec7e1-14b9<wbr>-41d0-8864-8abbaf77a2e8%40goog<wbr>legroups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank">https://groups.google.com/d/op<wbr>tout</a>.<br>
</font></span></font></span></font></span></blockquote></div><span class="m_-6422459151985676337m_-220064890020156770m_-8542099325007711400HOEnZb"><font color="#888888"><span class="m_-6422459151985676337m_-220064890020156770m_-8542099325007711400m_-6486441494526636516HOEnZb"><font color="#888888"><br></font></span></font></span></div>
</blockquote></div></div></blockquote></div><br></div>
</blockquote></div><br></div>
</blockquote></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>