[rules-users] drools-wb-6 / Guvnor on Tomcat 7 behind firewall

2013-08-09 Thread kappert
Hello! I have just tried to deploy drools-wb-6.0.0.Beta5-tomcat7.0.war on Tomcat 7 on a Windows 7 PC behind a corporate firewall. The application won't launch, and in Tomcat's localhost.2013-08-09.log I get the stack trace pasted below. I think this is the same problem already encountered with Be

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-14 Thread kappert
OK, I have just tried this out at home on a Windows 7 computer, without a (boring) corporate firewall. Result: *drools-wb-6.0.0.Beta3-tomcat7.0.war install fine on Tomcat 7 and works.* I can't think of anything else than a firewall problem. If this GitHub connection is required, probably a config

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-10 Thread kappert
> I'm on Linux (Ubuntu). You are a lucky man -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-6-0-0-Beta2-and-Beta3-on-Tomcat-7-should-problems-be-reported-tp4024142p4024233.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-10 Thread kappert
Thank you for your continued interest :-) I hope I did this right: a) stopped Tomcat b) cleaned up everything c) unzipped to Tomcat's bin directory, which gave me: C:\apache-tomcat-7.0.39\bin\.niogit C:\apache-tomcat-7.0.39\bin\.niogit\system.git C:\apache-tomcat-7.0.39\bin\.niogit\uf-pla

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-10 Thread kappert
OK, so I have repeated the test, Tomcat running with Admin privileges on Windows 7 and correct proxy settings. I get the same exception as in unprivileged mode (NoSuchElementException at java.util.ArrayList in JGitFileSystem). Please let me know if you can think of something else to try. Here is

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-07 Thread kappert
OK, I have successfully cloned the playground from behind the firewall. No credentials were needed for the proxy, just host and port. The following keywords lead me to believe that it is probably the creation of system.git that fails. My Tomcat runs on a Windows 7 machine. Are you working with Lin

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-07 Thread kappert
Thanks for following up on this. The exception happens already at deployment time, I have not even tried to access Guvnor in the browser. I suspect the problem stems from restrictive firewall rules. Just for surfing I do not need credentials, but maybe using GitHub is different. Specifying user/p

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-07 Thread kappert
Thank you for your encouragement :-) I made absolutely sure that no relicts are around, especially not .niogit (I searched files by modification date and verified all newer files). I then tried to deploy drools-wb-6.0.0.Beta3-tomcat7.0.war one more time, but got the same exception again (java.util

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-06 Thread kappert
Thanks a lot for your feedback, Mike! I /think/ I finally managed to pass on the proxy settings to the Guvnor application. I had tried with CATALINA_OPTS, but obviously (at least now) one must use JAVA_OPTS for this purpose. catalina.bat: set JAVA_OPTS="-Dhttp.useProxy=true -Dhttp.proxyHost=webpr

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-06 Thread kappert
You are right! I am using Tomcat 7 on Windows, simply unzipped, not installed. I had the following three subdirectories in Tomcat's bin directory: * .index .niogit repository * I have deleted these (but I can't do that in Jelastic...) and now things look better. But unfortunately I am behind

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-06 Thread kappert
Thanks for letting me know. Sorry, I did not realize that the name changed to *drools-wb-6.0.0.Beta3-tomcat7.0.war*. I have tried Beta3 on my PC with Tomcat 7. Now this is the first exception I get, the only thing I did was to log in: org.jboss.errai.bus.client.api.base.MessageDeliveryFailure: er

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-06 Thread kappert
Thank you for your reply! I have now tried on a local Tomcat 7 and have discovered the first exception, which may (or may not...) cause other problems. It occurs already when deploying Guvnor 6: 2013-06-06 11:11:58,246 [http-apr-8080-exec-3] ERROR Unable to encrypt org.jasypt.exceptions.Encryption

[rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-05 Thread kappert
I have deployed guvnor-6.0.0.Beta2-tomcat7.0.war on Tomcat 7 in Jelastic (a cloud provider). The guided rule editor does not come up and this is an exception I have found in catalina.out: org.jboss.errai.marshalling.client.api.exceptions.MarshallingException: class is not available to the marshal

Re: [rules-users] Dynamic refresh from Guvnor in Web Application

2013-01-10 Thread kappert
OK, got the file-based version (not from Guvnor) running. The problem was that the ResourceChangeScannerService must NOT be started. There is a problem when it tries to load the resource. But starting the ResourceChangeNotifierService ALONE works! See function below. /** * Creates a Sta

[rules-users] Dynamic refresh from Guvnor in Web Application

2013-01-09 Thread kappert
Version 5.5.0.Final (Guvnor and libraries) Tomcat 6 Goal: We would like to change rules on-the-fly in Guvnor so they become immediately effective in a web application running in Tomcat. The function below is used to connect go Guvnor. It works fine in a standalone Java program, but in the web app

Re: [rules-users] Guvnor only: NullPointerException AfterEvaluator.evaluateCachedRight

2013-01-08 Thread kappert
We were able to narrow it down a bit further: It is sufficient to remove this part of the rule to make the problem go away: *, this after[0, 2m] $tk1* In the meantime I have also used "New Declarative Model" to declare our events in Guvnor. Now the events are available in the guided rule edit

Re: [rules-users] Guvnor only: NullPointerException AfterEvaluator.evaluateCachedRight

2013-01-07 Thread kappert
Environment: Windows 7 PC with Java 1.7.0_09, Drools 5.5.0.Final. I have carefully cleaned up the POJO model loaded into the Guvnor: The model now has no external dependencies except for "org.drools..." and "java..." packages. Everything validates perfectly in Guvnor, but this did not solve the pr

[rules-users] Guvnor only: NullPointerException AfterEvaluator.evaluateCachedRight

2013-01-07 Thread kappert
Version 5.5.0.Final (Guvnor and libraries) We are seeing the NPE with the stack trace given below, but only when loading rules through Guvnor. Same rules file and code runs fine without Guvnor, but error with Guvnor. *With Guvnor:* KnowlegdeBase from KnowledgeAgent using changeset.xml, scanner ru