ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | jawe List | August 2004 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [jawe] Crash


Hi,

try to switch JaWE validation OFF (File->Configuration->General). Then, you 
should be able to load document. Otherwise, JaWE crashes
because xerces can't validate document (it is not completely XPDL1.0 
compatible because of

<!DOCTYPE Package PUBLIC "-//WfMC//DTD XPDL 0.03//EN"
                         "http://www.wfmc.org/standards/docs/xpdl.dtd>

After you load document in JaWE, save it, and than you can turn validation ON 
again, and you will not have problems with reading
this new document.

Regards,
Sasa.

----- Original Message -----
From: <news@xxxxxxxxxx>
To: <jawe@xxxxxxxxxxxxx>
Sent: Friday, August 20, 2004 2:28 PM
Subject: [jawe] Crash


> Hello,
> when I try to open the following XPDL, an example from WfmOpen, JaWe seems
> to get stuck. It keeps on calculating (I stopped after 15 minutes) and 
> nothing happens anymore.
> Does anyone have an idea why?
> Greetings
> Marc Johnen
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <!DOCTYPE Package PUBLIC "-//WfMC//DTD XPDL 0.03//EN"
>                          "http://www.wfmc.org/standards/docs/xpdl.dtd";>
>
> <Package xmlns:xpdl="http://www.wfmc.org/standards/docs/xpdl"; 
> Id="SalesOrderProcessing">
>   <PackageHeader>
>     <XPDLVersion>0.03</XPDLVersion>
>     <Vendor>Danet GmbH</Vendor>
>     <Created>Wed Jul 15 12:00:00 CEST 2001</Created>
>     <Description>Example 4.2.3 from the document TC00-1016-X (Draft 7.01)
>     </Description>
>   </PackageHeader>
>
>   <Applications>
>     <Application Id="CHECK_CREDIT">
>     </Application>
>     <Application Id="Customer_Service_Request">
>     </Application>
>     <Application Id="PRODUCE_WIDGETS">
>     </Application>
>   </Applications>
>
>   <WorkflowProcesses>
>     <WorkflowProcess Id="SalesOrderProcessing" Name="Sales Order 
> Processing">
>       <ProcessHeader/>
>       <Activities>
>
> <Activity Id="RECEIVE_ORDER" Name="RECEIVE_ORDER">
>   <Description>In the mailroom. When sales order comes in, send copies to 
> Sales, Finance, anf Mfg.
>   </Description>
>   <Implementation>
>     <No/>
>   </Implementation>
>   <TransitionRestrictions>
>     <TransitionRestriction>
>       <Split Type="AND"/>
>     </TransitionRestriction>
>   </TransitionRestrictions>
> </Activity>
>
> <Activity Id="NOTIFY_SALES" Name="NOTIFY_SALES">
>   <Description>Track sale, keep customer happy
>   </Description>
>   <Implementation>
>     <No/>
>   </Implementation>
> </Activity>
>
> <Activity Id="CHECK_FINANCES" Name="CHECK_FINANCES">
>   <Description>Credit-checking process
>   </Description>
>   <Implementation>
>     <Tool Id="CHECK_CREDIT" Type="APPLICATION" />
>   </Implementation>
>   <TransitionRestrictions>
>     <TransitionRestriction>
>       <Split Type="XOR">
> <TransitionRefs>
>   <TransitionRef Id="T_5"/>
>   <TransitionRef Id="T_4"/>
> </TransitionRefs>
> </Split>
>     </TransitionRestriction>
>   </TransitionRestrictions>
> </Activity>
>
> <Activity Id="CHECK_STOCK" Name="CHECK_STOCK">
>   <Description>First step in manufacturing
>   </Description>
>   <Implementation>
>     <No/>
>   </Implementation>
> </Activity>
>
> <Activity Id="DECLINE_ORDER" Name="DECLINE_ORDER">
>   <Description>Tell customer they haven't credit for order
>   </Description>
>   <Implementation>
>     <No/>
>   </Implementation>
> </Activity>
>
> <Activity Id="CHECK_DECLINED" Name="CHECK_DECLINED">
>   <Description>Tell customer they haven't credit for order
>   </Description>
>   <Implementation>
>     <No/>
>   </Implementation>
> </Activity>
>
> <Activity Id="R1" Name="R1">
>   <Description>Proceeed as credit permits
>   </Description>
>   <Route/>
>   <TransitionRestrictions>
>     <TransitionRestriction>
>       <Join Type="XOR"/>
>     </TransitionRestriction>
>   </TransitionRestrictions>
> </Activity>
>
> <Activity Id="R2" Name="R2">
>   <Description>Wait for both stock to be checked and order released before 
> shipping and production
>   </Description>
>   <Route/>
>   <TransitionRestrictions>
>     <TransitionRestriction>
>       <Join Type="AND"/>
>       <Split Type="XOR">
> <TransitionRefs>
>   <TransitionRef Id="T_10"/>
>   <TransitionRef Id="T_11"/>
>   <TransitionRef Id="T_12"/>
> </TransitionRefs>
> </Split>
>     </TransitionRestriction>
>   </TransitionRestrictions>
> </Activity>
>
> <Activity Id="R3" Name="R3">
>   <Description>For partitial shpiments, check with customer and plan 
> production in parallel
>   </Description>
>   <Route/>
>   <TransitionRestrictions>
>     <TransitionRestriction>
>       <Split Type="AND"/>
>     </TransitionRestriction>
>   </TransitionRestrictions>
> </Activity>
>
> <Activity Id="CHECK_PART_SHIP" Name="CHECK_PART_SHIP">
>   <Description>Ask customer if OK to partial-ship (24 hrs)
>   </Description>
>   <Implementation>
>     <Tool Id="Customer_Service_Request" Type="APPLICATION" />
>   </Implementation>
>   <TransitionRestrictions>
>     <TransitionRestriction>
>       <Split Type="XOR">
> <TransitionRefs>
>   <TransitionRef Id="T_15"/>
>   <TransitionRef Id="T_16"/>
> </TransitionRefs>
> </Split>
>     </TransitionRestriction>
>   </TransitionRestrictions>
> </Activity>
>
> <Activity Id="PLAN_PART_PRODUCTION" Name="PLAN_PART_PRODUCTION">
>   <Description>Make plan assuming OK to partial-ship
>   </Description>
>   <Implementation>
>     <No/>
>   </Implementation>
> </Activity>
>
> <Activity Id="R4" Name="R4">
>   <Description>For partial shipments, partial shipment and production in 
> parallel
>   </Description>
>   <Route/>
>   <TransitionRestrictions>
>     <TransitionRestriction>
>       <Split Type="AND"/>
>     </TransitionRestriction>
>   </TransitionRestrictions>
> </Activity>
>
> <Activity Id="R5" Name="R5">
>   <Description>For partial production, wait until check with customer
>   </Description>
>   <Route/>
>   <TransitionRestrictions>
>     <TransitionRestriction>
>       <Join Type="AND"/>
>     </TransitionRestriction>
>   </TransitionRestrictions>
> </Activity>
>
> <Activity Id="PLAN_FULL_PRODUCTION" Name="PLAN_FULL_PRODUCTION">
>   <Description>Either out-of-stock condition or rejection of partitial ship 
> can start full-order planning. Make plan to produce
entire order.
>   </Description>
>   <Implementation>
>     <No/>
>   </Implementation>
>   <TransitionRestrictions>
>     <TransitionRestriction>
>       <Join Type="XOR"/>
>     </TransitionRestriction>
>   </TransitionRestrictions>
> </Activity>
>
> <Activity Id="PRODUCE" Name="PRODUCE">
>   <Description>Assemble parts, execute plan
>   </Description>
>   <Implementation>
>     <Tool Id="PRODUCE_WIDGETS" Type="APPLICATION" />
>   </Implementation>
>   <TransitionRestrictions>
>     <TransitionRestriction>
>       <Join Type="XOR"/>
>     </TransitionRestriction>
>   </TransitionRestrictions>
> </Activity>
>
> <Activity Id="SHIP" Name="SHIP">
>   <Description>Ship from stock or production
>   </Description>
>   <Implementation>
>     <No/>
>   </Implementation>
>   <TransitionRestrictions>
>     <TransitionRestriction>
>       <Join Type="XOR"/>
>     </TransitionRestriction>
>   </TransitionRestrictions>
> </Activity>
>
> <Activity Id="NOTIFY_FINANCE_ET_AL" Name="NOTIFY_FINANCE_ET_AL">
>   <Description>Notify Finance on shipping. Sales and CS on order fulfilment
>   </Description>
>   <Implementation>
>     <No/>
>   </Implementation>
> </Activity>
>
> <Activity Id="RECEIVED_IN_GOOD_CONDITION" Name="RECEIVED_IN_GOOD_CONDITION">
>   <Description>Notify Finance on shipping, Sales and CS on order fulfilment
>   </Description>
>   <Implementation>
>     <No/>
>   </Implementation>
> </Activity>
>
>       </Activities>
>
>       <Transitions>
> <Transition Id="T_1" From="RECEIVE_ORDER" To="NOTIFY_SALES">
> </Transition>
> <Transition Id="T_2" From="RECEIVE_ORDER" To="CHECK_FINANCES">
> </Transition>
> <Transition Id="T_3" From="RECEIVE_ORDER" To="CHECK_STOCK">
> </Transition>
> <Transition Id="T_4" From="CHECK_FINANCES" To="R1">
>   <Condition Type="OTHERWISE"/>
>   <Description>Finance did OK the customer's credit
>   </Description>
> </Transition>
> <Transition Id="T_5" From="CHECK_FINANCES" To="DECLINE_ORDER">
>   <Condition Type="CONDITION">CreditStatus = "NOT OK"
>   </Condition>
>   <Description>Finance did not OK the customer's credit
>   </Description>
> </Transition>
> <Transition Id="T_6" From="DECLINE_ORDER" To="CHECK_DECLINED">
> </Transition>
> <Transition Id="T_7" From="CHECK_DECLINED" To="R1">
> </Transition>
> <Transition Id="T_8" From="R1" To="R2">
>   <Description>Sales order released, allow full or partial shipment to 
> proceed
>   </Description>
> </Transition>
> <Transition Id="T_9" From="CHECK_STOCK" To="R2">
> </Transition>
> <Transition Id="T_10" From="R2" To="SHIP">
>   <Condition Type="CONDITION">StockedStatus = "All"
>   </Condition>
>   <Description>Ordered items all in stock
>   </Description>
> </Transition>
> <Transition Id="T_11" From="R2" To="R3">
>   <Condition Type="CONDITION">StockedStatus = "Partial"
>   </Condition>
>   <Description>Ordered items partly in stock
>   </Description>
> </Transition>
> <Transition Id="T_12" From="R2" To="PLAN_FULL_PRODUCTION">
>   <Condition Type="OTHERWISE"/>
>   <Description>Ordered items not in stock
>   </Description>
> </Transition>
> <Transition Id="T_13" From="R3" To="CHECK_PART_SHIP">
>   <Description>After wait for both stock to be checked and order released 
> ask customer about partial ship
>   </Description>
> </Transition>
> <Transition Id="T_14" From="R3" To="PLAN_PART_PRODUCTION">
> </Transition>
> <Transition Id="T_15" From="CHECK_PART_SHIP" To="R4">
>   <Condition Type="CONDITION">PartialShipStatus = "OK"
>   </Condition>
>   <Description>Partial ship is approved
>   </Description>
> </Transition>
> <Transition Id="T_16" From="CHECK_PART_SHIP" To="PLAN_FULL_PRODUCTION">
>   <Condition Type="OTHERWISE"/>
>   <Description>Partial ship is not approved
>   </Description>
> </Transition>
> <Transition Id="T_17" From="PLAN_PART_PRODUCTION" To="R5">
> </Transition>
> <Transition Id="T_18" From="PLAN_FULL_PRODUCTION" To="PRODUCE">
> </Transition>
> <Transition Id="T_19" From="R4" To="SHIP">
> </Transition>
> <Transition Id="T_20" From="R4" To="R5">
> </Transition>
> <Transition Id="T_21" From="R5" To="PRODUCE">
> </Transition>
> <Transition Id="T_22" From="PRODUCE" To="SHIP">
> </Transition>
> <Transition Id="T_23" From="SHIP" To="NOTIFY_FINANCE_ET_AL">
>   <Description>After shipping, always notify other departments
>   </Description>
> </Transition>
> <Transition Id="T_24" From="NOTIFY_FINANCE_ET_AL" 
> To="RECEIVED_IN_GOOD_CONDITION">
>   <Description>Customer Service is to be checked good receipt of partial 
> and full shipping
>   </Description>
> </Transition>
>       </Transitions>
>     </WorkflowProcess>
>   </WorkflowProcesses>
> </Package>
>
>


--------------------------------------------------------------------------------


>
> --
> You receive this message as a subscriber of the jawe@xxxxxxxxxxxxx mailing 
> list.
> To unsubscribe: mailto:jawe-unsubscribe@xxxxxxxxxxxxx
> For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>




<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.