<p dir="ltr">Have you add the workbench maven repository to your web-app's pom and the project you've compiled in the workbench as a decency? </p>
<p dir="ltr">Have you disabled security for the maven repository or have you configured maven preemptive authentication in settings.xml? </p>
<p dir="ltr">There were a number of emails last week with exactly the same question - and solutions given.</p>
<p dir="ltr">Sent on the move</p>
<div class="gmail_quote">On 11 Dec 2013 05:24, "vimalkansal" <<a href="mailto:vimalkansal@yahoo.com">vimalkansal@yahoo.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I have an instance of Kie-WB running and I have started it with property<br>
"org.guvnor.m2repo.dir" set to some non default location (i.e not in<br>
/../home/.2). I am able to use the KIE WB to "build and deploy" the project<br>
to this repository. Then I have built a web application ( I have declared<br>
the dependency on org.kie/kie-ci module and I have verified that this jar is<br>
getting packaged under WEB-INF/lib folder of my .war file). So with this<br>
setup, when I have a code like this in my web application :<br>
<br>
KieServices ks = KieServices.Factory.get();<br>
KieContainer kContainer = null;<br>
*kContainer = ks.newKieContainer(ks.newReleaseId("com.xyz", "HelloWorld",<br>
"1.0.0-SNAPSHOT"));*<br>
<br>
it seems to wait inordinately long at the highlighted line and then throws<br>
up an exception to the telling can't get the default Kie Session. My<br>
question :<br>
<br>
Do I have to tell the web application about the location of the maven<br>
repo? if yes how?<br>
<br>
Thx<br>
<br>
Vimal<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Drools6-Having-trouble-in-using-kie-ci-tp4027208.html" target="_blank">http://drools.46999.n3.nabble.com/Drools6-Having-trouble-in-using-kie-ci-tp4027208.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<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><br>
</blockquote></div>