You may want to back up your old data first then clean up the repository
storage directory (the default location in JBOSS AS is /bin/repository
directory and repository.xml). Then restart your guvnor and import data
back. Let me know if this doesn't solve the problem. The snanpshot
version can be unstable sometimes.
Cheers,
Jervis
The specific error message I was getting is:
"Unable to save this asset, as it has been recently updated by [admin]"
-----Original Message-----
From: rules-users-bounces(a)lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On
Behalf Of Dean Whisnant
Sent: Monday, January 10, 2011 3:36 PM
To: Rules Users List
Subject: Re: [rules-users] Using GlobalArea in Guvnor
As a follow-on to this question, will anything need to be done with the current
repository if I grabbed a more current drools-guvnor.war file from the snapshot?
I downloaded
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/t...
and replaced my old war file (5.1). Everything comes up, but when I tried to import a new
POJO into a new package it wouldn't allow me to save.
Could this be an artifact that I need to reset (convert) the repository? Or is it
because I didn't unpack the war file and reset the security to what I had it as
before?
Thanks
Dean
-----Original Message-----
From: rules-users-bounces(a)lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On
Behalf Of Jervis Liu
Sent: Thursday, December 16, 2010 9:29 PM
To: Rules Users List
Subject: Re: [rules-users] Using GlobalArea in Guvnor
On 2010/12/17 0:41, Dean Whisnant wrote:
> Jervis,
>
> I see that it looks like you worked on and resolved this in drools-5.2.M1 this
morning.
>
> This is a noob question, but when or how can I get my hands on this fix? It's
funny because I ran into this same issue today while trying to do something similar to
John.
>
>
You can grab the latest snapshot from this place:
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/t...
Or you can wait for Drools 5.2.M1. It should come out next week if things go well.
Cheers,
Jervis
> Thanks
>
> Dean
>
> -----Original Message-----
> From: rules-users-bounces(a)lists.jboss.org
> [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Jervis Liu
> Sent: Wednesday, December 15, 2010 8:30 AM
> To: rules-users(a)lists.jboss.org
> Subject: Re: [rules-users] Using GlobalArea in Guvnor
>
> This is a bug. I've filed jira
>
https://issues.jboss.org/browse/GUVNOR-1124. I will take a look into this jira next
week.
>
> Thanks,
> Jervis
>
> On 2010/12/15 2:24, John Peterson wrote:
>
>>> I'm working with Guvnor 5.1.1 and I'm having an issue accessing
>>>
>>>> Declarative Models defined in the Global Area in the Packages. Is
>>>> it possible to create a shared model in the Global Area and then
>>>> write rules against them in other packages? It would seem to me
>>>> that the answer would be yes (why else have a "Global" area),
but,
>>>> for some reason, it doesn't seem to recognize them.
>>>>
>>>> Here's a scenario:
>>>>
>>>> I declare a DeclarativeModel in GlobalArea:
>>>>
>>>> GenericFact
>>>> id: Integer
>>>> valueOne: Integer
>>>> label: String
>>>> end
>>>>
>>>> I have a package called com.experiment. I'd like to write Business
>>>>
>> Rule
>>
>>>> in it using that GenericFact. However, when I click the "+"
sign
>>>> to
>>>>
>> add
>>
>>>> a Fact, I see a yellow background over "Note: No model has been
>>>> defined." Is there something that needs to be done to make the
>>>> GlobalArea stuff viewable from the individual packages?
>>>>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users