ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | shark List | May 2005 Index

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

Re: [shark] resourcerequester exception [nevermind]


nevermind - sorry.  I was holding onto a shark connection before I
reinitted everything.  There is no problem.

On 5/28/05, Ben Anderson <benanderson.us@xxxxxxxxx> wrote:
> Hi,
> any ideas about this one?
> 
> org.apache.cocoon.ProcessingException: Error executing pipeline.:
> java.lang.RuntimeException:
> org.enhydra.shark.api.client.wfbase.BaseException: ORA-02291:
> integrity constraint (SHARK.PROCESSREQUESTERS_RESOUR2) violated -
> parent key not found
> 
> Here's my xpdl:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <Package xmlns="http://www.wfmc.org/2002/XPDL1.0";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; Id="realnet"
> xsi:schemaLocation="http://www.wfmc.org/2002/XPDL1.0
> http://wfmc.org/standards/docs/TC-1025_schema_10_xpdl.xsd";>
>   <PackageHeader>
>     <XPDLVersion>1.0</XPDLVersion>
>     <Vendor>Together</Vendor>
>     <Created>2005-05-27 12:49:12</Created>
>   </PackageHeader>
>   <RedefinableHeader PublicationStatus="UNDER_TEST"/>
>   <ConformanceClass GraphConformance="NON_BLOCKED"/>
>   <Script Type="text/javascript"/>
>   <WorkflowProcesses>
>     <WorkflowProcess AccessLevel="PUBLIC" Id="Document" Name="Document">
>       <ProcessHeader DurationUnit="D">
>         <Created>2005-05-09 08:03:35</Created>
>       </ProcessHeader>
>       <RedefinableHeader PublicationStatus="UNDER_TEST"/>
>       <FormalParameters>
>         <FormalParameter Id="timelineType" Index="timelineType" Mode="IN">
>           <DataType>
>             <BasicType Type="STRING"/>
>           </DataType>
>         </FormalParameter>
>         <FormalParameter Id="timelineValue" Index="timelineValue" Mode="IN">
>           <DataType>
>             <BasicType Type="STRING"/>
>           </DataType>
>         </FormalParameter>
>       </FormalParameters>
>       <DataFields>
>         <DataField Id="requestedDate" IsArray="FALSE" Name="requestedDate">
>           <DataType>
>             <BasicType Type="DATETIME"/>
>           </DataType>
>         </DataField>
>         <DataField Id="docType" IsArray="FALSE" Name="docType">
>           <DataType>
>             <BasicType Type="STRING"/>
>           </DataType>
>         </DataField>
>         <DataField Id="dueDate" IsArray="FALSE" Name="dueDate">
>           <DataType>
>             <BasicType Type="DATETIME"/>
>           </DataType>
>         </DataField>
>       </DataFields>
>       <Participants>
>         <Participant Id="realnet" Name="realnet">
>           <ParticipantType Type="ROLE"/>
>         </Participant>
>       </Participants>
>       <Activities>
>         <Activity Id="Acquire" Name="Acquire">
>           <Implementation>
>             <No/>
>           </Implementation>
>           <Performer>realnet</Performer>
>           <StartMode>
>             <Automatic/>
>           </StartMode>
>           <FinishMode>
>             <Automatic/>
>           </FinishMode>
>           <Deadline Execution="ASYNCHR">
>             <DeadlineCondition>var d=new
> java.util.Date(requestedDate.getTime()+3600000);
> d;</DeadlineCondition>
>             <ExceptionName>ASYNC_TIMEOUT</ExceptionName>
>           </Deadline>
>           <TransitionRestrictions>
>             <TransitionRestriction>
>               <Split Type="XOR">
>                 <TransitionRefs>
>                   <TransitionRef Id="Document_Tra5"/>
>                   <TransitionRef Id="simple_test_Wor1_Tra2"/>
>                 </TransitionRefs>
>               </Split>
>             </TransitionRestriction>
>           </TransitionRestrictions>
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="ParticipantID" Value="realnet"/>
>             <ExtendedAttribute Name="XOffset" Value="360"/>
>             <ExtendedAttribute Name="YOffset" Value="90"/>
>           </ExtendedAttributes>
>         </Activity>
>         <Activity Id="InputData" Name="InputData">
>           <Implementation>
>             <No/>
>           </Implementation>
>           <Performer>realnet</Performer>
>           <StartMode>
>             <Manual/>
>           </StartMode>
>           <FinishMode>
>             <Automatic/>
>           </FinishMode>
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="ParticipantID" Value="realnet"/>
>             <ExtendedAttribute Name="XOffset" Value="500"/>
>             <ExtendedAttribute Name="YOffset" Value="90"/>
>           </ExtendedAttributes>
>         </Activity>
>         <Activity Id="Review" Name="Review">
>           <Implementation>
>             <No/>
>           </Implementation>
>           <Performer>realnet</Performer>
>           <StartMode>
>             <Automatic/>
>           </StartMode>
>           <FinishMode>
>             <Automatic/>
>           </FinishMode>
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="ParticipantID" Value="realnet"/>
>             <ExtendedAttribute Name="XOffset" Value="630"/>
>             <ExtendedAttribute Name="YOffset" Value="90"/>
>           </ExtendedAttributes>
>         </Activity>
>         <Activity Id="Timeout" Name="Timeout">
>           <Implementation>
>             <No/>
>           </Implementation>
>           <Performer>realnet</Performer>
>           <StartMode>
>             <Automatic/>
>           </StartMode>
>           <FinishMode>
>             <Automatic/>
>           </FinishMode>
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="ParticipantID" Value="realnet"/>
>             <ExtendedAttribute Name="XOffset" Value="360"/>
>             <ExtendedAttribute Name="YOffset" Value="180"/>
>           </ExtendedAttributes>
>         </Activity>
>         <Activity Id="Document_Act1" Name="Route">
>           <Route/>
>           <StartMode>
>             <Automatic/>
>           </StartMode>
>           <FinishMode>
>             <Automatic/>
>           </FinishMode>
>           <TransitionRestrictions>
>             <TransitionRestriction>
>               <Split Type="AND">
>                 <TransitionRefs>
>                   <TransitionRef Id="Document_Tra14"/>
>                   <TransitionRef Id="Document_Tra13"/>
>                 </TransitionRefs>
>               </Split>
>             </TransitionRestriction>
>           </TransitionRestrictions>
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="ParticipantID" Value="realnet"/>
>             <ExtendedAttribute Name="XOffset" Value="200"/>
>             <ExtendedAttribute Name="YOffset" Value="90"/>
>           </ExtendedAttributes>
>         </Activity>
>         <Activity Id="Waive" Name="Waive">
>           <Implementation>
>             <No/>
>           </Implementation>
>           <Performer>realnet</Performer>
>           <StartMode>
>             <Automatic/>
>           </StartMode>
>           <FinishMode>
>             <Automatic/>
>           </FinishMode>
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="ParticipantID" Value="realnet"/>
>             <ExtendedAttribute Name="XOffset" Value="350"/>
>             <ExtendedAttribute Name="YOffset" Value="20"/>
>           </ExtendedAttributes>
>         </Activity>
>         <Activity Id="Commit" Name="Commit">
>           <Implementation>
>             <No/>
>           </Implementation>
>           <Performer>realnet</Performer>
>           <StartMode>
>             <Automatic/>
>           </StartMode>
>           <FinishMode>
>             <Automatic/>
>           </FinishMode>
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="ParticipantID" Value="realnet"/>
>             <ExtendedAttribute Name="XOffset" Value="780"/>
>             <ExtendedAttribute Name="YOffset" Value="90"/>
>           </ExtendedAttributes>
>         </Activity>
>       </Activities>
>       <Transitions>
>         <Transition From="Acquire" Id="simple_test_Wor1_Tra2" 
> To="InputData">
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
>           </ExtendedAttributes>
>         </Transition>
>         <Transition From="InputData" Id="simple_test_Wor1_Tra3" To="Review">
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
>           </ExtendedAttributes>
>         </Transition>
>         <Transition From="Acquire" Id="Document_Tra5" To="Timeout">
>           <Condition Type="EXCEPTION">ASYNC_TIMEOUT</Condition>
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
>           </ExtendedAttributes>
>         </Transition>
>         <Transition From="Document_Act1" Id="Document_Tra13" To="Acquire">
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
>           </ExtendedAttributes>
>         </Transition>
>         <Transition From="Document_Act1" Id="Document_Tra14" To="Waive">
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
>           </ExtendedAttributes>
>         </Transition>
>         <Transition From="Review" Id="Document_Tra16" To="Commit">
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
>           </ExtendedAttributes>
>         </Transition>
>       </Transitions>
>       <ExtendedAttributes>
>         <ExtendedAttribute Name="StartOfWorkflow"
> Value="realnet;Document_Act1;80;90;NOROUTING"/>
>         <ExtendedAttribute Name="EndOfWorkflow"
> Value="realnet;Waive;540;20;NOROUTING"/>
>         <ExtendedAttribute Name="EndOfWorkflow"
> Value="realnet;Timeout;530;180;NOROUTING"/>
>         <ExtendedAttribute Name="EndOfWorkflow"
> Value="realnet;Commit;930;90;NOROUTING"/>
>         <ExtendedAttribute Name="ParticipantVisualOrder" Value="realnet;"/>
>       </ExtendedAttributes>
>     </WorkflowProcess>
>     <WorkflowProcess AccessLevel="PUBLIC" Id="Property" Name="Property">
>       <ProcessHeader DurationUnit="D">
>         <Created>2005-05-09 08:09:40</Created>
>       </ProcessHeader>
>       <RedefinableHeader PublicationStatus="UNDER_TEST"/>
>       <DataFields>
>         <DataField Id="comments" IsArray="FALSE" Name="comments">
>           <DataType>
>             <BasicType Type="STRING"/>
>           </DataType>
>         </DataField>
>         <DataField Id="timelineType" IsArray="FALSE" Name="timelineType">
>           <DataType>
>             <BasicType Type="STRING"/>
>           </DataType>
>         </DataField>
>         <DataField Id="timelineValue" IsArray="FALSE" Name="timelineValue">
>           <DataType>
>             <BasicType Type="STRING"/>
>           </DataType>
>         </DataField>
>       </DataFields>
>       <Participants>
>         <Participant Id="realnet" Name="realnet">
>           <ParticipantType Type="ROLE"/>
>         </Participant>
>       </Participants>
>       <Activities>
>         <Activity Id="firstRoute" Name="Route">
>           <Route/>
>           <StartMode>
>             <Automatic/>
>           </StartMode>
>           <FinishMode>
>             <Automatic/>
>           </FinishMode>
>           <TransitionRestrictions>
>             <TransitionRestriction>
>               <Split Type="AND">
>                 <TransitionRefs>
>                   <TransitionRef Id="Property_Tra5"/>
>                   <TransitionRef Id="IncomeStatementTransIdTo"/>
>                   <TransitionRef Id="BalanceSheetTransIdTo"/>
>                 </TransitionRefs>
>               </Split>
>             </TransitionRestriction>
>           </TransitionRestrictions>
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="ParticipantID" Value="realnet"/>
>             <ExtendedAttribute Name="XOffset" Value="190"/>
>             <ExtendedAttribute Name="YOffset" Value="90"/>
>           </ExtendedAttributes>
>         </Activity>
>         <Activity Id="IncomeStatementActivity" 
> Name="IncomeStatementActivity">
>           <Implementation>
>             <SubFlow Execution="SYNCHR" Id="Document">
>               <ActualParameters>
>                 <ActualParameter>timelineType</ActualParameter>
>                 <ActualParameter>timelineValue</ActualParameter>
>               </ActualParameters>
>             </SubFlow>
>           </Implementation>
>           <StartMode>
>             <Automatic/>
>           </StartMode>
>           <FinishMode>
>             <Automatic/>
>           </FinishMode>
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="ParticipantID" Value="realnet"/>
>             <ExtendedAttribute Name="XOffset" Value="350"/>
>             <ExtendedAttribute Name="YOffset" Value="90"/>
>           </ExtendedAttributes>
>         </Activity>
>         <Activity Id="BalanceSheetActivity" Name="BalanceSheetActivity">
>           <Implementation>
>             <SubFlow Execution="SYNCHR" Id="Document">
>               <ActualParameters>
>                 <ActualParameter>timelineType</ActualParameter>
>                 <ActualParameter>timelineValue</ActualParameter>
>               </ActualParameters>
>             </SubFlow>
>           </Implementation>
>           <StartMode>
>             <Automatic/>
>           </StartMode>
>           <FinishMode>
>             <Automatic/>
>           </FinishMode>
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="ParticipantID" Value="realnet"/>
>             <ExtendedAttribute Name="XOffset" Value="350"/>
>             <ExtendedAttribute Name="YOffset" Value="90"/>
>           </ExtendedAttributes>
>         </Activity>
>         <Activity Id="lastRoute" Name="Route">
>           <Route/>
>           <StartMode>
>             <Automatic/>
>           </StartMode>
>           <FinishMode>
>             <Automatic/>
>           </FinishMode>
>           <TransitionRestrictions>
>             <TransitionRestriction>
>               <Join Type="AND"/>
>             </TransitionRestriction>
>           </TransitionRestrictions>
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="ParticipantID" Value="realnet"/>
>             <ExtendedAttribute Name="XOffset" Value="520"/>
>             <ExtendedAttribute Name="YOffset" Value="90"/>
>           </ExtendedAttributes>
>         </Activity>
>         <Activity Id="Property_Act1" Name="Route">
>           <Route/>
>           <StartMode>
>             <Automatic/>
>           </StartMode>
>           <FinishMode>
>             <Automatic/>
>           </FinishMode>
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="ParticipantID" Value="realnet"/>
>             <ExtendedAttribute Name="XOffset" Value="340"/>
>             <ExtendedAttribute Name="YOffset" Value="30"/>
>           </ExtendedAttributes>
>         </Activity>
>       </Activities>
>       <Transitions>
>         <Transition From="firstRoute" Id="IncomeStatementTransIdTo"
> To="IncomeStatementActivity">
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
>           </ExtendedAttributes>
>         </Transition>
>         <Transition From="firstRoute" Id="BalanceSheetTransIdTo"
> To="BalanceSheetActivity">
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
>           </ExtendedAttributes>
>         </Transition>
>         <Transition From="IncomeStatementActivity"
> Id="IncomeStatementTransIdFrom" To="lastRoute">
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
>           </ExtendedAttributes>
>         </Transition>
>         <Transition From="BalanceSheetActivity"
> Id="BalanceSheetTransIdFrom" To="lastRoute">
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
>           </ExtendedAttributes>
>         </Transition>
>         <Transition From="firstRoute" Id="Property_Tra5" To="Property_Act1">
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
>           </ExtendedAttributes>
>         </Transition>
>         <Transition From="Property_Act1" Id="Property_Tra6" To="lastRoute">
>           <ExtendedAttributes>
>             <ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
>           </ExtendedAttributes>
>         </Transition>
>       </Transitions>
>       <ExtendedAttributes>
>         <ExtendedAttribute Name="StartOfWorkflow"
> Value="realnet;firstRoute;90;80;NOROUTING"/>
>         <ExtendedAttribute Name="EndOfWorkflow"
> Value="realnet;lastRoute;640;90;NOROUTING"/>
>         <ExtendedAttribute Name="ParticipantVisualOrder" Value="realnet;"/>
>       </ExtendedAttributes>
>     </WorkflowProcess>
>   </WorkflowProcesses>
>   <ExtendedAttributes>
>     <ExtendedAttribute Name="MadeBy" Value="JaWE"/>
>     <ExtendedAttribute Name="Version" Value="1.4.2"/>
>   </ExtendedAttributes>
> </Package>
> 
> 
> I created my user/group as follows
>                 ugAdmin.createGroup("realnet","realnet");
>                 ugAdmin.createUser("realnet",
>                                    "realnet",
>                                    "realnet",
>                                    "realnet",
>                                    "realnet",
>                                    "realnet@xxxxxxxxxxx");
> 
> The exception is getting thrown here:
>                 WfProcess proc1=sconn.createProcess("realnet", "Property");
> 
> I'm thinking it has something with the subflows?
> Any ideas?
> Thanks,
> Ben
>



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

Reply via email to:

Powered by MHonArc.

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