KIE Internal M2 Repository Access Denied
by marjan.sterjev
I have installed drools-wb-6.0.0.Final-tomcat7.0 on Tomcat 7.0 with all
default settings. The OS platform is windows 7.
I’m trying to access the internal KIE M2-Repository in order to dynamically
load (re-load with KieScanner) Kie Modules. The repository is defined in the
POM the following way:
<repository>
<id>kie-wb</id>
<url>http://kie-server:8080/drools-wb-6.0.0.Final-tomcat7.0/maven2/</url>
</repository>
The maven build fails with Unauthorized error:
Could not transfer artifact com.masterit.labs:my-model:pom:0.0.1-SNAPSHOT
from/to kie-wb
(http://kie-server:8080/drools-wb-6.0.0.Final-tomcat7.0/maven2): Not
authorized , ReasonPhrase:Unauthorized. -> [Help 1]
If I access the maven2 repository directly in the browser the error is:
java.io.FileNotFoundException: repositories\kie (Access is denied)
java.io.RandomAccessFile.open(Native Method)
java.io.RandomAccessFile.<init>(RandomAccessFile.java:216)
org.guvnor.m2repo.backend.server.FileDownloadServlet.serveResource(FileDownloadServlet.java:166)
org.guvnor.m2repo.backend.server.FileDownloadServlet.doGet(FileDownloadServlet.java:65)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
org.uberfire.security.server.UberFireSecurityFilter.doFilter(UberFireSecurityFilter.java:266)
However, manually I can always type the path to some M2 resource in the
browser and get the result. For example the URL below returns the required
artifact:
http://kie-server:8080/drools-wb-6.0.0.Final-tomcat7.0/maven2/com/interwo...
--
View this message in context: http://drools.46999.n3.nabble.com/KIE-Internal-M2-Repository-Access-Denie...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 3 months
Drools 6.0.0 Final - execution rules with process flow
by vince
I have started taking a look at the 6.0.0 Final and I imported and executed
the Drools Hello World sample process project. So far so good.
Then I wanted to execute a rule from the ruleflow. To test that scenario I
replaced the script task with a businss rule task and created the
ruleflow-group property in the ruleflow node and in the rule I want to fire
(which just print a text message, no objects are involved).But this is not
working.
I noticed that the starting actions of the package are executed but not the
final ones, but I am not able to explain why.
What am I missing here? Is there an example where I can compare the code?
Thanks.
--
View this message in context: http://drools.46999.n3.nabble.com/Drools-6-0-0-Final-execution-rules-with...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 3 months
dzone cheat sheets
by Mark Proctor
Anyone in the community want to help create and publish a new set of cheat sheets, for the 6.0 stuff?
Mark
12 years, 3 months
[Optaplanner] Scheduling + VRP
by Mats Norén
Hi,
I'm looking for an example that does both scheduling and vrp.
I have workers with certain skills and I have goods (which require a particular skill set) to be delivered or picked up within certain time windows.
Each worker work in a team.
The team should if possible be assigned to the same delivery/pickup.
The workers work in shifts and by law has to have breaks etc.
I want to create a schedule that assigns workers/teams to deliveries/pickups and stay within the time windows as well as optimizing the distance travelled.
I thought about the nurse rostering example together with cvrptw but the nurse rostering uses shifts (day, night).
Do I have to do it in two steps? First VRP and then try to assign the workers?
The only hard facts are the workers worktime and the goods delivery/pickup time.
Any suggestions?
Best regards,
Mats
12 years, 3 months
6.0 Architecture cheat Sheets
by Mark Proctor
I sketched up this over the weekend, as a sort of architectural cheat sheet. Hope it helps clarifies some things around GIT and Maven.
Mark
12 years, 3 months