Help with Drools Workbench installation

995 views
Skip to first unread message

juvenal...@gmail.com

unread,
Oct 14, 2015, 7:22:38 PM10/14/15
to Drools Setup
Hello, Good evening.

I tried to setup the docker container Drools Workbench showcase
docker run -p 8080:8080 -d --name drools-wb-showcase jboss/drools-workbench-showcase:6.2.0.Final

My container is running in port 8080 as shown in the image below:


However when i hit the browser 127.0.0.1/drools-web/ i get 404 - Not Found,



Can you please help on this issue?
Thanks
Auto Generated Inline Image 1
Auto Generated Inline Image 2

Roger Martinez

unread,
Oct 15, 2015, 12:34:33 PM10/15/15
to Drools Setup
Hello!!

You are using the right run command arguments, so it's fine.

Please notice that the application takes about 1-2minutes to start (depending on the host resources), while starting, if you try to navigate to the drools-wb context path it returns a "404 Not found", as the context path is not still up. I have tested this behavior right now and I think that probably is the root of your problem :)  So please, run the container and give it some minutes.. then try again.

Another useful information, if still doesn't work for you, is to check the application logs by using:  docker logs <container_id>

So please, wait for the logs to appear some text as:

16:28:33,938 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: WildFly 8.1.0.Final "Kenny" started in 71495ms - Started 1072 of 1123 services (102 services are lazy, passive or on-demand)

It means the wildfly is completely up, Then try again, and if still does not work, please send us the logs to check the issue.

Thanks in advance!
Best regards,

Roger

Roger Martinez

unread,
Oct 15, 2015, 12:36:30 PM10/15/15
to Drools Setup
Oh sorry, I see right now that your container started 20minutes ago... so probably it's not just waiting a little bit for the application to be up.

Please send us the logs to see what's happening in your environment.

Thanks!


El jueves, 15 de octubre de 2015, 1:22:38 (UTC+2), juvenal...@gmail.com escribió:

Maciej Swiderski

unread,
Oct 15, 2015, 1:16:43 PM10/15/15
to drools...@googlegroups.com
are you sure that drools-web is the right context path? Check in server.log what was the registered context as maybe that’s the issue

Maciej
On 15 paź 2015, at 01:22, juvenal...@gmail.com wrote:

Hello, Good evening.

I tried to setup the docker container Drools Workbench showcase
docker run -p 8080:8080 -d --name drools-wb-showcase jboss/drools-workbench-showcase:6.2.0.Final

My container is running in port 8080 as shown in the image below:
<Auto Generated Inline Image 1.png>


However when i hit the browser 127.0.0.1/drools-web/ i get 404 - Not Found,

<Auto Generated Inline Image 2.png>


Can you please help on this issue?
Thanks

--
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/831482f7-97fa-44fc-8198-d4e992dd1ee5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Auto Generated Inline Image 1.png><Auto Generated Inline Image 2.png>

Roger Martinez

unread,
Oct 15, 2015, 1:23:24 PM10/15/15
to Drools Setup
Yes! As Maciej said, please use "drools-wb" as context path :)


El jueves, 15 de octubre de 2015, 1:22:38 (UTC+2), juvenal...@gmail.com escribió:

juvenal...@gmail.com

unread,
Oct 16, 2015, 10:04:45 AM10/16/15
to Drools Setup
Thanks for your answer Roger and Maciej,

I have double check and i can confirm i am hitting the correct context: localhost:8080/drools-wb

Please find attached the log file from the docker container

Thanks for you help, appreciate it
logfile.txt

Roger Martinez

unread,
Oct 16, 2015, 3:08:50 PM10/16/15
to Drools Setup
Hello!

It seems that your docker host does not have internet connection, or at list, cannot resolve the github.com doman address. 

The workbench requires internet connection during startup, as it works with some examples, etc that are on github, as far as I know... I think this behavior will be removed for future releases.

Please, try again with an active internet connection and give us feedback, if possible :)

Hope this helps!
Regards,

Roger

Roger Martinez

unread,
Oct 16, 2015, 3:11:37 PM10/16/15
to Drools Setup
In addittion, I think that you can disable the examples that requires internet connection using these system variables:

-Dorg.kie.demo=false and -Dorg.kie.example=false

Michael Anstis

unread,
Oct 16, 2015, 3:19:57 PM10/16/15
to drools...@googlegroups.com

There is a system property that can be set to disable attempts to install demos from the Internet (see Workbench documentation). Can this be set in the docker image?

--
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.

Roger Martinez

unread,
Oct 16, 2015, 3:52:12 PM10/16/15
to Drools Setup
Sure! You can run the container overriding the default command for the image. As the default command is this one, you can try to run the container adding these system properties as:

docker run -p 8080:8080 -t -i docker.io/jboss/drools-workbench-showcase:6.2.0.Final /opt/jboss/wildfly/bin/standalone.sh -b 0.0.0.0 -c standalone-full-drools.xml -Dorg.kie.demo=false -Dorg.kie.example=false

So same command and arguments as the default one, and just adding those two system properties.

I have tested locally and it works ;)

Please let us know your feedback!

Thanks!

Roger Martinez

unread,
Oct 16, 2015, 3:54:45 PM10/16/15
to Drools Setup
PS: You can change the "-t -i" arguments for the "-d" one, when running the container, if you want it as a daemon :)

juvenal...@gmail.com

unread,
Oct 19, 2015, 11:08:30 AM10/19/15
to Drools Setup
Thank you very much for your help,

I was able to run Drools Workbech!

Juve

Roger Martinez

unread,
Oct 19, 2015, 1:09:57 PM10/19/15
to Drools Setup
Glad to hear that :)

For the next image tag 6.3.0.Final, coming really soon, I have added a runtime environment variable for allowing the wb to work without internet connection in an easy way, so thanks for the feedback! ;)

Roger

Thabet Mohamed

unread,
Apr 5, 2018, 12:23:45 PM4/5/18
to Drools Setup
Hello, please i need your help! i have the same issue ;  i run the same command so the wildfly is running but  http://localhost:8080/drools-wb still doesn't work !!

Roger Martinez

unread,
Apr 5, 2018, 4:36:57 PM4/5/18
to Drools Setup
Hello,

which issue? what's the exception? Can you please share the log?

Roger

Thabet Mohamed

unread,
Apr 6, 2018, 5:26:36 AM4/6/18
to drools...@googlegroups.com
Hello and thank you for responding.
I used the link you provided in docker but when i try to access 127.0.0.1:8080/drools-wb i get authentification required interface 

To unsubscribe from this group and stop receiving emails from it, send an email to drools-setup+unsubscribe@googlegroups.com.

To post to this group, send email to drools...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Cordialement,

Mohamed THABET
Élève Ingénieur à ESPRIT
authentification.PNG
container.PNG

Roger Martinez

unread,
Apr 6, 2018, 3:58:34 PM4/6/18
to Drools Setup
The first error I see is on the login page, you should get an html with a nice login form, not sure why the browser shows the authentication popup, it doesn't make sense as the login page is not restricted (is public).

Anyway we need more information in order to figure out what's wrong here... only with the screenshots is quite difficult. So please, give a quick look at the docs and try to obtain the server logs, probably with the logs we can figure out what's the root issue

Thanks!
Reply all
Reply to author
Forward
0 new messages