This is true.

It looks like we don't handle errors thrown when attempting to set-up the default repositories.

Could you please raise a JIRA to prevent this issue from being lost (or submit a Pull Request with a fix).

Thanks,

Mike




On 15 May 2014 16:58, Sandjaja, Dominik <dominik.sandjaja@it-motive.de> wrote:

Hello,

 

many thanks for that information! I somehow never got that far down in the properties-page to notice.

 

Nevertheless I think that the startup should not fail completely, if the sample repositories cannot be downloaded. Shouldn’t a warning suffice?

 

Thank you!

 

Dominik

 

Von: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] Im Auftrag von Ioannis Christodoulou
Ge
sendet: Donnerstag, 15. Mai 2014 17:40
An: Rules Users List
Betreff: Re: [rules-users] Startup KIE Workbench without network connection

 

Hello,

you probably need to set: 

-Dorg.kie.demo=false and -Dorg.kie.example=false in your startup variables.

 

For example, using jboss, I have in standalone.conf file (used during jboss startup)

JAVA_OPTS="$JAVA_OPTS -Dorg.kie.demo=false -Dorg.kie.example=false

This will disable the demo and the example sources from the workbench.

 


Ευχαριστώ πολύ,
   Ιωάννης Χριστοδούλου

 

On Thu, May 15, 2014 at 6:27 PM, Sandjaja, Dominik <dominik.sandjaja@it-motive.de> wrote:

Hello,

 

I try to setup KIE Workbench (6.1.0.BetaX) on Tomcat 7 on a Windows 2012 Server without connection to the internet.

 

When starting up, the KIE-WB does not start up. I get the following errors in localhost.log (cut for better readability):

 

Mai 15, 2014 5:08:18 PM org.apache.catalina.core.StandardContext listenerStart

Schwerwiegend: Exception sending context initialized event to listener instance of class org.jboss.weld.environment.servlet.Listener

org.jboss.weld.exceptions.DeploymentException: Exception List with 1 exceptions:

[…]

Caused by: java.lang.RuntimeException: https://github.com/guvnorngtestuser1/guvnorng-playground.git: cannot open git-upload-pack

[…]

Caused by: java.net.ConnectException: Connection time out: github.com

 

This happens because the initial demo repository is downloaded – I do not want and need those repositories!

 

I could work around this by copying the TOMCAT_HOME/bin/.niogit directory to that server and have it start up then.

 

BUT: IMHO it is an inconvenience, maybe even a bug, that an internet connection is needed to set up the Drools KIE Workbench. How are we supposed to tell our infrastructure team that we need an open connection to “some website with code” to setup an editing system for internal knowledge …

Should I file a bug for that? Is there a way to deactivate the downloading of the initial demo repository? Could it somehow be delivered with the KIE-WB package?

 

Thanks

Dominik


…………………………………………………………………
mit freundlichen Grüßen / kind regards
Dominik Sandjaja
Fon: +49 (0) 203 60878 183
Fax: +49 (0) 203 60878 222
e-mail: dominik.sandjaja@it-motive.de

it-motive AG
Zum Walkmüller 6
47269 Duisburg
info@it-motive.de
http://www.it-motive.de
……………………………………………………………………
Vorsitzender des Aufsichtsrats: Dr.-Ing. Jürgen Sturm
Vorstand: Horst-Dieter Deelmann (Vors.), Matthias Heming, Christoph Tim Klose
HRB 9207, Amtsgericht Duisburg


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

 


…………………………………………………………………
mit freundlichen Grüßen / kind regards
Dominik Sandjaja
Fon: +49 (0) 203 60878 183
Fax: +49 (0) 203 60878 222
e-mail: dominik.sandjaja@it-motive.de

it-motive AG
Zum Walkmüller 6
47269 Duisburg
info@it-motive.de
http://www.it-motive.de
……………………………………………………………………
Vorsitzender des Aufsichtsrats: Dr.-Ing. Jürgen Sturm
Vorstand: Horst-Dieter Deelmann (Vors.), Matthias Heming, Christoph Tim Klose
HRB 9207, Amtsgericht Duisburg

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users