Re: [rules-users] Uploading models to Guvnor

2010-07-26 Thread Zhuk, Yefim
Unable to validate package configuration

This message after uploading a jar file in Guvnor often means that the classes 
in the jar depend on some library that is not included.

It's hard to say precisely without the jar, but check this possibility (check 
imports)
I'd recommend to upload a jar with just one-two classes with no extra 
dependences.

Hope this helps,

Jeff
-Original Message-
From: rules-users-boun...@lists.jboss.org 
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of 
rules-users-requ...@lists.jboss.org
Sent: Sunday, July 25, 2010 7:43 PM
To: rules-users@lists.jboss.org
Subject: rules-users Digest, Vol 44, Issue 109

Send rules-users mailing list submissions to
rules-users@lists.jboss.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.jboss.org/mailman/listinfo/rules-users
or, via email, send a message with subject or body 'help' to
rules-users-requ...@lists.jboss.org

You can reach the person managing the list at
rules-users-ow...@lists.jboss.org

When replying, please edit your Subject line so it is more specific
than Re: Contents of rules-users digest...


Today's Topics:

   1. Re: Uploading models to Guvnor (james corrigan)
   2. Re: RuleAgents and containers (Pavel Tavoda)
   3. Re: Uploading models to Guvnor (Esteban Aliverti)
   4. Re: Uploading models to Guvnor (james corrigan)


--

Message: 1
Date: Sun, 25 Jul 2010 20:37:23 +0100
From: james corrigan jamescor...@gmail.com
Subject: Re: [rules-users] Uploading models to Guvnor
To: Rules Users List rules-users@lists.jboss.org
Message-ID:
aanlktik8gtw+uddxupyqjvsmpwsks+32bxnawpc16...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1

Hi Mark, Esteban,

I recreated the jar and it does contain class files with no manifest file.
It has four classes: Temperature, Room, ServerGUI and Fan - i have included
it. The four appear in Imported types of the package main menu but i still
get the same error when i try to save and validate configuration.

Kind regards,
James.

2010/7/24 Mark Proctor mproc...@codehaus.org

 normally this means someone uploaded a .jar of .java files, not .class. You
 need to compile the .java files in the .jar.

 Mark

 On 24/07/2010 22:56, Esteban Aliverti wrote:

 Could you please post your jar here?

 El jul 24, 2010 4:24 p.m., james corrigan jamescor...@gmail.com
 escribi?:

 Hi All,
 I am having severe amount of trouble trying to get started in Guvnor, i
 cannot load any jar files at all - i can upload them but not use them when i
 try write a guided rule it tells me that no models are loaded even though
 Guvnor is telling me its there.
 I create a new package, then upload my jar file, then i add a category and
 try to save but get the following
 error:

   Unable to validate package configuration (eg, DSLs, models) for
 [Drols]. Suggestion completions may not operate correctly for graphical
 editors for this package.

 I am running out of time plus patience trying to get this to work, i have
 been following the book: JBoss Drools Business Rules, and the online
 documentation but to no avail.

 Any help is much appreciated.

 Kind regards,
 James.

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


 ___
 rules-users mailing 
 listrules-us...@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users



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


-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.jboss.org/pipermail/rules-users/attachments/20100725/63a55271/attachment-0001.html
 
-- next part --
A non-text attachment was scrubbed...
Name: James.jar
Type: application/java-archive
Size: 4868 bytes
Desc: not available
Url : 
http://lists.jboss.org/pipermail/rules-users/attachments/20100725/63a55271/attachment-0001.bin
 

--

Message: 2
Date: Sun, 25 Jul 2010 21:57:14 +0200
From: Pavel Tavoda pavel.tav...@gmail.com
Subject: Re: [rules-users] RuleAgents and containers
To: Rules Users List rules-users@lists.jboss.org
Message-ID:
aanlktim90rd8b7abqqlyvuwve_0grmiswjrrjdwkl...@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-1

In default setup of many servers (which I know) and java has no
prohibited reading of files outside ear. You can read changeset and
rule files from specific directory e.g. (/etc/rules/...). Or you can
use user.home property. We are using it without problems.
However you can use other mechanisms which are more appropriate for
your setup. For example for clustered environment and better
management I will store rules to database or you can use Guvnor.

Regards


[rules-users] direct access to guvnor servlet without login

2010-07-01 Thread Zhuk, Yefim
Hello everyone!

I saw several threads related to this or a similar question: 
- how to directly access the Guvnor securityService servlet without the login 
window.
In the single sign-on scenario it is desirable to pass user credentials 
directly.

What is the URL to pass the credentials?
I provide below the example, but this example does not work
/drools-guvnor/org.drools.guvnor.Guvnor/securityService?username=[]password=[]

GWT and SEAM frameworks are good in hiding the URL.

Did anyone do this? What is the URL?

Thank you for sharing!

Jeff

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


[rules-users] Login Names for drools-5.0-guvnor installed on Tomcat 6

2010-05-27 Thread Zhuk, Yefim
My question is related to Login Names for drools-5.0-guvnor installed on Tomcat 
6.



A Guvnor tutorial offers an example for JBoss AS on how to provide user 
name/password.



Can you provide a similar example for the Tomcat 6 case? How to config 2-3 
names for the

admin role?



I hope that the question is easy for someone who is already working in this 
environment.



Thank you so much for your help,



Jeff

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