'Using the InMemoryWorklist' in chapter 11

View: New views
3 Messages — Rating Filter:   Alert me  

'Using the InMemoryWorklist' in chapter 11

by jamesplug :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

I have tried the last example on 'Using the InMemoryWorklist' in
 chapter 11.
It is giving the following exception:

wla.countWorkItems() : 0
wlb.countWorkItems() : 0
Exception in thread "main" openwfe.org.worklist.store.StoreException:
 There
is no store named 'a' here.
        at
openwfe.org.worklist.impl.store.InMemoryWorkItemStorage.getStore(InMemoryWorkItemStorage.java:
116)
        at
openwfe.org.worklist.impl.store.InMemoryWorkItemStorage.listWorkItems(InMemoryWorkItemStorage.java:
199)
        at
openwfe.org.embed.impl.worklist.AbstractWorklist.iterator(AbstractWorklist.java:
222)
        at welo.workflow.openwfe.TestWorkList.main(TestWorkList.java:59)


Any advise?

Regards,
James

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "OpenWFE users" group.
To post to this group, send email to openwfe-users@...
To unsubscribe from this group, send email to openwfe-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/openwfe-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: 'Using the InMemoryWorklist' in chapter 11

by John Mettraux :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Feb 9, 2008 10:44 PM, jamesyong <snowmedal@...> wrote:

>
> Hi,
>
> I have tried the last example on 'Using the InMemoryWorklist' in
>  chapter 11.
> It is giving the following exception:
>
> wla.countWorkItems() : 0
> wlb.countWorkItems() : 0
> Exception in thread "main" openwfe.org.worklist.store.StoreException:
>  There
> is no store named 'a' here.
>         at
> openwfe.org.worklist.impl.store.InMemoryWorkItemStorage.getStore(InMemoryWorkItemStorage.java:
> 116)

Hello,

I've just run openwfe-embed/test.sh wich points to
openwfe-embed/src/main/java/openwfe/org/embed/tst/TestWorklist.java
which is very similar to the test in chapter 11 and it works fine
(Trunk 1.7.3-SNAPSHOT).

What version are you using ? On which platform ?


Please note that the development of OpenWFE has switched from Java to
Ruby. The focus is now at http://openwferu.rubyforge.org


Best regards,

--
John Mettraux   -///-   http://jmettraux.openwfe.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "OpenWFE users" group.
To post to this group, send email to openwfe-users@...
To unsubscribe from this group, send email to openwfe-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/openwfe-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: 'Using the InMemoryWorklist' in chapter 11

by jamesplug :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi John,


Thanks for the reply.

I was using the code found in http://www.openwfe.org/manual/ch11s05.html

It works after I changed from engine.launch(li, true); to
engine.launch(li, false);

Best Regards,
James


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "OpenWFE users" group.
To post to this group, send email to openwfe-users@...
To unsubscribe from this group, send email to openwfe-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/openwfe-users?hl=en
-~----------~----~----~----~------~----~------~--~---

LightInTheBox - Buy quality products at wholesale price