Can't add any project to Drools Workbench

371 views
Skip to first unread message

Antispam Antispam

unread,
Jan 24, 2019, 9:46:21 AM1/24/19
to Drools Setup
Hi, i'm trying to use Drools Workbench, but have an issue - can't add any project with an error "Caused by: org.apache.maven.model.building.ModelBuildingException: 1 problem was encountered while building the effective model" at the page. Log in terminal looks more informative (see attachment).

So,
1) I use WildFly 14.0.1 as server
2) use kie-server.war and kie-wb.war as application (i don't know what we need kie-server)

I install entire manually, but checking with Docker-files (https://github.com/jboss-dockerfiles/drools). 
Have an error like i need to install maven. But try to solve my problem, i read this. There're an idea, that's i need no maven, only settings.xml. Download it from https://github.com/jboss-dockerfiles/drools/blob/master/kie-server/showcase/etc/settings.xml and run ./wildfly/bin/standalone.sh --server-config=standalone-full.xml -Dorg.kie.server.id=wildfly-kieserver -Dorg.kie.server.location=http://localhost:8080/kie-server/services/rest/server -Dorg.kie.server.controller=http://localhost:8080/kie-wb/rest/controller -Dorg.appformer.m2repo.url=http://localhost:8080/kie-wb/maven2 -Dkie.kie.maven.settings.custom=/opt/jboss/.m2/settings.xml
But issue still here - i can't add project.

What's up? Wha't wrong? How to fix it? Please, help me.
full_log.txt

Antispam Antispam

unread,
Jan 24, 2019, 9:56:46 AM1/24/19
to Drools Setup
https://issues.jboss.org/browse/JBPM-8027
It looks like my problem.

четверг, 24 января 2019 г., 17:46:21 UTC+3 пользователь Antispam Antispam написал:

Alex Porcelli

unread,
Jan 25, 2019, 7:56:57 AM1/25/19
to drools...@googlegroups.com
For a quick getting started experience, you can try the single zip
distro: https://download.jboss.org/jbpm/release/7.16.0.Final/jbpm-server-7.16.0.Final-dist.zip
Regards,
___________________
Alexandre Porcelli
F: +1 (978) 844-8695
http://porcelli.me
> --
> You received this message because you are subscribed to the Google Groups "Drools Setup" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to drools-setup...@googlegroups.com.
> To post to this group, send email to drools...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/drools-setup/ba53918a-31f5-4e01-806e-1f07f0549f83%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Antispam Antispam

unread,
Jan 28, 2019, 3:00:30 AM1/28/19
to Drools Setup
Thanks.

Your dist looks strange: it deploys without any issues (even on Windows, i can't did it before), but i can't login into business-central - Login failed: Not Authorized. Of course, i added application user, and managment user. M-user works correctly - localhost:9990 autorithed, but Drools can't auth by any user.

пятница, 25 января 2019 г., 15:56:57 UTC+3 пользователь Alex Porcelli написал:

Antispam Antispam

unread,
Jan 28, 2019, 3:59:18 AM1/28/19
to Drools Setup
That's lol. I can't add any user, so i loop up any user-file, and find one - jbpm-server-7.16.0.Final-dist\standalone\configuration\users.properties. This file contains (user,pass) tuples. I use "jack/jack" and auth successfully. But can't add any project - button unavailable.

понедельник, 28 января 2019 г., 11:00:30 UTC+3 пользователь Antispam Antispam написал:

Antispam Antispam

unread,
Jan 28, 2019, 4:16:07 AM1/28/19
to Drools Setup
Well done, i downloaded it, unpacked, ran (fought with adding users and authorization) and now i open project page, press the button "add project", set name, press "Create"... And... Got the same error.
But it was Windows console, so it wrote me anything else:
12:01:04,745 INFO  [org.apache.http.impl.client.DefaultHttpClient] (default task-10) Retrying connect to {s}->https://repo.maven.apache.org:443
12:01:05,767 INFO  [org.apache.http.impl.client.DefaultHttpClient] (default task-10) I/O exception (java.net.SocketException) caught when connecting to {s}->https://repo.maven.apache.org:443: Permission denied: connect

Look at it: try to connest to maven-repo, but (admin set firewall proxy not to go anywhere from closed circuit) have no access. And it's breaks.
So... Why?! Why must i use maven - for what? And how to avoid it (imagine, i have no web at all) and use locally?

пятница, 25 января 2019 г., 15:56:57 UTC+3 пользователь Alex Porcelli написал:
For a quick getting started experience, you can try the single zip

Alex Porcelli

unread,
Jan 28, 2019, 9:25:39 AM1/28/19
to drools...@googlegroups.com
The core engines (Drools, jBPM, Optaplanner) all are based on kjar,
that itself is a `jar` with some extra bits to have the knowledge
artifacts (business process, business rules, etc). The whole
distribution architecture of jar/kjar of our core engines rely on
Maven and requires maven infrastructure (ie. pom.xml for projects,
settings.xml for environment config and Nexus proxy for maven
central). Business Central is no different, so it requires external
maven central access or a local proxy of it.

With that said, in order to improve the getting started (it's not a
production environment recommendation) we introduce an `offline`
environment variable flag, that you can use BC offline:

kie.maven.offline.force=true

Regards,
___________________
Alexandre Porcelli
F: +1 (978) 844-8695
http://porcelli.me

> To view this discussion on the web visit https://groups.google.com/d/msgid/drools-setup/d852c2dd-ee0a-4392-897c-75f3aa321c59%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages