You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Deepa Priolkar <de...@TechMahindra.com> on 2010/09/06 18:09:55 UTC

Ofbiz WorkFlow Engine

Hi All,

 

Need some help to know if we have any workflow integrated in ofbiz 9.04
version? 

if we already have the workflow is it using xpdl? Is it Shark workflow?
Please let me know.. need this urgently before i start designing for one
of my requirement.

 

Appreciate your help.


Thanks & Regards,

Deepa

 

 


============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================

Re: Ofbiz WorkFlow Engine

Posted by BJ Freeman <bj...@free-man.net>.
this will give you what has been discussed so far
http://markmail.org/search/?q=ofbiz+workflow

=========================
BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


zhiyongcui sent the following on 11/2/2010 11:20 PM:
>
> Can you give me some advice or guide on how  to integrate osworkflow in
> ofbiz?
> Thank you very much!


RE: Ofbiz WorkFlow Engine

Posted by zhiyongcui <zh...@gmail.com>.
Can you give me some advice or guide on how  to integrate osworkflow in
ofbiz?
Thank you very much!
-- 
View this message in context: http://ofbiz.135035.n4.nabble.com/Ofbiz-WorkFlow-Engine-tp2528609p3024883.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

RE: Ofbiz WorkFlow Engine

Posted by Jack Liu <ja...@aicent.com>.
Hi Deepa,
I integrated OSWorkflow in OFBiz. It acts as a component located in directory specialpurpose.
Compared with JBPM, OSWorkflow is easier to master and integrate with OFBiz because it provides interfaces to OFBiz's entity engine though it need some improvements.

If you want to know more details, contact me. 


Regards
Jack

-----Original Message-----
From: Deepa Priolkar [mailto:deepap@TechMahindra.com] 
Sent: 2010年9月7日 17:17
To: user@ofbiz.apache.org
Cc: Deepak Garg
Subject: RE: Ofbiz WorkFlow Engine

Hi Varun,

Yes I am looking for something similar to JBPM, not fullfledge but
atleast it should have the configuration through XML (similar to Shark).
Do we have something like this in Ofbiz integrated? If not, then has
anyone integrated any webflows in Ofbiz? Please let me know.. 

Regards,
Deepa

-----Original Message-----
From: varun bhansaly [mailto:vbhansaly@gmail.com] 
Sent: Tuesday, September 07, 2010 1:38 PM
To: user@ofbiz.apache.org
Subject: Re: Ofbiz WorkFlow Engine

Hi Deepa,
Are you looking at something like designing the process flow, for eg as
in
jBPM workflow engine & the process designer ?
Though processes could be implemented using SECAs, EECAs etc.


On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
<de...@techmahindra.com>wrote:

> Thanks Varun for replying.. I have checked this link but its talking
> about XPDL which actually comes with Shark implementation and in the
> same link they have mentioned that Shark is not yet implemented in
> Ofbiz. The alternative is event based. SO does this mean we don't have
> workflow definition type of design in Ofbiz as of now other then the
> events?
>
> Thanks,
> Deepa
>
> -----Original Message-----
> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> Sent: Monday, September 06, 2010 9:57 PM
> To: user@ofbiz.apache.org
> Subject: Re: Ofbiz WorkFlow Engine
>
> Hi,
> This document might help http://ofbiz.apache.org/docs/workflow.html
>
> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> <de...@techmahindra.com>wrote:
>
> > Hi All,
> >
> >
> >
> > Need some help to know if we have any workflow integrated in ofbiz
> 9.04
> > version?
> >
> > if we already have the workflow is it using xpdl? Is it Shark
> workflow?
> > Please let me know.. need this urgently before i start designing for
> one
> > of my requirement.
> >
> >
> >
> > Appreciate your help.
> >
> >
> > Thanks & Regards,
> >
> > Deepa
> >
> >
> >
> >
> >
> >
> >
>
========================================================================
> ====================================================Disclaimer:
> >  This message and the information contained herein is proprietary
and
> > confidential and subject to the Tech Mahindra policy statement, you
> may
> > review the policy at <a
> href="http://www.techmahindra.com/Disclaimer.html
> > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a
> href="
> > http://tim.techmahindra.com/Disclaimer.html">
> > http://tim.techmahindra.com/Disclaimer.html</a> internally within
Tech
> >
>
Mahindra.===============================================================
> =============================================================
> >
>
>
>
> --
> Regards,
> Varun Bhansaly
>
>
========================================================================
====================================================Disclaimer:
>  This message and the information contained herein is proprietary and
> confidential and subject to the Tech Mahindra policy statement, you
may
> review the policy at <a
href="http://www.techmahindra.com/Disclaimer.html
> ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a
href="
> http://tim.techmahindra.com/Disclaimer.html">
> http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
>
Mahindra.===============================================================
=============================================================
>



-- 
Regards,
Varun Bhansaly

============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================

Re: Ofbiz WorkFlow Engine

Posted by Jacques Le Roux <ja...@les7arts.com>.
Definitive answer https://cwiki.apache.org/confluence/display/OFBADMIN/Apache+OFBiz+Project+Overview#ApacheOFBizProjectOverview-EDA

Jacques

From: "Deepa Priolkar" <de...@TechMahindra.com>
> Hi Varun,
>
> Yes I am looking for something similar to JBPM, not fullfledge but
> atleast it should have the configuration through XML (similar to Shark).
> Do we have something like this in Ofbiz integrated? If not, then has
> anyone integrated any webflows in Ofbiz? Please let me know..
>
> Regards,
> Deepa
>
> -----Original Message-----
> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> Sent: Tuesday, September 07, 2010 1:38 PM
> To: user@ofbiz.apache.org
> Subject: Re: Ofbiz WorkFlow Engine
>
> Hi Deepa,
> Are you looking at something like designing the process flow, for eg as
> in
> jBPM workflow engine & the process designer ?
> Though processes could be implemented using SECAs, EECAs etc.
>
>
> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> <de...@techmahindra.com>wrote:
>
>> Thanks Varun for replying.. I have checked this link but its talking
>> about XPDL which actually comes with Shark implementation and in the
>> same link they have mentioned that Shark is not yet implemented in
>> Ofbiz. The alternative is event based. SO does this mean we don't have
>> workflow definition type of design in Ofbiz as of now other then the
>> events?
>>
>> Thanks,
>> Deepa
>>
>> -----Original Message-----
>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>> Sent: Monday, September 06, 2010 9:57 PM
>> To: user@ofbiz.apache.org
>> Subject: Re: Ofbiz WorkFlow Engine
>>
>> Hi,
>> This document might help http://ofbiz.apache.org/docs/workflow.html
>>
>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
>> <de...@techmahindra.com>wrote:
>>
>> > Hi All,
>> >
>> >
>> >
>> > Need some help to know if we have any workflow integrated in ofbiz
>> 9.04
>> > version?
>> >
>> > if we already have the workflow is it using xpdl? Is it Shark
>> workflow?
>> > Please let me know.. need this urgently before i start designing for
>> one
>> > of my requirement.
>> >
>> >
>> >
>> > Appreciate your help.
>> >
>> >
>> > Thanks & Regards,
>> >
>> > Deepa
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>>
> ========================================================================
>> ====================================================Disclaimer:
>> >  This message and the information contained herein is proprietary
> and
>> > confidential and subject to the Tech Mahindra policy statement, you
>> may
>> > review the policy at <a
>> href="http://www.techmahindra.com/Disclaimer.html
>> > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a
>> href="
>> > http://tim.techmahindra.com/Disclaimer.html">
>> > http://tim.techmahindra.com/Disclaimer.html</a> internally within
> Tech
>> >
>>
> Mahindra.===============================================================
>> =============================================================
>> >
>>
>>
>>
>> --
>> Regards,
>> Varun Bhansaly
>>
>>
> ========================================================================
> ====================================================Disclaimer:
>>  This message and the information contained herein is proprietary and
>> confidential and subject to the Tech Mahindra policy statement, you
> may
>> review the policy at <a
> href="http://www.techmahindra.com/Disclaimer.html
>> ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a
> href="
>> http://tim.techmahindra.com/Disclaimer.html">
>> http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
>>
> Mahindra.===============================================================
> =============================================================
>>
>
>
>
> -- 
> Regards,
> Varun Bhansaly
>
> ============================================================================================================================Disclaimer: 
> This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy 
> statement, you may review the policy at <a 
> href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a 
> href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech 
> Mahindra.============================================================================================================================
> 



Re: Ofbiz WorkFlow Engine

Posted by BJ Freeman <bj...@free-man.net>.
sounds like you want the workflow language.
the answer is not at this time.
off the top of my head, I would say any language developed would have to 
create services in minilang and SECA/EECA to create workflow. it would 
also have to add to the controller.xml that is a pretty heavy project.
A UI that leveraged the webtools artifacts to display the workflow would 
be a consideration.


=========================
BJ Freeman  <http://bjfreeman.elance.com>
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Deepa Priolkar sent the following on 9/7/2010 2:17 AM:
> Hi Varun,
>
> Yes I am looking for something similar to JBPM, not fullfledge but
> atleast it should have the configuration through XML (similar to Shark).
> Do we have something like this in Ofbiz integrated? If not, then has
> anyone integrated any webflows in Ofbiz? Please let me know..
>
> Regards,
> Deepa
>
> -----Original Message-----
> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> Sent: Tuesday, September 07, 2010 1:38 PM
> To: user@ofbiz.apache.org
> Subject: Re: Ofbiz WorkFlow Engine
>
> Hi Deepa,
> Are you looking at something like designing the process flow, for eg as
> in
> jBPM workflow engine&  the process designer ?
> Though processes could be implemented using SECAs, EECAs etc.
>
>
> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> <de...@techmahindra.com>wrote:
>
>> Thanks Varun for replying.. I have checked this link but its talking
>> about XPDL which actually comes with Shark implementation and in the
>> same link they have mentioned that Shark is not yet implemented in
>> Ofbiz. The alternative is event based. SO does this mean we don't have
>> workflow definition type of design in Ofbiz as of now other then the
>> events?
>>
>> Thanks,
>> Deepa
>>
>> -----Original Message-----
>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>> Sent: Monday, September 06, 2010 9:57 PM
>> To: user@ofbiz.apache.org
>> Subject: Re: Ofbiz WorkFlow Engine
>>
>> Hi,
>> This document might help http://ofbiz.apache.org/docs/workflow.html
>>
>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
>> <de...@techmahindra.com>wrote:
>>
>>> Hi All,
>>>
>>>
>>>
>>> Need some help to know if we have any workflow integrated in ofbiz
>> 9.04
>>> version?
>>>
>>> if we already have the workflow is it using xpdl? Is it Shark
>> workflow?
>>> Please let me know.. need this urgently before i start designing for
>> one
>>> of my requirement.
>>>
>>>
>>>
>>> Appreciate your help.
>>>
>>>
>>> Thanks&  Regards,
>>>
>>> Deepa
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
> ========================================================================
>> ====================================================Disclaimer:
>>>   This message and the information contained herein is proprietary
> and
>>> confidential and subject to the Tech Mahindra policy statement, you
>> may
>>> review the policy at<a
>> href="http://www.techmahindra.com/Disclaimer.html
>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
>> href="
>>> http://tim.techmahindra.com/Disclaimer.html">
>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> Tech
>>>
>>
> Mahindra.===============================================================
>> =============================================================
>>>
>>
>>
>>
>> --
>> Regards,
>> Varun Bhansaly
>>
>>
> ========================================================================
> ====================================================Disclaimer:
>>   This message and the information contained herein is proprietary and
>> confidential and subject to the Tech Mahindra policy statement, you
> may
>> review the policy at<a
> href="http://www.techmahindra.com/Disclaimer.html
>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> href="
>> http://tim.techmahindra.com/Disclaimer.html">
>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within Tech
>>
> Mahindra.===============================================================
> =============================================================
>>
>
>
>


RE: Ofbiz WorkFlow Engine

Posted by Deepa Priolkar <de...@TechMahindra.com>.
Thanks everyone for the quick replies :) 

-----Original Message-----
From: Ruth Hoffman [mailto:rhoffman@aesolves.com] 
Sent: Tuesday, September 07, 2010 7:33 PM
To: user@ofbiz.apache.org
Subject: Re: Ofbiz WorkFlow Engine


  Hi Shi:

Actually, it wasn't me who did that... at least not directly. This was 
an effort I did for a client several years ago. My client may have added 
it back to OSWorkflow but I didn't.

As for the book - well its really up to PACKT. I finished up the final 
draft edits a few weeks ago. PACKT told me that they were getting ready 
to send it off to their publisher last week. I'm not sure what the turn 
around time is. I guess if its not considered too much of an 
advertisement, I'll make an announcement on this list as soon as they 
tell me its ready.

Regards,
Ruth

On 9/7/10 9:40 AM, Shi Jinghai wrote:
> Hi Ruth,
>
> Oh it's you. I saw the code in OSWorkflow on OFBiz integration and
> wonder who did it.
>
> Yes, it's not difficult to do such integration. jBPM is in LGPL, so the
> integration is not be able to contribute into OFBiz.
>
> BTW, I'm eager to read your book, but it's still pre-order. When will it
> come out?
> https://www.packtpub.com/apache-of-biz-cookbook-effective-recipes-for-of-biz/book
>
> Regards,
>
> Shi Jinghai/Beijing Langhua Ltd.
>
> 在 2010-09-07二的 08:46 -0400,Ruth Hoffman写道:
>> Hi Shi:
>> You just reminded me of something I did several years ago: I integrated
>> OSWorkflow w/OFBiz. I did it mainly to test another application that was
>> based on OSWorkflow.
>>
>> Anyhow, I don't recall it being a very difficult task.
>>
>> Regards,
>> Ruth
>>
>> On 9/7/10 5:51 AM, Shi Jinghai wrote:
>>> Here is a OFBiz-jBPM component:
>>> http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
>>> 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
>>>
>>> As Tom has left jboss and go to Alfresco, I'm not sure what's the future
>>> of jBPM.
>>>
>>> OSWorkflow can also work with OFBiz.
>>>
>>> Personally I like jBPM.
>>>
>>> Regards,
>>>
>>> Shi Jinghai/Beijing Langhua Ltd.
>>>
>>>
>>> 在 2010-09-07二的 14:47 +0530,Deepa Priolkar写é“:
>>>> Hi Varun,
>>>>
>>>> Yes I am looking for something similar to JBPM, not fullfledge but
>>>> atleast it should have the configuration through XML (similar to Shark).
>>>> Do we have something like this in Ofbiz integrated? If not, then has
>>>> anyone integrated any webflows in Ofbiz? Please let me know..
>>>>
>>>> Regards,
>>>> Deepa
>>>>
>>>> -----Original Message-----
>>>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>>>> Sent: Tuesday, September 07, 2010 1:38 PM
>>>> To: user@ofbiz.apache.org
>>>> Subject: Re: Ofbiz WorkFlow Engine
>>>>
>>>> Hi Deepa,
>>>> Are you looking at something like designing the process flow, for eg as
>>>> in
>>>> jBPM workflow engine&   the process designer ?
>>>> Though processes could be implemented using SECAs, EECAs etc.
>>>>
>>>>
>>>> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
>>>> <de...@techmahindra.com>wrote:
>>>>
>>>>> Thanks Varun for replying.. I have checked this link but its talking
>>>>> about XPDL which actually comes with Shark implementation and in the
>>>>> same link they have mentioned that Shark is not yet implemented in
>>>>> Ofbiz. The alternative is event based. SO does this mean we don't have
>>>>> workflow definition type of design in Ofbiz as of now other then the
>>>>> events?
>>>>>
>>>>> Thanks,
>>>>> Deepa
>>>>>
>>>>> -----Original Message-----
>>>>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>>>>> Sent: Monday, September 06, 2010 9:57 PM
>>>>> To: user@ofbiz.apache.org
>>>>> Subject: Re: Ofbiz WorkFlow Engine
>>>>>
>>>>> Hi,
>>>>> This document might help http://ofbiz.apache.org/docs/workflow.html
>>>>>
>>>>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
>>>>> <de...@techmahindra.com>wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>>
>>>>>>
>>>>>> Need some help to know if we have any workflow integrated in ofbiz
>>>>> 9.04
>>>>>> version?
>>>>>>
>>>>>> if we already have the workflow is it using xpdl? Is it Shark
>>>>> workflow?
>>>>>> Please let me know.. need this urgently before i start designing for
>>>>> one
>>>>>> of my requirement.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Appreciate your help.
>>>>>>
>>>>>>
>>>>>> Thanks&   Regards,
>>>>>>
>>>>>> Deepa
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>> ========================================================================
>>>>> ====================================================Disclaimer:
>>>>>>    This message and the information contained herein is proprietary
>>>> and
>>>>>> confidential and subject to the Tech Mahindra policy statement, you
>>>>> may
>>>>>> review the policy at<a
>>>>> href="http://www.techmahindra.com/Disclaimer.html
>>>>>> ">http://www.techmahindra.com/Disclaimer.html</a>   externally and<a
>>>>> href="
>>>>>> http://tim.techmahindra.com/Disclaimer.html">
>>>>>> http://tim.techmahindra.com/Disclaimer.html</a>   internally within
>>>> Tech
>>>> Mahindra.===============================================================
>>>>> =============================================================
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Varun Bhansaly
>>>>>
>>>>>
>>>> ========================================================================
>>>> ====================================================Disclaimer:
>>>>>    This message and the information contained herein is proprietary and
>>>>> confidential and subject to the Tech Mahindra policy statement, you
>>>> may
>>>>> review the policy at<a
>>>> href="http://www.techmahindra.com/Disclaimer.html
>>>>> ">http://www.techmahindra.com/Disclaimer.html</a>   externally and<a
>>>> href="
>>>>> http://tim.techmahindra.com/Disclaimer.html">
>>>>> http://tim.techmahindra.com/Disclaimer.html</a>   internally within Tech
>>>>>
>>>> Mahindra.===============================================================
>>>> =============================================================
>>>>
>>>>
>

============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================

Re: Ofbiz WorkFlow Engine

Posted by Jacques Le Roux <ja...@les7arts.com>.
The book page is a nightmare, Confluence is messing it and it always goes off the rails :/ (bottom of the page)
I will see that later...

Jacques

From: "Jacques Le Roux" <ja...@les7arts.com>
> Hi Ruth,
>
> I was contacted by Julian Copes, it's done for the wiki. 5% of the sales will go to the ASF as for the previous (and 1st) book on 
> OFBiz by Packt. I have also updated things a bit to be more accurate (authors mostly).
>
> Jacques
>
> From: "Ruth Hoffman" <rh...@aesolves.com>
>>  Hi Shi:
>>
>> Actually, it wasn't me who did that... at least not directly. This was an effort I did for a client several years ago. My client 
>> may have added it back to OSWorkflow but I didn't.
>>
>> As for the book - well its really up to PACKT. I finished up the final draft edits a few weeks ago. PACKT told me that they were 
>> getting ready to send it off to their publisher last week. I'm not sure what the turn around time is. I guess if its not 
>> considered too much of an advertisement, I'll make an announcement on this list as soon as they tell me its ready.
>>
>> Regards,
>> Ruth
>>
>> On 9/7/10 9:40 AM, Shi Jinghai wrote:
>>> Hi Ruth,
>>>
>>> Oh it's you. I saw the code in OSWorkflow on OFBiz integration and
>>> wonder who did it.
>>>
>>> Yes, it's not difficult to do such integration. jBPM is in LGPL, so the
>>> integration is not be able to contribute into OFBiz.
>>>
>>> BTW, I'm eager to read your book, but it's still pre-order. When will it
>>> come out?
>>> https://www.packtpub.com/apache-of-biz-cookbook-effective-recipes-for-of-biz/book
>>>
>>> Regards,
>>>
>>> Shi Jinghai/Beijing Langhua Ltd.
>>>
>>> 在 2010-09-07二的 08:46 -0400,Ruth Hoffman写道:
>>>> Hi Shi:
>>>> You just reminded me of something I did several years ago: I integrated
>>>> OSWorkflow w/OFBiz. I did it mainly to test another application that was
>>>> based on OSWorkflow.
>>>>
>>>> Anyhow, I don't recall it being a very difficult task.
>>>>
>>>> Regards,
>>>> Ruth
>>>>
>>>> On 9/7/10 5:51 AM, Shi Jinghai wrote:
>>>>> Here is a OFBiz-jBPM component:
>>>>> http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
>>>>> 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
>>>>>
>>>>> As Tom has left jboss and go to Alfresco, I'm not sure what's the future
>>>>> of jBPM.
>>>>>
>>>>> OSWorkflow can also work with OFBiz.
>>>>>
>>>>> Personally I like jBPM.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Shi Jinghai/Beijing Langhua Ltd.
>>>>>
>>>>>
>>>>> 在 2010-09-07二的 14:47 +0530,Deepa Priolkarå� ™é“:
>>>>>> Hi Varun,
>>>>>>
>>>>>> Yes I am looking for something similar to JBPM, not fullfledge but
>>>>>> atleast it should have the configuration through XML (similar to Shark).
>>>>>> Do we have something like this in Ofbiz integrated? If not, then has
>>>>>> anyone integrated any webflows in Ofbiz? Please let me know..
>>>>>>
>>>>>> Regards,
>>>>>> Deepa
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>>>>>> Sent: Tuesday, September 07, 2010 1:38 PM
>>>>>> To: user@ofbiz.apache.org
>>>>>> Subject: Re: Ofbiz WorkFlow Engine
>>>>>>
>>>>>> Hi Deepa,
>>>>>> Are you looking at something like designing the process flow, for eg as
>>>>>> in
>>>>>> jBPM workflow engine&   the process designer ?
>>>>>> Though processes could be implemented using SECAs, EECAs etc.
>>>>>>
>>>>>>
>>>>>> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
>>>>>> <de...@techmahindra.com>wrote:
>>>>>>
>>>>>>> Thanks Varun for replying.. I have checked this link but its talking
>>>>>>> about XPDL which actually comes with Shark implementation and in the
>>>>>>> same link they have mentioned that Shark is not yet implemented in
>>>>>>> Ofbiz. The alternative is event based. SO does this mean we don't have
>>>>>>> workflow definition type of design in Ofbiz as of now other then the
>>>>>>> events?
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Deepa
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>>>>>>> Sent: Monday, September 06, 2010 9:57 PM
>>>>>>> To: user@ofbiz.apache.org
>>>>>>> Subject: Re: Ofbiz WorkFlow Engine
>>>>>>>
>>>>>>> Hi,
>>>>>>> This document might help http://ofbiz.apache.org/docs/workflow.html
>>>>>>>
>>>>>>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
>>>>>>> <de...@techmahindra.com>wrote:
>>>>>>>
>>>>>>>> Hi All,
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Need some help to know if we have any workflow integrated in ofbiz
>>>>>>> 9.04
>>>>>>>> version?
>>>>>>>>
>>>>>>>> if we already have the workflow is it using xpdl? Is it Shark
>>>>>>> workflow?
>>>>>>>> Please let me know.. need this urgently before i start designing for
>>>>>>> one
>>>>>>>> of my requirement.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Appreciate your help.
>>>>>>>>
>>>>>>>>
>>>>>>>> Thanks&   Regards,
>>>>>>>>
>>>>>>>> Deepa
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>> ========================================================================
>>>>>>> ====================================================Disclaimer:
>>>>>>>>    This message and the information contained herein is proprietary
>>>>>> and
>>>>>>>> confidential and subject to the Tech Mahindra policy statement, you
>>>>>>> may
>>>>>>>> review the policy at<a
>>>>>>> href="http://www.techmahindra.com/Disclaimer.html
>>>>>>>> ">http://www.techmahindra.com/Disclaimer.html</a>   externally and<a
>>>>>>> href="
>>>>>>>> http://tim.techmahindra.com/Disclaimer.html">
>>>>>>>> http://tim.techmahindra.com/Disclaimer.html</a>   internally within
>>>>>> Tech
>>>>>> Mahindra.===============================================================
>>>>>>> =============================================================
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Regards,
>>>>>>> Varun Bhansaly
>>>>>>>
>>>>>>>
>>>>>> ========================================================================
>>>>>> ====================================================Disclaimer:
>>>>>>>    This message and the information contained herein is proprietary and
>>>>>>> confidential and subject to the Tech Mahindra policy statement, you
>>>>>> may
>>>>>>> review the policy at<a
>>>>>> href="http://www.techmahindra.com/Disclaimer.html
>>>>>>> ">http://www.techmahindra.com/Disclaimer.html</a>   externally and<a
>>>>>> href="
>>>>>>> http://tim.techmahindra.com/Disclaimer.html">
>>>>>>> http://tim.techmahindra.com/Disclaimer.html</a>   internally within Tech
>>>>>>>
>>>>>> Mahindra.===============================================================
>>>>>> =============================================================
>>>>>>
>>>>>>
>>>
>>
>
> 



Re: Ofbiz WorkFlow Engine

Posted by Ruth Hoffman <rh...@aesolves.com>.
  Hi Jacques:

I also got an email early this morning that the book has made it through 
the (physical) publishing stage. From the information sent to me, it 
wasn't clear that it was actually available for purchase. But, I guess 
it is!

Thanks for doing this.

BTW, do you have Julian's contact info. (I'd like to talk to him about 
doing something at ApacheCon to help promote OFBiz and the book(s)).

Regards,
Ruth

On 9/8/10 10:56 AM, Jacques Le Roux wrote:
> Hi Ruth,
>
> I was contacted by Julian Copes, it's done for the wiki. 5% of the 
> sales will go to the ASF as for the previous (and 1st) book on OFBiz 
> by Packt. I have also updated things a bit to be more accurate 
> (authors mostly).
>
> Jacques
>
> From: "Ruth Hoffman" <rh...@aesolves.com>
>> Hi Shi:
>>
>> Actually, it wasn't me who did that... at least not directly. This 
>> was an effort I did for a client several years ago. My client may 
>> have added it back to OSWorkflow but I didn't.
>>
>> As for the book - well its really up to PACKT. I finished up the 
>> final draft edits a few weeks ago. PACKT told me that they were 
>> getting ready to send it off to their publisher last week. I'm not 
>> sure what the turn around time is. I guess if its not considered too 
>> much of an advertisement, I'll make an announcement on this list as 
>> soon as they tell me its ready.
>>
>> Regards,
>> Ruth
>>
>> On 9/7/10 9:40 AM, Shi Jinghai wrote:
>>> Hi Ruth,
>>>
>>> Oh it's you. I saw the code in OSWorkflow on OFBiz integration and
>>> wonder who did it.
>>>
>>> Yes, it's not difficult to do such integration. jBPM is in LGPL, so the
>>> integration is not be able to contribute into OFBiz.
>>>
>>> BTW, I'm eager to read your book, but it's still pre-order. When 
>>> will it
>>> come out?
>>> https://www.packtpub.com/apache-of-biz-cookbook-effective-recipes-for-of-biz/book 
>>>
>>>
>>> Regards,
>>>
>>> Shi Jinghai/Beijing Langhua Ltd.
>>>
>>> 在 2010-09-07二的 08:46 -0400,Ruth Hoffman写道:
>>>> Hi Shi:
>>>> You just reminded me of something I did several years ago: I 
>>>> integrated
>>>> OSWorkflow w/OFBiz. I did it mainly to test another application 
>>>> that was
>>>> based on OSWorkflow.
>>>>
>>>> Anyhow, I don't recall it being a very difficult task.
>>>>
>>>> Regards,
>>>> Ruth
>>>>
>>>> On 9/7/10 5:51 AM, Shi Jinghai wrote:
>>>>> Here is a OFBiz-jBPM component:
>>>>> http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
>>>>> 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
>>>>>
>>>>> As Tom has left jboss and go to Alfresco, I'm not sure what's the 
>>>>> future
>>>>> of jBPM.
>>>>>
>>>>> OSWorkflow can also work with OFBiz.
>>>>>
>>>>> Personally I like jBPM.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Shi Jinghai/Beijing Langhua Ltd.
>>>>>
>>>>>
>>>>> 在 2010-09-07二的 14:47 +0530,Deepa Priolkarå� 
>>>>> ™é“:
>>>>>> Hi Varun,
>>>>>>
>>>>>> Yes I am looking for something similar to JBPM, not fullfledge but
>>>>>> atleast it should have the configuration through XML (similar to 
>>>>>> Shark).
>>>>>> Do we have something like this in Ofbiz integrated? If not, then has
>>>>>> anyone integrated any webflows in Ofbiz? Please let me know..
>>>>>>
>>>>>> Regards,
>>>>>> Deepa
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>>>>>> Sent: Tuesday, September 07, 2010 1:38 PM
>>>>>> To: user@ofbiz.apache.org
>>>>>> Subject: Re: Ofbiz WorkFlow Engine
>>>>>>
>>>>>> Hi Deepa,
>>>>>> Are you looking at something like designing the process flow, for 
>>>>>> eg as
>>>>>> in
>>>>>> jBPM workflow engine& the process designer ?
>>>>>> Though processes could be implemented using SECAs, EECAs etc.
>>>>>>
>>>>>>
>>>>>> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
>>>>>> <de...@techmahindra.com>wrote:
>>>>>>
>>>>>>> Thanks Varun for replying.. I have checked this link but its 
>>>>>>> talking
>>>>>>> about XPDL which actually comes with Shark implementation and in 
>>>>>>> the
>>>>>>> same link they have mentioned that Shark is not yet implemented in
>>>>>>> Ofbiz. The alternative is event based. SO does this mean we 
>>>>>>> don't have
>>>>>>> workflow definition type of design in Ofbiz as of now other then 
>>>>>>> the
>>>>>>> events?
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Deepa
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>>>>>>> Sent: Monday, September 06, 2010 9:57 PM
>>>>>>> To: user@ofbiz.apache.org
>>>>>>> Subject: Re: Ofbiz WorkFlow Engine
>>>>>>>
>>>>>>> Hi,
>>>>>>> This document might help http://ofbiz.apache.org/docs/workflow.html
>>>>>>>
>>>>>>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
>>>>>>> <de...@techmahindra.com>wrote:
>>>>>>>
>>>>>>>> Hi All,
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Need some help to know if we have any workflow integrated in ofbiz
>>>>>>> 9.04
>>>>>>>> version?
>>>>>>>>
>>>>>>>> if we already have the workflow is it using xpdl? Is it Shark
>>>>>>> workflow?
>>>>>>>> Please let me know.. need this urgently before i start 
>>>>>>>> designing for
>>>>>>> one
>>>>>>>> of my requirement.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Appreciate your help.
>>>>>>>>
>>>>>>>>
>>>>>>>> Thanks& Regards,
>>>>>>>>
>>>>>>>> Deepa
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>> ======================================================================== 
>>>>>>
>>>>>>> ====================================================Disclaimer:
>>>>>>>> This message and the information contained herein is proprietary
>>>>>> and
>>>>>>>> confidential and subject to the Tech Mahindra policy statement, 
>>>>>>>> you
>>>>>>> may
>>>>>>>> review the policy at<a
>>>>>>> href="http://www.techmahindra.com/Disclaimer.html
>>>>>>>> ">http://www.techmahindra.com/Disclaimer.html</a> externally and<a
>>>>>>> href="
>>>>>>>> http://tim.techmahindra.com/Disclaimer.html">
>>>>>>>> http://tim.techmahindra.com/Disclaimer.html</a> internally within
>>>>>> Tech
>>>>>> Mahindra.=============================================================== 
>>>>>>
>>>>>>> =============================================================
>>>>>>>
>>>>>>>
>>>>>>> -- 
>>>>>>> Regards,
>>>>>>> Varun Bhansaly
>>>>>>>
>>>>>>>
>>>>>> ======================================================================== 
>>>>>>
>>>>>> ====================================================Disclaimer:
>>>>>>> This message and the information contained herein is proprietary 
>>>>>>> and
>>>>>>> confidential and subject to the Tech Mahindra policy statement, you
>>>>>> may
>>>>>>> review the policy at<a
>>>>>> href="http://www.techmahindra.com/Disclaimer.html
>>>>>>> ">http://www.techmahindra.com/Disclaimer.html</a> externally and<a
>>>>>> href="
>>>>>>> http://tim.techmahindra.com/Disclaimer.html">
>>>>>>> http://tim.techmahindra.com/Disclaimer.html</a> internally 
>>>>>>> within Tech
>>>>>>>
>>>>>> Mahindra.=============================================================== 
>>>>>>
>>>>>> =============================================================
>>>>>>
>>>>>>
>>>
>>
>
>
>

Re: Ofbiz WorkFlow Engine

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Ruth,

I was contacted by Julian Copes, it's done for the wiki. 5% of the sales will go to the ASF as for the previous (and 1st) book on 
OFBiz by Packt. I have also updated things a bit to be more accurate (authors mostly).

Jacques

From: "Ruth Hoffman" <rh...@aesolves.com>
>  Hi Shi:
>
> Actually, it wasn't me who did that... at least not directly. This was an effort I did for a client several years ago. My client 
> may have added it back to OSWorkflow but I didn't.
>
> As for the book - well its really up to PACKT. I finished up the final draft edits a few weeks ago. PACKT told me that they were 
> getting ready to send it off to their publisher last week. I'm not sure what the turn around time is. I guess if its not 
> considered too much of an advertisement, I'll make an announcement on this list as soon as they tell me its ready.
>
> Regards,
> Ruth
>
> On 9/7/10 9:40 AM, Shi Jinghai wrote:
>> Hi Ruth,
>>
>> Oh it's you. I saw the code in OSWorkflow on OFBiz integration and
>> wonder who did it.
>>
>> Yes, it's not difficult to do such integration. jBPM is in LGPL, so the
>> integration is not be able to contribute into OFBiz.
>>
>> BTW, I'm eager to read your book, but it's still pre-order. When will it
>> come out?
>> https://www.packtpub.com/apache-of-biz-cookbook-effective-recipes-for-of-biz/book
>>
>> Regards,
>>
>> Shi Jinghai/Beijing Langhua Ltd.
>>
>> 在 2010-09-07二的 08:46 -0400,Ruth Hoffman写道:
>>> Hi Shi:
>>> You just reminded me of something I did several years ago: I integrated
>>> OSWorkflow w/OFBiz. I did it mainly to test another application that was
>>> based on OSWorkflow.
>>>
>>> Anyhow, I don't recall it being a very difficult task.
>>>
>>> Regards,
>>> Ruth
>>>
>>> On 9/7/10 5:51 AM, Shi Jinghai wrote:
>>>> Here is a OFBiz-jBPM component:
>>>> http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
>>>> 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
>>>>
>>>> As Tom has left jboss and go to Alfresco, I'm not sure what's the future
>>>> of jBPM.
>>>>
>>>> OSWorkflow can also work with OFBiz.
>>>>
>>>> Personally I like jBPM.
>>>>
>>>> Regards,
>>>>
>>>> Shi Jinghai/Beijing Langhua Ltd.
>>>>
>>>>
>>>> 在 2010-09-07二的 14:47 +0530,Deepa Priolkarå� ™é“:
>>>>> Hi Varun,
>>>>>
>>>>> Yes I am looking for something similar to JBPM, not fullfledge but
>>>>> atleast it should have the configuration through XML (similar to Shark).
>>>>> Do we have something like this in Ofbiz integrated? If not, then has
>>>>> anyone integrated any webflows in Ofbiz? Please let me know..
>>>>>
>>>>> Regards,
>>>>> Deepa
>>>>>
>>>>> -----Original Message-----
>>>>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>>>>> Sent: Tuesday, September 07, 2010 1:38 PM
>>>>> To: user@ofbiz.apache.org
>>>>> Subject: Re: Ofbiz WorkFlow Engine
>>>>>
>>>>> Hi Deepa,
>>>>> Are you looking at something like designing the process flow, for eg as
>>>>> in
>>>>> jBPM workflow engine&   the process designer ?
>>>>> Though processes could be implemented using SECAs, EECAs etc.
>>>>>
>>>>>
>>>>> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
>>>>> <de...@techmahindra.com>wrote:
>>>>>
>>>>>> Thanks Varun for replying.. I have checked this link but its talking
>>>>>> about XPDL which actually comes with Shark implementation and in the
>>>>>> same link they have mentioned that Shark is not yet implemented in
>>>>>> Ofbiz. The alternative is event based. SO does this mean we don't have
>>>>>> workflow definition type of design in Ofbiz as of now other then the
>>>>>> events?
>>>>>>
>>>>>> Thanks,
>>>>>> Deepa
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>>>>>> Sent: Monday, September 06, 2010 9:57 PM
>>>>>> To: user@ofbiz.apache.org
>>>>>> Subject: Re: Ofbiz WorkFlow Engine
>>>>>>
>>>>>> Hi,
>>>>>> This document might help http://ofbiz.apache.org/docs/workflow.html
>>>>>>
>>>>>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
>>>>>> <de...@techmahindra.com>wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Need some help to know if we have any workflow integrated in ofbiz
>>>>>> 9.04
>>>>>>> version?
>>>>>>>
>>>>>>> if we already have the workflow is it using xpdl? Is it Shark
>>>>>> workflow?
>>>>>>> Please let me know.. need this urgently before i start designing for
>>>>>> one
>>>>>>> of my requirement.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Appreciate your help.
>>>>>>>
>>>>>>>
>>>>>>> Thanks&   Regards,
>>>>>>>
>>>>>>> Deepa
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>> ========================================================================
>>>>>> ====================================================Disclaimer:
>>>>>>>    This message and the information contained herein is proprietary
>>>>> and
>>>>>>> confidential and subject to the Tech Mahindra policy statement, you
>>>>>> may
>>>>>>> review the policy at<a
>>>>>> href="http://www.techmahindra.com/Disclaimer.html
>>>>>>> ">http://www.techmahindra.com/Disclaimer.html</a>   externally and<a
>>>>>> href="
>>>>>>> http://tim.techmahindra.com/Disclaimer.html">
>>>>>>> http://tim.techmahindra.com/Disclaimer.html</a>   internally within
>>>>> Tech
>>>>> Mahindra.===============================================================
>>>>>> =============================================================
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>> Varun Bhansaly
>>>>>>
>>>>>>
>>>>> ========================================================================
>>>>> ====================================================Disclaimer:
>>>>>>    This message and the information contained herein is proprietary and
>>>>>> confidential and subject to the Tech Mahindra policy statement, you
>>>>> may
>>>>>> review the policy at<a
>>>>> href="http://www.techmahindra.com/Disclaimer.html
>>>>>> ">http://www.techmahindra.com/Disclaimer.html</a>   externally and<a
>>>>> href="
>>>>>> http://tim.techmahindra.com/Disclaimer.html">
>>>>>> http://tim.techmahindra.com/Disclaimer.html</a>   internally within Tech
>>>>>>
>>>>> Mahindra.===============================================================
>>>>> =============================================================
>>>>>
>>>>>
>>
> 



Re: Ofbiz WorkFlow Engine

Posted by Ruth Hoffman <rh...@aesolves.com>.
  Hi Shi:

Actually, it wasn't me who did that... at least not directly. This was 
an effort I did for a client several years ago. My client may have added 
it back to OSWorkflow but I didn't.

As for the book - well its really up to PACKT. I finished up the final 
draft edits a few weeks ago. PACKT told me that they were getting ready 
to send it off to their publisher last week. I'm not sure what the turn 
around time is. I guess if its not considered too much of an 
advertisement, I'll make an announcement on this list as soon as they 
tell me its ready.

Regards,
Ruth

On 9/7/10 9:40 AM, Shi Jinghai wrote:
> Hi Ruth,
>
> Oh it's you. I saw the code in OSWorkflow on OFBiz integration and
> wonder who did it.
>
> Yes, it's not difficult to do such integration. jBPM is in LGPL, so the
> integration is not be able to contribute into OFBiz.
>
> BTW, I'm eager to read your book, but it's still pre-order. When will it
> come out?
> https://www.packtpub.com/apache-of-biz-cookbook-effective-recipes-for-of-biz/book
>
> Regards,
>
> Shi Jinghai/Beijing Langhua Ltd.
>
> 在 2010-09-07二的 08:46 -0400,Ruth Hoffman写道:
>> Hi Shi:
>> You just reminded me of something I did several years ago: I integrated
>> OSWorkflow w/OFBiz. I did it mainly to test another application that was
>> based on OSWorkflow.
>>
>> Anyhow, I don't recall it being a very difficult task.
>>
>> Regards,
>> Ruth
>>
>> On 9/7/10 5:51 AM, Shi Jinghai wrote:
>>> Here is a OFBiz-jBPM component:
>>> http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
>>> 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
>>>
>>> As Tom has left jboss and go to Alfresco, I'm not sure what's the future
>>> of jBPM.
>>>
>>> OSWorkflow can also work with OFBiz.
>>>
>>> Personally I like jBPM.
>>>
>>> Regards,
>>>
>>> Shi Jinghai/Beijing Langhua Ltd.
>>>
>>>
>>> 在 2010-09-07二的 14:47 +0530,Deepa Priolkarå� ™é“:
>>>> Hi Varun,
>>>>
>>>> Yes I am looking for something similar to JBPM, not fullfledge but
>>>> atleast it should have the configuration through XML (similar to Shark).
>>>> Do we have something like this in Ofbiz integrated? If not, then has
>>>> anyone integrated any webflows in Ofbiz? Please let me know..
>>>>
>>>> Regards,
>>>> Deepa
>>>>
>>>> -----Original Message-----
>>>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>>>> Sent: Tuesday, September 07, 2010 1:38 PM
>>>> To: user@ofbiz.apache.org
>>>> Subject: Re: Ofbiz WorkFlow Engine
>>>>
>>>> Hi Deepa,
>>>> Are you looking at something like designing the process flow, for eg as
>>>> in
>>>> jBPM workflow engine&   the process designer ?
>>>> Though processes could be implemented using SECAs, EECAs etc.
>>>>
>>>>
>>>> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
>>>> <de...@techmahindra.com>wrote:
>>>>
>>>>> Thanks Varun for replying.. I have checked this link but its talking
>>>>> about XPDL which actually comes with Shark implementation and in the
>>>>> same link they have mentioned that Shark is not yet implemented in
>>>>> Ofbiz. The alternative is event based. SO does this mean we don't have
>>>>> workflow definition type of design in Ofbiz as of now other then the
>>>>> events?
>>>>>
>>>>> Thanks,
>>>>> Deepa
>>>>>
>>>>> -----Original Message-----
>>>>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>>>>> Sent: Monday, September 06, 2010 9:57 PM
>>>>> To: user@ofbiz.apache.org
>>>>> Subject: Re: Ofbiz WorkFlow Engine
>>>>>
>>>>> Hi,
>>>>> This document might help http://ofbiz.apache.org/docs/workflow.html
>>>>>
>>>>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
>>>>> <de...@techmahindra.com>wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>>
>>>>>>
>>>>>> Need some help to know if we have any workflow integrated in ofbiz
>>>>> 9.04
>>>>>> version?
>>>>>>
>>>>>> if we already have the workflow is it using xpdl? Is it Shark
>>>>> workflow?
>>>>>> Please let me know.. need this urgently before i start designing for
>>>>> one
>>>>>> of my requirement.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Appreciate your help.
>>>>>>
>>>>>>
>>>>>> Thanks&   Regards,
>>>>>>
>>>>>> Deepa
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>> ========================================================================
>>>>> ====================================================Disclaimer:
>>>>>>    This message and the information contained herein is proprietary
>>>> and
>>>>>> confidential and subject to the Tech Mahindra policy statement, you
>>>>> may
>>>>>> review the policy at<a
>>>>> href="http://www.techmahindra.com/Disclaimer.html
>>>>>> ">http://www.techmahindra.com/Disclaimer.html</a>   externally and<a
>>>>> href="
>>>>>> http://tim.techmahindra.com/Disclaimer.html">
>>>>>> http://tim.techmahindra.com/Disclaimer.html</a>   internally within
>>>> Tech
>>>> Mahindra.===============================================================
>>>>> =============================================================
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Varun Bhansaly
>>>>>
>>>>>
>>>> ========================================================================
>>>> ====================================================Disclaimer:
>>>>>    This message and the information contained herein is proprietary and
>>>>> confidential and subject to the Tech Mahindra policy statement, you
>>>> may
>>>>> review the policy at<a
>>>> href="http://www.techmahindra.com/Disclaimer.html
>>>>> ">http://www.techmahindra.com/Disclaimer.html</a>   externally and<a
>>>> href="
>>>>> http://tim.techmahindra.com/Disclaimer.html">
>>>>> http://tim.techmahindra.com/Disclaimer.html</a>   internally within Tech
>>>>>
>>>> Mahindra.===============================================================
>>>> =============================================================
>>>>
>>>>
>

Re: Ofbiz WorkFlow Engine

Posted by Shi Jinghai <sh...@langhua.cn>.
Hi Ruth,

Oh it's you. I saw the code in OSWorkflow on OFBiz integration and
wonder who did it.

Yes, it's not difficult to do such integration. jBPM is in LGPL, so the
integration is not be able to contribute into OFBiz.

BTW, I'm eager to read your book, but it's still pre-order. When will it
come out?
https://www.packtpub.com/apache-of-biz-cookbook-effective-recipes-for-of-biz/book

Regards,

Shi Jinghai/Beijing Langhua Ltd.

在 2010-09-07二的 08:46 -0400,Ruth Hoffman写道:
> Hi Shi:
> You just reminded me of something I did several years ago: I integrated 
> OSWorkflow w/OFBiz. I did it mainly to test another application that was 
> based on OSWorkflow.
> 
> Anyhow, I don't recall it being a very difficult task.
> 
> Regards,
> Ruth
> 
> On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > Here is a OFBiz-jBPM component:
> > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> >
> > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > of jBPM.
> >
> > OSWorkflow can also work with OFBiz.
> >
> > Personally I like jBPM.
> >
> > Regards,
> >
> > Shi Jinghai/Beijing Langhua Ltd.
> >
> >
> > 在 2010-09-07二的 14:47 +0530,Deepa Priolkar写é“:
> >> Hi Varun,
> >>
> >> Yes I am looking for something similar to JBPM, not fullfledge but
> >> atleast it should have the configuration through XML (similar to Shark).
> >> Do we have something like this in Ofbiz integrated? If not, then has
> >> anyone integrated any webflows in Ofbiz? Please let me know..
> >>
> >> Regards,
> >> Deepa
> >>
> >> -----Original Message-----
> >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> >> Sent: Tuesday, September 07, 2010 1:38 PM
> >> To: user@ofbiz.apache.org
> >> Subject: Re: Ofbiz WorkFlow Engine
> >>
> >> Hi Deepa,
> >> Are you looking at something like designing the process flow, for eg as
> >> in
> >> jBPM workflow engine&  the process designer ?
> >> Though processes could be implemented using SECAs, EECAs etc.
> >>
> >>
> >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> >> <de...@techmahindra.com>wrote:
> >>
> >>> Thanks Varun for replying.. I have checked this link but its talking
> >>> about XPDL which actually comes with Shark implementation and in the
> >>> same link they have mentioned that Shark is not yet implemented in
> >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> >>> workflow definition type of design in Ofbiz as of now other then the
> >>> events?
> >>>
> >>> Thanks,
> >>> Deepa
> >>>
> >>> -----Original Message-----
> >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> >>> Sent: Monday, September 06, 2010 9:57 PM
> >>> To: user@ofbiz.apache.org
> >>> Subject: Re: Ofbiz WorkFlow Engine
> >>>
> >>> Hi,
> >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> >>>
> >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> >>> <de...@techmahindra.com>wrote:
> >>>
> >>>> Hi All,
> >>>>
> >>>>
> >>>>
> >>>> Need some help to know if we have any workflow integrated in ofbiz
> >>> 9.04
> >>>> version?
> >>>>
> >>>> if we already have the workflow is it using xpdl? Is it Shark
> >>> workflow?
> >>>> Please let me know.. need this urgently before i start designing for
> >>> one
> >>>> of my requirement.
> >>>>
> >>>>
> >>>>
> >>>> Appreciate your help.
> >>>>
> >>>>
> >>>> Thanks&  Regards,
> >>>>
> >>>> Deepa
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >> ========================================================================
> >>> ====================================================Disclaimer:
> >>>>   This message and the information contained herein is proprietary
> >> and
> >>>> confidential and subject to the Tech Mahindra policy statement, you
> >>> may
> >>>> review the policy at<a
> >>> href="http://www.techmahindra.com/Disclaimer.html
> >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> >>> href="
> >>>> http://tim.techmahindra.com/Disclaimer.html">
> >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> >> Tech
> >> Mahindra.===============================================================
> >>> =============================================================
> >>>
> >>>
> >>> --
> >>> Regards,
> >>> Varun Bhansaly
> >>>
> >>>
> >> ========================================================================
> >> ====================================================Disclaimer:
> >>>   This message and the information contained herein is proprietary and
> >>> confidential and subject to the Tech Mahindra policy statement, you
> >> may
> >>> review the policy at<a
> >> href="http://www.techmahindra.com/Disclaimer.html
> >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> >> href="
> >>> http://tim.techmahindra.com/Disclaimer.html">
> >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within Tech
> >>>
> >> Mahindra.===============================================================
> >> =============================================================
> >>
> >>
> >


RE: Ofbiz WorkFlow Engine

Posted by zhiyongcui <zh...@gmail.com>.
Hi Shi
I have done what you said step by step.but I got a error message as below

2010-11-08 16:01:38,921 (JbpmCommandExecutor) [       NamingHelper.java:26
:INFO ] JNDI InitialContext properties:{}
2010-11-08 16:01:38,936 (JbpmCommandExecutor)
[DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource:
java:comp/env/jBPM_DS
javax.naming.NameNotFoundException: java:comp
	at
com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:99)
	at
com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107)
	at javax.naming.InitialContext.lookup(InitialContext.java:392)
	at
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
	at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
	at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
	at
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
	at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
	at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
	at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
	at
org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
	at
org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
	at
org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
	at
org.jbpm.persistence.db.DbPersistenceService.getMessagingSession(DbPersistenceService.java:236)
	at org.jbpm.JbpmContext.getMessagingSession(JbpmContext.java:521)
	at org.jbpm.msg.db.DbMessageService.<init>(DbMessageService.java:49)
	at
org.jbpm.msg.db.DbMessageServiceFactory.openService(DbMessageServiceFactory.java:32)
	at org.jbpm.svc.Services.getService(Services.java:136)
	at org.jbpm.svc.Services.getMessageService(Services.java:172)
	at
org.jbpm.msg.command.CommandExecutorThread.executeCommand(CommandExecutorThread.java:112)
	at
org.jbpm.msg.command.CommandExecutorThread.run(CommandExecutorThread.java:79)
2010-11-08 16:01:38,936 (JbpmCommandExecutor) [CommandExecutorThread.java:88
:ERROR] org.hibernate.HibernateException: Could not find datasource

what should I do  then?
-- 
View this message in context: http://ofbiz.135035.n4.nabble.com/Ofbiz-WorkFlow-Engine-tp2528609p3031597.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

RE: Ofbiz WorkFlow Engine

Posted by Shi Jinghai <sh...@langhua.cn>.
Hi Deepa,

The ofbiz-jbpm component is developed in maven style. We use eclipse +
iam as our standard develop tool.

You can find the built components in our maven repository:
http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/

http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/

Download the zip files and unzip them to your ofbiz, rebuild (I changed
the StringUtil.java to make it work for iframe in htmlreport), add the 2
components to component-load.xml, config
${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your
database and restart ofbiz, that's all. The jbpm tables will be created
automatically during startup.

The htmlreport is a tool to show the procedures of importing jbpm
process file and etc in web browser. There's demos in the component. You
can remove it from your tool bar if it works.

Good luck,

Shi Jinghai/Beijing Langhua Ltd.


在 2010-09-12日的 22:29 +0530,Deepa Priolkar写道:
> can someone tell me how to create table in the derby database?
> 
> ________________________________
> 
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 10:25 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> 
> Hi,
> 
> I was able to solve the issue related to the database configuration, but looks like now i am totally stuck..
> 
> When i am trying to start the server, i am getting following error, Please help..
> 
> 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_MESSAGE' does not exist.
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 :WARN ] SQL Warning: 10000, SQLState: 01J01
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 :WARN ] Database 'ofbiz' not created, connection made to existing database instead.
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_TIMER' does not exist.
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> 
> 2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] runtime exception while executing timers
> 
> org.jbpm.JbpmException: couldn't find timers from the database
> 
> at org.jbpm.db.
> 
> 
> 
> ________________________________
> 
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 8:41 PM
> To: user@ofbiz.apache.org; user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> 
> Hi,
> 
> I forgot to mention that i am getting error after doing the configuration mentioned in my last mail,
> 
> snippet from the logs
> 
> 2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource: java:comp/env/jBPM_DS
> javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO]
>         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
>         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
>         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
>         at javax.naming.InitialContext.lookup(InitialContext.java:351)
>         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
>         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
>         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
>         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
>         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
>         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
>         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
>         at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
>         at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
>         at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
>         at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
>         at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
>         at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
>         at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
> Caused by: java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO
>         at java.lang.Class.newInstance0(Class.java:335)
>         at java.lang.Class.newInstance(Class.java:303)
>         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
>         ... 23 more
> 
> -----Original Message-----
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 8:37 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> Hi,
> 
> Need some help in JBPM integration, I have followed the steps mentioned in the link given below.
> 
> Now for the database i want to use derby instead of MySQL...
> I have configured following in the context.xml (runtime/catalina/conf/context.xml)
>   <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"
>        maxActive="30" maxIdle="3" maxWait="2000"
>        username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
>        factory="org.ofbiz.entity.datasource.GenericHelperDAO"
>        url="jdbc:derby:ofbiz;create=true"/>
> 
> </Context>
> 
> Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also
> 
>  <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
>     <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>
> 
> Regards,
> Deepa
> 
> 
> -----Original Message-----
> From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal
> Sent: Thu 9/9/2010 5:37 PM
> To: user@ofbiz.apache.org
> Subject: Re: Ofbiz WorkFlow Engine
> 
> There's SVn access available. Instructions here:
> http://www.langhua.cn/download/ofbiz-jbpm.html
> 
> -Jeroen
> 
> On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:
> 
> > Hi Shi,
> >
> > Can you please help me to download the code from the location mentioned
> > below? I tried FTP it did not work. Please advice.
> >
> >
> > On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > > Here is a OFBiz-jBPM component:
> > > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> > >
> > > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > > of jBPM.
> > >
> > > OSWorkflow can also work with OFBiz.
> > >
> > > Personally I like jBPM.
> > >
> > > Regards,
> > >
> > > Shi Jinghai/Beijing Langhua Ltd.
> > >
> > >
> > > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> > >> Hi Varun,
> > >>
> > >> Yes I am looking for something similar to JBPM, not fullfledge but
> > >> atleast it should have the configuration through XML (similar to Shark).
> > >> Do we have something like this in Ofbiz integrated? If not, then has
> > >> anyone integrated any webflows in Ofbiz? Please let me know..
> > >>
> > >> Regards,
> > >> Deepa
> > >>
> > >> -----Original Message-----
> > >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > >> Sent: Tuesday, September 07, 2010 1:38 PM
> > >> To: user@ofbiz.apache.org
> > >> Subject: Re: Ofbiz WorkFlow Engine
> > >>
> > >> Hi Deepa,
> > >> Are you looking at something like designing the process flow, for eg as
> > >> in
> > >> jBPM workflow engine&  the process designer ?
> > >> Though processes could be implemented using SECAs, EECAs etc.
> > >>
> > >>
> > >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> > >> <de...@techmahindra.com>wrote:
> > >>
> > >>> Thanks Varun for replying.. I have checked this link but its talking
> > >>> about XPDL which actually comes with Shark implementation and in the
> > >>> same link they have mentioned that Shark is not yet implemented in
> > >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> > >>> workflow definition type of design in Ofbiz as of now other then the
> > >>> events?
> > >>>
> > >>> Thanks,
> > >>> Deepa
> > >>>
> > >>> -----Original Message-----
> > >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > >>> Sent: Monday, September 06, 2010 9:57 PM
> > >>> To: user@ofbiz.apache.org
> > >>> Subject: Re: Ofbiz WorkFlow Engine
> > >>>
> > >>> Hi,
> > >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> > >>>
> > >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> > >>> <de...@techmahindra.com>wrote:
> > >>>
> > >>>> Hi All,
> > >>>>
> > >>>>
> > >>>>
> > >>>> Need some help to know if we have any workflow integrated in ofbiz
> > >>> 9.04
> > >>>> version?
> > >>>>
> > >>>> if we already have the workflow is it using xpdl? Is it Shark
> > >>> workflow?
> > >>>> Please let me know.. need this urgently before i start designing for
> > >>> one
> > >>>> of my requirement.
> > >>>>
> > >>>>
> > >>>>
> > >>>> Appreciate your help.
> > >>>>
> > >>>>
> > >>>> Thanks&  Regards,
> > >>>>
> > >>>> Deepa
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >> ========================================================================
> > >>> ====================================================Disclaimer:
> > >>>>   This message and the information contained herein is proprietary
> > >> and
> > >>>> confidential and subject to the Tech Mahindra policy statement, you
> > >>> may
> > >>>> review the policy at<a
> > >>> href="http://www.techmahindra.com/Disclaimer.html
> > >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > >>> href="
> > >>>> http://tim.techmahindra.com/Disclaimer.html">
> > >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > >> Tech
> > >> Mahindra.===============================================================
> > >>> =============================================================
> > >>>
> > >>>
> > >>> --
> > >>> Regards,
> > >>> Varun Bhansaly
> > >>>
> > >>>
> > >> ========================================================================
> > >> ====================================================Disclaimer:
> > >>>   This message and the information contained herein is proprietary and
> > >>> confidential and subject to the Tech Mahindra policy statement, you
> > >> may
> > >>> review the policy at<a
> > >> href="http://www.techmahindra.com/Disclaimer.html
> > >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > >> href="
> > >>> http://tim.techmahindra.com/Disclaimer.html">
> > >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > Tech
> > >>>
> > >> Mahindra.===============================================================
> > >> =============================================================
> > >>
> > >>
> > >
> >
> > ============================================================================================================================Disclaimer:
> >  This message and the information contained herein is proprietary and
> > confidential and subject to the Tech Mahindra policy statement, you may
> > review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> > http://tim.techmahindra.com/Disclaimer.html">
> > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> > Mahindra.============================================================================================================================
> 
> 
> 
> 
> ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================
> 
> 
> 
> 


RE: Ofbiz WorkFlow Engine

Posted by Deepa Priolkar <de...@TechMahindra.com>.
Thanks a lot Shi

-----Original Message-----
From: Shi Jinghai [mailto:shijh@langhua.cn] 
Sent: Tuesday, September 21, 2010 3:55 AM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine

Done. UI labels are in config/JBPMUiLabels.properties.

在 2010-09-19日的 22:35 +0530,Deepa Priolkar写道:
> Thanks Shi, I have successful done with the integration :) 
> 
> Need one more favor from you, all the text is coming in Chinese :( can you please help me translate the same in English? if you can send me the updated ftl file it will help me alot. Thanks in advance.
> 
> Thanks & Regards,
> Deepa
> 
> 
> -----Original Message-----
> From: Shi Jinghai [mailto:shijh@langhua.cn]
> Sent: Sun 9/19/2010 4:14 AM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
>  
> Bug, now fixed. Please update the source code and rebuild.
> 
> Good luck,
> 
> Shi Jinghai/Beijing Langhua Ltd.
> 
> 
> ? 2010-09-16?? 16:16 +0530,Deepa Priolkar??:
> > Hi Shi,
> > 
> >  
> > 
> > I have build the sample.process zip file. But it does not have the productdefination.xml file. I am totally new to Maven script, I am using the same script which you had provided not sure how to edit that file to add the productdefination.xml
> > 
> >  
> > 
> > As of now it has only 
> > 
> > Pom.xml 
> > 
> > Pom.properties
> > 
> > MANIFEST.MF
> > 
> > OfBizJBPMSample.class
> > 
> >  
> > 
> > If I try to upload the same zip I am getting error, Please advice.
> > 
> > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://jbpm/widget/JbpmScreens.xml#uploadProcess]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh] (Error running BSH script at [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh], line [34]: Sourced file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method Invocation upload.actionCommit : at Line: 34 : in file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : upload .actionCommit ( request ) 
> > 
> >  
> > 
> > Target exception: org.jbpm.jpdl.JpdlException: [[ERROR] no processdefinition.xml inside process archive]
> > 
> > (Sourced file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method Invocation upload.actionCommit)) (Error running BSH script at location [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh] (Error running BSH script at [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh], line [34]: Sourced file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method Invocation upload.actionCommit : at Line: 34 : in file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : upload .actionCommit ( request ) 
> > 
> >  
> > 
> > Target exception: org.jbpm.jpdl.JpdlException: [[ERROR] no processdefinition.xml inside process archive]
> > 
> > (Sourced file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method Invocation upload.actionCommit)))
> > 
> >  
> > 
> > Thanks & Regards,
> > 
> > Deepa
> > 
> >  
> > 
> > 
> > 
> > -----Original Message-----
> > From: Shi Jinghai [mailto:shijh@langhua.cn] 
> > Sent: Wednesday, September 15, 2010 2:43 AM
> > To: user@ofbiz.apache.org
> > Subject: RE: Ofbiz WorkFlow Engine
> > 
> >  
> > 
> > Hi Deepa,
> > 
> >  
> > 
> > Edit the project pom.xml, make processes module available, and run maven
> > 
> > package, the sample.process will be built under processes/target/
> > 
> >       <modules>
> > 
> >             <!-- <module>core</module> -->
> > 
> >             <module>processes</module>
> > 
> >       </modules>
> > 
> >  
> > 
> > Good luck,
> > 
> >  
> > 
> > Shi Jinghai/Beijing Langhua Ltd.
> > 
> >  
> > 
> > ? 2010-09-15?? 02:00 +0530,Deepa Priolkar??:
> > 
> > > Thanks Shi.. I have done the integration, but one query regarding the process definition.
> > 
> > > In one of the step its mentioned to create the "sample.process" and upload it.. I did not catch up on how to create this file..tried all the scripts but no luck..please advice.
> > 
> > > 
> > 
> > > Regards,
> > 
> > > Deepa
> > 
> > > 
> > 
> > > 
> > 
> > > -----Original Message-----
> > 
> > > From: Shi Jinghai [mailto:shijh@langhua.cn]
> > 
> > > Sent: Mon 9/13/2010 3:06 PM
> > 
> > > To: user@ofbiz.apache.org
> > 
> > > Subject: RE: Ofbiz WorkFlow Engine
> > 
> > >  
> > 
> > > Hi Deepa,
> > 
> > > 
> > 
> > > The ofbiz-jbpm component is developed in maven style. We use eclipse +
> > 
> > > iam as our standard develop tool.
> > 
> > > 
> > 
> > > You can find the built components in our maven repository:
> > 
> > > http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/
> > 
> > > 
> > 
> > > http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/
> > 
> > > 
> > 
> > > Download the zip files and unzip them to your ofbiz, rebuild (I changed
> > 
> > > the StringUtil.java to make it work for iframe in htmlreport), add the 2
> > 
> > > components to component-load.xml, config
> > 
> > > ${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your
> > 
> > > database and restart ofbiz, that's all. The jbpm tables will be created
> > 
> > > automatically during startup.
> > 
> > > 
> > 
> > > The htmlreport is a tool to show the procedures of importing jbpm
> > 
> > > process file and etc in web browser. There's demos in the component. You
> > 
> > > can remove it from your tool bar if it works.
> > 
> > > 
> > 
> > > Good luck,
> > 
> > > 
> > 
> > > Shi Jinghai/Beijing Langhua Ltd.
> > 
> > > 
> > 
> > > 
> > 
> > > ? 2010-09-12?? 22:29 +0530,Deepa Priolkar??:
> > 
> > > > can someone tell me how to create table in the derby database?
> > 
> > > > 
> > 
> > > > ________________________________
> > 
> > > > 
> > 
> > > > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> > 
> > > > Sent: Sun 9/12/2010 10:25 PM
> > 
> > > > To: user@ofbiz.apache.org
> > 
> > > > Subject: RE: Ofbiz WorkFlow Engine
> > 
> > > > 
> > 
> > > > 
> > 
> > > > 
> > 
> > > > Hi,
> > 
> > > > 
> > 
> > > > I was able to solve the issue related to the database configuration, but looks like now i am totally stuck..
> > 
> > > > 
> > 
> > > > When i am trying to start the server, i am getting following error, Please help..
> > 
> > > > 
> > 
> > > > 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries
> > 
> > > > 
> > 
> > > > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> > 
> > > > 
> > 
> > > > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_MESSAGE' does not exist.
> > 
> > > > 
> > 
> > > > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 :WARN ] SQL Warning: 10000, SQLState: 01J01
> > 
> > > > 
> > 
> > > > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 :WARN ] Database 'ofbiz' not created, connection made to existing database instead.
> > 
> > > > 
> > 
> > > > 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> > 
> > > > 
> > 
> > > > 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_TIMER' does not exist.
> > 
> > > > 
> > 
> > > > 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> > 
> > > > 
> > 
> > > > 2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> > 
> > > > 
> > 
> > > > 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] runtime exception while executing timers
> > 
> > > > 
> > 
> > > > org.jbpm.JbpmException: couldn't find timers from the database
> > 
> > > > 
> > 
> > > > at org.jbpm.db.
> > 
> > > > 
> > 
> > > > 
> > 
> > > > 
> > 
> > > > ________________________________
> > 
> > > > 
> > 
> > > > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> > 
> > > > Sent: Sun 9/12/2010 8:41 PM
> > 
> > > > To: user@ofbiz.apache.org; user@ofbiz.apache.org
> > 
> > > > Subject: RE: Ofbiz WorkFlow Engine
> > 
> > > > 
> > 
> > > > 
> > 
> > > > 
> > 
> > > > Hi,
> > 
> > > > 
> > 
> > > > I forgot to mention that i am getting error after doing the configuration mentioned in my last mail,
> > 
> > > > 
> > 
> > > > snippet from the logs
> > 
> > > > 
> > 
> > > > 2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource: java:comp/env/jBPM_DS
> > 
> > > > javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO]
> > 
> > > >         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
> > 
> > > >         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > 
> > > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
> > 
> > > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
> > 
> > > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
> > 
> > > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
> > 
> > > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
> > 
> > > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
> > 
> > > >         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
> > 
> > > >         at javax.naming.InitialContext.lookup(InitialContext.java:351)
> > 
> > > >         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
> > 
> > > >         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
> > 
> > > >         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
> > 
> > > >         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
> > 
> > > >         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
> > 
> > > >         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
> > 
> > > >         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
> > 
> > > >         at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
> > 
> > > >         at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
> > 
> > > >         at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
> > 
> > > >         at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
> > 
> > > >         at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
> > 
> > > >         at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
> > 
> > > >         at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
> > 
> > > > Caused by: java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO
> > 
> > > >         at java.lang.Class.newInstance0(Class.java:335)
> > 
> > > >         at java.lang.Class.newInstance(Class.java:303)
> > 
> > > >         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
> > 
> > > >         ... 23 more
> > 
> > > > 
> > 
> > > > -----Original Message-----
> > 
> > > > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> > 
> > > > Sent: Sun 9/12/2010 8:37 PM
> > 
> > > > To: user@ofbiz.apache.org
> > 
> > > > Subject: RE: Ofbiz WorkFlow Engine
> > 
> > > > 
> > 
> > > > 
> > 
> > > > Hi,
> > 
> > > > 
> > 
> > > > Need some help in JBPM integration, I have followed the steps mentioned in the link given below.
> > 
> > > > 
> > 
> > > > Now for the database i want to use derby instead of MySQL...
> > 
> > > > I have configured following in the context.xml (runtime/catalina/conf/context.xml)
> > 
> > > >   <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"
> > 
> > > >        maxActive="30" maxIdle="3" maxWait="2000"
> > 
> > > >        username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
> > 
> > > >        factory="org.ofbiz.entity.datasource.GenericHelperDAO"
> > 
> > > >        url="jdbc:derby:ofbiz;create=true"/>
> > 
> > > > 
> > 
> > > > </Context>
> > 
> > > > 
> > 
> > > > Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also
> > 
> > > > 
> > 
> > > >  <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
> > 
> > > >     <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>
> > 
> > > > 
> > 
> > > > Regards,
> > 
> > > > Deepa
> > 
> > > > 
> > 
> > > > 
> > 
> > > > -----Original Message-----
> > 
> > > > From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal
> > 
> > > > Sent: Thu 9/9/2010 5:37 PM
> > 
> > > > To: user@ofbiz.apache.org
> > 
> > > > Subject: Re: Ofbiz WorkFlow Engine
> > 
> > > > 
> > 
> > > > There's SVn access available. Instructions here:
> > 
> > > > http://www.langhua.cn/download/ofbiz-jbpm.html
> > 
> > > > 
> > 
> > > > -Jeroen
> > 
> > > > 
> > 
> > > > On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:
> > 
> > > > 
> > 
> > > > > Hi Shi,
> > 
> > > > >
> > 
> > > > > Can you please help me to download the code from the location mentioned
> > 
> > > > > below? I tried FTP it did not work. Please advice.
> > 
> > > > >
> > 
> > > > >
> > 
> > > > > On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > 
> > > > > > Here is a OFBiz-jBPM component:
> > 
> > > > > > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > 
> > > > > > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> > 
> > > > > >
> > 
> > > > > > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > 
> > > > > > of jBPM.
> > 
> > > > > >
> > 
> > > > > > OSWorkflow can also work with OFBiz.
> > 
> > > > > >
> > 
> > > > > > Personally I like jBPM.
> > 
> > > > > >
> > 
> > > > > > Regards,
> > 
> > > > > >
> > 
> > > > > > Shi Jinghai/Beijing Langhua Ltd.
> > 
> > > > > >
> > 
> > > > > >
> > 
> > > > > > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> > 
> > > > > >> Hi Varun,
> > 
> > > > > >>
> > 
> > > > > >> Yes I am looking for something similar to JBPM, not fullfledge but
> > 
> > > > > >> atleast it should have the configuration through XML (similar to Shark).
> > 
> > > > > >> Do we have something like this in Ofbiz integrated? If not, then has
> > 
> > > > > >> anyone integrated any webflows in Ofbiz? Please let me know..
> > 
> > > > > >>
> > 
> > > > > >> Regards,
> > 
> > > > > >> Deepa
> > 
> > > > > >>
> > 
> > > > > >> -----Original Message-----
> > 
> > > > > >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > 
> > > > > >> Sent: Tuesday, September 07, 2010 1:38 PM
> > 
> > > > > >> To: user@ofbiz.apache.org
> > 
> > > > > >> Subject: Re: Ofbiz WorkFlow Engine
> > 
> > > > > >>
> > 
> > > > > >> Hi Deepa,
> > 
> > > > > >> Are you looking at something like designing the process flow, for eg as
> > 
> > > > > >> in
> > 
> > > > > >> jBPM workflow engine&  the process designer ?
> > 
> > > > > >> Though processes could be implemented using SECAs, EECAs etc.
> > 
> > > > > >>
> > 
> > > > > >>
> > 
> > > > > >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> > 
> > > > > >> <de...@techmahindra.com>wrote:
> > 
> > > > > >>
> > 
> > > > > >>> Thanks Varun for replying.. I have checked this link but its talking
> > 
> > > > > >>> about XPDL which actually comes with Shark implementation and in the
> > 
> > > > > >>> same link they have mentioned that Shark is not yet implemented in
> > 
> > > > > >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> > 
> > > > > >>> workflow definition type of design in Ofbiz as of now other then the
> > 
> > > > > >>> events?
> > 
> > > > > >>>
> > 
> > > > > >>> Thanks,
> > 
> > > > > >>> Deepa
> > 
> > > > > >>>
> > 
> > > > > >>> -----Original Message-----
> > 
> > > > > >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > 
> > > > > >>> Sent: Monday, September 06, 2010 9:57 PM
> > 
> > > > > >>> To: user@ofbiz.apache.org
> > 
> > > > > >>> Subject: Re: Ofbiz WorkFlow Engine
> > 
> > > > > >>>
> > 
> > > > > >>> Hi,
> > 
> > > > > >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> > 
> > > > > >>>
> > 
> > > > > >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> > 
> > > > > >>> <de...@techmahindra.com>wrote:
> > 
> > > > > >>>
> > 
> > > > > >>>> Hi All,
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >>>> Need some help to know if we have any workflow integrated in ofbiz
> > 
> > > > > >>> 9.04
> > 
> > > > > >>>> version?
> > 
> > > > > >>>>
> > 
> > > > > >>>> if we already have the workflow is it using xpdl? Is it Shark
> > 
> > > > > >>> workflow?
> > 
> > > > > >>>> Please let me know.. need this urgently before i start designing for
> > 
> > > > > >>> one
> > 
> > > > > >>>> of my requirement.
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >>>> Appreciate your help.
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >>>> Thanks&  Regards,
> > 
> > > > > >>>>
> > 
> > > > > >>>> Deepa
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >> ========================================================================
> > 
> > > > > >>> ====================================================Disclaimer:
> > 
> > > > > >>>>   This message and the information contained herein is proprietary
> > 
> > > > > >> and
> > 
> > > > > >>>> confidential and subject to the Tech Mahindra policy statement, you
> > 
> > > > > >>> may
> > 
> > > > > >>>> review the policy at<a
> > 
> > > > > >>> href="http://www.techmahindra.com/Disclaimer.html
> > 
> > > > > >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > 
> > > > > >>> href="
> > 
> > > > > >>>> http://tim.techmahindra.com/Disclaimer.html">
> > 
> > > > > >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > 
> > > > > >> Tech
> > 
> > > > > >> Mahindra.===============================================================
> > 
> > > > > >>> =============================================================
> > 
> > > > > >>>
> > 
> > > > > >>>
> > 
> > > > > >>> --
> > 
> > > > > >>> Regards,
> > 
> > > > > >>> Varun Bhansaly
> > 
> > > > > >>>
> > 
> > > > > >>>
> > 
> > > > > >> ========================================================================
> > 
> > > > > >> ====================================================Disclaimer:
> > 
> > > > > >>>   This message and the information contained herein is proprietary and
> > 
> > > > > >>> confidential and subject to the Tech Mahindra policy statement, you
> > 
> > > > > >> may
> > 
> > > > > >>> review the policy at<a
> > 
> > > > > >> href="http://www.techmahindra.com/Disclaimer.html
> > 
> > > > > >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > 
> > > > > >> href="
> > 
> > > > > >>> http://tim.techmahindra.com/Disclaimer.html">
> > 
> > > > > >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > 
> > > > > Tech
> > 
> > > > > >>>
> > 
> > > > > >> Mahindra.===============================================================
> > 
> > > > > >> =============================================================
> > 
> > > > > >>
> > 
> > > > > >>
> > 
> > > > > >
> > 
> > > > >
> > 
> > > > > ============================================================================================================================Disclaimer:
> > 
> > > > >  This message and the information contained herein is proprietary and
> > 
> > > > > confidential and subject to the Tech Mahindra policy statement, you may
> > 
> > > > > review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> > 
> > > > > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> > 
> > > > > http://tim.techmahindra.com/Disclaimer.html">
> > 
> > > > > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> > 
> > > > > Mahindra.============================================================================================================================
> > 
> > > > 
> > 
> > > > 
> > 
> > > > 
> > 
> > > > 
> > 
> > > > ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================
> > 
> > > > 
> > 
> > > > 
> > 
> > > > 
> > 
> > > > 
> > 
> > > 
> > 
> > > 
> > 
> > > 
> > 
> >  
> > 
> > 
> > ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================
> 
> 
> 


============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================

RE: Ofbiz WorkFlow Engine

Posted by Shi Jinghai <sh...@langhua.cn>.
Done. UI labels are in config/JBPMUiLabels.properties.

在 2010-09-19日的 22:35 +0530,Deepa Priolkar写道:
> Thanks Shi, I have successful done with the integration :) 
> 
> Need one more favor from you, all the text is coming in Chinese :( can you please help me translate the same in English? if you can send me the updated ftl file it will help me alot. Thanks in advance.
> 
> Thanks & Regards,
> Deepa
> 
> 
> -----Original Message-----
> From: Shi Jinghai [mailto:shijh@langhua.cn]
> Sent: Sun 9/19/2010 4:14 AM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
>  
> Bug, now fixed. Please update the source code and rebuild.
> 
> Good luck,
> 
> Shi Jinghai/Beijing Langhua Ltd.
> 
> 
> ? 2010-09-16?? 16:16 +0530,Deepa Priolkar??:
> > Hi Shi,
> > 
> >  
> > 
> > I have build the sample.process zip file. But it does not have the productdefination.xml file. I am totally new to Maven script, I am using the same script which you had provided not sure how to edit that file to add the productdefination.xml
> > 
> >  
> > 
> > As of now it has only 
> > 
> > Pom.xml 
> > 
> > Pom.properties
> > 
> > MANIFEST.MF
> > 
> > OfBizJBPMSample.class
> > 
> >  
> > 
> > If I try to upload the same zip I am getting error, Please advice.
> > 
> > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://jbpm/widget/JbpmScreens.xml#uploadProcess]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh] (Error running BSH script at [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh], line [34]: Sourced file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method Invocation upload.actionCommit : at Line: 34 : in file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : upload .actionCommit ( request ) 
> > 
> >  
> > 
> > Target exception: org.jbpm.jpdl.JpdlException: [[ERROR] no processdefinition.xml inside process archive]
> > 
> > (Sourced file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method Invocation upload.actionCommit)) (Error running BSH script at location [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh] (Error running BSH script at [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh], line [34]: Sourced file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method Invocation upload.actionCommit : at Line: 34 : in file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : upload .actionCommit ( request ) 
> > 
> >  
> > 
> > Target exception: org.jbpm.jpdl.JpdlException: [[ERROR] no processdefinition.xml inside process archive]
> > 
> > (Sourced file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method Invocation upload.actionCommit)))
> > 
> >  
> > 
> > Thanks & Regards,
> > 
> > Deepa
> > 
> >  
> > 
> > 
> > 
> > -----Original Message-----
> > From: Shi Jinghai [mailto:shijh@langhua.cn] 
> > Sent: Wednesday, September 15, 2010 2:43 AM
> > To: user@ofbiz.apache.org
> > Subject: RE: Ofbiz WorkFlow Engine
> > 
> >  
> > 
> > Hi Deepa,
> > 
> >  
> > 
> > Edit the project pom.xml, make processes module available, and run maven
> > 
> > package, the sample.process will be built under processes/target/
> > 
> >       <modules>
> > 
> >             <!-- <module>core</module> -->
> > 
> >             <module>processes</module>
> > 
> >       </modules>
> > 
> >  
> > 
> > Good luck,
> > 
> >  
> > 
> > Shi Jinghai/Beijing Langhua Ltd.
> > 
> >  
> > 
> > ? 2010-09-15?? 02:00 +0530,Deepa Priolkar??:
> > 
> > > Thanks Shi.. I have done the integration, but one query regarding the process definition.
> > 
> > > In one of the step its mentioned to create the "sample.process" and upload it.. I did not catch up on how to create this file..tried all the scripts but no luck..please advice.
> > 
> > > 
> > 
> > > Regards,
> > 
> > > Deepa
> > 
> > > 
> > 
> > > 
> > 
> > > -----Original Message-----
> > 
> > > From: Shi Jinghai [mailto:shijh@langhua.cn]
> > 
> > > Sent: Mon 9/13/2010 3:06 PM
> > 
> > > To: user@ofbiz.apache.org
> > 
> > > Subject: RE: Ofbiz WorkFlow Engine
> > 
> > >  
> > 
> > > Hi Deepa,
> > 
> > > 
> > 
> > > The ofbiz-jbpm component is developed in maven style. We use eclipse +
> > 
> > > iam as our standard develop tool.
> > 
> > > 
> > 
> > > You can find the built components in our maven repository:
> > 
> > > http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/
> > 
> > > 
> > 
> > > http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/
> > 
> > > 
> > 
> > > Download the zip files and unzip them to your ofbiz, rebuild (I changed
> > 
> > > the StringUtil.java to make it work for iframe in htmlreport), add the 2
> > 
> > > components to component-load.xml, config
> > 
> > > ${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your
> > 
> > > database and restart ofbiz, that's all. The jbpm tables will be created
> > 
> > > automatically during startup.
> > 
> > > 
> > 
> > > The htmlreport is a tool to show the procedures of importing jbpm
> > 
> > > process file and etc in web browser. There's demos in the component. You
> > 
> > > can remove it from your tool bar if it works.
> > 
> > > 
> > 
> > > Good luck,
> > 
> > > 
> > 
> > > Shi Jinghai/Beijing Langhua Ltd.
> > 
> > > 
> > 
> > > 
> > 
> > > ? 2010-09-12?? 22:29 +0530,Deepa Priolkar??:
> > 
> > > > can someone tell me how to create table in the derby database?
> > 
> > > > 
> > 
> > > > ________________________________
> > 
> > > > 
> > 
> > > > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> > 
> > > > Sent: Sun 9/12/2010 10:25 PM
> > 
> > > > To: user@ofbiz.apache.org
> > 
> > > > Subject: RE: Ofbiz WorkFlow Engine
> > 
> > > > 
> > 
> > > > 
> > 
> > > > 
> > 
> > > > Hi,
> > 
> > > > 
> > 
> > > > I was able to solve the issue related to the database configuration, but looks like now i am totally stuck..
> > 
> > > > 
> > 
> > > > When i am trying to start the server, i am getting following error, Please help..
> > 
> > > > 
> > 
> > > > 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries
> > 
> > > > 
> > 
> > > > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> > 
> > > > 
> > 
> > > > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_MESSAGE' does not exist.
> > 
> > > > 
> > 
> > > > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 :WARN ] SQL Warning: 10000, SQLState: 01J01
> > 
> > > > 
> > 
> > > > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 :WARN ] Database 'ofbiz' not created, connection made to existing database instead.
> > 
> > > > 
> > 
> > > > 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> > 
> > > > 
> > 
> > > > 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_TIMER' does not exist.
> > 
> > > > 
> > 
> > > > 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> > 
> > > > 
> > 
> > > > 2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> > 
> > > > 
> > 
> > > > 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] runtime exception while executing timers
> > 
> > > > 
> > 
> > > > org.jbpm.JbpmException: couldn't find timers from the database
> > 
> > > > 
> > 
> > > > at org.jbpm.db.
> > 
> > > > 
> > 
> > > > 
> > 
> > > > 
> > 
> > > > ________________________________
> > 
> > > > 
> > 
> > > > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> > 
> > > > Sent: Sun 9/12/2010 8:41 PM
> > 
> > > > To: user@ofbiz.apache.org; user@ofbiz.apache.org
> > 
> > > > Subject: RE: Ofbiz WorkFlow Engine
> > 
> > > > 
> > 
> > > > 
> > 
> > > > 
> > 
> > > > Hi,
> > 
> > > > 
> > 
> > > > I forgot to mention that i am getting error after doing the configuration mentioned in my last mail,
> > 
> > > > 
> > 
> > > > snippet from the logs
> > 
> > > > 
> > 
> > > > 2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource: java:comp/env/jBPM_DS
> > 
> > > > javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO]
> > 
> > > >         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
> > 
> > > >         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > 
> > > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
> > 
> > > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
> > 
> > > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
> > 
> > > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
> > 
> > > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
> > 
> > > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
> > 
> > > >         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
> > 
> > > >         at javax.naming.InitialContext.lookup(InitialContext.java:351)
> > 
> > > >         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
> > 
> > > >         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
> > 
> > > >         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
> > 
> > > >         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
> > 
> > > >         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
> > 
> > > >         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
> > 
> > > >         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
> > 
> > > >         at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
> > 
> > > >         at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
> > 
> > > >         at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
> > 
> > > >         at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
> > 
> > > >         at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
> > 
> > > >         at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
> > 
> > > >         at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
> > 
> > > > Caused by: java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO
> > 
> > > >         at java.lang.Class.newInstance0(Class.java:335)
> > 
> > > >         at java.lang.Class.newInstance(Class.java:303)
> > 
> > > >         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
> > 
> > > >         ... 23 more
> > 
> > > > 
> > 
> > > > -----Original Message-----
> > 
> > > > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> > 
> > > > Sent: Sun 9/12/2010 8:37 PM
> > 
> > > > To: user@ofbiz.apache.org
> > 
> > > > Subject: RE: Ofbiz WorkFlow Engine
> > 
> > > > 
> > 
> > > > 
> > 
> > > > Hi,
> > 
> > > > 
> > 
> > > > Need some help in JBPM integration, I have followed the steps mentioned in the link given below.
> > 
> > > > 
> > 
> > > > Now for the database i want to use derby instead of MySQL...
> > 
> > > > I have configured following in the context.xml (runtime/catalina/conf/context.xml)
> > 
> > > >   <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"
> > 
> > > >        maxActive="30" maxIdle="3" maxWait="2000"
> > 
> > > >        username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
> > 
> > > >        factory="org.ofbiz.entity.datasource.GenericHelperDAO"
> > 
> > > >        url="jdbc:derby:ofbiz;create=true"/>
> > 
> > > > 
> > 
> > > > </Context>
> > 
> > > > 
> > 
> > > > Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also
> > 
> > > > 
> > 
> > > >  <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
> > 
> > > >     <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>
> > 
> > > > 
> > 
> > > > Regards,
> > 
> > > > Deepa
> > 
> > > > 
> > 
> > > > 
> > 
> > > > -----Original Message-----
> > 
> > > > From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal
> > 
> > > > Sent: Thu 9/9/2010 5:37 PM
> > 
> > > > To: user@ofbiz.apache.org
> > 
> > > > Subject: Re: Ofbiz WorkFlow Engine
> > 
> > > > 
> > 
> > > > There's SVn access available. Instructions here:
> > 
> > > > http://www.langhua.cn/download/ofbiz-jbpm.html
> > 
> > > > 
> > 
> > > > -Jeroen
> > 
> > > > 
> > 
> > > > On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:
> > 
> > > > 
> > 
> > > > > Hi Shi,
> > 
> > > > >
> > 
> > > > > Can you please help me to download the code from the location mentioned
> > 
> > > > > below? I tried FTP it did not work. Please advice.
> > 
> > > > >
> > 
> > > > >
> > 
> > > > > On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > 
> > > > > > Here is a OFBiz-jBPM component:
> > 
> > > > > > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > 
> > > > > > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> > 
> > > > > >
> > 
> > > > > > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > 
> > > > > > of jBPM.
> > 
> > > > > >
> > 
> > > > > > OSWorkflow can also work with OFBiz.
> > 
> > > > > >
> > 
> > > > > > Personally I like jBPM.
> > 
> > > > > >
> > 
> > > > > > Regards,
> > 
> > > > > >
> > 
> > > > > > Shi Jinghai/Beijing Langhua Ltd.
> > 
> > > > > >
> > 
> > > > > >
> > 
> > > > > > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> > 
> > > > > >> Hi Varun,
> > 
> > > > > >>
> > 
> > > > > >> Yes I am looking for something similar to JBPM, not fullfledge but
> > 
> > > > > >> atleast it should have the configuration through XML (similar to Shark).
> > 
> > > > > >> Do we have something like this in Ofbiz integrated? If not, then has
> > 
> > > > > >> anyone integrated any webflows in Ofbiz? Please let me know..
> > 
> > > > > >>
> > 
> > > > > >> Regards,
> > 
> > > > > >> Deepa
> > 
> > > > > >>
> > 
> > > > > >> -----Original Message-----
> > 
> > > > > >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > 
> > > > > >> Sent: Tuesday, September 07, 2010 1:38 PM
> > 
> > > > > >> To: user@ofbiz.apache.org
> > 
> > > > > >> Subject: Re: Ofbiz WorkFlow Engine
> > 
> > > > > >>
> > 
> > > > > >> Hi Deepa,
> > 
> > > > > >> Are you looking at something like designing the process flow, for eg as
> > 
> > > > > >> in
> > 
> > > > > >> jBPM workflow engine&  the process designer ?
> > 
> > > > > >> Though processes could be implemented using SECAs, EECAs etc.
> > 
> > > > > >>
> > 
> > > > > >>
> > 
> > > > > >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> > 
> > > > > >> <de...@techmahindra.com>wrote:
> > 
> > > > > >>
> > 
> > > > > >>> Thanks Varun for replying.. I have checked this link but its talking
> > 
> > > > > >>> about XPDL which actually comes with Shark implementation and in the
> > 
> > > > > >>> same link they have mentioned that Shark is not yet implemented in
> > 
> > > > > >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> > 
> > > > > >>> workflow definition type of design in Ofbiz as of now other then the
> > 
> > > > > >>> events?
> > 
> > > > > >>>
> > 
> > > > > >>> Thanks,
> > 
> > > > > >>> Deepa
> > 
> > > > > >>>
> > 
> > > > > >>> -----Original Message-----
> > 
> > > > > >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > 
> > > > > >>> Sent: Monday, September 06, 2010 9:57 PM
> > 
> > > > > >>> To: user@ofbiz.apache.org
> > 
> > > > > >>> Subject: Re: Ofbiz WorkFlow Engine
> > 
> > > > > >>>
> > 
> > > > > >>> Hi,
> > 
> > > > > >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> > 
> > > > > >>>
> > 
> > > > > >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> > 
> > > > > >>> <de...@techmahindra.com>wrote:
> > 
> > > > > >>>
> > 
> > > > > >>>> Hi All,
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >>>> Need some help to know if we have any workflow integrated in ofbiz
> > 
> > > > > >>> 9.04
> > 
> > > > > >>>> version?
> > 
> > > > > >>>>
> > 
> > > > > >>>> if we already have the workflow is it using xpdl? Is it Shark
> > 
> > > > > >>> workflow?
> > 
> > > > > >>>> Please let me know.. need this urgently before i start designing for
> > 
> > > > > >>> one
> > 
> > > > > >>>> of my requirement.
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >>>> Appreciate your help.
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >>>> Thanks&  Regards,
> > 
> > > > > >>>>
> > 
> > > > > >>>> Deepa
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >>>>
> > 
> > > > > >> ========================================================================
> > 
> > > > > >>> ====================================================Disclaimer:
> > 
> > > > > >>>>   This message and the information contained herein is proprietary
> > 
> > > > > >> and
> > 
> > > > > >>>> confidential and subject to the Tech Mahindra policy statement, you
> > 
> > > > > >>> may
> > 
> > > > > >>>> review the policy at<a
> > 
> > > > > >>> href="http://www.techmahindra.com/Disclaimer.html
> > 
> > > > > >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > 
> > > > > >>> href="
> > 
> > > > > >>>> http://tim.techmahindra.com/Disclaimer.html">
> > 
> > > > > >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > 
> > > > > >> Tech
> > 
> > > > > >> Mahindra.===============================================================
> > 
> > > > > >>> =============================================================
> > 
> > > > > >>>
> > 
> > > > > >>>
> > 
> > > > > >>> --
> > 
> > > > > >>> Regards,
> > 
> > > > > >>> Varun Bhansaly
> > 
> > > > > >>>
> > 
> > > > > >>>
> > 
> > > > > >> ========================================================================
> > 
> > > > > >> ====================================================Disclaimer:
> > 
> > > > > >>>   This message and the information contained herein is proprietary and
> > 
> > > > > >>> confidential and subject to the Tech Mahindra policy statement, you
> > 
> > > > > >> may
> > 
> > > > > >>> review the policy at<a
> > 
> > > > > >> href="http://www.techmahindra.com/Disclaimer.html
> > 
> > > > > >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > 
> > > > > >> href="
> > 
> > > > > >>> http://tim.techmahindra.com/Disclaimer.html">
> > 
> > > > > >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > 
> > > > > Tech
> > 
> > > > > >>>
> > 
> > > > > >> Mahindra.===============================================================
> > 
> > > > > >> =============================================================
> > 
> > > > > >>
> > 
> > > > > >>
> > 
> > > > > >
> > 
> > > > >
> > 
> > > > > ============================================================================================================================Disclaimer:
> > 
> > > > >  This message and the information contained herein is proprietary and
> > 
> > > > > confidential and subject to the Tech Mahindra policy statement, you may
> > 
> > > > > review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> > 
> > > > > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> > 
> > > > > http://tim.techmahindra.com/Disclaimer.html">
> > 
> > > > > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> > 
> > > > > Mahindra.============================================================================================================================
> > 
> > > > 
> > 
> > > > 
> > 
> > > > 
> > 
> > > > 
> > 
> > > > ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================
> > 
> > > > 
> > 
> > > > 
> > 
> > > > 
> > 
> > > > 
> > 
> > > 
> > 
> > > 
> > 
> > > 
> > 
> >  
> > 
> > 
> > ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================
> 
> 
> 


RE: Ofbiz WorkFlow Engine

Posted by Deepa Priolkar <de...@TechMahindra.com>.
Thanks Shi, I have successful done with the integration :) 

Need one more favor from you, all the text is coming in Chinese :( can you please help me translate the same in English? if you can send me the updated ftl file it will help me alot. Thanks in advance.

Thanks & Regards,
Deepa


-----Original Message-----
From: Shi Jinghai [mailto:shijh@langhua.cn]
Sent: Sun 9/19/2010 4:14 AM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 
Bug, now fixed. Please update the source code and rebuild.

Good luck,

Shi Jinghai/Beijing Langhua Ltd.


? 2010-09-16?? 16:16 +0530,Deepa Priolkar??:
> Hi Shi,
> 
>  
> 
> I have build the sample.process zip file. But it does not have the productdefination.xml file. I am totally new to Maven script, I am using the same script which you had provided not sure how to edit that file to add the productdefination.xml
> 
>  
> 
> As of now it has only 
> 
> Pom.xml 
> 
> Pom.properties
> 
> MANIFEST.MF
> 
> OfBizJBPMSample.class
> 
>  
> 
> If I try to upload the same zip I am getting error, Please advice.
> 
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://jbpm/widget/JbpmScreens.xml#uploadProcess]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh] (Error running BSH script at [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh], line [34]: Sourced file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method Invocation upload.actionCommit : at Line: 34 : in file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : upload .actionCommit ( request ) 
> 
>  
> 
> Target exception: org.jbpm.jpdl.JpdlException: [[ERROR] no processdefinition.xml inside process archive]
> 
> (Sourced file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method Invocation upload.actionCommit)) (Error running BSH script at location [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh] (Error running BSH script at [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh], line [34]: Sourced file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method Invocation upload.actionCommit : at Line: 34 : in file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : upload .actionCommit ( request ) 
> 
>  
> 
> Target exception: org.jbpm.jpdl.JpdlException: [[ERROR] no processdefinition.xml inside process archive]
> 
> (Sourced file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method Invocation upload.actionCommit)))
> 
>  
> 
> Thanks & Regards,
> 
> Deepa
> 
>  
> 
> 
> 
> -----Original Message-----
> From: Shi Jinghai [mailto:shijh@langhua.cn] 
> Sent: Wednesday, September 15, 2010 2:43 AM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
>  
> 
> Hi Deepa,
> 
>  
> 
> Edit the project pom.xml, make processes module available, and run maven
> 
> package, the sample.process will be built under processes/target/
> 
>       <modules>
> 
>             <!-- <module>core</module> -->
> 
>             <module>processes</module>
> 
>       </modules>
> 
>  
> 
> Good luck,
> 
>  
> 
> Shi Jinghai/Beijing Langhua Ltd.
> 
>  
> 
> ? 2010-09-15?? 02:00 +0530,Deepa Priolkar??:
> 
> > Thanks Shi.. I have done the integration, but one query regarding the process definition.
> 
> > In one of the step its mentioned to create the "sample.process" and upload it.. I did not catch up on how to create this file..tried all the scripts but no luck..please advice.
> 
> > 
> 
> > Regards,
> 
> > Deepa
> 
> > 
> 
> > 
> 
> > -----Original Message-----
> 
> > From: Shi Jinghai [mailto:shijh@langhua.cn]
> 
> > Sent: Mon 9/13/2010 3:06 PM
> 
> > To: user@ofbiz.apache.org
> 
> > Subject: RE: Ofbiz WorkFlow Engine
> 
> >  
> 
> > Hi Deepa,
> 
> > 
> 
> > The ofbiz-jbpm component is developed in maven style. We use eclipse +
> 
> > iam as our standard develop tool.
> 
> > 
> 
> > You can find the built components in our maven repository:
> 
> > http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/
> 
> > 
> 
> > http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/
> 
> > 
> 
> > Download the zip files and unzip them to your ofbiz, rebuild (I changed
> 
> > the StringUtil.java to make it work for iframe in htmlreport), add the 2
> 
> > components to component-load.xml, config
> 
> > ${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your
> 
> > database and restart ofbiz, that's all. The jbpm tables will be created
> 
> > automatically during startup.
> 
> > 
> 
> > The htmlreport is a tool to show the procedures of importing jbpm
> 
> > process file and etc in web browser. There's demos in the component. You
> 
> > can remove it from your tool bar if it works.
> 
> > 
> 
> > Good luck,
> 
> > 
> 
> > Shi Jinghai/Beijing Langhua Ltd.
> 
> > 
> 
> > 
> 
> > ? 2010-09-12?? 22:29 +0530,Deepa Priolkar??:
> 
> > > can someone tell me how to create table in the derby database?
> 
> > > 
> 
> > > ________________________________
> 
> > > 
> 
> > > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> 
> > > Sent: Sun 9/12/2010 10:25 PM
> 
> > > To: user@ofbiz.apache.org
> 
> > > Subject: RE: Ofbiz WorkFlow Engine
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > > Hi,
> 
> > > 
> 
> > > I was able to solve the issue related to the database configuration, but looks like now i am totally stuck..
> 
> > > 
> 
> > > When i am trying to start the server, i am getting following error, Please help..
> 
> > > 
> 
> > > 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries
> 
> > > 
> 
> > > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> 
> > > 
> 
> > > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_MESSAGE' does not exist.
> 
> > > 
> 
> > > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 :WARN ] SQL Warning: 10000, SQLState: 01J01
> 
> > > 
> 
> > > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 :WARN ] Database 'ofbiz' not created, connection made to existing database instead.
> 
> > > 
> 
> > > 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> 
> > > 
> 
> > > 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_TIMER' does not exist.
> 
> > > 
> 
> > > 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> 
> > > 
> 
> > > 2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> 
> > > 
> 
> > > 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] runtime exception while executing timers
> 
> > > 
> 
> > > org.jbpm.JbpmException: couldn't find timers from the database
> 
> > > 
> 
> > > at org.jbpm.db.
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > > ________________________________
> 
> > > 
> 
> > > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> 
> > > Sent: Sun 9/12/2010 8:41 PM
> 
> > > To: user@ofbiz.apache.org; user@ofbiz.apache.org
> 
> > > Subject: RE: Ofbiz WorkFlow Engine
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > > Hi,
> 
> > > 
> 
> > > I forgot to mention that i am getting error after doing the configuration mentioned in my last mail,
> 
> > > 
> 
> > > snippet from the logs
> 
> > > 
> 
> > > 2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource: java:comp/env/jBPM_DS
> 
> > > javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO]
> 
> > >         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
> 
> > >         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> 
> > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
> 
> > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
> 
> > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
> 
> > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
> 
> > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
> 
> > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
> 
> > >         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
> 
> > >         at javax.naming.InitialContext.lookup(InitialContext.java:351)
> 
> > >         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
> 
> > >         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
> 
> > >         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
> 
> > >         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
> 
> > >         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
> 
> > >         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
> 
> > >         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
> 
> > >         at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
> 
> > >         at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
> 
> > >         at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
> 
> > >         at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
> 
> > >         at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
> 
> > >         at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
> 
> > >         at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
> 
> > > Caused by: java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO
> 
> > >         at java.lang.Class.newInstance0(Class.java:335)
> 
> > >         at java.lang.Class.newInstance(Class.java:303)
> 
> > >         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
> 
> > >         ... 23 more
> 
> > > 
> 
> > > -----Original Message-----
> 
> > > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> 
> > > Sent: Sun 9/12/2010 8:37 PM
> 
> > > To: user@ofbiz.apache.org
> 
> > > Subject: RE: Ofbiz WorkFlow Engine
> 
> > > 
> 
> > > 
> 
> > > Hi,
> 
> > > 
> 
> > > Need some help in JBPM integration, I have followed the steps mentioned in the link given below.
> 
> > > 
> 
> > > Now for the database i want to use derby instead of MySQL...
> 
> > > I have configured following in the context.xml (runtime/catalina/conf/context.xml)
> 
> > >   <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"
> 
> > >        maxActive="30" maxIdle="3" maxWait="2000"
> 
> > >        username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
> 
> > >        factory="org.ofbiz.entity.datasource.GenericHelperDAO"
> 
> > >        url="jdbc:derby:ofbiz;create=true"/>
> 
> > > 
> 
> > > </Context>
> 
> > > 
> 
> > > Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also
> 
> > > 
> 
> > >  <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
> 
> > >     <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>
> 
> > > 
> 
> > > Regards,
> 
> > > Deepa
> 
> > > 
> 
> > > 
> 
> > > -----Original Message-----
> 
> > > From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal
> 
> > > Sent: Thu 9/9/2010 5:37 PM
> 
> > > To: user@ofbiz.apache.org
> 
> > > Subject: Re: Ofbiz WorkFlow Engine
> 
> > > 
> 
> > > There's SVn access available. Instructions here:
> 
> > > http://www.langhua.cn/download/ofbiz-jbpm.html
> 
> > > 
> 
> > > -Jeroen
> 
> > > 
> 
> > > On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:
> 
> > > 
> 
> > > > Hi Shi,
> 
> > > >
> 
> > > > Can you please help me to download the code from the location mentioned
> 
> > > > below? I tried FTP it did not work. Please advice.
> 
> > > >
> 
> > > >
> 
> > > > On 9/7/10 5:51 AM, Shi Jinghai wrote:
> 
> > > > > Here is a OFBiz-jBPM component:
> 
> > > > > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> 
> > > > > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> 
> > > > >
> 
> > > > > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> 
> > > > > of jBPM.
> 
> > > > >
> 
> > > > > OSWorkflow can also work with OFBiz.
> 
> > > > >
> 
> > > > > Personally I like jBPM.
> 
> > > > >
> 
> > > > > Regards,
> 
> > > > >
> 
> > > > > Shi Jinghai/Beijing Langhua Ltd.
> 
> > > > >
> 
> > > > >
> 
> > > > > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> 
> > > > >> Hi Varun,
> 
> > > > >>
> 
> > > > >> Yes I am looking for something similar to JBPM, not fullfledge but
> 
> > > > >> atleast it should have the configuration through XML (similar to Shark).
> 
> > > > >> Do we have something like this in Ofbiz integrated? If not, then has
> 
> > > > >> anyone integrated any webflows in Ofbiz? Please let me know..
> 
> > > > >>
> 
> > > > >> Regards,
> 
> > > > >> Deepa
> 
> > > > >>
> 
> > > > >> -----Original Message-----
> 
> > > > >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> 
> > > > >> Sent: Tuesday, September 07, 2010 1:38 PM
> 
> > > > >> To: user@ofbiz.apache.org
> 
> > > > >> Subject: Re: Ofbiz WorkFlow Engine
> 
> > > > >>
> 
> > > > >> Hi Deepa,
> 
> > > > >> Are you looking at something like designing the process flow, for eg as
> 
> > > > >> in
> 
> > > > >> jBPM workflow engine&  the process designer ?
> 
> > > > >> Though processes could be implemented using SECAs, EECAs etc.
> 
> > > > >>
> 
> > > > >>
> 
> > > > >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> 
> > > > >> <de...@techmahindra.com>wrote:
> 
> > > > >>
> 
> > > > >>> Thanks Varun for replying.. I have checked this link but its talking
> 
> > > > >>> about XPDL which actually comes with Shark implementation and in the
> 
> > > > >>> same link they have mentioned that Shark is not yet implemented in
> 
> > > > >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> 
> > > > >>> workflow definition type of design in Ofbiz as of now other then the
> 
> > > > >>> events?
> 
> > > > >>>
> 
> > > > >>> Thanks,
> 
> > > > >>> Deepa
> 
> > > > >>>
> 
> > > > >>> -----Original Message-----
> 
> > > > >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> 
> > > > >>> Sent: Monday, September 06, 2010 9:57 PM
> 
> > > > >>> To: user@ofbiz.apache.org
> 
> > > > >>> Subject: Re: Ofbiz WorkFlow Engine
> 
> > > > >>>
> 
> > > > >>> Hi,
> 
> > > > >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> 
> > > > >>>
> 
> > > > >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> 
> > > > >>> <de...@techmahindra.com>wrote:
> 
> > > > >>>
> 
> > > > >>>> Hi All,
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >>>> Need some help to know if we have any workflow integrated in ofbiz
> 
> > > > >>> 9.04
> 
> > > > >>>> version?
> 
> > > > >>>>
> 
> > > > >>>> if we already have the workflow is it using xpdl? Is it Shark
> 
> > > > >>> workflow?
> 
> > > > >>>> Please let me know.. need this urgently before i start designing for
> 
> > > > >>> one
> 
> > > > >>>> of my requirement.
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >>>> Appreciate your help.
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >>>> Thanks&  Regards,
> 
> > > > >>>>
> 
> > > > >>>> Deepa
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >> ========================================================================
> 
> > > > >>> ====================================================Disclaimer:
> 
> > > > >>>>   This message and the information contained herein is proprietary
> 
> > > > >> and
> 
> > > > >>>> confidential and subject to the Tech Mahindra policy statement, you
> 
> > > > >>> may
> 
> > > > >>>> review the policy at<a
> 
> > > > >>> href="http://www.techmahindra.com/Disclaimer.html
> 
> > > > >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> 
> > > > >>> href="
> 
> > > > >>>> http://tim.techmahindra.com/Disclaimer.html">
> 
> > > > >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> 
> > > > >> Tech
> 
> > > > >> Mahindra.===============================================================
> 
> > > > >>> =============================================================
> 
> > > > >>>
> 
> > > > >>>
> 
> > > > >>> --
> 
> > > > >>> Regards,
> 
> > > > >>> Varun Bhansaly
> 
> > > > >>>
> 
> > > > >>>
> 
> > > > >> ========================================================================
> 
> > > > >> ====================================================Disclaimer:
> 
> > > > >>>   This message and the information contained herein is proprietary and
> 
> > > > >>> confidential and subject to the Tech Mahindra policy statement, you
> 
> > > > >> may
> 
> > > > >>> review the policy at<a
> 
> > > > >> href="http://www.techmahindra.com/Disclaimer.html
> 
> > > > >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> 
> > > > >> href="
> 
> > > > >>> http://tim.techmahindra.com/Disclaimer.html">
> 
> > > > >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> 
> > > > Tech
> 
> > > > >>>
> 
> > > > >> Mahindra.===============================================================
> 
> > > > >> =============================================================
> 
> > > > >>
> 
> > > > >>
> 
> > > > >
> 
> > > >
> 
> > > > ============================================================================================================================Disclaimer:
> 
> > > >  This message and the information contained herein is proprietary and
> 
> > > > confidential and subject to the Tech Mahindra policy statement, you may
> 
> > > > review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> 
> > > > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> 
> > > > http://tim.techmahindra.com/Disclaimer.html">
> 
> > > > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> 
> > > > Mahindra.============================================================================================================================
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > > ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > 
> 
> > 
> 
> > 
> 
>  
> 
> 
> ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================




RE: Ofbiz WorkFlow Engine

Posted by Shi Jinghai <sh...@langhua.cn>.
Bug, now fixed. Please update the source code and rebuild.

Good luck,

Shi Jinghai/Beijing Langhua Ltd.


在 2010-09-16四的 16:16 +0530,Deepa Priolkar写道:
> Hi Shi,
> 
>  
> 
> I have build the sample.process zip file. But it does not have the productdefination.xml file. I am totally new to Maven script, I am using the same script which you had provided not sure how to edit that file to add the productdefination.xml
> 
>  
> 
> As of now it has only 
> 
> Pom.xml 
> 
> Pom.properties
> 
> MANIFEST.MF
> 
> OfBizJBPMSample.class
> 
>  
> 
> If I try to upload the same zip I am getting error, Please advice.
> 
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://jbpm/widget/JbpmScreens.xml#uploadProcess]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh] (Error running BSH script at [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh], line [34]: Sourced file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method Invocation upload.actionCommit : at Line: 34 : in file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : upload .actionCommit ( request ) 
> 
>  
> 
> Target exception: org.jbpm.jpdl.JpdlException: [[ERROR] no processdefinition.xml inside process archive]
> 
> (Sourced file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method Invocation upload.actionCommit)) (Error running BSH script at location [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh] (Error running BSH script at [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh], line [34]: Sourced file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method Invocation upload.actionCommit : at Line: 34 : in file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : upload .actionCommit ( request ) 
> 
>  
> 
> Target exception: org.jbpm.jpdl.JpdlException: [[ERROR] no processdefinition.xml inside process archive]
> 
> (Sourced file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method Invocation upload.actionCommit)))
> 
>  
> 
> Thanks & Regards,
> 
> Deepa
> 
>  
> 
> 
> 
> -----Original Message-----
> From: Shi Jinghai [mailto:shijh@langhua.cn] 
> Sent: Wednesday, September 15, 2010 2:43 AM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
>  
> 
> Hi Deepa,
> 
>  
> 
> Edit the project pom.xml, make processes module available, and run maven
> 
> package, the sample.process will be built under processes/target/
> 
>       <modules>
> 
>             <!-- <module>core</module> -->
> 
>             <module>processes</module>
> 
>       </modules>
> 
>  
> 
> Good luck,
> 
>  
> 
> Shi Jinghai/Beijing Langhua Ltd.
> 
>  
> 
> 在 2010-09-15三的 02:00 +0530,Deepa Priolkar写道:
> 
> > Thanks Shi.. I have done the integration, but one query regarding the process definition.
> 
> > In one of the step its mentioned to create the "sample.process" and upload it.. I did not catch up on how to create this file..tried all the scripts but no luck..please advice.
> 
> > 
> 
> > Regards,
> 
> > Deepa
> 
> > 
> 
> > 
> 
> > -----Original Message-----
> 
> > From: Shi Jinghai [mailto:shijh@langhua.cn]
> 
> > Sent: Mon 9/13/2010 3:06 PM
> 
> > To: user@ofbiz.apache.org
> 
> > Subject: RE: Ofbiz WorkFlow Engine
> 
> >  
> 
> > Hi Deepa,
> 
> > 
> 
> > The ofbiz-jbpm component is developed in maven style. We use eclipse +
> 
> > iam as our standard develop tool.
> 
> > 
> 
> > You can find the built components in our maven repository:
> 
> > http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/
> 
> > 
> 
> > http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/
> 
> > 
> 
> > Download the zip files and unzip them to your ofbiz, rebuild (I changed
> 
> > the StringUtil.java to make it work for iframe in htmlreport), add the 2
> 
> > components to component-load.xml, config
> 
> > ${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your
> 
> > database and restart ofbiz, that's all. The jbpm tables will be created
> 
> > automatically during startup.
> 
> > 
> 
> > The htmlreport is a tool to show the procedures of importing jbpm
> 
> > process file and etc in web browser. There's demos in the component. You
> 
> > can remove it from your tool bar if it works.
> 
> > 
> 
> > Good luck,
> 
> > 
> 
> > Shi Jinghai/Beijing Langhua Ltd.
> 
> > 
> 
> > 
> 
> > ? 2010-09-12?? 22:29 +0530,Deepa Priolkar??:
> 
> > > can someone tell me how to create table in the derby database?
> 
> > > 
> 
> > > ________________________________
> 
> > > 
> 
> > > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> 
> > > Sent: Sun 9/12/2010 10:25 PM
> 
> > > To: user@ofbiz.apache.org
> 
> > > Subject: RE: Ofbiz WorkFlow Engine
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > > Hi,
> 
> > > 
> 
> > > I was able to solve the issue related to the database configuration, but looks like now i am totally stuck..
> 
> > > 
> 
> > > When i am trying to start the server, i am getting following error, Please help..
> 
> > > 
> 
> > > 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries
> 
> > > 
> 
> > > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> 
> > > 
> 
> > > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_MESSAGE' does not exist.
> 
> > > 
> 
> > > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 :WARN ] SQL Warning: 10000, SQLState: 01J01
> 
> > > 
> 
> > > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 :WARN ] Database 'ofbiz' not created, connection made to existing database instead.
> 
> > > 
> 
> > > 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> 
> > > 
> 
> > > 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_TIMER' does not exist.
> 
> > > 
> 
> > > 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> 
> > > 
> 
> > > 2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> 
> > > 
> 
> > > 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] runtime exception while executing timers
> 
> > > 
> 
> > > org.jbpm.JbpmException: couldn't find timers from the database
> 
> > > 
> 
> > > at org.jbpm.db.
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > > ________________________________
> 
> > > 
> 
> > > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> 
> > > Sent: Sun 9/12/2010 8:41 PM
> 
> > > To: user@ofbiz.apache.org; user@ofbiz.apache.org
> 
> > > Subject: RE: Ofbiz WorkFlow Engine
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > > Hi,
> 
> > > 
> 
> > > I forgot to mention that i am getting error after doing the configuration mentioned in my last mail,
> 
> > > 
> 
> > > snippet from the logs
> 
> > > 
> 
> > > 2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource: java:comp/env/jBPM_DS
> 
> > > javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO]
> 
> > >         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
> 
> > >         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> 
> > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
> 
> > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
> 
> > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
> 
> > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
> 
> > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
> 
> > >         at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
> 
> > >         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
> 
> > >         at javax.naming.InitialContext.lookup(InitialContext.java:351)
> 
> > >         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
> 
> > >         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
> 
> > >         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
> 
> > >         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
> 
> > >         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
> 
> > >         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
> 
> > >         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
> 
> > >         at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
> 
> > >         at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
> 
> > >         at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
> 
> > >         at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
> 
> > >         at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
> 
> > >         at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
> 
> > >         at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
> 
> > > Caused by: java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO
> 
> > >         at java.lang.Class.newInstance0(Class.java:335)
> 
> > >         at java.lang.Class.newInstance(Class.java:303)
> 
> > >         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
> 
> > >         ... 23 more
> 
> > > 
> 
> > > -----Original Message-----
> 
> > > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> 
> > > Sent: Sun 9/12/2010 8:37 PM
> 
> > > To: user@ofbiz.apache.org
> 
> > > Subject: RE: Ofbiz WorkFlow Engine
> 
> > > 
> 
> > > 
> 
> > > Hi,
> 
> > > 
> 
> > > Need some help in JBPM integration, I have followed the steps mentioned in the link given below.
> 
> > > 
> 
> > > Now for the database i want to use derby instead of MySQL...
> 
> > > I have configured following in the context.xml (runtime/catalina/conf/context.xml)
> 
> > >   <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"
> 
> > >        maxActive="30" maxIdle="3" maxWait="2000"
> 
> > >        username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
> 
> > >        factory="org.ofbiz.entity.datasource.GenericHelperDAO"
> 
> > >        url="jdbc:derby:ofbiz;create=true"/>
> 
> > > 
> 
> > > </Context>
> 
> > > 
> 
> > > Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also
> 
> > > 
> 
> > >  <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
> 
> > >     <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>
> 
> > > 
> 
> > > Regards,
> 
> > > Deepa
> 
> > > 
> 
> > > 
> 
> > > -----Original Message-----
> 
> > > From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal
> 
> > > Sent: Thu 9/9/2010 5:37 PM
> 
> > > To: user@ofbiz.apache.org
> 
> > > Subject: Re: Ofbiz WorkFlow Engine
> 
> > > 
> 
> > > There's SVn access available. Instructions here:
> 
> > > http://www.langhua.cn/download/ofbiz-jbpm.html
> 
> > > 
> 
> > > -Jeroen
> 
> > > 
> 
> > > On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:
> 
> > > 
> 
> > > > Hi Shi,
> 
> > > >
> 
> > > > Can you please help me to download the code from the location mentioned
> 
> > > > below? I tried FTP it did not work. Please advice.
> 
> > > >
> 
> > > >
> 
> > > > On 9/7/10 5:51 AM, Shi Jinghai wrote:
> 
> > > > > Here is a OFBiz-jBPM component:
> 
> > > > > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> 
> > > > > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> 
> > > > >
> 
> > > > > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> 
> > > > > of jBPM.
> 
> > > > >
> 
> > > > > OSWorkflow can also work with OFBiz.
> 
> > > > >
> 
> > > > > Personally I like jBPM.
> 
> > > > >
> 
> > > > > Regards,
> 
> > > > >
> 
> > > > > Shi Jinghai/Beijing Langhua Ltd.
> 
> > > > >
> 
> > > > >
> 
> > > > > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> 
> > > > >> Hi Varun,
> 
> > > > >>
> 
> > > > >> Yes I am looking for something similar to JBPM, not fullfledge but
> 
> > > > >> atleast it should have the configuration through XML (similar to Shark).
> 
> > > > >> Do we have something like this in Ofbiz integrated? If not, then has
> 
> > > > >> anyone integrated any webflows in Ofbiz? Please let me know..
> 
> > > > >>
> 
> > > > >> Regards,
> 
> > > > >> Deepa
> 
> > > > >>
> 
> > > > >> -----Original Message-----
> 
> > > > >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> 
> > > > >> Sent: Tuesday, September 07, 2010 1:38 PM
> 
> > > > >> To: user@ofbiz.apache.org
> 
> > > > >> Subject: Re: Ofbiz WorkFlow Engine
> 
> > > > >>
> 
> > > > >> Hi Deepa,
> 
> > > > >> Are you looking at something like designing the process flow, for eg as
> 
> > > > >> in
> 
> > > > >> jBPM workflow engine&  the process designer ?
> 
> > > > >> Though processes could be implemented using SECAs, EECAs etc.
> 
> > > > >>
> 
> > > > >>
> 
> > > > >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> 
> > > > >> <de...@techmahindra.com>wrote:
> 
> > > > >>
> 
> > > > >>> Thanks Varun for replying.. I have checked this link but its talking
> 
> > > > >>> about XPDL which actually comes with Shark implementation and in the
> 
> > > > >>> same link they have mentioned that Shark is not yet implemented in
> 
> > > > >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> 
> > > > >>> workflow definition type of design in Ofbiz as of now other then the
> 
> > > > >>> events?
> 
> > > > >>>
> 
> > > > >>> Thanks,
> 
> > > > >>> Deepa
> 
> > > > >>>
> 
> > > > >>> -----Original Message-----
> 
> > > > >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> 
> > > > >>> Sent: Monday, September 06, 2010 9:57 PM
> 
> > > > >>> To: user@ofbiz.apache.org
> 
> > > > >>> Subject: Re: Ofbiz WorkFlow Engine
> 
> > > > >>>
> 
> > > > >>> Hi,
> 
> > > > >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> 
> > > > >>>
> 
> > > > >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> 
> > > > >>> <de...@techmahindra.com>wrote:
> 
> > > > >>>
> 
> > > > >>>> Hi All,
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >>>> Need some help to know if we have any workflow integrated in ofbiz
> 
> > > > >>> 9.04
> 
> > > > >>>> version?
> 
> > > > >>>>
> 
> > > > >>>> if we already have the workflow is it using xpdl? Is it Shark
> 
> > > > >>> workflow?
> 
> > > > >>>> Please let me know.. need this urgently before i start designing for
> 
> > > > >>> one
> 
> > > > >>>> of my requirement.
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >>>> Appreciate your help.
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >>>> Thanks&  Regards,
> 
> > > > >>>>
> 
> > > > >>>> Deepa
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >>>>
> 
> > > > >> ========================================================================
> 
> > > > >>> ====================================================Disclaimer:
> 
> > > > >>>>   This message and the information contained herein is proprietary
> 
> > > > >> and
> 
> > > > >>>> confidential and subject to the Tech Mahindra policy statement, you
> 
> > > > >>> may
> 
> > > > >>>> review the policy at<a
> 
> > > > >>> href="http://www.techmahindra.com/Disclaimer.html
> 
> > > > >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> 
> > > > >>> href="
> 
> > > > >>>> http://tim.techmahindra.com/Disclaimer.html">
> 
> > > > >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> 
> > > > >> Tech
> 
> > > > >> Mahindra.===============================================================
> 
> > > > >>> =============================================================
> 
> > > > >>>
> 
> > > > >>>
> 
> > > > >>> --
> 
> > > > >>> Regards,
> 
> > > > >>> Varun Bhansaly
> 
> > > > >>>
> 
> > > > >>>
> 
> > > > >> ========================================================================
> 
> > > > >> ====================================================Disclaimer:
> 
> > > > >>>   This message and the information contained herein is proprietary and
> 
> > > > >>> confidential and subject to the Tech Mahindra policy statement, you
> 
> > > > >> may
> 
> > > > >>> review the policy at<a
> 
> > > > >> href="http://www.techmahindra.com/Disclaimer.html
> 
> > > > >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> 
> > > > >> href="
> 
> > > > >>> http://tim.techmahindra.com/Disclaimer.html">
> 
> > > > >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> 
> > > > Tech
> 
> > > > >>>
> 
> > > > >> Mahindra.===============================================================
> 
> > > > >> =============================================================
> 
> > > > >>
> 
> > > > >>
> 
> > > > >
> 
> > > >
> 
> > > > ============================================================================================================================Disclaimer:
> 
> > > >  This message and the information contained herein is proprietary and
> 
> > > > confidential and subject to the Tech Mahindra policy statement, you may
> 
> > > > review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> 
> > > > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> 
> > > > http://tim.techmahindra.com/Disclaimer.html">
> 
> > > > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> 
> > > > Mahindra.============================================================================================================================
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > > ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > 
> 
> > 
> 
> > 
> 
>  
> 
> 
> ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================


RE: Ofbiz WorkFlow Engine

Posted by Deepa Priolkar <de...@TechMahindra.com>.
Hi Shi,

 

I have build the sample.process zip file. But it does not have the productdefination.xml file. I am totally new to Maven script, I am using the same script which you had provided not sure how to edit that file to add the productdefination.xml

 

As of now it has only 

Pom.xml 

Pom.properties

MANIFEST.MF

OfBizJBPMSample.class

 

If I try to upload the same zip I am getting error, Please advice.

org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://jbpm/widget/JbpmScreens.xml#uploadProcess]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh] (Error running BSH script at [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh], line [34]: Sourced file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method Invocation upload.actionCommit : at Line: 34 : in file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : upload .actionCommit ( request ) 

 

Target exception: org.jbpm.jpdl.JpdlException: [[ERROR] no processdefinition.xml inside process archive]

(Sourced file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method Invocation upload.actionCommit)) (Error running BSH script at location [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh] (Error running BSH script at [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh], line [34]: Sourced file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method Invocation upload.actionCommit : at Line: 34 : in file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : upload .actionCommit ( request ) 

 

Target exception: org.jbpm.jpdl.JpdlException: [[ERROR] no processdefinition.xml inside process archive]

(Sourced file: component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method Invocation upload.actionCommit)))

 

Thanks & Regards,

Deepa

 

 

-----Original Message-----
From: Shi Jinghai [mailto:shijh@langhua.cn] 
Sent: Wednesday, September 15, 2010 2:43 AM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine

 

Hi Deepa,

 

Edit the project pom.xml, make processes module available, and run maven

package, the sample.process will be built under processes/target/

      <modules>

            <!-- <module>core</module> -->

            <module>processes</module>

      </modules>

 

Good luck,

 

Shi Jinghai/Beijing Langhua Ltd.

 

在 2010-09-15三的 02:00 +0530,Deepa Priolkar写道:

> Thanks Shi.. I have done the integration, but one query regarding the process definition.

> In one of the step its mentioned to create the "sample.process" and upload it.. I did not catch up on how to create this file..tried all the scripts but no luck..please advice.

> 

> Regards,

> Deepa

> 

> 

> -----Original Message-----

> From: Shi Jinghai [mailto:shijh@langhua.cn]

> Sent: Mon 9/13/2010 3:06 PM

> To: user@ofbiz.apache.org

> Subject: RE: Ofbiz WorkFlow Engine

>  

> Hi Deepa,

> 

> The ofbiz-jbpm component is developed in maven style. We use eclipse +

> iam as our standard develop tool.

> 

> You can find the built components in our maven repository:

> http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/

> 

> http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/

> 

> Download the zip files and unzip them to your ofbiz, rebuild (I changed

> the StringUtil.java to make it work for iframe in htmlreport), add the 2

> components to component-load.xml, config

> ${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your

> database and restart ofbiz, that's all. The jbpm tables will be created

> automatically during startup.

> 

> The htmlreport is a tool to show the procedures of importing jbpm

> process file and etc in web browser. There's demos in the component. You

> can remove it from your tool bar if it works.

> 

> Good luck,

> 

> Shi Jinghai/Beijing Langhua Ltd.

> 

> 

> ? 2010-09-12?? 22:29 +0530,Deepa Priolkar??:

> > can someone tell me how to create table in the derby database?

> > 

> > ________________________________

> > 

> > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]

> > Sent: Sun 9/12/2010 10:25 PM

> > To: user@ofbiz.apache.org

> > Subject: RE: Ofbiz WorkFlow Engine

> > 

> > 

> > 

> > Hi,

> > 

> > I was able to solve the issue related to the database configuration, but looks like now i am totally stuck..

> > 

> > When i am trying to start the server, i am getting following error, Please help..

> > 

> > 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries

> > 

> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05

> > 

> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_MESSAGE' does not exist.

> > 

> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 :WARN ] SQL Warning: 10000, SQLState: 01J01

> > 

> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 :WARN ] Database 'ofbiz' not created, connection made to existing database instead.

> > 

> > 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05

> > 

> > 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_TIMER' does not exist.

> > 

> > 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate

> > 

> > 2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate

> > 

> > 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] runtime exception while executing timers

> > 

> > org.jbpm.JbpmException: couldn't find timers from the database

> > 

> > at org.jbpm.db.

> > 

> > 

> > 

> > ________________________________

> > 

> > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]

> > Sent: Sun 9/12/2010 8:41 PM

> > To: user@ofbiz.apache.org; user@ofbiz.apache.org

> > Subject: RE: Ofbiz WorkFlow Engine

> > 

> > 

> > 

> > Hi,

> > 

> > I forgot to mention that i am getting error after doing the configuration mentioned in my last mail,

> > 

> > snippet from the logs

> > 

> > 2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource: java:comp/env/jBPM_DS

> > javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO]

> >         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)

> >         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)

> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:793)

> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)

> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)

> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)

> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)

> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:153)

> >         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)

> >         at javax.naming.InitialContext.lookup(InitialContext.java:351)

> >         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)

> >         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)

> >         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)

> >         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)

> >         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)

> >         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)

> >         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)

> >         at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)

> >         at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)

> >         at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)

> >         at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)

> >         at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)

> >         at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)

> >         at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)

> > Caused by: java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO

> >         at java.lang.Class.newInstance0(Class.java:335)

> >         at java.lang.Class.newInstance(Class.java:303)

> >         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)

> >         ... 23 more

> > 

> > -----Original Message-----

> > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]

> > Sent: Sun 9/12/2010 8:37 PM

> > To: user@ofbiz.apache.org

> > Subject: RE: Ofbiz WorkFlow Engine

> > 

> > 

> > Hi,

> > 

> > Need some help in JBPM integration, I have followed the steps mentioned in the link given below.

> > 

> > Now for the database i want to use derby instead of MySQL...

> > I have configured following in the context.xml (runtime/catalina/conf/context.xml)

> >   <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"

> >        maxActive="30" maxIdle="3" maxWait="2000"

> >        username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"

> >        factory="org.ofbiz.entity.datasource.GenericHelperDAO"

> >        url="jdbc:derby:ofbiz;create=true"/>

> > 

> > </Context>

> > 

> > Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also

> > 

> >  <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>

> >     <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>

> > 

> > Regards,

> > Deepa

> > 

> > 

> > -----Original Message-----

> > From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal

> > Sent: Thu 9/9/2010 5:37 PM

> > To: user@ofbiz.apache.org

> > Subject: Re: Ofbiz WorkFlow Engine

> > 

> > There's SVn access available. Instructions here:

> > http://www.langhua.cn/download/ofbiz-jbpm.html

> > 

> > -Jeroen

> > 

> > On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:

> > 

> > > Hi Shi,

> > >

> > > Can you please help me to download the code from the location mentioned

> > > below? I tried FTP it did not work. Please advice.

> > >

> > >

> > > On 9/7/10 5:51 AM, Shi Jinghai wrote:

> > > > Here is a OFBiz-jBPM component:

> > > > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%

> > > > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F

> > > >

> > > > As Tom has left jboss and go to Alfresco, I'm not sure what's the future

> > > > of jBPM.

> > > >

> > > > OSWorkflow can also work with OFBiz.

> > > >

> > > > Personally I like jBPM.

> > > >

> > > > Regards,

> > > >

> > > > Shi Jinghai/Beijing Langhua Ltd.

> > > >

> > > >

> > > > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s

> > > >> Hi Varun,

> > > >>

> > > >> Yes I am looking for something similar to JBPM, not fullfledge but

> > > >> atleast it should have the configuration through XML (similar to Shark).

> > > >> Do we have something like this in Ofbiz integrated? If not, then has

> > > >> anyone integrated any webflows in Ofbiz? Please let me know..

> > > >>

> > > >> Regards,

> > > >> Deepa

> > > >>

> > > >> -----Original Message-----

> > > >> From: varun bhansaly [mailto:vbhansaly@gmail.com]

> > > >> Sent: Tuesday, September 07, 2010 1:38 PM

> > > >> To: user@ofbiz.apache.org

> > > >> Subject: Re: Ofbiz WorkFlow Engine

> > > >>

> > > >> Hi Deepa,

> > > >> Are you looking at something like designing the process flow, for eg as

> > > >> in

> > > >> jBPM workflow engine&  the process designer ?

> > > >> Though processes could be implemented using SECAs, EECAs etc.

> > > >>

> > > >>

> > > >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar

> > > >> <de...@techmahindra.com>wrote:

> > > >>

> > > >>> Thanks Varun for replying.. I have checked this link but its talking

> > > >>> about XPDL which actually comes with Shark implementation and in the

> > > >>> same link they have mentioned that Shark is not yet implemented in

> > > >>> Ofbiz. The alternative is event based. SO does this mean we don't have

> > > >>> workflow definition type of design in Ofbiz as of now other then the

> > > >>> events?

> > > >>>

> > > >>> Thanks,

> > > >>> Deepa

> > > >>>

> > > >>> -----Original Message-----

> > > >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]

> > > >>> Sent: Monday, September 06, 2010 9:57 PM

> > > >>> To: user@ofbiz.apache.org

> > > >>> Subject: Re: Ofbiz WorkFlow Engine

> > > >>>

> > > >>> Hi,

> > > >>> This document might help http://ofbiz.apache.org/docs/workflow.html

> > > >>>

> > > >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar

> > > >>> <de...@techmahindra.com>wrote:

> > > >>>

> > > >>>> Hi All,

> > > >>>>

> > > >>>>

> > > >>>>

> > > >>>> Need some help to know if we have any workflow integrated in ofbiz

> > > >>> 9.04

> > > >>>> version?

> > > >>>>

> > > >>>> if we already have the workflow is it using xpdl? Is it Shark

> > > >>> workflow?

> > > >>>> Please let me know.. need this urgently before i start designing for

> > > >>> one

> > > >>>> of my requirement.

> > > >>>>

> > > >>>>

> > > >>>>

> > > >>>> Appreciate your help.

> > > >>>>

> > > >>>>

> > > >>>> Thanks&  Regards,

> > > >>>>

> > > >>>> Deepa

> > > >>>>

> > > >>>>

> > > >>>>

> > > >>>>

> > > >>>>

> > > >>>>

> > > >>>>

> > > >> ========================================================================

> > > >>> ====================================================Disclaimer:

> > > >>>>   This message and the information contained herein is proprietary

> > > >> and

> > > >>>> confidential and subject to the Tech Mahindra policy statement, you

> > > >>> may

> > > >>>> review the policy at<a

> > > >>> href="http://www.techmahindra.com/Disclaimer.html

> > > >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a

> > > >>> href="

> > > >>>> http://tim.techmahindra.com/Disclaimer.html">

> > > >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within

> > > >> Tech

> > > >> Mahindra.===============================================================

> > > >>> =============================================================

> > > >>>

> > > >>>

> > > >>> --

> > > >>> Regards,

> > > >>> Varun Bhansaly

> > > >>>

> > > >>>

> > > >> ========================================================================

> > > >> ====================================================Disclaimer:

> > > >>>   This message and the information contained herein is proprietary and

> > > >>> confidential and subject to the Tech Mahindra policy statement, you

> > > >> may

> > > >>> review the policy at<a

> > > >> href="http://www.techmahindra.com/Disclaimer.html

> > > >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a

> > > >> href="

> > > >>> http://tim.techmahindra.com/Disclaimer.html">

> > > >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within

> > > Tech

> > > >>>

> > > >> Mahindra.===============================================================

> > > >> =============================================================

> > > >>

> > > >>

> > > >

> > >

> > > ============================================================================================================================Disclaimer:

> > >  This message and the information contained herein is proprietary and

> > > confidential and subject to the Tech Mahindra policy statement, you may

> > > review the policy at <a href="http://www.techmahindra.com/Disclaimer.html

> > > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="

> > > http://tim.techmahindra.com/Disclaimer.html">

> > > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech

> > > Mahindra.============================================================================================================================

> > 

> > 

> > 

> > 

> > ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================

> > 

> > 

> > 

> > 

> 

> 

> 

 


============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================

RE: Ofbiz WorkFlow Engine

Posted by Shi Jinghai <sh...@langhua.cn>.
Hi Deepa,

Edit the project pom.xml, make processes module available, and run maven
package, the sample.process will be built under processes/target/
	<modules>
		<!-- <module>core</module> -->
		<module>processes</module>
	</modules>

Good luck,

Shi Jinghai/Beijing Langhua Ltd.

在 2010-09-15三的 02:00 +0530,Deepa Priolkar写道:
> Thanks Shi.. I have done the integration, but one query regarding the process definition.
> In one of the step its mentioned to create the "sample.process" and upload it.. I did not catch up on how to create this file..tried all the scripts but no luck..please advice.
> 
> Regards,
> Deepa
> 
> 
> -----Original Message-----
> From: Shi Jinghai [mailto:shijh@langhua.cn]
> Sent: Mon 9/13/2010 3:06 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
>  
> Hi Deepa,
> 
> The ofbiz-jbpm component is developed in maven style. We use eclipse +
> iam as our standard develop tool.
> 
> You can find the built components in our maven repository:
> http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/
> 
> http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/
> 
> Download the zip files and unzip them to your ofbiz, rebuild (I changed
> the StringUtil.java to make it work for iframe in htmlreport), add the 2
> components to component-load.xml, config
> ${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your
> database and restart ofbiz, that's all. The jbpm tables will be created
> automatically during startup.
> 
> The htmlreport is a tool to show the procedures of importing jbpm
> process file and etc in web browser. There's demos in the component. You
> can remove it from your tool bar if it works.
> 
> Good luck,
> 
> Shi Jinghai/Beijing Langhua Ltd.
> 
> 
> ? 2010-09-12?? 22:29 +0530,Deepa Priolkar??:
> > can someone tell me how to create table in the derby database?
> > 
> > ________________________________
> > 
> > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> > Sent: Sun 9/12/2010 10:25 PM
> > To: user@ofbiz.apache.org
> > Subject: RE: Ofbiz WorkFlow Engine
> > 
> > 
> > 
> > Hi,
> > 
> > I was able to solve the issue related to the database configuration, but looks like now i am totally stuck..
> > 
> > When i am trying to start the server, i am getting following error, Please help..
> > 
> > 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries
> > 
> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> > 
> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_MESSAGE' does not exist.
> > 
> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 :WARN ] SQL Warning: 10000, SQLState: 01J01
> > 
> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 :WARN ] Database 'ofbiz' not created, connection made to existing database instead.
> > 
> > 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> > 
> > 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_TIMER' does not exist.
> > 
> > 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> > 
> > 2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> > 
> > 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] runtime exception while executing timers
> > 
> > org.jbpm.JbpmException: couldn't find timers from the database
> > 
> > at org.jbpm.db.
> > 
> > 
> > 
> > ________________________________
> > 
> > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> > Sent: Sun 9/12/2010 8:41 PM
> > To: user@ofbiz.apache.org; user@ofbiz.apache.org
> > Subject: RE: Ofbiz WorkFlow Engine
> > 
> > 
> > 
> > Hi,
> > 
> > I forgot to mention that i am getting error after doing the configuration mentioned in my last mail,
> > 
> > snippet from the logs
> > 
> > 2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource: java:comp/env/jBPM_DS
> > javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO]
> >         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
> >         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
> >         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
> >         at javax.naming.InitialContext.lookup(InitialContext.java:351)
> >         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
> >         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
> >         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
> >         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
> >         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
> >         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
> >         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
> >         at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
> >         at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
> >         at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
> >         at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
> >         at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
> >         at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
> >         at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
> > Caused by: java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO
> >         at java.lang.Class.newInstance0(Class.java:335)
> >         at java.lang.Class.newInstance(Class.java:303)
> >         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
> >         ... 23 more
> > 
> > -----Original Message-----
> > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> > Sent: Sun 9/12/2010 8:37 PM
> > To: user@ofbiz.apache.org
> > Subject: RE: Ofbiz WorkFlow Engine
> > 
> > 
> > Hi,
> > 
> > Need some help in JBPM integration, I have followed the steps mentioned in the link given below.
> > 
> > Now for the database i want to use derby instead of MySQL...
> > I have configured following in the context.xml (runtime/catalina/conf/context.xml)
> >   <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"
> >        maxActive="30" maxIdle="3" maxWait="2000"
> >        username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
> >        factory="org.ofbiz.entity.datasource.GenericHelperDAO"
> >        url="jdbc:derby:ofbiz;create=true"/>
> > 
> > </Context>
> > 
> > Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also
> > 
> >  <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
> >     <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>
> > 
> > Regards,
> > Deepa
> > 
> > 
> > -----Original Message-----
> > From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal
> > Sent: Thu 9/9/2010 5:37 PM
> > To: user@ofbiz.apache.org
> > Subject: Re: Ofbiz WorkFlow Engine
> > 
> > There's SVn access available. Instructions here:
> > http://www.langhua.cn/download/ofbiz-jbpm.html
> > 
> > -Jeroen
> > 
> > On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:
> > 
> > > Hi Shi,
> > >
> > > Can you please help me to download the code from the location mentioned
> > > below? I tried FTP it did not work. Please advice.
> > >
> > >
> > > On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > > > Here is a OFBiz-jBPM component:
> > > > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > > > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> > > >
> > > > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > > > of jBPM.
> > > >
> > > > OSWorkflow can also work with OFBiz.
> > > >
> > > > Personally I like jBPM.
> > > >
> > > > Regards,
> > > >
> > > > Shi Jinghai/Beijing Langhua Ltd.
> > > >
> > > >
> > > > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> > > >> Hi Varun,
> > > >>
> > > >> Yes I am looking for something similar to JBPM, not fullfledge but
> > > >> atleast it should have the configuration through XML (similar to Shark).
> > > >> Do we have something like this in Ofbiz integrated? If not, then has
> > > >> anyone integrated any webflows in Ofbiz? Please let me know..
> > > >>
> > > >> Regards,
> > > >> Deepa
> > > >>
> > > >> -----Original Message-----
> > > >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > > >> Sent: Tuesday, September 07, 2010 1:38 PM
> > > >> To: user@ofbiz.apache.org
> > > >> Subject: Re: Ofbiz WorkFlow Engine
> > > >>
> > > >> Hi Deepa,
> > > >> Are you looking at something like designing the process flow, for eg as
> > > >> in
> > > >> jBPM workflow engine&  the process designer ?
> > > >> Though processes could be implemented using SECAs, EECAs etc.
> > > >>
> > > >>
> > > >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> > > >> <de...@techmahindra.com>wrote:
> > > >>
> > > >>> Thanks Varun for replying.. I have checked this link but its talking
> > > >>> about XPDL which actually comes with Shark implementation and in the
> > > >>> same link they have mentioned that Shark is not yet implemented in
> > > >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> > > >>> workflow definition type of design in Ofbiz as of now other then the
> > > >>> events?
> > > >>>
> > > >>> Thanks,
> > > >>> Deepa
> > > >>>
> > > >>> -----Original Message-----
> > > >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > > >>> Sent: Monday, September 06, 2010 9:57 PM
> > > >>> To: user@ofbiz.apache.org
> > > >>> Subject: Re: Ofbiz WorkFlow Engine
> > > >>>
> > > >>> Hi,
> > > >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> > > >>>
> > > >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> > > >>> <de...@techmahindra.com>wrote:
> > > >>>
> > > >>>> Hi All,
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>> Need some help to know if we have any workflow integrated in ofbiz
> > > >>> 9.04
> > > >>>> version?
> > > >>>>
> > > >>>> if we already have the workflow is it using xpdl? Is it Shark
> > > >>> workflow?
> > > >>>> Please let me know.. need this urgently before i start designing for
> > > >>> one
> > > >>>> of my requirement.
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>> Appreciate your help.
> > > >>>>
> > > >>>>
> > > >>>> Thanks&  Regards,
> > > >>>>
> > > >>>> Deepa
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >> ========================================================================
> > > >>> ====================================================Disclaimer:
> > > >>>>   This message and the information contained herein is proprietary
> > > >> and
> > > >>>> confidential and subject to the Tech Mahindra policy statement, you
> > > >>> may
> > > >>>> review the policy at<a
> > > >>> href="http://www.techmahindra.com/Disclaimer.html
> > > >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > > >>> href="
> > > >>>> http://tim.techmahindra.com/Disclaimer.html">
> > > >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > > >> Tech
> > > >> Mahindra.===============================================================
> > > >>> =============================================================
> > > >>>
> > > >>>
> > > >>> --
> > > >>> Regards,
> > > >>> Varun Bhansaly
> > > >>>
> > > >>>
> > > >> ========================================================================
> > > >> ====================================================Disclaimer:
> > > >>>   This message and the information contained herein is proprietary and
> > > >>> confidential and subject to the Tech Mahindra policy statement, you
> > > >> may
> > > >>> review the policy at<a
> > > >> href="http://www.techmahindra.com/Disclaimer.html
> > > >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > > >> href="
> > > >>> http://tim.techmahindra.com/Disclaimer.html">
> > > >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > > Tech
> > > >>>
> > > >> Mahindra.===============================================================
> > > >> =============================================================
> > > >>
> > > >>
> > > >
> > >
> > > ============================================================================================================================Disclaimer:
> > >  This message and the information contained herein is proprietary and
> > > confidential and subject to the Tech Mahindra policy statement, you may
> > > review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> > > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> > > http://tim.techmahindra.com/Disclaimer.html">
> > > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> > > Mahindra.============================================================================================================================
> > 
> > 
> > 
> > 
> > ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================
> > 
> > 
> > 
> > 
> 
> 
> 


RE: Ofbiz WorkFlow Engine

Posted by Deepa Priolkar <de...@TechMahindra.com>.
Thanks Shi.. I have done the integration, but one query regarding the process definition.
In one of the step its mentioned to create the "sample.process" and upload it.. I did not catch up on how to create this file..tried all the scripts but no luck..please advice.

Regards,
Deepa


-----Original Message-----
From: Shi Jinghai [mailto:shijh@langhua.cn]
Sent: Mon 9/13/2010 3:06 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 
Hi Deepa,

The ofbiz-jbpm component is developed in maven style. We use eclipse +
iam as our standard develop tool.

You can find the built components in our maven repository:
http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/

http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/

Download the zip files and unzip them to your ofbiz, rebuild (I changed
the StringUtil.java to make it work for iframe in htmlreport), add the 2
components to component-load.xml, config
${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your
database and restart ofbiz, that's all. The jbpm tables will be created
automatically during startup.

The htmlreport is a tool to show the procedures of importing jbpm
process file and etc in web browser. There's demos in the component. You
can remove it from your tool bar if it works.

Good luck,

Shi Jinghai/Beijing Langhua Ltd.


? 2010-09-12?? 22:29 +0530,Deepa Priolkar??:
> can someone tell me how to create table in the derby database?
> 
> ________________________________
> 
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 10:25 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> 
> Hi,
> 
> I was able to solve the issue related to the database configuration, but looks like now i am totally stuck..
> 
> When i am trying to start the server, i am getting following error, Please help..
> 
> 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_MESSAGE' does not exist.
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 :WARN ] SQL Warning: 10000, SQLState: 01J01
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 :WARN ] Database 'ofbiz' not created, connection made to existing database instead.
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_TIMER' does not exist.
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> 
> 2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] runtime exception while executing timers
> 
> org.jbpm.JbpmException: couldn't find timers from the database
> 
> at org.jbpm.db.
> 
> 
> 
> ________________________________
> 
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 8:41 PM
> To: user@ofbiz.apache.org; user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> 
> Hi,
> 
> I forgot to mention that i am getting error after doing the configuration mentioned in my last mail,
> 
> snippet from the logs
> 
> 2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource: java:comp/env/jBPM_DS
> javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO]
>         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
>         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
>         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
>         at javax.naming.InitialContext.lookup(InitialContext.java:351)
>         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
>         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
>         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
>         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
>         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
>         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
>         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
>         at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
>         at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
>         at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
>         at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
>         at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
>         at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
>         at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
> Caused by: java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO
>         at java.lang.Class.newInstance0(Class.java:335)
>         at java.lang.Class.newInstance(Class.java:303)
>         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
>         ... 23 more
> 
> -----Original Message-----
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 8:37 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> Hi,
> 
> Need some help in JBPM integration, I have followed the steps mentioned in the link given below.
> 
> Now for the database i want to use derby instead of MySQL...
> I have configured following in the context.xml (runtime/catalina/conf/context.xml)
>   <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"
>        maxActive="30" maxIdle="3" maxWait="2000"
>        username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
>        factory="org.ofbiz.entity.datasource.GenericHelperDAO"
>        url="jdbc:derby:ofbiz;create=true"/>
> 
> </Context>
> 
> Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also
> 
>  <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
>     <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>
> 
> Regards,
> Deepa
> 
> 
> -----Original Message-----
> From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal
> Sent: Thu 9/9/2010 5:37 PM
> To: user@ofbiz.apache.org
> Subject: Re: Ofbiz WorkFlow Engine
> 
> There's SVn access available. Instructions here:
> http://www.langhua.cn/download/ofbiz-jbpm.html
> 
> -Jeroen
> 
> On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:
> 
> > Hi Shi,
> >
> > Can you please help me to download the code from the location mentioned
> > below? I tried FTP it did not work. Please advice.
> >
> >
> > On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > > Here is a OFBiz-jBPM component:
> > > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> > >
> > > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > > of jBPM.
> > >
> > > OSWorkflow can also work with OFBiz.
> > >
> > > Personally I like jBPM.
> > >
> > > Regards,
> > >
> > > Shi Jinghai/Beijing Langhua Ltd.
> > >
> > >
> > > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> > >> Hi Varun,
> > >>
> > >> Yes I am looking for something similar to JBPM, not fullfledge but
> > >> atleast it should have the configuration through XML (similar to Shark).
> > >> Do we have something like this in Ofbiz integrated? If not, then has
> > >> anyone integrated any webflows in Ofbiz? Please let me know..
> > >>
> > >> Regards,
> > >> Deepa
> > >>
> > >> -----Original Message-----
> > >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > >> Sent: Tuesday, September 07, 2010 1:38 PM
> > >> To: user@ofbiz.apache.org
> > >> Subject: Re: Ofbiz WorkFlow Engine
> > >>
> > >> Hi Deepa,
> > >> Are you looking at something like designing the process flow, for eg as
> > >> in
> > >> jBPM workflow engine&  the process designer ?
> > >> Though processes could be implemented using SECAs, EECAs etc.
> > >>
> > >>
> > >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> > >> <de...@techmahindra.com>wrote:
> > >>
> > >>> Thanks Varun for replying.. I have checked this link but its talking
> > >>> about XPDL which actually comes with Shark implementation and in the
> > >>> same link they have mentioned that Shark is not yet implemented in
> > >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> > >>> workflow definition type of design in Ofbiz as of now other then the
> > >>> events?
> > >>>
> > >>> Thanks,
> > >>> Deepa
> > >>>
> > >>> -----Original Message-----
> > >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > >>> Sent: Monday, September 06, 2010 9:57 PM
> > >>> To: user@ofbiz.apache.org
> > >>> Subject: Re: Ofbiz WorkFlow Engine
> > >>>
> > >>> Hi,
> > >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> > >>>
> > >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> > >>> <de...@techmahindra.com>wrote:
> > >>>
> > >>>> Hi All,
> > >>>>
> > >>>>
> > >>>>
> > >>>> Need some help to know if we have any workflow integrated in ofbiz
> > >>> 9.04
> > >>>> version?
> > >>>>
> > >>>> if we already have the workflow is it using xpdl? Is it Shark
> > >>> workflow?
> > >>>> Please let me know.. need this urgently before i start designing for
> > >>> one
> > >>>> of my requirement.
> > >>>>
> > >>>>
> > >>>>
> > >>>> Appreciate your help.
> > >>>>
> > >>>>
> > >>>> Thanks&  Regards,
> > >>>>
> > >>>> Deepa
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >> ========================================================================
> > >>> ====================================================Disclaimer:
> > >>>>   This message and the information contained herein is proprietary
> > >> and
> > >>>> confidential and subject to the Tech Mahindra policy statement, you
> > >>> may
> > >>>> review the policy at<a
> > >>> href="http://www.techmahindra.com/Disclaimer.html
> > >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > >>> href="
> > >>>> http://tim.techmahindra.com/Disclaimer.html">
> > >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > >> Tech
> > >> Mahindra.===============================================================
> > >>> =============================================================
> > >>>
> > >>>
> > >>> --
> > >>> Regards,
> > >>> Varun Bhansaly
> > >>>
> > >>>
> > >> ========================================================================
> > >> ====================================================Disclaimer:
> > >>>   This message and the information contained herein is proprietary and
> > >>> confidential and subject to the Tech Mahindra policy statement, you
> > >> may
> > >>> review the policy at<a
> > >> href="http://www.techmahindra.com/Disclaimer.html
> > >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > >> href="
> > >>> http://tim.techmahindra.com/Disclaimer.html">
> > >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > Tech
> > >>>
> > >> Mahindra.===============================================================
> > >> =============================================================
> > >>
> > >>
> > >
> >
> > ============================================================================================================================Disclaimer:
> >  This message and the information contained herein is proprietary and
> > confidential and subject to the Tech Mahindra policy statement, you may
> > review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> > http://tim.techmahindra.com/Disclaimer.html">
> > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> > Mahindra.============================================================================================================================
> 
> 
> 
> 
> ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================
> 
> 
> 
> 




Re: Ofbiz WorkFlow Engine

Posted by Shi Jinghai <sh...@langhua.cn>.
Yes, Hani Suleiman.

在 2010-09-14二的 12:26 +0200,Jacques Le Roux写道:
> From: "Shi Jinghai" <sh...@langhua.cn>
> > Hi Jack,
> >
> > I respect Hans' great work on OSWorkflow. Only 2 questions on OFBiz
> 
> I guess you meant Hani's
> http://www.opensymphony.com/osworkflow/members.action
> 
> Jacques
> 
> > OSWorkflow integration:
> > 1. Support hot deploy a workflow in OFBiz? If yes, how the ongoing
> > processes run when a new version workflow deployed?
> > 2. Support UI generation according to workflow definition?
> >
> > Regards,
> >
> > Shi Jinghai/Beijing Langhua Ltd.
> >
> >
> > 在 2010-09-14二的 14:33 +0800,Jack Liu写道:
> >> I recommend OSWorkflow and it's easier to master.
> >>
> >>
> >>
> >> -----Original Message-----
> >> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> >> Sent: 2010年9月14日 14:25
> >> To: user@ofbiz.apache.org; user@ofbiz.apache.org
> >> Subject: RE: Ofbiz WorkFlow Engine
> >>
> >> Also one more concern, when i am starting the server i am seeing some more error. this error is due to the asm.jar. Ofbiz has 
> >> asm2.2.jar which does not have the CodeVisitor class, and i cannot include the older version because it does not have many other 
> >> classes used by Groovy.. please suggest how we can resolve this error.. cos two versions of asm cannot exists in one workspace it 
> >> clashes...
> >>
> >> 2010-09-14 11:54:46,453 (JbpmCommandExecutor) [CGLIBLazyInitializer.java:130:ERROR] CGLIB Enhancement failed: 
> >> org.jbpm.taskmgmt.log.TaskAssignLog
> >> java.lang.NoClassDefFoundError: org/objectweb/asm/CodeVisitor
> >> at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165)
> >> at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
> >> at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
> >> at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
> >>
> >> Regards,
> >> Deepa
> >> -----Original Message-----
> >> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> >> Sent: Tue 9/14/2010 11:45 AM
> >> To: user@ofbiz.apache.org
> >> Subject: RE: Ofbiz WorkFlow Engine
> >>
> >>
> >> Thanks Shi... i have done the necessary configurations in my workspace for the JBPM integration as adviced below.
> >>
> >> However when i am trying to run the application, on clicking "New WorkFlow" I am getting table/view "HIBERNATE_UNIQUE_KEY" not 
> >> found error in the logs. I have created all the tables as mentioned in the create.sql.. please note that i am using derby 
> >> database.. Please advice..
> >>
> >> 2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'HIBERNATE_UNIQUE_KEY' does not 
> >> exist.
> >> 2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [ Log4JLoggerFactory.java:96 :ERROR]
> >> Method public static java.util.List 
> >> org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue) 
> >> threw an exception
> >> The problematic instruction:
> >> ----------
> >> ==> assignment: processList=Static["org.langhua.ofbiz.jbpm.OFBizNewProcessInstance"].getWorkflowOptions(delegator,userLogin) [on 
> >> line 19, column 1 in component://jbpm/webapp/jbpm/jbpm/newWorkflow.ftl]
> >> ----------
> >>
> >> Java backtrace for programmers:
> >> ----------
> >> freemarker.template.TemplateModelException: Method public static java.util.List 
> >> org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue) 
> >> threw an exception
> >> at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:125)
> >> at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
> >> at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
> >>
> >> Regards,
> >> Deepa
> >>
> >> -----Original Message-----
> >> From: Shi Jinghai [mailto:shijh@langhua.cn]
> >> Sent: Mon 9/13/2010 3:06 PM
> >> To: user@ofbiz.apache.org
> >> Subject: RE: Ofbiz WorkFlow Engine
> >>
> >> Hi Deepa,
> >>
> >> The ofbiz-jbpm component is developed in maven style. We use eclipse +
> >> iam as our standard develop tool.
> >>
> >> You can find the built components in our maven repository:
> >> http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/
> >>
> >> http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/
> >>
> >> Download the zip files and unzip them to your ofbiz, rebuild (I changed
> >> the StringUtil.java to make it work for iframe in htmlreport), add the 2
> >> components to component-load.xml, config
> >> ${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your
> >> database and restart ofbiz, that's all. The jbpm tables will be created
> >> automatically during startup.
> >>
> >> The htmlreport is a tool to show the procedures of importing jbpm
> >> process file and etc in web browser. There's demos in the component. You
> >> can remove it from your tool bar if it works.
> >>
> >> Good luck,
> >>
> >> Shi Jinghai/Beijing Langhua Ltd.
> >>
> >>
> >> ? 2010-09-12?? 22:29 +0530,Deepa Priolkar??:
> >> > can someone tell me how to create table in the derby database?
> >> >
> >> > ________________________________
> >> >
> >> > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> >> > Sent: Sun 9/12/2010 10:25 PM
> >> > To: user@ofbiz.apache.org
> >> > Subject: RE: Ofbiz WorkFlow Engine
> >> >
> >> >
> >> >
> >> > Hi,
> >> >
> >> > I was able to solve the issue related to the database configuration, but looks like now i am totally stuck..
> >> >
> >> > When i am trying to start the server, i am getting following error, Please help..
> >> >
> >> > 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries
> >> >
> >> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> >> >
> >> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_MESSAGE' does not exist.
> >> >
> >> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 :WARN ] SQL Warning: 10000, SQLState: 01J01
> >> >
> >> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 :WARN ] Database 'ofbiz' not created, connection 
> >> > made to existing database instead.
> >> >
> >> > 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> >> >
> >> > 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_TIMER' does not exist.
> >> >
> >> > 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] org.hibernate.exception.SQLGrammarException: could 
> >> > not execute query using iterate
> >> >
> >> > 2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 :ERROR] 
> >> > org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> >> >
> >> > 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] runtime exception while executing timers
> >> >
> >> > org.jbpm.JbpmException: couldn't find timers from the database
> >> >
> >> > at org.jbpm.db.
> >> >
> >> >
> >> >
> >> > ________________________________
> >> >
> >> > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> >> > Sent: Sun 9/12/2010 8:41 PM
> >> > To: user@ofbiz.apache.org; user@ofbiz.apache.org
> >> > Subject: RE: Ofbiz WorkFlow Engine
> >> >
> >> >
> >> >
> >> > Hi,
> >> >
> >> > I forgot to mention that i am getting error after doing the configuration mentioned in my last mail,
> >> >
> >> > snippet from the logs
> >> >
> >> > 2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource: 
> >> > java:comp/env/jBPM_DS
> >> > javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.InstantiationException: 
> >> > org.ofbiz.entity.datasource.GenericHelperDAO]
> >> >         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
> >> >         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> >> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
> >> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
> >> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
> >> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
> >> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
> >> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
> >> >         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
> >> >         at javax.naming.InitialContext.lookup(InitialContext.java:351)
> >> >         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
> >> >         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
> >> >         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
> >> >         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
> >> >         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
> >> >         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
> >> >         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
> >> >         at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
> >> >         at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
> >> >         at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
> >> >         at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
> >> >         at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
> >> >         at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
> >> >         at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
> >> > Caused by: java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO
> >> >         at java.lang.Class.newInstance0(Class.java:335)
> >> >         at java.lang.Class.newInstance(Class.java:303)
> >> >         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
> >> >         ... 23 more
> >> >
> >> > -----Original Message-----
> >> > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> >> > Sent: Sun 9/12/2010 8:37 PM
> >> > To: user@ofbiz.apache.org
> >> > Subject: RE: Ofbiz WorkFlow Engine
> >> >
> >> >
> >> > Hi,
> >> >
> >> > Need some help in JBPM integration, I have followed the steps mentioned in the link given below.
> >> >
> >> > Now for the database i want to use derby instead of MySQL...
> >> > I have configured following in the context.xml (runtime/catalina/conf/context.xml)
> >> >   <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"
> >> >        maxActive="30" maxIdle="3" maxWait="2000"
> >> >        username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
> >> >        factory="org.ofbiz.entity.datasource.GenericHelperDAO"
> >> >        url="jdbc:derby:ofbiz;create=true"/>
> >> >
> >> > </Context>
> >> >
> >> > Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also
> >> >
> >> >  <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
> >> >     <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>
> >> >
> >> > Regards,
> >> > Deepa
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal
> >> > Sent: Thu 9/9/2010 5:37 PM
> >> > To: user@ofbiz.apache.org
> >> > Subject: Re: Ofbiz WorkFlow Engine
> >> >
> >> > There's SVn access available. Instructions here:
> >> > http://www.langhua.cn/download/ofbiz-jbpm.html
> >> >
> >> > -Jeroen
> >> >
> >> > On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:
> >> >
> >> > > Hi Shi,
> >> > >
> >> > > Can you please help me to download the code from the location mentioned
> >> > > below? I tried FTP it did not work. Please advice.
> >> > >
> >> > >
> >> > > On 9/7/10 5:51 AM, Shi Jinghai wrote:
> >> > > > Here is a OFBiz-jBPM component:
> >> > > > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> >> > > > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> >> > > >
> >> > > > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> >> > > > of jBPM.
> >> > > >
> >> > > > OSWorkflow can also work with OFBiz.
> >> > > >
> >> > > > Personally I like jBPM.
> >> > > >
> >> > > > Regards,
> >> > > >
> >> > > > Shi Jinghai/Beijing Langhua Ltd.
> >> > > >
> >> > > >
> >> > > > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> >> > > >> Hi Varun,
> >> > > >>
> >> > > >> Yes I am looking for something similar to JBPM, not fullfledge but
> >> > > >> atleast it should have the configuration through XML (similar to Shark).
> >> > > >> Do we have something like this in Ofbiz integrated? If not, then has
> >> > > >> anyone integrated any webflows in Ofbiz? Please let me know..
> >> > > >>
> >> > > >> Regards,
> >> > > >> Deepa
> >> > > >>
> >> > > >> -----Original Message-----
> >> > > >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> >> > > >> Sent: Tuesday, September 07, 2010 1:38 PM
> >> > > >> To: user@ofbiz.apache.org
> >> > > >> Subject: Re: Ofbiz WorkFlow Engine
> >> > > >>
> >> > > >> Hi Deepa,
> >> > > >> Are you looking at something like designing the process flow, for eg as
> >> > > >> in
> >> > > >> jBPM workflow engine&  the process designer ?
> >> > > >> Though processes could be implemented using SECAs, EECAs etc.
> >> > > >>
> >> > > >>
> >> > > >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> >> > > >> <de...@techmahindra.com>wrote:
> >> > > >>
> >> > > >>> Thanks Varun for replying.. I have checked this link but its talking
> >> > > >>> about XPDL which actually comes with Shark implementation and in the
> >> > > >>> same link they have mentioned that Shark is not yet implemented in
> >> > > >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> >> > > >>> workflow definition type of design in Ofbiz as of now other then the
> >> > > >>> events?
> >> > > >>>
> >> > > >>> Thanks,
> >> > > >>> Deepa
> >> > > >>>
> >> > > >>> -----Original Message-----
> >> > > >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> >> > > >>> Sent: Monday, September 06, 2010 9:57 PM
> >> > > >>> To: user@ofbiz.apache.org
> >> > > >>> Subject: Re: Ofbiz WorkFlow Engine
> >> > > >>>
> >> > > >>> Hi,
> >> > > >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> >> > > >>>
> >> > > >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> >> > > >>> <de...@techmahindra.com>wrote:
> >> > > >>>
> >> > > >>>> Hi All,
> >> > > >>>>
> >> > > >>>>
> >> > > >>>>
> >> > > >>>> Need some help to know if we have any workflow integrated in ofbiz
> >> > > >>> 9.04
> >> > > >>>> version?
> >> > > >>>>
> >> > > >>>> if we already have the workflow is it using xpdl? Is it Shark
> >> > > >>> workflow?
> >> > > >>>> Please let me know.. need this urgently before i start designing for
> >> > > >>> one
> >> > > >>>> of my requirement.
> >> > > >>>>
> >> > > >>>>
> >> > > >>>>
> >> > > >>>> Appreciate your help.
> >> > > >>>>
> >> > > >>>>
> >> > > >>>> Thanks&  Regards,
> >> > > >>>>
> >> > > >>>> Deepa
> >> > > >>>>
> >> > > >>>>
> >> > > >>>>
> >> > > >>>>
> >> > > >>>>
> >> > > >>>>
> >> > > >>>>
> >> > > >> ========================================================================
> >> > > >>> ====================================================Disclaimer:
> >> > > >>>>   This message and the information contained herein is proprietary
> >> > > >> and
> >> > > >>>> confidential and subject to the Tech Mahindra policy statement, you
> >> > > >>> may
> >> > > >>>> review the policy at<a
> >> > > >>> href="http://www.techmahindra.com/Disclaimer.html
> >> > > >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> >> > > >>> href="
> >> > > >>>> http://tim.techmahindra.com/Disclaimer.html">
> >> > > >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> >> > > >> Tech
> >> > > >> Mahindra.===============================================================
> >> > > >>> =============================================================
> >> > > >>>
> >> > > >>>
> >> > > >>> --
> >> > > >>> Regards,
> >> > > >>> Varun Bhansaly
> >> > > >>>
> >> > > >>>
> >> > > >> ========================================================================
> >> > > >> ====================================================Disclaimer:
> >> > > >>>   This message and the information contained herein is proprietary and
> >> > > >>> confidential and subject to the Tech Mahindra policy statement, you
> >> > > >> may
> >> > > >>> review the policy at<a
> >> > > >> href="http://www.techmahindra.com/Disclaimer.html
> >> > > >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> >> > > >> href="
> >> > > >>> http://tim.techmahindra.com/Disclaimer.html">
> >> > > >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> >> > > Tech
> >> > > >>>
> >> > > >> Mahindra.===============================================================
> >> > > >> =============================================================
> >> > > >>
> >> > > >>
> >> > > >
> >> > >
> >> > > ============================================================================================================================Disclaimer:
> >> > >  This message and the information contained herein is proprietary and
> >> > > confidential and subject to the Tech Mahindra policy statement, you may
> >> > > review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> >> > > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> >> > > http://tim.techmahindra.com/Disclaimer.html">
> >> > > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> >> > > Mahindra.============================================================================================================================
> >> >
> >> >
> >> >
> >> >
> >> > ============================================================================================================================Disclaimer: 
> >> > This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy 
> >> > statement, you may review the policy at <a 
> >> > href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a 
> >> > href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech 
> >> > Mahindra.============================================================================================================================
> >> >
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >>
> >>
> >> ============================================================================================================================Disclaimer: 
> >> This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy 
> >> statement, you may review the policy at <a 
> >> href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a 
> >> href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech 
> >> Mahindra.============================================================================================================================
> > 
> 
> 


Re: Ofbiz WorkFlow Engine

Posted by Jacques Le Roux <ja...@les7arts.com>.
From: "Shi Jinghai" <sh...@langhua.cn>
> Hi Jack,
>
> I respect Hans' great work on OSWorkflow. Only 2 questions on OFBiz

I guess you meant Hani's
http://www.opensymphony.com/osworkflow/members.action

Jacques

> OSWorkflow integration:
> 1. Support hot deploy a workflow in OFBiz? If yes, how the ongoing
> processes run when a new version workflow deployed?
> 2. Support UI generation according to workflow definition?
>
> Regards,
>
> Shi Jinghai/Beijing Langhua Ltd.
>
>
> 在 2010-09-14二的 14:33 +0800,Jack Liu写道:
>> I recommend OSWorkflow and it's easier to master.
>>
>>
>>
>> -----Original Message-----
>> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
>> Sent: 2010年9月14日 14:25
>> To: user@ofbiz.apache.org; user@ofbiz.apache.org
>> Subject: RE: Ofbiz WorkFlow Engine
>>
>> Also one more concern, when i am starting the server i am seeing some more error. this error is due to the asm.jar. Ofbiz has 
>> asm2.2.jar which does not have the CodeVisitor class, and i cannot include the older version because it does not have many other 
>> classes used by Groovy.. please suggest how we can resolve this error.. cos two versions of asm cannot exists in one workspace it 
>> clashes...
>>
>> 2010-09-14 11:54:46,453 (JbpmCommandExecutor) [CGLIBLazyInitializer.java:130:ERROR] CGLIB Enhancement failed: 
>> org.jbpm.taskmgmt.log.TaskAssignLog
>> java.lang.NoClassDefFoundError: org/objectweb/asm/CodeVisitor
>> at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165)
>> at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
>> at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
>> at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
>>
>> Regards,
>> Deepa
>> -----Original Message-----
>> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
>> Sent: Tue 9/14/2010 11:45 AM
>> To: user@ofbiz.apache.org
>> Subject: RE: Ofbiz WorkFlow Engine
>>
>>
>> Thanks Shi... i have done the necessary configurations in my workspace for the JBPM integration as adviced below.
>>
>> However when i am trying to run the application, on clicking "New WorkFlow" I am getting table/view "HIBERNATE_UNIQUE_KEY" not 
>> found error in the logs. I have created all the tables as mentioned in the create.sql.. please note that i am using derby 
>> database.. Please advice..
>>
>> 2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'HIBERNATE_UNIQUE_KEY' does not 
>> exist.
>> 2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [ Log4JLoggerFactory.java:96 :ERROR]
>> Method public static java.util.List 
>> org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue) 
>> threw an exception
>> The problematic instruction:
>> ----------
>> ==> assignment: processList=Static["org.langhua.ofbiz.jbpm.OFBizNewProcessInstance"].getWorkflowOptions(delegator,userLogin) [on 
>> line 19, column 1 in component://jbpm/webapp/jbpm/jbpm/newWorkflow.ftl]
>> ----------
>>
>> Java backtrace for programmers:
>> ----------
>> freemarker.template.TemplateModelException: Method public static java.util.List 
>> org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue) 
>> threw an exception
>> at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:125)
>> at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
>> at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
>>
>> Regards,
>> Deepa
>>
>> -----Original Message-----
>> From: Shi Jinghai [mailto:shijh@langhua.cn]
>> Sent: Mon 9/13/2010 3:06 PM
>> To: user@ofbiz.apache.org
>> Subject: RE: Ofbiz WorkFlow Engine
>>
>> Hi Deepa,
>>
>> The ofbiz-jbpm component is developed in maven style. We use eclipse +
>> iam as our standard develop tool.
>>
>> You can find the built components in our maven repository:
>> http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/
>>
>> http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/
>>
>> Download the zip files and unzip them to your ofbiz, rebuild (I changed
>> the StringUtil.java to make it work for iframe in htmlreport), add the 2
>> components to component-load.xml, config
>> ${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your
>> database and restart ofbiz, that's all. The jbpm tables will be created
>> automatically during startup.
>>
>> The htmlreport is a tool to show the procedures of importing jbpm
>> process file and etc in web browser. There's demos in the component. You
>> can remove it from your tool bar if it works.
>>
>> Good luck,
>>
>> Shi Jinghai/Beijing Langhua Ltd.
>>
>>
>> ? 2010-09-12?? 22:29 +0530,Deepa Priolkar??:
>> > can someone tell me how to create table in the derby database?
>> >
>> > ________________________________
>> >
>> > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
>> > Sent: Sun 9/12/2010 10:25 PM
>> > To: user@ofbiz.apache.org
>> > Subject: RE: Ofbiz WorkFlow Engine
>> >
>> >
>> >
>> > Hi,
>> >
>> > I was able to solve the issue related to the database configuration, but looks like now i am totally stuck..
>> >
>> > When i am trying to start the server, i am getting following error, Please help..
>> >
>> > 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries
>> >
>> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
>> >
>> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_MESSAGE' does not exist.
>> >
>> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 :WARN ] SQL Warning: 10000, SQLState: 01J01
>> >
>> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 :WARN ] Database 'ofbiz' not created, connection 
>> > made to existing database instead.
>> >
>> > 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
>> >
>> > 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_TIMER' does not exist.
>> >
>> > 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] org.hibernate.exception.SQLGrammarException: could 
>> > not execute query using iterate
>> >
>> > 2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 :ERROR] 
>> > org.hibernate.exception.SQLGrammarException: could not execute query using iterate
>> >
>> > 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] runtime exception while executing timers
>> >
>> > org.jbpm.JbpmException: couldn't find timers from the database
>> >
>> > at org.jbpm.db.
>> >
>> >
>> >
>> > ________________________________
>> >
>> > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
>> > Sent: Sun 9/12/2010 8:41 PM
>> > To: user@ofbiz.apache.org; user@ofbiz.apache.org
>> > Subject: RE: Ofbiz WorkFlow Engine
>> >
>> >
>> >
>> > Hi,
>> >
>> > I forgot to mention that i am getting error after doing the configuration mentioned in my last mail,
>> >
>> > snippet from the logs
>> >
>> > 2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource: 
>> > java:comp/env/jBPM_DS
>> > javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.InstantiationException: 
>> > org.ofbiz.entity.datasource.GenericHelperDAO]
>> >         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
>> >         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
>> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
>> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
>> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
>> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
>> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
>> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
>> >         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
>> >         at javax.naming.InitialContext.lookup(InitialContext.java:351)
>> >         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
>> >         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
>> >         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
>> >         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
>> >         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
>> >         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
>> >         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
>> >         at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
>> >         at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
>> >         at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
>> >         at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
>> >         at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
>> >         at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
>> >         at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
>> > Caused by: java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO
>> >         at java.lang.Class.newInstance0(Class.java:335)
>> >         at java.lang.Class.newInstance(Class.java:303)
>> >         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
>> >         ... 23 more
>> >
>> > -----Original Message-----
>> > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
>> > Sent: Sun 9/12/2010 8:37 PM
>> > To: user@ofbiz.apache.org
>> > Subject: RE: Ofbiz WorkFlow Engine
>> >
>> >
>> > Hi,
>> >
>> > Need some help in JBPM integration, I have followed the steps mentioned in the link given below.
>> >
>> > Now for the database i want to use derby instead of MySQL...
>> > I have configured following in the context.xml (runtime/catalina/conf/context.xml)
>> >   <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"
>> >        maxActive="30" maxIdle="3" maxWait="2000"
>> >        username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
>> >        factory="org.ofbiz.entity.datasource.GenericHelperDAO"
>> >        url="jdbc:derby:ofbiz;create=true"/>
>> >
>> > </Context>
>> >
>> > Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also
>> >
>> >  <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
>> >     <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>
>> >
>> > Regards,
>> > Deepa
>> >
>> >
>> > -----Original Message-----
>> > From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal
>> > Sent: Thu 9/9/2010 5:37 PM
>> > To: user@ofbiz.apache.org
>> > Subject: Re: Ofbiz WorkFlow Engine
>> >
>> > There's SVn access available. Instructions here:
>> > http://www.langhua.cn/download/ofbiz-jbpm.html
>> >
>> > -Jeroen
>> >
>> > On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:
>> >
>> > > Hi Shi,
>> > >
>> > > Can you please help me to download the code from the location mentioned
>> > > below? I tried FTP it did not work. Please advice.
>> > >
>> > >
>> > > On 9/7/10 5:51 AM, Shi Jinghai wrote:
>> > > > Here is a OFBiz-jBPM component:
>> > > > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
>> > > > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
>> > > >
>> > > > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
>> > > > of jBPM.
>> > > >
>> > > > OSWorkflow can also work with OFBiz.
>> > > >
>> > > > Personally I like jBPM.
>> > > >
>> > > > Regards,
>> > > >
>> > > > Shi Jinghai/Beijing Langhua Ltd.
>> > > >
>> > > >
>> > > > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
>> > > >> Hi Varun,
>> > > >>
>> > > >> Yes I am looking for something similar to JBPM, not fullfledge but
>> > > >> atleast it should have the configuration through XML (similar to Shark).
>> > > >> Do we have something like this in Ofbiz integrated? If not, then has
>> > > >> anyone integrated any webflows in Ofbiz? Please let me know..
>> > > >>
>> > > >> Regards,
>> > > >> Deepa
>> > > >>
>> > > >> -----Original Message-----
>> > > >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>> > > >> Sent: Tuesday, September 07, 2010 1:38 PM
>> > > >> To: user@ofbiz.apache.org
>> > > >> Subject: Re: Ofbiz WorkFlow Engine
>> > > >>
>> > > >> Hi Deepa,
>> > > >> Are you looking at something like designing the process flow, for eg as
>> > > >> in
>> > > >> jBPM workflow engine&  the process designer ?
>> > > >> Though processes could be implemented using SECAs, EECAs etc.
>> > > >>
>> > > >>
>> > > >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
>> > > >> <de...@techmahindra.com>wrote:
>> > > >>
>> > > >>> Thanks Varun for replying.. I have checked this link but its talking
>> > > >>> about XPDL which actually comes with Shark implementation and in the
>> > > >>> same link they have mentioned that Shark is not yet implemented in
>> > > >>> Ofbiz. The alternative is event based. SO does this mean we don't have
>> > > >>> workflow definition type of design in Ofbiz as of now other then the
>> > > >>> events?
>> > > >>>
>> > > >>> Thanks,
>> > > >>> Deepa
>> > > >>>
>> > > >>> -----Original Message-----
>> > > >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>> > > >>> Sent: Monday, September 06, 2010 9:57 PM
>> > > >>> To: user@ofbiz.apache.org
>> > > >>> Subject: Re: Ofbiz WorkFlow Engine
>> > > >>>
>> > > >>> Hi,
>> > > >>> This document might help http://ofbiz.apache.org/docs/workflow.html
>> > > >>>
>> > > >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
>> > > >>> <de...@techmahindra.com>wrote:
>> > > >>>
>> > > >>>> Hi All,
>> > > >>>>
>> > > >>>>
>> > > >>>>
>> > > >>>> Need some help to know if we have any workflow integrated in ofbiz
>> > > >>> 9.04
>> > > >>>> version?
>> > > >>>>
>> > > >>>> if we already have the workflow is it using xpdl? Is it Shark
>> > > >>> workflow?
>> > > >>>> Please let me know.. need this urgently before i start designing for
>> > > >>> one
>> > > >>>> of my requirement.
>> > > >>>>
>> > > >>>>
>> > > >>>>
>> > > >>>> Appreciate your help.
>> > > >>>>
>> > > >>>>
>> > > >>>> Thanks&  Regards,
>> > > >>>>
>> > > >>>> Deepa
>> > > >>>>
>> > > >>>>
>> > > >>>>
>> > > >>>>
>> > > >>>>
>> > > >>>>
>> > > >>>>
>> > > >> ========================================================================
>> > > >>> ====================================================Disclaimer:
>> > > >>>>   This message and the information contained herein is proprietary
>> > > >> and
>> > > >>>> confidential and subject to the Tech Mahindra policy statement, you
>> > > >>> may
>> > > >>>> review the policy at<a
>> > > >>> href="http://www.techmahindra.com/Disclaimer.html
>> > > >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
>> > > >>> href="
>> > > >>>> http://tim.techmahindra.com/Disclaimer.html">
>> > > >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
>> > > >> Tech
>> > > >> Mahindra.===============================================================
>> > > >>> =============================================================
>> > > >>>
>> > > >>>
>> > > >>> --
>> > > >>> Regards,
>> > > >>> Varun Bhansaly
>> > > >>>
>> > > >>>
>> > > >> ========================================================================
>> > > >> ====================================================Disclaimer:
>> > > >>>   This message and the information contained herein is proprietary and
>> > > >>> confidential and subject to the Tech Mahindra policy statement, you
>> > > >> may
>> > > >>> review the policy at<a
>> > > >> href="http://www.techmahindra.com/Disclaimer.html
>> > > >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
>> > > >> href="
>> > > >>> http://tim.techmahindra.com/Disclaimer.html">
>> > > >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
>> > > Tech
>> > > >>>
>> > > >> Mahindra.===============================================================
>> > > >> =============================================================
>> > > >>
>> > > >>
>> > > >
>> > >
>> > > ============================================================================================================================Disclaimer:
>> > >  This message and the information contained herein is proprietary and
>> > > confidential and subject to the Tech Mahindra policy statement, you may
>> > > review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
>> > > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
>> > > http://tim.techmahindra.com/Disclaimer.html">
>> > > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
>> > > Mahindra.============================================================================================================================
>> >
>> >
>> >
>> >
>> > ============================================================================================================================Disclaimer: 
>> > This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy 
>> > statement, you may review the policy at <a 
>> > href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a 
>> > href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech 
>> > Mahindra.============================================================================================================================
>> >
>> >
>> >
>> >
>>
>>
>>
>>
>>
>> ============================================================================================================================Disclaimer: 
>> This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy 
>> statement, you may review the policy at <a 
>> href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a 
>> href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech 
>> Mahindra.============================================================================================================================
> 



RE: Ofbiz WorkFlow Engine

Posted by Deepa Priolkar <de...@TechMahindra.com>.
Ignore this question, this is fixed now :) 

-----Original Message-----
From: Deepa Priolkar [mailto:deepap@TechMahindra.com] 
Sent: Wednesday, September 15, 2010 4:17 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine

Hi,

I am facing one issue while inserting data into the JBPM_USER_ID table, here the ID is auto_increment and primary key..but the JBPM workflow tries to programmatically enter value against this column, because of which I am getting the error.. Please help.

2010-09-15 15:13:20,208 (http-0.0.0.0-8443-1) [    AbstractBatcher.java:346:DEBUG] insert into JBPM_ID_USER (NAME_, EMAIL_, PASSWORD_, CLASS_, ID_) values (?, ?, ?, 'U', ?)
2010-09-15 15:13:20,208 (http-0.0.0.0-8443-1) [    AbstractBatcher.java:424:TRACE] preparing statement
2010-09-15 15:13:20,208 (http-0.0.0.0-8443-1) [JDBCExceptionReporter.java:63 :DEBUG] could not insert: [org.jbpm.identity.User] [insert into JBPM_ID_USER (NAME_, EMAIL_, PASSWORD_, CLASS_, ID_) values (?, ?, ?, 'U', ?)]
java.sql.SQLException: Attempt to modify an identity column 'ID_'. 
	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
	at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)

-----Original Message-----
From: Deepa Priolkar [mailto:deepap@TechMahindra.com] 
Sent: Tuesday, September 14, 2010 11:55 AM
To: user@ofbiz.apache.org; user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine

Also one more concern, when i am starting the server i am seeing some more error. this error is due to the asm.jar. Ofbiz has asm2.2.jar which does not have the CodeVisitor class, and i cannot include the older version because it does not have many other classes used by Groovy.. please suggest how we can resolve this error.. cos two versions of asm cannot exists in one workspace it clashes...

2010-09-14 11:54:46,453 (JbpmCommandExecutor) [CGLIBLazyInitializer.java:130:ERROR] CGLIB Enhancement failed: org.jbpm.taskmgmt.log.TaskAssignLog
java.lang.NoClassDefFoundError: org/objectweb/asm/CodeVisitor
	at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165)
	at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
	at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
	at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)

Regards,
Deepa
-----Original Message-----
From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
Sent: Tue 9/14/2010 11:45 AM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 

Thanks Shi... i have done the necessary configurations in my workspace for the JBPM integration as adviced below.

However when i am trying to run the application, on clicking "New WorkFlow" I am getting table/view "HIBERNATE_UNIQUE_KEY" not found error in the logs. I have created all the tables as mentioned in the create.sql.. please note that i am using derby database.. Please advice.. 

2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'HIBERNATE_UNIQUE_KEY' does not exist.
2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [ Log4JLoggerFactory.java:96 :ERROR] 
Method public static java.util.List org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue) threw an exception
The problematic instruction:
----------
==> assignment: processList=Static["org.langhua.ofbiz.jbpm.OFBizNewProcessInstance"].getWorkflowOptions(delegator,userLogin) [on line 19, column 1 in component://jbpm/webapp/jbpm/jbpm/newWorkflow.ftl]
----------

Java backtrace for programmers:
----------
freemarker.template.TemplateModelException: Method public static java.util.List org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue) threw an exception
	at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:125)
	at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)

Regards,
Deepa

-----Original Message-----
From: Shi Jinghai [mailto:shijh@langhua.cn]
Sent: Mon 9/13/2010 3:06 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 
Hi Deepa,

The ofbiz-jbpm component is developed in maven style. We use eclipse +
iam as our standard develop tool.

You can find the built components in our maven repository:
http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/

http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/

Download the zip files and unzip them to your ofbiz, rebuild (I changed
the StringUtil.java to make it work for iframe in htmlreport), add the 2
components to component-load.xml, config
${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your
database and restart ofbiz, that's all. The jbpm tables will be created
automatically during startup.

The htmlreport is a tool to show the procedures of importing jbpm
process file and etc in web browser. There's demos in the component. You
can remove it from your tool bar if it works.

Good luck,

Shi Jinghai/Beijing Langhua Ltd.


? 2010-09-12?? 22:29 +0530,Deepa Priolkar??:
> can someone tell me how to create table in the derby database?
> 
> ________________________________
> 
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 10:25 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> 
> Hi,
> 
> I was able to solve the issue related to the database configuration, but looks like now i am totally stuck..
> 
> When i am trying to start the server, i am getting following error, Please help..
> 
> 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_MESSAGE' does not exist.
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 :WARN ] SQL Warning: 10000, SQLState: 01J01
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 :WARN ] Database 'ofbiz' not created, connection made to existing database instead.
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_TIMER' does not exist.
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> 
> 2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] runtime exception while executing timers
> 
> org.jbpm.JbpmException: couldn't find timers from the database
> 
> at org.jbpm.db.
> 
> 
> 
> ________________________________
> 
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 8:41 PM
> To: user@ofbiz.apache.org; user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> 
> Hi,
> 
> I forgot to mention that i am getting error after doing the configuration mentioned in my last mail,
> 
> snippet from the logs
> 
> 2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource: java:comp/env/jBPM_DS
> javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO]
>         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
>         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
>         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
>         at javax.naming.InitialContext.lookup(InitialContext.java:351)
>         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
>         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
>         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
>         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
>         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
>         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
>         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
>         at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
>         at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
>         at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
>         at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
>         at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
>         at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
>         at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
> Caused by: java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO
>         at java.lang.Class.newInstance0(Class.java:335)
>         at java.lang.Class.newInstance(Class.java:303)
>         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
>         ... 23 more
> 
> -----Original Message-----
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 8:37 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> Hi,
> 
> Need some help in JBPM integration, I have followed the steps mentioned in the link given below.
> 
> Now for the database i want to use derby instead of MySQL...
> I have configured following in the context.xml (runtime/catalina/conf/context.xml)
>   <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"
>        maxActive="30" maxIdle="3" maxWait="2000"
>        username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
>        factory="org.ofbiz.entity.datasource.GenericHelperDAO"
>        url="jdbc:derby:ofbiz;create=true"/>
> 
> </Context>
> 
> Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also
> 
>  <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
>     <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>
> 
> Regards,
> Deepa
> 
> 
> -----Original Message-----
> From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal
> Sent: Thu 9/9/2010 5:37 PM
> To: user@ofbiz.apache.org
> Subject: Re: Ofbiz WorkFlow Engine
> 
> There's SVn access available. Instructions here:
> http://www.langhua.cn/download/ofbiz-jbpm.html
> 
> -Jeroen
> 
> On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:
> 
> > Hi Shi,
> >
> > Can you please help me to download the code from the location mentioned
> > below? I tried FTP it did not work. Please advice.
> >
> >
> > On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > > Here is a OFBiz-jBPM component:
> > > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> > >
> > > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > > of jBPM.
> > >
> > > OSWorkflow can also work with OFBiz.
> > >
> > > Personally I like jBPM.
> > >
> > > Regards,
> > >
> > > Shi Jinghai/Beijing Langhua Ltd.
> > >
> > >
> > > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> > >> Hi Varun,
> > >>
> > >> Yes I am looking for something similar to JBPM, not fullfledge but
> > >> atleast it should have the configuration through XML (similar to Shark).
> > >> Do we have something like this in Ofbiz integrated? If not, then has
> > >> anyone integrated any webflows in Ofbiz? Please let me know..
> > >>
> > >> Regards,
> > >> Deepa
> > >>
> > >> -----Original Message-----
> > >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > >> Sent: Tuesday, September 07, 2010 1:38 PM
> > >> To: user@ofbiz.apache.org
> > >> Subject: Re: Ofbiz WorkFlow Engine
> > >>
> > >> Hi Deepa,
> > >> Are you looking at something like designing the process flow, for eg as
> > >> in
> > >> jBPM workflow engine&  the process designer ?
> > >> Though processes could be implemented using SECAs, EECAs etc.
> > >>
> > >>
> > >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> > >> <de...@techmahindra.com>wrote:
> > >>
> > >>> Thanks Varun for replying.. I have checked this link but its talking
> > >>> about XPDL which actually comes with Shark implementation and in the
> > >>> same link they have mentioned that Shark is not yet implemented in
> > >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> > >>> workflow definition type of design in Ofbiz as of now other then the
> > >>> events?
> > >>>
> > >>> Thanks,
> > >>> Deepa
> > >>>
> > >>> -----Original Message-----
> > >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > >>> Sent: Monday, September 06, 2010 9:57 PM
> > >>> To: user@ofbiz.apache.org
> > >>> Subject: Re: Ofbiz WorkFlow Engine
> > >>>
> > >>> Hi,
> > >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> > >>>
> > >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> > >>> <de...@techmahindra.com>wrote:
> > >>>
> > >>>> Hi All,
> > >>>>
> > >>>>
> > >>>>
> > >>>> Need some help to know if we have any workflow integrated in ofbiz
> > >>> 9.04
> > >>>> version?
> > >>>>
> > >>>> if we already have the workflow is it using xpdl? Is it Shark
> > >>> workflow?
> > >>>> Please let me know.. need this urgently before i start designing for
> > >>> one
> > >>>> of my requirement.
> > >>>>
> > >>>>
> > >>>>
> > >>>> Appreciate your help.
> > >>>>
> > >>>>
> > >>>> Thanks&  Regards,
> > >>>>
> > >>>> Deepa
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >> ========================================================================
> > >>> ====================================================Disclaimer:
> > >>>>   This message and the information contained herein is proprietary
> > >> and
> > >>>> confidential and subject to the Tech Mahindra policy statement, you
> > >>> may
> > >>>> review the policy at<a
> > >>> href="http://www.techmahindra.com/Disclaimer.html
> > >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > >>> href="
> > >>>> http://tim.techmahindra.com/Disclaimer.html">
> > >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > >> Tech
> > >> Mahindra.===============================================================
> > >>> =============================================================
> > >>>
> > >>>
> > >>> --
> > >>> Regards,
> > >>> Varun Bhansaly
> > >>>
> > >>>
> > >> ========================================================================
> > >> ====================================================Disclaimer:
> > >>>   This message and the information contained herein is proprietary and
> > >>> confidential and subject to the Tech Mahindra policy statement, you
> > >> may
> > >>> review the policy at<a
> > >> href="http://www.techmahindra.com/Disclaimer.html
> > >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > >> href="
> > >>> http://tim.techmahindra.com/Disclaimer.html">
> > >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > Tech
> > >>>
> > >> Mahindra.===============================================================
> > >> =============================================================
> > >>
> > >>
> > >
> >
> > ============================================================================================================================Disclaimer:
> >  This message and the information contained herein is proprietary and
> > confidential and subject to the Tech Mahindra policy statement, you may
> > review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> > http://tim.techmahindra.com/Disclaimer.html">
> > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> > Mahindra.============================================================================================================================
> 
> 
> 
> 
> ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================
> 
> 
> 
> 





============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================

============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================

============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================

RE: Ofbiz WorkFlow Engine

Posted by Deepa Priolkar <de...@TechMahindra.com>.
Hi,

I am facing one issue while inserting data into the JBPM_USER_ID table, here the ID is auto_increment and primary key..but the JBPM workflow tries to programmatically enter value against this column, because of which I am getting the error.. Please help.

2010-09-15 15:13:20,208 (http-0.0.0.0-8443-1) [    AbstractBatcher.java:346:DEBUG] insert into JBPM_ID_USER (NAME_, EMAIL_, PASSWORD_, CLASS_, ID_) values (?, ?, ?, 'U', ?)
2010-09-15 15:13:20,208 (http-0.0.0.0-8443-1) [    AbstractBatcher.java:424:TRACE] preparing statement
2010-09-15 15:13:20,208 (http-0.0.0.0-8443-1) [JDBCExceptionReporter.java:63 :DEBUG] could not insert: [org.jbpm.identity.User] [insert into JBPM_ID_USER (NAME_, EMAIL_, PASSWORD_, CLASS_, ID_) values (?, ?, ?, 'U', ?)]
java.sql.SQLException: Attempt to modify an identity column 'ID_'. 
	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
	at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)

-----Original Message-----
From: Deepa Priolkar [mailto:deepap@TechMahindra.com] 
Sent: Tuesday, September 14, 2010 11:55 AM
To: user@ofbiz.apache.org; user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine

Also one more concern, when i am starting the server i am seeing some more error. this error is due to the asm.jar. Ofbiz has asm2.2.jar which does not have the CodeVisitor class, and i cannot include the older version because it does not have many other classes used by Groovy.. please suggest how we can resolve this error.. cos two versions of asm cannot exists in one workspace it clashes...

2010-09-14 11:54:46,453 (JbpmCommandExecutor) [CGLIBLazyInitializer.java:130:ERROR] CGLIB Enhancement failed: org.jbpm.taskmgmt.log.TaskAssignLog
java.lang.NoClassDefFoundError: org/objectweb/asm/CodeVisitor
	at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165)
	at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
	at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
	at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)

Regards,
Deepa
-----Original Message-----
From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
Sent: Tue 9/14/2010 11:45 AM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 

Thanks Shi... i have done the necessary configurations in my workspace for the JBPM integration as adviced below.

However when i am trying to run the application, on clicking "New WorkFlow" I am getting table/view "HIBERNATE_UNIQUE_KEY" not found error in the logs. I have created all the tables as mentioned in the create.sql.. please note that i am using derby database.. Please advice.. 

2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'HIBERNATE_UNIQUE_KEY' does not exist.
2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [ Log4JLoggerFactory.java:96 :ERROR] 
Method public static java.util.List org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue) threw an exception
The problematic instruction:
----------
==> assignment: processList=Static["org.langhua.ofbiz.jbpm.OFBizNewProcessInstance"].getWorkflowOptions(delegator,userLogin) [on line 19, column 1 in component://jbpm/webapp/jbpm/jbpm/newWorkflow.ftl]
----------

Java backtrace for programmers:
----------
freemarker.template.TemplateModelException: Method public static java.util.List org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue) threw an exception
	at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:125)
	at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)

Regards,
Deepa

-----Original Message-----
From: Shi Jinghai [mailto:shijh@langhua.cn]
Sent: Mon 9/13/2010 3:06 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 
Hi Deepa,

The ofbiz-jbpm component is developed in maven style. We use eclipse +
iam as our standard develop tool.

You can find the built components in our maven repository:
http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/

http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/

Download the zip files and unzip them to your ofbiz, rebuild (I changed
the StringUtil.java to make it work for iframe in htmlreport), add the 2
components to component-load.xml, config
${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your
database and restart ofbiz, that's all. The jbpm tables will be created
automatically during startup.

The htmlreport is a tool to show the procedures of importing jbpm
process file and etc in web browser. There's demos in the component. You
can remove it from your tool bar if it works.

Good luck,

Shi Jinghai/Beijing Langhua Ltd.


? 2010-09-12?? 22:29 +0530,Deepa Priolkar??:
> can someone tell me how to create table in the derby database?
> 
> ________________________________
> 
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 10:25 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> 
> Hi,
> 
> I was able to solve the issue related to the database configuration, but looks like now i am totally stuck..
> 
> When i am trying to start the server, i am getting following error, Please help..
> 
> 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_MESSAGE' does not exist.
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 :WARN ] SQL Warning: 10000, SQLState: 01J01
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 :WARN ] Database 'ofbiz' not created, connection made to existing database instead.
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_TIMER' does not exist.
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> 
> 2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] runtime exception while executing timers
> 
> org.jbpm.JbpmException: couldn't find timers from the database
> 
> at org.jbpm.db.
> 
> 
> 
> ________________________________
> 
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 8:41 PM
> To: user@ofbiz.apache.org; user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> 
> Hi,
> 
> I forgot to mention that i am getting error after doing the configuration mentioned in my last mail,
> 
> snippet from the logs
> 
> 2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource: java:comp/env/jBPM_DS
> javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO]
>         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
>         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
>         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
>         at javax.naming.InitialContext.lookup(InitialContext.java:351)
>         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
>         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
>         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
>         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
>         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
>         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
>         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
>         at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
>         at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
>         at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
>         at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
>         at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
>         at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
>         at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
> Caused by: java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO
>         at java.lang.Class.newInstance0(Class.java:335)
>         at java.lang.Class.newInstance(Class.java:303)
>         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
>         ... 23 more
> 
> -----Original Message-----
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 8:37 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> Hi,
> 
> Need some help in JBPM integration, I have followed the steps mentioned in the link given below.
> 
> Now for the database i want to use derby instead of MySQL...
> I have configured following in the context.xml (runtime/catalina/conf/context.xml)
>   <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"
>        maxActive="30" maxIdle="3" maxWait="2000"
>        username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
>        factory="org.ofbiz.entity.datasource.GenericHelperDAO"
>        url="jdbc:derby:ofbiz;create=true"/>
> 
> </Context>
> 
> Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also
> 
>  <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
>     <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>
> 
> Regards,
> Deepa
> 
> 
> -----Original Message-----
> From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal
> Sent: Thu 9/9/2010 5:37 PM
> To: user@ofbiz.apache.org
> Subject: Re: Ofbiz WorkFlow Engine
> 
> There's SVn access available. Instructions here:
> http://www.langhua.cn/download/ofbiz-jbpm.html
> 
> -Jeroen
> 
> On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:
> 
> > Hi Shi,
> >
> > Can you please help me to download the code from the location mentioned
> > below? I tried FTP it did not work. Please advice.
> >
> >
> > On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > > Here is a OFBiz-jBPM component:
> > > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> > >
> > > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > > of jBPM.
> > >
> > > OSWorkflow can also work with OFBiz.
> > >
> > > Personally I like jBPM.
> > >
> > > Regards,
> > >
> > > Shi Jinghai/Beijing Langhua Ltd.
> > >
> > >
> > > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> > >> Hi Varun,
> > >>
> > >> Yes I am looking for something similar to JBPM, not fullfledge but
> > >> atleast it should have the configuration through XML (similar to Shark).
> > >> Do we have something like this in Ofbiz integrated? If not, then has
> > >> anyone integrated any webflows in Ofbiz? Please let me know..
> > >>
> > >> Regards,
> > >> Deepa
> > >>
> > >> -----Original Message-----
> > >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > >> Sent: Tuesday, September 07, 2010 1:38 PM
> > >> To: user@ofbiz.apache.org
> > >> Subject: Re: Ofbiz WorkFlow Engine
> > >>
> > >> Hi Deepa,
> > >> Are you looking at something like designing the process flow, for eg as
> > >> in
> > >> jBPM workflow engine&  the process designer ?
> > >> Though processes could be implemented using SECAs, EECAs etc.
> > >>
> > >>
> > >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> > >> <de...@techmahindra.com>wrote:
> > >>
> > >>> Thanks Varun for replying.. I have checked this link but its talking
> > >>> about XPDL which actually comes with Shark implementation and in the
> > >>> same link they have mentioned that Shark is not yet implemented in
> > >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> > >>> workflow definition type of design in Ofbiz as of now other then the
> > >>> events?
> > >>>
> > >>> Thanks,
> > >>> Deepa
> > >>>
> > >>> -----Original Message-----
> > >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > >>> Sent: Monday, September 06, 2010 9:57 PM
> > >>> To: user@ofbiz.apache.org
> > >>> Subject: Re: Ofbiz WorkFlow Engine
> > >>>
> > >>> Hi,
> > >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> > >>>
> > >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> > >>> <de...@techmahindra.com>wrote:
> > >>>
> > >>>> Hi All,
> > >>>>
> > >>>>
> > >>>>
> > >>>> Need some help to know if we have any workflow integrated in ofbiz
> > >>> 9.04
> > >>>> version?
> > >>>>
> > >>>> if we already have the workflow is it using xpdl? Is it Shark
> > >>> workflow?
> > >>>> Please let me know.. need this urgently before i start designing for
> > >>> one
> > >>>> of my requirement.
> > >>>>
> > >>>>
> > >>>>
> > >>>> Appreciate your help.
> > >>>>
> > >>>>
> > >>>> Thanks&  Regards,
> > >>>>
> > >>>> Deepa
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >> ========================================================================
> > >>> ====================================================Disclaimer:
> > >>>>   This message and the information contained herein is proprietary
> > >> and
> > >>>> confidential and subject to the Tech Mahindra policy statement, you
> > >>> may
> > >>>> review the policy at<a
> > >>> href="http://www.techmahindra.com/Disclaimer.html
> > >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > >>> href="
> > >>>> http://tim.techmahindra.com/Disclaimer.html">
> > >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > >> Tech
> > >> Mahindra.===============================================================
> > >>> =============================================================
> > >>>
> > >>>
> > >>> --
> > >>> Regards,
> > >>> Varun Bhansaly
> > >>>
> > >>>
> > >> ========================================================================
> > >> ====================================================Disclaimer:
> > >>>   This message and the information contained herein is proprietary and
> > >>> confidential and subject to the Tech Mahindra policy statement, you
> > >> may
> > >>> review the policy at<a
> > >> href="http://www.techmahindra.com/Disclaimer.html
> > >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > >> href="
> > >>> http://tim.techmahindra.com/Disclaimer.html">
> > >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > Tech
> > >>>
> > >> Mahindra.===============================================================
> > >> =============================================================
> > >>
> > >>
> > >
> >
> > ============================================================================================================================Disclaimer:
> >  This message and the information contained herein is proprietary and
> > confidential and subject to the Tech Mahindra policy statement, you may
> > review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> > http://tim.techmahindra.com/Disclaimer.html">
> > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> > Mahindra.============================================================================================================================
> 
> 
> 
> 
> ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================
> 
> 
> 
> 





============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================

============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================

RE: Ofbiz WorkFlow Engine

Posted by Shi Jinghai <sh...@langhua.cn>.
Hi Jack,

I respect Hans' great work on OSWorkflow. Only 2 questions on OFBiz
OSWorkflow integration:
1. Support hot deploy a workflow in OFBiz? If yes, how the ongoing
processes run when a new version workflow deployed?
2. Support UI generation according to workflow definition?

Regards,

Shi Jinghai/Beijing Langhua Ltd.


在 2010-09-14二的 14:33 +0800,Jack Liu写道:
> I recommend OSWorkflow and it's easier to master.
> 
> 
> 
> -----Original Message-----
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com] 
> Sent: 2010年9月14日 14:25
> To: user@ofbiz.apache.org; user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> Also one more concern, when i am starting the server i am seeing some more error. this error is due to the asm.jar. Ofbiz has asm2.2.jar which does not have the CodeVisitor class, and i cannot include the older version because it does not have many other classes used by Groovy.. please suggest how we can resolve this error.. cos two versions of asm cannot exists in one workspace it clashes...
> 
> 2010-09-14 11:54:46,453 (JbpmCommandExecutor) [CGLIBLazyInitializer.java:130:ERROR] CGLIB Enhancement failed: org.jbpm.taskmgmt.log.TaskAssignLog
> java.lang.NoClassDefFoundError: org/objectweb/asm/CodeVisitor
> 	at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165)
> 	at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
> 	at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
> 	at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
> 
> Regards,
> Deepa
> -----Original Message-----
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Tue 9/14/2010 11:45 AM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
>  
> 
> Thanks Shi... i have done the necessary configurations in my workspace for the JBPM integration as adviced below.
> 
> However when i am trying to run the application, on clicking "New WorkFlow" I am getting table/view "HIBERNATE_UNIQUE_KEY" not found error in the logs. I have created all the tables as mentioned in the create.sql.. please note that i am using derby database.. Please advice.. 
> 
> 2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'HIBERNATE_UNIQUE_KEY' does not exist.
> 2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [ Log4JLoggerFactory.java:96 :ERROR] 
> Method public static java.util.List org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue) threw an exception
> The problematic instruction:
> ----------
> ==> assignment: processList=Static["org.langhua.ofbiz.jbpm.OFBizNewProcessInstance"].getWorkflowOptions(delegator,userLogin) [on line 19, column 1 in component://jbpm/webapp/jbpm/jbpm/newWorkflow.ftl]
> ----------
> 
> Java backtrace for programmers:
> ----------
> freemarker.template.TemplateModelException: Method public static java.util.List org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue) threw an exception
> 	at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:125)
> 	at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
> 	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
> 
> Regards,
> Deepa
> 
> -----Original Message-----
> From: Shi Jinghai [mailto:shijh@langhua.cn]
> Sent: Mon 9/13/2010 3:06 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
>  
> Hi Deepa,
> 
> The ofbiz-jbpm component is developed in maven style. We use eclipse +
> iam as our standard develop tool.
> 
> You can find the built components in our maven repository:
> http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/
> 
> http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/
> 
> Download the zip files and unzip them to your ofbiz, rebuild (I changed
> the StringUtil.java to make it work for iframe in htmlreport), add the 2
> components to component-load.xml, config
> ${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your
> database and restart ofbiz, that's all. The jbpm tables will be created
> automatically during startup.
> 
> The htmlreport is a tool to show the procedures of importing jbpm
> process file and etc in web browser. There's demos in the component. You
> can remove it from your tool bar if it works.
> 
> Good luck,
> 
> Shi Jinghai/Beijing Langhua Ltd.
> 
> 
> ? 2010-09-12?? 22:29 +0530,Deepa Priolkar??:
> > can someone tell me how to create table in the derby database?
> > 
> > ________________________________
> > 
> > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> > Sent: Sun 9/12/2010 10:25 PM
> > To: user@ofbiz.apache.org
> > Subject: RE: Ofbiz WorkFlow Engine
> > 
> > 
> > 
> > Hi,
> > 
> > I was able to solve the issue related to the database configuration, but looks like now i am totally stuck..
> > 
> > When i am trying to start the server, i am getting following error, Please help..
> > 
> > 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries
> > 
> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> > 
> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_MESSAGE' does not exist.
> > 
> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 :WARN ] SQL Warning: 10000, SQLState: 01J01
> > 
> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 :WARN ] Database 'ofbiz' not created, connection made to existing database instead.
> > 
> > 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> > 
> > 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_TIMER' does not exist.
> > 
> > 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> > 
> > 2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> > 
> > 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] runtime exception while executing timers
> > 
> > org.jbpm.JbpmException: couldn't find timers from the database
> > 
> > at org.jbpm.db.
> > 
> > 
> > 
> > ________________________________
> > 
> > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> > Sent: Sun 9/12/2010 8:41 PM
> > To: user@ofbiz.apache.org; user@ofbiz.apache.org
> > Subject: RE: Ofbiz WorkFlow Engine
> > 
> > 
> > 
> > Hi,
> > 
> > I forgot to mention that i am getting error after doing the configuration mentioned in my last mail,
> > 
> > snippet from the logs
> > 
> > 2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource: java:comp/env/jBPM_DS
> > javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO]
> >         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
> >         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
> >         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
> >         at javax.naming.InitialContext.lookup(InitialContext.java:351)
> >         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
> >         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
> >         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
> >         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
> >         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
> >         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
> >         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
> >         at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
> >         at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
> >         at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
> >         at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
> >         at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
> >         at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
> >         at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
> > Caused by: java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO
> >         at java.lang.Class.newInstance0(Class.java:335)
> >         at java.lang.Class.newInstance(Class.java:303)
> >         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
> >         ... 23 more
> > 
> > -----Original Message-----
> > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> > Sent: Sun 9/12/2010 8:37 PM
> > To: user@ofbiz.apache.org
> > Subject: RE: Ofbiz WorkFlow Engine
> > 
> > 
> > Hi,
> > 
> > Need some help in JBPM integration, I have followed the steps mentioned in the link given below.
> > 
> > Now for the database i want to use derby instead of MySQL...
> > I have configured following in the context.xml (runtime/catalina/conf/context.xml)
> >   <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"
> >        maxActive="30" maxIdle="3" maxWait="2000"
> >        username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
> >        factory="org.ofbiz.entity.datasource.GenericHelperDAO"
> >        url="jdbc:derby:ofbiz;create=true"/>
> > 
> > </Context>
> > 
> > Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also
> > 
> >  <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
> >     <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>
> > 
> > Regards,
> > Deepa
> > 
> > 
> > -----Original Message-----
> > From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal
> > Sent: Thu 9/9/2010 5:37 PM
> > To: user@ofbiz.apache.org
> > Subject: Re: Ofbiz WorkFlow Engine
> > 
> > There's SVn access available. Instructions here:
> > http://www.langhua.cn/download/ofbiz-jbpm.html
> > 
> > -Jeroen
> > 
> > On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:
> > 
> > > Hi Shi,
> > >
> > > Can you please help me to download the code from the location mentioned
> > > below? I tried FTP it did not work. Please advice.
> > >
> > >
> > > On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > > > Here is a OFBiz-jBPM component:
> > > > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > > > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> > > >
> > > > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > > > of jBPM.
> > > >
> > > > OSWorkflow can also work with OFBiz.
> > > >
> > > > Personally I like jBPM.
> > > >
> > > > Regards,
> > > >
> > > > Shi Jinghai/Beijing Langhua Ltd.
> > > >
> > > >
> > > > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> > > >> Hi Varun,
> > > >>
> > > >> Yes I am looking for something similar to JBPM, not fullfledge but
> > > >> atleast it should have the configuration through XML (similar to Shark).
> > > >> Do we have something like this in Ofbiz integrated? If not, then has
> > > >> anyone integrated any webflows in Ofbiz? Please let me know..
> > > >>
> > > >> Regards,
> > > >> Deepa
> > > >>
> > > >> -----Original Message-----
> > > >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > > >> Sent: Tuesday, September 07, 2010 1:38 PM
> > > >> To: user@ofbiz.apache.org
> > > >> Subject: Re: Ofbiz WorkFlow Engine
> > > >>
> > > >> Hi Deepa,
> > > >> Are you looking at something like designing the process flow, for eg as
> > > >> in
> > > >> jBPM workflow engine&  the process designer ?
> > > >> Though processes could be implemented using SECAs, EECAs etc.
> > > >>
> > > >>
> > > >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> > > >> <de...@techmahindra.com>wrote:
> > > >>
> > > >>> Thanks Varun for replying.. I have checked this link but its talking
> > > >>> about XPDL which actually comes with Shark implementation and in the
> > > >>> same link they have mentioned that Shark is not yet implemented in
> > > >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> > > >>> workflow definition type of design in Ofbiz as of now other then the
> > > >>> events?
> > > >>>
> > > >>> Thanks,
> > > >>> Deepa
> > > >>>
> > > >>> -----Original Message-----
> > > >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > > >>> Sent: Monday, September 06, 2010 9:57 PM
> > > >>> To: user@ofbiz.apache.org
> > > >>> Subject: Re: Ofbiz WorkFlow Engine
> > > >>>
> > > >>> Hi,
> > > >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> > > >>>
> > > >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> > > >>> <de...@techmahindra.com>wrote:
> > > >>>
> > > >>>> Hi All,
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>> Need some help to know if we have any workflow integrated in ofbiz
> > > >>> 9.04
> > > >>>> version?
> > > >>>>
> > > >>>> if we already have the workflow is it using xpdl? Is it Shark
> > > >>> workflow?
> > > >>>> Please let me know.. need this urgently before i start designing for
> > > >>> one
> > > >>>> of my requirement.
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>> Appreciate your help.
> > > >>>>
> > > >>>>
> > > >>>> Thanks&  Regards,
> > > >>>>
> > > >>>> Deepa
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >> ========================================================================
> > > >>> ====================================================Disclaimer:
> > > >>>>   This message and the information contained herein is proprietary
> > > >> and
> > > >>>> confidential and subject to the Tech Mahindra policy statement, you
> > > >>> may
> > > >>>> review the policy at<a
> > > >>> href="http://www.techmahindra.com/Disclaimer.html
> > > >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > > >>> href="
> > > >>>> http://tim.techmahindra.com/Disclaimer.html">
> > > >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > > >> Tech
> > > >> Mahindra.===============================================================
> > > >>> =============================================================
> > > >>>
> > > >>>
> > > >>> --
> > > >>> Regards,
> > > >>> Varun Bhansaly
> > > >>>
> > > >>>
> > > >> ========================================================================
> > > >> ====================================================Disclaimer:
> > > >>>   This message and the information contained herein is proprietary and
> > > >>> confidential and subject to the Tech Mahindra policy statement, you
> > > >> may
> > > >>> review the policy at<a
> > > >> href="http://www.techmahindra.com/Disclaimer.html
> > > >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > > >> href="
> > > >>> http://tim.techmahindra.com/Disclaimer.html">
> > > >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > > Tech
> > > >>>
> > > >> Mahindra.===============================================================
> > > >> =============================================================
> > > >>
> > > >>
> > > >
> > >
> > > ============================================================================================================================Disclaimer:
> > >  This message and the information contained herein is proprietary and
> > > confidential and subject to the Tech Mahindra policy statement, you may
> > > review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> > > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> > > http://tim.techmahindra.com/Disclaimer.html">
> > > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> > > Mahindra.============================================================================================================================
> > 
> > 
> > 
> > 
> > ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================
> > 
> > 
> > 
> > 
> 
> 
> 
> 
> 
> ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================


RE: Ofbiz WorkFlow Engine

Posted by Jack Liu <ja...@aicent.com>.
I recommend OSWorkflow and it's easier to master.



-----Original Message-----
From: Deepa Priolkar [mailto:deepap@TechMahindra.com] 
Sent: 2010年9月14日 14:25
To: user@ofbiz.apache.org; user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine

Also one more concern, when i am starting the server i am seeing some more error. this error is due to the asm.jar. Ofbiz has asm2.2.jar which does not have the CodeVisitor class, and i cannot include the older version because it does not have many other classes used by Groovy.. please suggest how we can resolve this error.. cos two versions of asm cannot exists in one workspace it clashes...

2010-09-14 11:54:46,453 (JbpmCommandExecutor) [CGLIBLazyInitializer.java:130:ERROR] CGLIB Enhancement failed: org.jbpm.taskmgmt.log.TaskAssignLog
java.lang.NoClassDefFoundError: org/objectweb/asm/CodeVisitor
	at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165)
	at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
	at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
	at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)

Regards,
Deepa
-----Original Message-----
From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
Sent: Tue 9/14/2010 11:45 AM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 

Thanks Shi... i have done the necessary configurations in my workspace for the JBPM integration as adviced below.

However when i am trying to run the application, on clicking "New WorkFlow" I am getting table/view "HIBERNATE_UNIQUE_KEY" not found error in the logs. I have created all the tables as mentioned in the create.sql.. please note that i am using derby database.. Please advice.. 

2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'HIBERNATE_UNIQUE_KEY' does not exist.
2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [ Log4JLoggerFactory.java:96 :ERROR] 
Method public static java.util.List org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue) threw an exception
The problematic instruction:
----------
==> assignment: processList=Static["org.langhua.ofbiz.jbpm.OFBizNewProcessInstance"].getWorkflowOptions(delegator,userLogin) [on line 19, column 1 in component://jbpm/webapp/jbpm/jbpm/newWorkflow.ftl]
----------

Java backtrace for programmers:
----------
freemarker.template.TemplateModelException: Method public static java.util.List org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue) threw an exception
	at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:125)
	at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)

Regards,
Deepa

-----Original Message-----
From: Shi Jinghai [mailto:shijh@langhua.cn]
Sent: Mon 9/13/2010 3:06 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 
Hi Deepa,

The ofbiz-jbpm component is developed in maven style. We use eclipse +
iam as our standard develop tool.

You can find the built components in our maven repository:
http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/

http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/

Download the zip files and unzip them to your ofbiz, rebuild (I changed
the StringUtil.java to make it work for iframe in htmlreport), add the 2
components to component-load.xml, config
${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your
database and restart ofbiz, that's all. The jbpm tables will be created
automatically during startup.

The htmlreport is a tool to show the procedures of importing jbpm
process file and etc in web browser. There's demos in the component. You
can remove it from your tool bar if it works.

Good luck,

Shi Jinghai/Beijing Langhua Ltd.


? 2010-09-12?? 22:29 +0530,Deepa Priolkar??:
> can someone tell me how to create table in the derby database?
> 
> ________________________________
> 
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 10:25 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> 
> Hi,
> 
> I was able to solve the issue related to the database configuration, but looks like now i am totally stuck..
> 
> When i am trying to start the server, i am getting following error, Please help..
> 
> 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_MESSAGE' does not exist.
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 :WARN ] SQL Warning: 10000, SQLState: 01J01
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 :WARN ] Database 'ofbiz' not created, connection made to existing database instead.
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_TIMER' does not exist.
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> 
> 2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] runtime exception while executing timers
> 
> org.jbpm.JbpmException: couldn't find timers from the database
> 
> at org.jbpm.db.
> 
> 
> 
> ________________________________
> 
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 8:41 PM
> To: user@ofbiz.apache.org; user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> 
> Hi,
> 
> I forgot to mention that i am getting error after doing the configuration mentioned in my last mail,
> 
> snippet from the logs
> 
> 2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource: java:comp/env/jBPM_DS
> javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO]
>         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
>         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
>         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
>         at javax.naming.InitialContext.lookup(InitialContext.java:351)
>         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
>         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
>         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
>         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
>         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
>         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
>         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
>         at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
>         at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
>         at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
>         at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
>         at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
>         at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
>         at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
> Caused by: java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO
>         at java.lang.Class.newInstance0(Class.java:335)
>         at java.lang.Class.newInstance(Class.java:303)
>         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
>         ... 23 more
> 
> -----Original Message-----
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 8:37 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> Hi,
> 
> Need some help in JBPM integration, I have followed the steps mentioned in the link given below.
> 
> Now for the database i want to use derby instead of MySQL...
> I have configured following in the context.xml (runtime/catalina/conf/context.xml)
>   <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"
>        maxActive="30" maxIdle="3" maxWait="2000"
>        username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
>        factory="org.ofbiz.entity.datasource.GenericHelperDAO"
>        url="jdbc:derby:ofbiz;create=true"/>
> 
> </Context>
> 
> Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also
> 
>  <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
>     <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>
> 
> Regards,
> Deepa
> 
> 
> -----Original Message-----
> From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal
> Sent: Thu 9/9/2010 5:37 PM
> To: user@ofbiz.apache.org
> Subject: Re: Ofbiz WorkFlow Engine
> 
> There's SVn access available. Instructions here:
> http://www.langhua.cn/download/ofbiz-jbpm.html
> 
> -Jeroen
> 
> On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:
> 
> > Hi Shi,
> >
> > Can you please help me to download the code from the location mentioned
> > below? I tried FTP it did not work. Please advice.
> >
> >
> > On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > > Here is a OFBiz-jBPM component:
> > > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> > >
> > > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > > of jBPM.
> > >
> > > OSWorkflow can also work with OFBiz.
> > >
> > > Personally I like jBPM.
> > >
> > > Regards,
> > >
> > > Shi Jinghai/Beijing Langhua Ltd.
> > >
> > >
> > > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> > >> Hi Varun,
> > >>
> > >> Yes I am looking for something similar to JBPM, not fullfledge but
> > >> atleast it should have the configuration through XML (similar to Shark).
> > >> Do we have something like this in Ofbiz integrated? If not, then has
> > >> anyone integrated any webflows in Ofbiz? Please let me know..
> > >>
> > >> Regards,
> > >> Deepa
> > >>
> > >> -----Original Message-----
> > >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > >> Sent: Tuesday, September 07, 2010 1:38 PM
> > >> To: user@ofbiz.apache.org
> > >> Subject: Re: Ofbiz WorkFlow Engine
> > >>
> > >> Hi Deepa,
> > >> Are you looking at something like designing the process flow, for eg as
> > >> in
> > >> jBPM workflow engine&  the process designer ?
> > >> Though processes could be implemented using SECAs, EECAs etc.
> > >>
> > >>
> > >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> > >> <de...@techmahindra.com>wrote:
> > >>
> > >>> Thanks Varun for replying.. I have checked this link but its talking
> > >>> about XPDL which actually comes with Shark implementation and in the
> > >>> same link they have mentioned that Shark is not yet implemented in
> > >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> > >>> workflow definition type of design in Ofbiz as of now other then the
> > >>> events?
> > >>>
> > >>> Thanks,
> > >>> Deepa
> > >>>
> > >>> -----Original Message-----
> > >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > >>> Sent: Monday, September 06, 2010 9:57 PM
> > >>> To: user@ofbiz.apache.org
> > >>> Subject: Re: Ofbiz WorkFlow Engine
> > >>>
> > >>> Hi,
> > >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> > >>>
> > >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> > >>> <de...@techmahindra.com>wrote:
> > >>>
> > >>>> Hi All,
> > >>>>
> > >>>>
> > >>>>
> > >>>> Need some help to know if we have any workflow integrated in ofbiz
> > >>> 9.04
> > >>>> version?
> > >>>>
> > >>>> if we already have the workflow is it using xpdl? Is it Shark
> > >>> workflow?
> > >>>> Please let me know.. need this urgently before i start designing for
> > >>> one
> > >>>> of my requirement.
> > >>>>
> > >>>>
> > >>>>
> > >>>> Appreciate your help.
> > >>>>
> > >>>>
> > >>>> Thanks&  Regards,
> > >>>>
> > >>>> Deepa
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >> ========================================================================
> > >>> ====================================================Disclaimer:
> > >>>>   This message and the information contained herein is proprietary
> > >> and
> > >>>> confidential and subject to the Tech Mahindra policy statement, you
> > >>> may
> > >>>> review the policy at<a
> > >>> href="http://www.techmahindra.com/Disclaimer.html
> > >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > >>> href="
> > >>>> http://tim.techmahindra.com/Disclaimer.html">
> > >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > >> Tech
> > >> Mahindra.===============================================================
> > >>> =============================================================
> > >>>
> > >>>
> > >>> --
> > >>> Regards,
> > >>> Varun Bhansaly
> > >>>
> > >>>
> > >> ========================================================================
> > >> ====================================================Disclaimer:
> > >>>   This message and the information contained herein is proprietary and
> > >>> confidential and subject to the Tech Mahindra policy statement, you
> > >> may
> > >>> review the policy at<a
> > >> href="http://www.techmahindra.com/Disclaimer.html
> > >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > >> href="
> > >>> http://tim.techmahindra.com/Disclaimer.html">
> > >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > Tech
> > >>>
> > >> Mahindra.===============================================================
> > >> =============================================================
> > >>
> > >>
> > >
> >
> > ============================================================================================================================Disclaimer:
> >  This message and the information contained herein is proprietary and
> > confidential and subject to the Tech Mahindra policy statement, you may
> > review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> > http://tim.techmahindra.com/Disclaimer.html">
> > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> > Mahindra.============================================================================================================================
> 
> 
> 
> 
> ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================
> 
> 
> 
> 





============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================

RE: Ofbiz WorkFlow Engine

Posted by Shi Jinghai <sh...@langhua.cn>.
In asm2.2.jar, CodeVisitor class does not exist either, it's not used if
deployed correctly.

Sorry, we don't use derby. The bundled scripts are for mysql (for linux)
and mssql (for windows), you have to download jbpm source code to build
derby scripts. Then deploy the scripts to specialpurpose/jbpm/db/derby
and edit specialpurpose/jbpm/config/jbpm-config.xml to change the
datasource configurations.

Regards,

Shi Jinghai/Beijing Langhua Ltd.


在 2010-09-14二的 11:55 +0530,Deepa Priolkar写道:
> Also one more concern, when i am starting the server i am seeing some more error. this error is due to the asm.jar. Ofbiz has asm2.2.jar which does not have the CodeVisitor class, and i cannot include the older version because it does not have many other classes used by Groovy.. please suggest how we can resolve this error.. cos two versions of asm cannot exists in one workspace it clashes...
> 
> 2010-09-14 11:54:46,453 (JbpmCommandExecutor) [CGLIBLazyInitializer.java:130:ERROR] CGLIB Enhancement failed: org.jbpm.taskmgmt.log.TaskAssignLog
> java.lang.NoClassDefFoundError: org/objectweb/asm/CodeVisitor
> 	at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165)
> 	at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
> 	at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
> 	at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
> 
> Regards,
> Deepa
> -----Original Message-----
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Tue 9/14/2010 11:45 AM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
>  
> 
> Thanks Shi... i have done the necessary configurations in my workspace for the JBPM integration as adviced below.
> 
> However when i am trying to run the application, on clicking "New WorkFlow" I am getting table/view "HIBERNATE_UNIQUE_KEY" not found error in the logs. I have created all the tables as mentioned in the create.sql.. please note that i am using derby database.. Please advice.. 
> 
> 2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'HIBERNATE_UNIQUE_KEY' does not exist.
> 2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [ Log4JLoggerFactory.java:96 :ERROR] 
> Method public static java.util.List org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue) threw an exception
> The problematic instruction:
> ----------
> ==> assignment: processList=Static["org.langhua.ofbiz.jbpm.OFBizNewProcessInstance"].getWorkflowOptions(delegator,userLogin) [on line 19, column 1 in component://jbpm/webapp/jbpm/jbpm/newWorkflow.ftl]
> ----------
> 
> Java backtrace for programmers:
> ----------
> freemarker.template.TemplateModelException: Method public static java.util.List org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue) threw an exception
> 	at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:125)
> 	at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
> 	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
> 
> Regards,
> Deepa
> 
> -----Original Message-----
> From: Shi Jinghai [mailto:shijh@langhua.cn]
> Sent: Mon 9/13/2010 3:06 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
>  
> Hi Deepa,
> 
> The ofbiz-jbpm component is developed in maven style. We use eclipse +
> iam as our standard develop tool.
> 
> You can find the built components in our maven repository:
> http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/
> 
> http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/
> 
> Download the zip files and unzip them to your ofbiz, rebuild (I changed
> the StringUtil.java to make it work for iframe in htmlreport), add the 2
> components to component-load.xml, config
> ${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your
> database and restart ofbiz, that's all. The jbpm tables will be created
> automatically during startup.
> 
> The htmlreport is a tool to show the procedures of importing jbpm
> process file and etc in web browser. There's demos in the component. You
> can remove it from your tool bar if it works.
> 
> Good luck,
> 
> Shi Jinghai/Beijing Langhua Ltd.
> 
> 
> ? 2010-09-12?? 22:29 +0530,Deepa Priolkar??:
> > can someone tell me how to create table in the derby database?
> > 
> > ________________________________
> > 
> > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> > Sent: Sun 9/12/2010 10:25 PM
> > To: user@ofbiz.apache.org
> > Subject: RE: Ofbiz WorkFlow Engine
> > 
> > 
> > 
> > Hi,
> > 
> > I was able to solve the issue related to the database configuration, but looks like now i am totally stuck..
> > 
> > When i am trying to start the server, i am getting following error, Please help..
> > 
> > 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries
> > 
> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> > 
> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_MESSAGE' does not exist.
> > 
> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 :WARN ] SQL Warning: 10000, SQLState: 01J01
> > 
> > 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 :WARN ] Database 'ofbiz' not created, connection made to existing database instead.
> > 
> > 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> > 
> > 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_TIMER' does not exist.
> > 
> > 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> > 
> > 2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> > 
> > 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] runtime exception while executing timers
> > 
> > org.jbpm.JbpmException: couldn't find timers from the database
> > 
> > at org.jbpm.db.
> > 
> > 
> > 
> > ________________________________
> > 
> > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> > Sent: Sun 9/12/2010 8:41 PM
> > To: user@ofbiz.apache.org; user@ofbiz.apache.org
> > Subject: RE: Ofbiz WorkFlow Engine
> > 
> > 
> > 
> > Hi,
> > 
> > I forgot to mention that i am getting error after doing the configuration mentioned in my last mail,
> > 
> > snippet from the logs
> > 
> > 2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource: java:comp/env/jBPM_DS
> > javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO]
> >         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
> >         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
> >         at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
> >         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
> >         at javax.naming.InitialContext.lookup(InitialContext.java:351)
> >         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
> >         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
> >         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
> >         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
> >         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
> >         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
> >         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
> >         at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
> >         at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
> >         at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
> >         at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
> >         at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
> >         at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
> >         at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
> > Caused by: java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO
> >         at java.lang.Class.newInstance0(Class.java:335)
> >         at java.lang.Class.newInstance(Class.java:303)
> >         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
> >         ... 23 more
> > 
> > -----Original Message-----
> > From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> > Sent: Sun 9/12/2010 8:37 PM
> > To: user@ofbiz.apache.org
> > Subject: RE: Ofbiz WorkFlow Engine
> > 
> > 
> > Hi,
> > 
> > Need some help in JBPM integration, I have followed the steps mentioned in the link given below.
> > 
> > Now for the database i want to use derby instead of MySQL...
> > I have configured following in the context.xml (runtime/catalina/conf/context.xml)
> >   <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"
> >        maxActive="30" maxIdle="3" maxWait="2000"
> >        username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
> >        factory="org.ofbiz.entity.datasource.GenericHelperDAO"
> >        url="jdbc:derby:ofbiz;create=true"/>
> > 
> > </Context>
> > 
> > Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also
> > 
> >  <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
> >     <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>
> > 
> > Regards,
> > Deepa
> > 
> > 
> > -----Original Message-----
> > From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal
> > Sent: Thu 9/9/2010 5:37 PM
> > To: user@ofbiz.apache.org
> > Subject: Re: Ofbiz WorkFlow Engine
> > 
> > There's SVn access available. Instructions here:
> > http://www.langhua.cn/download/ofbiz-jbpm.html
> > 
> > -Jeroen
> > 
> > On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:
> > 
> > > Hi Shi,
> > >
> > > Can you please help me to download the code from the location mentioned
> > > below? I tried FTP it did not work. Please advice.
> > >
> > >
> > > On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > > > Here is a OFBiz-jBPM component:
> > > > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > > > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> > > >
> > > > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > > > of jBPM.
> > > >
> > > > OSWorkflow can also work with OFBiz.
> > > >
> > > > Personally I like jBPM.
> > > >
> > > > Regards,
> > > >
> > > > Shi Jinghai/Beijing Langhua Ltd.
> > > >
> > > >
> > > > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> > > >> Hi Varun,
> > > >>
> > > >> Yes I am looking for something similar to JBPM, not fullfledge but
> > > >> atleast it should have the configuration through XML (similar to Shark).
> > > >> Do we have something like this in Ofbiz integrated? If not, then has
> > > >> anyone integrated any webflows in Ofbiz? Please let me know..
> > > >>
> > > >> Regards,
> > > >> Deepa
> > > >>
> > > >> -----Original Message-----
> > > >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > > >> Sent: Tuesday, September 07, 2010 1:38 PM
> > > >> To: user@ofbiz.apache.org
> > > >> Subject: Re: Ofbiz WorkFlow Engine
> > > >>
> > > >> Hi Deepa,
> > > >> Are you looking at something like designing the process flow, for eg as
> > > >> in
> > > >> jBPM workflow engine&  the process designer ?
> > > >> Though processes could be implemented using SECAs, EECAs etc.
> > > >>
> > > >>
> > > >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> > > >> <de...@techmahindra.com>wrote:
> > > >>
> > > >>> Thanks Varun for replying.. I have checked this link but its talking
> > > >>> about XPDL which actually comes with Shark implementation and in the
> > > >>> same link they have mentioned that Shark is not yet implemented in
> > > >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> > > >>> workflow definition type of design in Ofbiz as of now other then the
> > > >>> events?
> > > >>>
> > > >>> Thanks,
> > > >>> Deepa
> > > >>>
> > > >>> -----Original Message-----
> > > >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > > >>> Sent: Monday, September 06, 2010 9:57 PM
> > > >>> To: user@ofbiz.apache.org
> > > >>> Subject: Re: Ofbiz WorkFlow Engine
> > > >>>
> > > >>> Hi,
> > > >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> > > >>>
> > > >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> > > >>> <de...@techmahindra.com>wrote:
> > > >>>
> > > >>>> Hi All,
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>> Need some help to know if we have any workflow integrated in ofbiz
> > > >>> 9.04
> > > >>>> version?
> > > >>>>
> > > >>>> if we already have the workflow is it using xpdl? Is it Shark
> > > >>> workflow?
> > > >>>> Please let me know.. need this urgently before i start designing for
> > > >>> one
> > > >>>> of my requirement.
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>> Appreciate your help.
> > > >>>>
> > > >>>>
> > > >>>> Thanks&  Regards,
> > > >>>>
> > > >>>> Deepa
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >> ========================================================================
> > > >>> ====================================================Disclaimer:
> > > >>>>   This message and the information contained herein is proprietary
> > > >> and
> > > >>>> confidential and subject to the Tech Mahindra policy statement, you
> > > >>> may
> > > >>>> review the policy at<a
> > > >>> href="http://www.techmahindra.com/Disclaimer.html
> > > >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > > >>> href="
> > > >>>> http://tim.techmahindra.com/Disclaimer.html">
> > > >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > > >> Tech
> > > >> Mahindra.===============================================================
> > > >>> =============================================================
> > > >>>
> > > >>>
> > > >>> --
> > > >>> Regards,
> > > >>> Varun Bhansaly
> > > >>>
> > > >>>
> > > >> ========================================================================
> > > >> ====================================================Disclaimer:
> > > >>>   This message and the information contained herein is proprietary and
> > > >>> confidential and subject to the Tech Mahindra policy statement, you
> > > >> may
> > > >>> review the policy at<a
> > > >> href="http://www.techmahindra.com/Disclaimer.html
> > > >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > > >> href="
> > > >>> http://tim.techmahindra.com/Disclaimer.html">
> > > >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > > Tech
> > > >>>
> > > >> Mahindra.===============================================================
> > > >> =============================================================
> > > >>
> > > >>
> > > >
> > >
> > > ============================================================================================================================Disclaimer:
> > >  This message and the information contained herein is proprietary and
> > > confidential and subject to the Tech Mahindra policy statement, you may
> > > review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> > > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> > > http://tim.techmahindra.com/Disclaimer.html">
> > > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> > > Mahindra.============================================================================================================================
> > 
> > 
> > 
> > 
> > ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================
> > 
> > 
> > 
> > 
> 
> 
> 
> 
> 
> ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================


RE: Ofbiz WorkFlow Engine

Posted by Deepa Priolkar <de...@TechMahindra.com>.
Also one more concern, when i am starting the server i am seeing some more error. this error is due to the asm.jar. Ofbiz has asm2.2.jar which does not have the CodeVisitor class, and i cannot include the older version because it does not have many other classes used by Groovy.. please suggest how we can resolve this error.. cos two versions of asm cannot exists in one workspace it clashes...

2010-09-14 11:54:46,453 (JbpmCommandExecutor) [CGLIBLazyInitializer.java:130:ERROR] CGLIB Enhancement failed: org.jbpm.taskmgmt.log.TaskAssignLog
java.lang.NoClassDefFoundError: org/objectweb/asm/CodeVisitor
	at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165)
	at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
	at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
	at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)

Regards,
Deepa
-----Original Message-----
From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
Sent: Tue 9/14/2010 11:45 AM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 

Thanks Shi... i have done the necessary configurations in my workspace for the JBPM integration as adviced below.

However when i am trying to run the application, on clicking "New WorkFlow" I am getting table/view "HIBERNATE_UNIQUE_KEY" not found error in the logs. I have created all the tables as mentioned in the create.sql.. please note that i am using derby database.. Please advice.. 

2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'HIBERNATE_UNIQUE_KEY' does not exist.
2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [ Log4JLoggerFactory.java:96 :ERROR] 
Method public static java.util.List org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue) threw an exception
The problematic instruction:
----------
==> assignment: processList=Static["org.langhua.ofbiz.jbpm.OFBizNewProcessInstance"].getWorkflowOptions(delegator,userLogin) [on line 19, column 1 in component://jbpm/webapp/jbpm/jbpm/newWorkflow.ftl]
----------

Java backtrace for programmers:
----------
freemarker.template.TemplateModelException: Method public static java.util.List org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue) threw an exception
	at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:125)
	at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)

Regards,
Deepa

-----Original Message-----
From: Shi Jinghai [mailto:shijh@langhua.cn]
Sent: Mon 9/13/2010 3:06 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 
Hi Deepa,

The ofbiz-jbpm component is developed in maven style. We use eclipse +
iam as our standard develop tool.

You can find the built components in our maven repository:
http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/

http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/

Download the zip files and unzip them to your ofbiz, rebuild (I changed
the StringUtil.java to make it work for iframe in htmlreport), add the 2
components to component-load.xml, config
${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your
database and restart ofbiz, that's all. The jbpm tables will be created
automatically during startup.

The htmlreport is a tool to show the procedures of importing jbpm
process file and etc in web browser. There's demos in the component. You
can remove it from your tool bar if it works.

Good luck,

Shi Jinghai/Beijing Langhua Ltd.


? 2010-09-12?? 22:29 +0530,Deepa Priolkar??:
> can someone tell me how to create table in the derby database?
> 
> ________________________________
> 
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 10:25 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> 
> Hi,
> 
> I was able to solve the issue related to the database configuration, but looks like now i am totally stuck..
> 
> When i am trying to start the server, i am getting following error, Please help..
> 
> 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_MESSAGE' does not exist.
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 :WARN ] SQL Warning: 10000, SQLState: 01J01
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 :WARN ] Database 'ofbiz' not created, connection made to existing database instead.
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_TIMER' does not exist.
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> 
> 2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] runtime exception while executing timers
> 
> org.jbpm.JbpmException: couldn't find timers from the database
> 
> at org.jbpm.db.
> 
> 
> 
> ________________________________
> 
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 8:41 PM
> To: user@ofbiz.apache.org; user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> 
> Hi,
> 
> I forgot to mention that i am getting error after doing the configuration mentioned in my last mail,
> 
> snippet from the logs
> 
> 2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource: java:comp/env/jBPM_DS
> javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO]
>         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
>         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
>         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
>         at javax.naming.InitialContext.lookup(InitialContext.java:351)
>         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
>         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
>         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
>         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
>         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
>         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
>         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
>         at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
>         at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
>         at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
>         at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
>         at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
>         at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
>         at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
> Caused by: java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO
>         at java.lang.Class.newInstance0(Class.java:335)
>         at java.lang.Class.newInstance(Class.java:303)
>         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
>         ... 23 more
> 
> -----Original Message-----
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 8:37 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> Hi,
> 
> Need some help in JBPM integration, I have followed the steps mentioned in the link given below.
> 
> Now for the database i want to use derby instead of MySQL...
> I have configured following in the context.xml (runtime/catalina/conf/context.xml)
>   <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"
>        maxActive="30" maxIdle="3" maxWait="2000"
>        username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
>        factory="org.ofbiz.entity.datasource.GenericHelperDAO"
>        url="jdbc:derby:ofbiz;create=true"/>
> 
> </Context>
> 
> Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also
> 
>  <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
>     <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>
> 
> Regards,
> Deepa
> 
> 
> -----Original Message-----
> From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal
> Sent: Thu 9/9/2010 5:37 PM
> To: user@ofbiz.apache.org
> Subject: Re: Ofbiz WorkFlow Engine
> 
> There's SVn access available. Instructions here:
> http://www.langhua.cn/download/ofbiz-jbpm.html
> 
> -Jeroen
> 
> On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:
> 
> > Hi Shi,
> >
> > Can you please help me to download the code from the location mentioned
> > below? I tried FTP it did not work. Please advice.
> >
> >
> > On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > > Here is a OFBiz-jBPM component:
> > > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> > >
> > > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > > of jBPM.
> > >
> > > OSWorkflow can also work with OFBiz.
> > >
> > > Personally I like jBPM.
> > >
> > > Regards,
> > >
> > > Shi Jinghai/Beijing Langhua Ltd.
> > >
> > >
> > > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> > >> Hi Varun,
> > >>
> > >> Yes I am looking for something similar to JBPM, not fullfledge but
> > >> atleast it should have the configuration through XML (similar to Shark).
> > >> Do we have something like this in Ofbiz integrated? If not, then has
> > >> anyone integrated any webflows in Ofbiz? Please let me know..
> > >>
> > >> Regards,
> > >> Deepa
> > >>
> > >> -----Original Message-----
> > >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > >> Sent: Tuesday, September 07, 2010 1:38 PM
> > >> To: user@ofbiz.apache.org
> > >> Subject: Re: Ofbiz WorkFlow Engine
> > >>
> > >> Hi Deepa,
> > >> Are you looking at something like designing the process flow, for eg as
> > >> in
> > >> jBPM workflow engine&  the process designer ?
> > >> Though processes could be implemented using SECAs, EECAs etc.
> > >>
> > >>
> > >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> > >> <de...@techmahindra.com>wrote:
> > >>
> > >>> Thanks Varun for replying.. I have checked this link but its talking
> > >>> about XPDL which actually comes with Shark implementation and in the
> > >>> same link they have mentioned that Shark is not yet implemented in
> > >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> > >>> workflow definition type of design in Ofbiz as of now other then the
> > >>> events?
> > >>>
> > >>> Thanks,
> > >>> Deepa
> > >>>
> > >>> -----Original Message-----
> > >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > >>> Sent: Monday, September 06, 2010 9:57 PM
> > >>> To: user@ofbiz.apache.org
> > >>> Subject: Re: Ofbiz WorkFlow Engine
> > >>>
> > >>> Hi,
> > >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> > >>>
> > >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> > >>> <de...@techmahindra.com>wrote:
> > >>>
> > >>>> Hi All,
> > >>>>
> > >>>>
> > >>>>
> > >>>> Need some help to know if we have any workflow integrated in ofbiz
> > >>> 9.04
> > >>>> version?
> > >>>>
> > >>>> if we already have the workflow is it using xpdl? Is it Shark
> > >>> workflow?
> > >>>> Please let me know.. need this urgently before i start designing for
> > >>> one
> > >>>> of my requirement.
> > >>>>
> > >>>>
> > >>>>
> > >>>> Appreciate your help.
> > >>>>
> > >>>>
> > >>>> Thanks&  Regards,
> > >>>>
> > >>>> Deepa
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >> ========================================================================
> > >>> ====================================================Disclaimer:
> > >>>>   This message and the information contained herein is proprietary
> > >> and
> > >>>> confidential and subject to the Tech Mahindra policy statement, you
> > >>> may
> > >>>> review the policy at<a
> > >>> href="http://www.techmahindra.com/Disclaimer.html
> > >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > >>> href="
> > >>>> http://tim.techmahindra.com/Disclaimer.html">
> > >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > >> Tech
> > >> Mahindra.===============================================================
> > >>> =============================================================
> > >>>
> > >>>
> > >>> --
> > >>> Regards,
> > >>> Varun Bhansaly
> > >>>
> > >>>
> > >> ========================================================================
> > >> ====================================================Disclaimer:
> > >>>   This message and the information contained herein is proprietary and
> > >>> confidential and subject to the Tech Mahindra policy statement, you
> > >> may
> > >>> review the policy at<a
> > >> href="http://www.techmahindra.com/Disclaimer.html
> > >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > >> href="
> > >>> http://tim.techmahindra.com/Disclaimer.html">
> > >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > Tech
> > >>>
> > >> Mahindra.===============================================================
> > >> =============================================================
> > >>
> > >>
> > >
> >
> > ============================================================================================================================Disclaimer:
> >  This message and the information contained herein is proprietary and
> > confidential and subject to the Tech Mahindra policy statement, you may
> > review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> > http://tim.techmahindra.com/Disclaimer.html">
> > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> > Mahindra.============================================================================================================================
> 
> 
> 
> 
> ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================
> 
> 
> 
> 





============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================

RE: Ofbiz WorkFlow Engine

Posted by Deepa Priolkar <de...@TechMahindra.com>.
Thanks Shi... i have done the necessary configurations in my workspace for the JBPM integration as adviced below.

However when i am trying to run the application, on clicking "New WorkFlow" I am getting table/view "HIBERNATE_UNIQUE_KEY" not found error in the logs. I have created all the tables as mentioned in the create.sql.. please note that i am using derby database.. Please advice.. 

2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'HIBERNATE_UNIQUE_KEY' does not exist.
2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [ Log4JLoggerFactory.java:96 :ERROR] 
Method public static java.util.List org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue) threw an exception
The problematic instruction:
----------
==> assignment: processList=Static["org.langhua.ofbiz.jbpm.OFBizNewProcessInstance"].getWorkflowOptions(delegator,userLogin) [on line 19, column 1 in component://jbpm/webapp/jbpm/jbpm/newWorkflow.ftl]
----------

Java backtrace for programmers:
----------
freemarker.template.TemplateModelException: Method public static java.util.List org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue) threw an exception
	at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:125)
	at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)

Regards,
Deepa

-----Original Message-----
From: Shi Jinghai [mailto:shijh@langhua.cn]
Sent: Mon 9/13/2010 3:06 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 
Hi Deepa,

The ofbiz-jbpm component is developed in maven style. We use eclipse +
iam as our standard develop tool.

You can find the built components in our maven repository:
http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/

http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/

Download the zip files and unzip them to your ofbiz, rebuild (I changed
the StringUtil.java to make it work for iframe in htmlreport), add the 2
components to component-load.xml, config
${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your
database and restart ofbiz, that's all. The jbpm tables will be created
automatically during startup.

The htmlreport is a tool to show the procedures of importing jbpm
process file and etc in web browser. There's demos in the component. You
can remove it from your tool bar if it works.

Good luck,

Shi Jinghai/Beijing Langhua Ltd.


? 2010-09-12?? 22:29 +0530,Deepa Priolkar??:
> can someone tell me how to create table in the derby database?
> 
> ________________________________
> 
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 10:25 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> 
> Hi,
> 
> I was able to solve the issue related to the database configuration, but looks like now i am totally stuck..
> 
> When i am trying to start the server, i am getting following error, Please help..
> 
> 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_MESSAGE' does not exist.
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 :WARN ] SQL Warning: 10000, SQLState: 01J01
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 :WARN ] Database 'ofbiz' not created, connection made to existing database instead.
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_TIMER' does not exist.
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> 
> 2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] runtime exception while executing timers
> 
> org.jbpm.JbpmException: couldn't find timers from the database
> 
> at org.jbpm.db.
> 
> 
> 
> ________________________________
> 
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 8:41 PM
> To: user@ofbiz.apache.org; user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> 
> Hi,
> 
> I forgot to mention that i am getting error after doing the configuration mentioned in my last mail,
> 
> snippet from the logs
> 
> 2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource: java:comp/env/jBPM_DS
> javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO]
>         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
>         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
>         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
>         at javax.naming.InitialContext.lookup(InitialContext.java:351)
>         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
>         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
>         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
>         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
>         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
>         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
>         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
>         at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
>         at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
>         at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
>         at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
>         at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
>         at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
>         at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
> Caused by: java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO
>         at java.lang.Class.newInstance0(Class.java:335)
>         at java.lang.Class.newInstance(Class.java:303)
>         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
>         ... 23 more
> 
> -----Original Message-----
> From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
> Sent: Sun 9/12/2010 8:37 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> Hi,
> 
> Need some help in JBPM integration, I have followed the steps mentioned in the link given below.
> 
> Now for the database i want to use derby instead of MySQL...
> I have configured following in the context.xml (runtime/catalina/conf/context.xml)
>   <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"
>        maxActive="30" maxIdle="3" maxWait="2000"
>        username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
>        factory="org.ofbiz.entity.datasource.GenericHelperDAO"
>        url="jdbc:derby:ofbiz;create=true"/>
> 
> </Context>
> 
> Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also
> 
>  <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
>     <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>
> 
> Regards,
> Deepa
> 
> 
> -----Original Message-----
> From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal
> Sent: Thu 9/9/2010 5:37 PM
> To: user@ofbiz.apache.org
> Subject: Re: Ofbiz WorkFlow Engine
> 
> There's SVn access available. Instructions here:
> http://www.langhua.cn/download/ofbiz-jbpm.html
> 
> -Jeroen
> 
> On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:
> 
> > Hi Shi,
> >
> > Can you please help me to download the code from the location mentioned
> > below? I tried FTP it did not work. Please advice.
> >
> >
> > On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > > Here is a OFBiz-jBPM component:
> > > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> > >
> > > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > > of jBPM.
> > >
> > > OSWorkflow can also work with OFBiz.
> > >
> > > Personally I like jBPM.
> > >
> > > Regards,
> > >
> > > Shi Jinghai/Beijing Langhua Ltd.
> > >
> > >
> > > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> > >> Hi Varun,
> > >>
> > >> Yes I am looking for something similar to JBPM, not fullfledge but
> > >> atleast it should have the configuration through XML (similar to Shark).
> > >> Do we have something like this in Ofbiz integrated? If not, then has
> > >> anyone integrated any webflows in Ofbiz? Please let me know..
> > >>
> > >> Regards,
> > >> Deepa
> > >>
> > >> -----Original Message-----
> > >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > >> Sent: Tuesday, September 07, 2010 1:38 PM
> > >> To: user@ofbiz.apache.org
> > >> Subject: Re: Ofbiz WorkFlow Engine
> > >>
> > >> Hi Deepa,
> > >> Are you looking at something like designing the process flow, for eg as
> > >> in
> > >> jBPM workflow engine&  the process designer ?
> > >> Though processes could be implemented using SECAs, EECAs etc.
> > >>
> > >>
> > >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> > >> <de...@techmahindra.com>wrote:
> > >>
> > >>> Thanks Varun for replying.. I have checked this link but its talking
> > >>> about XPDL which actually comes with Shark implementation and in the
> > >>> same link they have mentioned that Shark is not yet implemented in
> > >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> > >>> workflow definition type of design in Ofbiz as of now other then the
> > >>> events?
> > >>>
> > >>> Thanks,
> > >>> Deepa
> > >>>
> > >>> -----Original Message-----
> > >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > >>> Sent: Monday, September 06, 2010 9:57 PM
> > >>> To: user@ofbiz.apache.org
> > >>> Subject: Re: Ofbiz WorkFlow Engine
> > >>>
> > >>> Hi,
> > >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> > >>>
> > >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> > >>> <de...@techmahindra.com>wrote:
> > >>>
> > >>>> Hi All,
> > >>>>
> > >>>>
> > >>>>
> > >>>> Need some help to know if we have any workflow integrated in ofbiz
> > >>> 9.04
> > >>>> version?
> > >>>>
> > >>>> if we already have the workflow is it using xpdl? Is it Shark
> > >>> workflow?
> > >>>> Please let me know.. need this urgently before i start designing for
> > >>> one
> > >>>> of my requirement.
> > >>>>
> > >>>>
> > >>>>
> > >>>> Appreciate your help.
> > >>>>
> > >>>>
> > >>>> Thanks&  Regards,
> > >>>>
> > >>>> Deepa
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >> ========================================================================
> > >>> ====================================================Disclaimer:
> > >>>>   This message and the information contained herein is proprietary
> > >> and
> > >>>> confidential and subject to the Tech Mahindra policy statement, you
> > >>> may
> > >>>> review the policy at<a
> > >>> href="http://www.techmahindra.com/Disclaimer.html
> > >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > >>> href="
> > >>>> http://tim.techmahindra.com/Disclaimer.html">
> > >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > >> Tech
> > >> Mahindra.===============================================================
> > >>> =============================================================
> > >>>
> > >>>
> > >>> --
> > >>> Regards,
> > >>> Varun Bhansaly
> > >>>
> > >>>
> > >> ========================================================================
> > >> ====================================================Disclaimer:
> > >>>   This message and the information contained herein is proprietary and
> > >>> confidential and subject to the Tech Mahindra policy statement, you
> > >> may
> > >>> review the policy at<a
> > >> href="http://www.techmahindra.com/Disclaimer.html
> > >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> > >> href="
> > >>> http://tim.techmahindra.com/Disclaimer.html">
> > >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> > Tech
> > >>>
> > >> Mahindra.===============================================================
> > >> =============================================================
> > >>
> > >>
> > >
> >
> > ============================================================================================================================Disclaimer:
> >  This message and the information contained herein is proprietary and
> > confidential and subject to the Tech Mahindra policy statement, you may
> > review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> > http://tim.techmahindra.com/Disclaimer.html">
> > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> > Mahindra.============================================================================================================================
> 
> 
> 
> 
> ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================
> 
> 
> 
> 




RE: Ofbiz WorkFlow Engine

Posted by Deepa Priolkar <de...@TechMahindra.com>.
can someone tell me how to create table in the derby database?

________________________________

From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
Sent: Sun 9/12/2010 10:25 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine



Hi,

I was able to solve the issue related to the database configuration, but looks like now i am totally stuck..

When i am trying to start the server, i am getting following error, Please help..

2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries

2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05

2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_MESSAGE' does not exist.

2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 :WARN ] SQL Warning: 10000, SQLState: 01J01

2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 :WARN ] Database 'ofbiz' not created, connection made to existing database instead.

2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05

2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_TIMER' does not exist.

2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate

2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate

2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] runtime exception while executing timers

org.jbpm.JbpmException: couldn't find timers from the database

at org.jbpm.db.



________________________________

From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
Sent: Sun 9/12/2010 8:41 PM
To: user@ofbiz.apache.org; user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine



Hi,

I forgot to mention that i am getting error after doing the configuration mentioned in my last mail,

snippet from the logs

2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource: java:comp/env/jBPM_DS
javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO]
        at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
        at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
        at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
        at javax.naming.InitialContext.lookup(InitialContext.java:351)
        at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
        at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
        at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
        at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
        at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
        at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
        at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
        at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
        at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
        at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
        at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
        at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
        at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
Caused by: java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO
        at java.lang.Class.newInstance0(Class.java:335)
        at java.lang.Class.newInstance(Class.java:303)
        at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
        ... 23 more

-----Original Message-----
From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
Sent: Sun 9/12/2010 8:37 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine


Hi,

Need some help in JBPM integration, I have followed the steps mentioned in the link given below.

Now for the database i want to use derby instead of MySQL...
I have configured following in the context.xml (runtime/catalina/conf/context.xml)
  <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"
       maxActive="30" maxIdle="3" maxWait="2000"
       username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
       factory="org.ofbiz.entity.datasource.GenericHelperDAO"
       url="jdbc:derby:ofbiz;create=true"/>

</Context>

Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also

 <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
    <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>

Regards,
Deepa


-----Original Message-----
From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal
Sent: Thu 9/9/2010 5:37 PM
To: user@ofbiz.apache.org
Subject: Re: Ofbiz WorkFlow Engine

There's SVn access available. Instructions here:
http://www.langhua.cn/download/ofbiz-jbpm.html

-Jeroen

On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:

> Hi Shi,
>
> Can you please help me to download the code from the location mentioned
> below? I tried FTP it did not work. Please advice.
>
>
> On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > Here is a OFBiz-jBPM component:
> > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> >
> > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > of jBPM.
> >
> > OSWorkflow can also work with OFBiz.
> >
> > Personally I like jBPM.
> >
> > Regards,
> >
> > Shi Jinghai/Beijing Langhua Ltd.
> >
> >
> > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> >> Hi Varun,
> >>
> >> Yes I am looking for something similar to JBPM, not fullfledge but
> >> atleast it should have the configuration through XML (similar to Shark).
> >> Do we have something like this in Ofbiz integrated? If not, then has
> >> anyone integrated any webflows in Ofbiz? Please let me know..
> >>
> >> Regards,
> >> Deepa
> >>
> >> -----Original Message-----
> >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> >> Sent: Tuesday, September 07, 2010 1:38 PM
> >> To: user@ofbiz.apache.org
> >> Subject: Re: Ofbiz WorkFlow Engine
> >>
> >> Hi Deepa,
> >> Are you looking at something like designing the process flow, for eg as
> >> in
> >> jBPM workflow engine&  the process designer ?
> >> Though processes could be implemented using SECAs, EECAs etc.
> >>
> >>
> >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> >> <de...@techmahindra.com>wrote:
> >>
> >>> Thanks Varun for replying.. I have checked this link but its talking
> >>> about XPDL which actually comes with Shark implementation and in the
> >>> same link they have mentioned that Shark is not yet implemented in
> >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> >>> workflow definition type of design in Ofbiz as of now other then the
> >>> events?
> >>>
> >>> Thanks,
> >>> Deepa
> >>>
> >>> -----Original Message-----
> >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> >>> Sent: Monday, September 06, 2010 9:57 PM
> >>> To: user@ofbiz.apache.org
> >>> Subject: Re: Ofbiz WorkFlow Engine
> >>>
> >>> Hi,
> >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> >>>
> >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> >>> <de...@techmahindra.com>wrote:
> >>>
> >>>> Hi All,
> >>>>
> >>>>
> >>>>
> >>>> Need some help to know if we have any workflow integrated in ofbiz
> >>> 9.04
> >>>> version?
> >>>>
> >>>> if we already have the workflow is it using xpdl? Is it Shark
> >>> workflow?
> >>>> Please let me know.. need this urgently before i start designing for
> >>> one
> >>>> of my requirement.
> >>>>
> >>>>
> >>>>
> >>>> Appreciate your help.
> >>>>
> >>>>
> >>>> Thanks&  Regards,
> >>>>
> >>>> Deepa
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >> ========================================================================
> >>> ====================================================Disclaimer:
> >>>>   This message and the information contained herein is proprietary
> >> and
> >>>> confidential and subject to the Tech Mahindra policy statement, you
> >>> may
> >>>> review the policy at<a
> >>> href="http://www.techmahindra.com/Disclaimer.html
> >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> >>> href="
> >>>> http://tim.techmahindra.com/Disclaimer.html">
> >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> >> Tech
> >> Mahindra.===============================================================
> >>> =============================================================
> >>>
> >>>
> >>> --
> >>> Regards,
> >>> Varun Bhansaly
> >>>
> >>>
> >> ========================================================================
> >> ====================================================Disclaimer:
> >>>   This message and the information contained herein is proprietary and
> >>> confidential and subject to the Tech Mahindra policy statement, you
> >> may
> >>> review the policy at<a
> >> href="http://www.techmahindra.com/Disclaimer.html
> >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> >> href="
> >>> http://tim.techmahindra.com/Disclaimer.html">
> >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> Tech
> >>>
> >> Mahindra.===============================================================
> >> =============================================================
> >>
> >>
> >
>
> ============================================================================================================================Disclaimer:
>  This message and the information contained herein is proprietary and
> confidential and subject to the Tech Mahindra policy statement, you may
> review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> http://tim.techmahindra.com/Disclaimer.html">
> http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> Mahindra.============================================================================================================================




============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================





RE: Ofbiz WorkFlow Engine

Posted by Deepa Priolkar <de...@TechMahindra.com>.
Hi,
 
I was able to solve the issue related to the database configuration, but looks like now i am totally stuck..
 
When i am trying to start the server, i am getting following error, Please help..
 
2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries

2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05

2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_MESSAGE' does not exist.

2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 :WARN ] SQL Warning: 10000, SQLState: 01J01

2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 :WARN ] Database 'ofbiz' not created, connection made to existing database instead.

2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] SQL Error: 20000, SQLState: 42X05

2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] Table/View 'JBPM_TIMER' does not exist.

2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate

2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query using iterate

2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] runtime exception while executing timers

org.jbpm.JbpmException: couldn't find timers from the database

at org.jbpm.db.



________________________________

From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
Sent: Sun 9/12/2010 8:41 PM
To: user@ofbiz.apache.org; user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine



Hi,

I forgot to mention that i am getting error after doing the configuration mentioned in my last mail,

snippet from the logs

2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource: java:comp/env/jBPM_DS
javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO]
        at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
        at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
        at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
        at javax.naming.InitialContext.lookup(InitialContext.java:351)
        at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
        at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
        at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
        at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
        at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
        at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
        at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
        at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
        at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
        at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
        at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
        at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
        at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
Caused by: java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO
        at java.lang.Class.newInstance0(Class.java:335)
        at java.lang.Class.newInstance(Class.java:303)
        at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
        ... 23 more

-----Original Message-----
From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
Sent: Sun 9/12/2010 8:37 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine


Hi,

Need some help in JBPM integration, I have followed the steps mentioned in the link given below.

Now for the database i want to use derby instead of MySQL...
I have configured following in the context.xml (runtime/catalina/conf/context.xml)
  <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"
       maxActive="30" maxIdle="3" maxWait="2000"
       username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
       factory="org.ofbiz.entity.datasource.GenericHelperDAO"
       url="jdbc:derby:ofbiz;create=true"/>

</Context>

Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also

 <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
    <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>

Regards,
Deepa


-----Original Message-----
From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal
Sent: Thu 9/9/2010 5:37 PM
To: user@ofbiz.apache.org
Subject: Re: Ofbiz WorkFlow Engine

There's SVn access available. Instructions here:
http://www.langhua.cn/download/ofbiz-jbpm.html

-Jeroen

On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:

> Hi Shi,
>
> Can you please help me to download the code from the location mentioned
> below? I tried FTP it did not work. Please advice.
>
>
> On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > Here is a OFBiz-jBPM component:
> > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> >
> > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > of jBPM.
> >
> > OSWorkflow can also work with OFBiz.
> >
> > Personally I like jBPM.
> >
> > Regards,
> >
> > Shi Jinghai/Beijing Langhua Ltd.
> >
> >
> > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> >> Hi Varun,
> >>
> >> Yes I am looking for something similar to JBPM, not fullfledge but
> >> atleast it should have the configuration through XML (similar to Shark).
> >> Do we have something like this in Ofbiz integrated? If not, then has
> >> anyone integrated any webflows in Ofbiz? Please let me know..
> >>
> >> Regards,
> >> Deepa
> >>
> >> -----Original Message-----
> >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> >> Sent: Tuesday, September 07, 2010 1:38 PM
> >> To: user@ofbiz.apache.org
> >> Subject: Re: Ofbiz WorkFlow Engine
> >>
> >> Hi Deepa,
> >> Are you looking at something like designing the process flow, for eg as
> >> in
> >> jBPM workflow engine&  the process designer ?
> >> Though processes could be implemented using SECAs, EECAs etc.
> >>
> >>
> >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> >> <de...@techmahindra.com>wrote:
> >>
> >>> Thanks Varun for replying.. I have checked this link but its talking
> >>> about XPDL which actually comes with Shark implementation and in the
> >>> same link they have mentioned that Shark is not yet implemented in
> >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> >>> workflow definition type of design in Ofbiz as of now other then the
> >>> events?
> >>>
> >>> Thanks,
> >>> Deepa
> >>>
> >>> -----Original Message-----
> >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> >>> Sent: Monday, September 06, 2010 9:57 PM
> >>> To: user@ofbiz.apache.org
> >>> Subject: Re: Ofbiz WorkFlow Engine
> >>>
> >>> Hi,
> >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> >>>
> >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> >>> <de...@techmahindra.com>wrote:
> >>>
> >>>> Hi All,
> >>>>
> >>>>
> >>>>
> >>>> Need some help to know if we have any workflow integrated in ofbiz
> >>> 9.04
> >>>> version?
> >>>>
> >>>> if we already have the workflow is it using xpdl? Is it Shark
> >>> workflow?
> >>>> Please let me know.. need this urgently before i start designing for
> >>> one
> >>>> of my requirement.
> >>>>
> >>>>
> >>>>
> >>>> Appreciate your help.
> >>>>
> >>>>
> >>>> Thanks&  Regards,
> >>>>
> >>>> Deepa
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >> ========================================================================
> >>> ====================================================Disclaimer:
> >>>>   This message and the information contained herein is proprietary
> >> and
> >>>> confidential and subject to the Tech Mahindra policy statement, you
> >>> may
> >>>> review the policy at<a
> >>> href="http://www.techmahindra.com/Disclaimer.html
> >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> >>> href="
> >>>> http://tim.techmahindra.com/Disclaimer.html">
> >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> >> Tech
> >> Mahindra.===============================================================
> >>> =============================================================
> >>>
> >>>
> >>> --
> >>> Regards,
> >>> Varun Bhansaly
> >>>
> >>>
> >> ========================================================================
> >> ====================================================Disclaimer:
> >>>   This message and the information contained herein is proprietary and
> >>> confidential and subject to the Tech Mahindra policy statement, you
> >> may
> >>> review the policy at<a
> >> href="http://www.techmahindra.com/Disclaimer.html
> >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> >> href="
> >>> http://tim.techmahindra.com/Disclaimer.html">
> >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> Tech
> >>>
> >> Mahindra.===============================================================
> >> =============================================================
> >>
> >>
> >
>
> ============================================================================================================================Disclaimer:
>  This message and the information contained herein is proprietary and
> confidential and subject to the Tech Mahindra policy statement, you may
> review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> http://tim.techmahindra.com/Disclaimer.html">
> http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> Mahindra.============================================================================================================================




============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================



RE: Ofbiz WorkFlow Engine

Posted by Deepa Priolkar <de...@TechMahindra.com>.
Hi,

I forgot to mention that i am getting error after doing the configuration mentioned in my last mail,

snippet from the logs

2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 :FATAL] Could not find datasource: java:comp/env/jBPM_DS
javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO]
	at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
	at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
	at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
	at javax.naming.InitialContext.lookup(InitialContext.java:351)
	at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
	at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
	at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
	at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
	at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
	at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
	at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
	at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
	at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
	at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
	at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
Caused by: java.lang.InstantiationException: org.ofbiz.entity.datasource.GenericHelperDAO
	at java.lang.Class.newInstance0(Class.java:335)
	at java.lang.Class.newInstance(Class.java:303)
	at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
	... 23 more

-----Original Message-----
From: Deepa Priolkar [mailto:deepap@TechMahindra.com]
Sent: Sun 9/12/2010 8:37 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 

Hi,

Need some help in JBPM integration, I have followed the steps mentioned in the link given below.

Now for the database i want to use derby instead of MySQL...
I have configured following in the context.xml (runtime/catalina/conf/context.xml)
  <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"
       maxActive="30" maxIdle="3" maxWait="2000" 
       username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
       factory="org.ofbiz.entity.datasource.GenericHelperDAO"
       url="jdbc:derby:ofbiz;create=true"/> 

</Context>

Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also

 <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
    <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>

Regards,
Deepa


-----Original Message-----
From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal
Sent: Thu 9/9/2010 5:37 PM
To: user@ofbiz.apache.org
Subject: Re: Ofbiz WorkFlow Engine
 
There's SVn access available. Instructions here:
http://www.langhua.cn/download/ofbiz-jbpm.html

-Jeroen

On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:

> Hi Shi,
>
> Can you please help me to download the code from the location mentioned
> below? I tried FTP it did not work. Please advice.
>
>
> On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > Here is a OFBiz-jBPM component:
> > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> >
> > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > of jBPM.
> >
> > OSWorkflow can also work with OFBiz.
> >
> > Personally I like jBPM.
> >
> > Regards,
> >
> > Shi Jinghai/Beijing Langhua Ltd.
> >
> >
> > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> >> Hi Varun,
> >>
> >> Yes I am looking for something similar to JBPM, not fullfledge but
> >> atleast it should have the configuration through XML (similar to Shark).
> >> Do we have something like this in Ofbiz integrated? If not, then has
> >> anyone integrated any webflows in Ofbiz? Please let me know..
> >>
> >> Regards,
> >> Deepa
> >>
> >> -----Original Message-----
> >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> >> Sent: Tuesday, September 07, 2010 1:38 PM
> >> To: user@ofbiz.apache.org
> >> Subject: Re: Ofbiz WorkFlow Engine
> >>
> >> Hi Deepa,
> >> Are you looking at something like designing the process flow, for eg as
> >> in
> >> jBPM workflow engine&  the process designer ?
> >> Though processes could be implemented using SECAs, EECAs etc.
> >>
> >>
> >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> >> <de...@techmahindra.com>wrote:
> >>
> >>> Thanks Varun for replying.. I have checked this link but its talking
> >>> about XPDL which actually comes with Shark implementation and in the
> >>> same link they have mentioned that Shark is not yet implemented in
> >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> >>> workflow definition type of design in Ofbiz as of now other then the
> >>> events?
> >>>
> >>> Thanks,
> >>> Deepa
> >>>
> >>> -----Original Message-----
> >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> >>> Sent: Monday, September 06, 2010 9:57 PM
> >>> To: user@ofbiz.apache.org
> >>> Subject: Re: Ofbiz WorkFlow Engine
> >>>
> >>> Hi,
> >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> >>>
> >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> >>> <de...@techmahindra.com>wrote:
> >>>
> >>>> Hi All,
> >>>>
> >>>>
> >>>>
> >>>> Need some help to know if we have any workflow integrated in ofbiz
> >>> 9.04
> >>>> version?
> >>>>
> >>>> if we already have the workflow is it using xpdl? Is it Shark
> >>> workflow?
> >>>> Please let me know.. need this urgently before i start designing for
> >>> one
> >>>> of my requirement.
> >>>>
> >>>>
> >>>>
> >>>> Appreciate your help.
> >>>>
> >>>>
> >>>> Thanks&  Regards,
> >>>>
> >>>> Deepa
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >> ========================================================================
> >>> ====================================================Disclaimer:
> >>>>   This message and the information contained herein is proprietary
> >> and
> >>>> confidential and subject to the Tech Mahindra policy statement, you
> >>> may
> >>>> review the policy at<a
> >>> href="http://www.techmahindra.com/Disclaimer.html
> >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> >>> href="
> >>>> http://tim.techmahindra.com/Disclaimer.html">
> >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> >> Tech
> >> Mahindra.===============================================================
> >>> =============================================================
> >>>
> >>>
> >>> --
> >>> Regards,
> >>> Varun Bhansaly
> >>>
> >>>
> >> ========================================================================
> >> ====================================================Disclaimer:
> >>>   This message and the information contained herein is proprietary and
> >>> confidential and subject to the Tech Mahindra policy statement, you
> >> may
> >>> review the policy at<a
> >> href="http://www.techmahindra.com/Disclaimer.html
> >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> >> href="
> >>> http://tim.techmahindra.com/Disclaimer.html">
> >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> Tech
> >>>
> >> Mahindra.===============================================================
> >> =============================================================
> >>
> >>
> >
>
> ============================================================================================================================Disclaimer:
>  This message and the information contained herein is proprietary and
> confidential and subject to the Tech Mahindra policy statement, you may
> review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> http://tim.techmahindra.com/Disclaimer.html">
> http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> Mahindra.============================================================================================================================




============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================

RE: Ofbiz WorkFlow Engine

Posted by Deepa Priolkar <de...@TechMahindra.com>.
Hi,

Need some help in JBPM integration, I have followed the steps mentioned in the link given below.

Now for the database i want to use derby instead of MySQL...
I have configured following in the context.xml (runtime/catalina/conf/context.xml)
  <Resource name="jBPM_DS" auth="Container" type="javax.sql.DataSource" removeAbandoned="true"
       maxActive="30" maxIdle="3" maxWait="2000" 
       username="ofbiz" password="ofbiz" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
       factory="org.ofbiz.entity.datasource.GenericHelperDAO"
       url="jdbc:derby:ofbiz;create=true"/> 

</Context>

Please let me know what else i need to configure.. I have configured the hibernate.cfg.xml also

 <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
    <property name="hibernate.connection.datasource">java:comp/env/jBPM_DS</property>

Regards,
Deepa


-----Original Message-----
From: jvanderwal@stromboli.it on behalf of Jeroen van der Wal
Sent: Thu 9/9/2010 5:37 PM
To: user@ofbiz.apache.org
Subject: Re: Ofbiz WorkFlow Engine
 
There's SVn access available. Instructions here:
http://www.langhua.cn/download/ofbiz-jbpm.html

-Jeroen

On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:

> Hi Shi,
>
> Can you please help me to download the code from the location mentioned
> below? I tried FTP it did not work. Please advice.
>
>
> On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > Here is a OFBiz-jBPM component:
> > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> >
> > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > of jBPM.
> >
> > OSWorkflow can also work with OFBiz.
> >
> > Personally I like jBPM.
> >
> > Regards,
> >
> > Shi Jinghai/Beijing Langhua Ltd.
> >
> >
> > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> >> Hi Varun,
> >>
> >> Yes I am looking for something similar to JBPM, not fullfledge but
> >> atleast it should have the configuration through XML (similar to Shark).
> >> Do we have something like this in Ofbiz integrated? If not, then has
> >> anyone integrated any webflows in Ofbiz? Please let me know..
> >>
> >> Regards,
> >> Deepa
> >>
> >> -----Original Message-----
> >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> >> Sent: Tuesday, September 07, 2010 1:38 PM
> >> To: user@ofbiz.apache.org
> >> Subject: Re: Ofbiz WorkFlow Engine
> >>
> >> Hi Deepa,
> >> Are you looking at something like designing the process flow, for eg as
> >> in
> >> jBPM workflow engine&  the process designer ?
> >> Though processes could be implemented using SECAs, EECAs etc.
> >>
> >>
> >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> >> <de...@techmahindra.com>wrote:
> >>
> >>> Thanks Varun for replying.. I have checked this link but its talking
> >>> about XPDL which actually comes with Shark implementation and in the
> >>> same link they have mentioned that Shark is not yet implemented in
> >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> >>> workflow definition type of design in Ofbiz as of now other then the
> >>> events?
> >>>
> >>> Thanks,
> >>> Deepa
> >>>
> >>> -----Original Message-----
> >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> >>> Sent: Monday, September 06, 2010 9:57 PM
> >>> To: user@ofbiz.apache.org
> >>> Subject: Re: Ofbiz WorkFlow Engine
> >>>
> >>> Hi,
> >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> >>>
> >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> >>> <de...@techmahindra.com>wrote:
> >>>
> >>>> Hi All,
> >>>>
> >>>>
> >>>>
> >>>> Need some help to know if we have any workflow integrated in ofbiz
> >>> 9.04
> >>>> version?
> >>>>
> >>>> if we already have the workflow is it using xpdl? Is it Shark
> >>> workflow?
> >>>> Please let me know.. need this urgently before i start designing for
> >>> one
> >>>> of my requirement.
> >>>>
> >>>>
> >>>>
> >>>> Appreciate your help.
> >>>>
> >>>>
> >>>> Thanks&  Regards,
> >>>>
> >>>> Deepa
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >> ========================================================================
> >>> ====================================================Disclaimer:
> >>>>   This message and the information contained herein is proprietary
> >> and
> >>>> confidential and subject to the Tech Mahindra policy statement, you
> >>> may
> >>>> review the policy at<a
> >>> href="http://www.techmahindra.com/Disclaimer.html
> >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> >>> href="
> >>>> http://tim.techmahindra.com/Disclaimer.html">
> >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> >> Tech
> >> Mahindra.===============================================================
> >>> =============================================================
> >>>
> >>>
> >>> --
> >>> Regards,
> >>> Varun Bhansaly
> >>>
> >>>
> >> ========================================================================
> >> ====================================================Disclaimer:
> >>>   This message and the information contained herein is proprietary and
> >>> confidential and subject to the Tech Mahindra policy statement, you
> >> may
> >>> review the policy at<a
> >> href="http://www.techmahindra.com/Disclaimer.html
> >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> >> href="
> >>> http://tim.techmahindra.com/Disclaimer.html">
> >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> Tech
> >>>
> >> Mahindra.===============================================================
> >> =============================================================
> >>
> >>
> >
>
> ============================================================================================================================Disclaimer:
>  This message and the information contained herein is proprietary and
> confidential and subject to the Tech Mahindra policy statement, you may
> review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> http://tim.techmahindra.com/Disclaimer.html">
> http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> Mahindra.============================================================================================================================



Re: Ofbiz WorkFlow Engine

Posted by Jeroen van der Wal <je...@stromboli.it>.
There's SVn access available. Instructions here:
http://www.langhua.cn/download/ofbiz-jbpm.html

-Jeroen

On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:

> Hi Shi,
>
> Can you please help me to download the code from the location mentioned
> below? I tried FTP it did not work. Please advice.
>
>
> On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > Here is a OFBiz-jBPM component:
> > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> >
> > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > of jBPM.
> >
> > OSWorkflow can also work with OFBiz.
> >
> > Personally I like jBPM.
> >
> > Regards,
> >
> > Shi Jinghai/Beijing Langhua Ltd.
> >
> >
> > 在 2010-09-07二的 14:47 +0530,Deepa Priolkarå†™é “ï¼š
> >> Hi Varun,
> >>
> >> Yes I am looking for something similar to JBPM, not fullfledge but
> >> atleast it should have the configuration through XML (similar to Shark).
> >> Do we have something like this in Ofbiz integrated? If not, then has
> >> anyone integrated any webflows in Ofbiz? Please let me know..
> >>
> >> Regards,
> >> Deepa
> >>
> >> -----Original Message-----
> >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> >> Sent: Tuesday, September 07, 2010 1:38 PM
> >> To: user@ofbiz.apache.org
> >> Subject: Re: Ofbiz WorkFlow Engine
> >>
> >> Hi Deepa,
> >> Are you looking at something like designing the process flow, for eg as
> >> in
> >> jBPM workflow engine&  the process designer ?
> >> Though processes could be implemented using SECAs, EECAs etc.
> >>
> >>
> >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> >> <de...@techmahindra.com>wrote:
> >>
> >>> Thanks Varun for replying.. I have checked this link but its talking
> >>> about XPDL which actually comes with Shark implementation and in the
> >>> same link they have mentioned that Shark is not yet implemented in
> >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> >>> workflow definition type of design in Ofbiz as of now other then the
> >>> events?
> >>>
> >>> Thanks,
> >>> Deepa
> >>>
> >>> -----Original Message-----
> >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> >>> Sent: Monday, September 06, 2010 9:57 PM
> >>> To: user@ofbiz.apache.org
> >>> Subject: Re: Ofbiz WorkFlow Engine
> >>>
> >>> Hi,
> >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> >>>
> >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> >>> <de...@techmahindra.com>wrote:
> >>>
> >>>> Hi All,
> >>>>
> >>>>
> >>>>
> >>>> Need some help to know if we have any workflow integrated in ofbiz
> >>> 9.04
> >>>> version?
> >>>>
> >>>> if we already have the workflow is it using xpdl? Is it Shark
> >>> workflow?
> >>>> Please let me know.. need this urgently before i start designing for
> >>> one
> >>>> of my requirement.
> >>>>
> >>>>
> >>>>
> >>>> Appreciate your help.
> >>>>
> >>>>
> >>>> Thanks&  Regards,
> >>>>
> >>>> Deepa
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >> ========================================================================
> >>> ====================================================Disclaimer:
> >>>>   This message and the information contained herein is proprietary
> >> and
> >>>> confidential and subject to the Tech Mahindra policy statement, you
> >>> may
> >>>> review the policy at<a
> >>> href="http://www.techmahindra.com/Disclaimer.html
> >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> >>> href="
> >>>> http://tim.techmahindra.com/Disclaimer.html">
> >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> >> Tech
> >> Mahindra.===============================================================
> >>> =============================================================
> >>>
> >>>
> >>> --
> >>> Regards,
> >>> Varun Bhansaly
> >>>
> >>>
> >> ========================================================================
> >> ====================================================Disclaimer:
> >>>   This message and the information contained herein is proprietary and
> >>> confidential and subject to the Tech Mahindra policy statement, you
> >> may
> >>> review the policy at<a
> >> href="http://www.techmahindra.com/Disclaimer.html
> >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> >> href="
> >>> http://tim.techmahindra.com/Disclaimer.html">
> >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> Tech
> >>>
> >> Mahindra.===============================================================
> >> =============================================================
> >>
> >>
> >
>
> ============================================================================================================================Disclaimer:
>  This message and the information contained herein is proprietary and
> confidential and subject to the Tech Mahindra policy statement, you may
> review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> http://tim.techmahindra.com/Disclaimer.html">
> http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> Mahindra.============================================================================================================================

RE: Ofbiz WorkFlow Engine

Posted by Deepa Priolkar <de...@TechMahindra.com>.
Hi Shi,

I have checked out the code for the JBPM from the svn, had some queries regarding integrating the same with ofbiz.

in one of the steps that is mentioned is 
to Run ofbiz.copy in ??project OFBiz-jBPM and ?OFBiz-HtmlReport, the two components will be deployed to ${ofbiz.home}/specialpurpose/jbpm/and ?${ofbiz.home}/specialpurpose/htmlreport/.

Now here i did not find any script with the name ofbiz.copy, so should i copy paste the two projects in specialpurpose manually? 

Regards,
Deepa

-----Original Message-----
From: BJ Freeman [mailto:bjfree@free-man.net]
Sent: Thu 9/9/2010 6:59 PM
To: user@ofbiz.apache.org
Subject: Re: Ofbiz WorkFlow Engine
 
was able to connect and got to
http://langhua.org/opensource/ofbiz/ofbiz-jbpm/trunk/

=========================
BJ Freeman  <http://bjfreeman.elance.com>
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Shi Jinghai sent the following on 9/9/2010 6:09 AM:
> oh, my fault.
> svn:
> http://langhua.org/opensource/ofbiz/ofbiz-jbpm/
>
> viewvc:
> http://langhua.org/viewvc/opensource/ofbiz/ofbiz-jbpm/
>
>
> ? 2010-09-09?? 16:54 +0530,Deepa Priolkar??:
>> Hi Shi,
>>
>> Can you please help me to download the code from the location mentioned below? I tried FTP it did not work. Please advice.
>>
>>
>> On 9/7/10 5:51 AM, Shi Jinghai wrote:
>>> Here is a OFBiz-jBPM component:
>>> http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
>>> 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
>>>
>>> As Tom has left jboss and go to Alfresco, I'm not sure what's the future
>>> of jBPM.
>>>
>>> OSWorkflow can also work with OFBiz.
>>>
>>> Personally I like jBPM.
>>>
>>> Regards,
>>>
>>> Shi Jinghai/Beijing Langhua Ltd.
>>>
>>>
>>> åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té"ï¼s
>>>> Hi Varun,
>>>>
>>>> Yes I am looking for something similar to JBPM, not fullfledge but
>>>> atleast it should have the configuration through XML (similar to Shark).
>>>> Do we have something like this in Ofbiz integrated? If not, then has
>>>> anyone integrated any webflows in Ofbiz? Please let me know..
>>>>
>>>> Regards,
>>>> Deepa
>>>>
>>>> -----Original Message-----
>>>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>>>> Sent: Tuesday, September 07, 2010 1:38 PM
>>>> To: user@ofbiz.apache.org
>>>> Subject: Re: Ofbiz WorkFlow Engine
>>>>
>>>> Hi Deepa,
>>>> Are you looking at something like designing the process flow, for eg as
>>>> in
>>>> jBPM workflow engine&   the process designer ?
>>>> Though processes could be implemented using SECAs, EECAs etc.
>>>>
>>>>
>>>> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
>>>> <de...@techmahindra.com>wrote:
>>>>
>>>>> Thanks Varun for replying.. I have checked this link but its talking
>>>>> about XPDL which actually comes with Shark implementation and in the
>>>>> same link they have mentioned that Shark is not yet implemented in
>>>>> Ofbiz. The alternative is event based. SO does this mean we don't have
>>>>> workflow definition type of design in Ofbiz as of now other then the
>>>>> events?
>>>>>
>>>>> Thanks,
>>>>> Deepa
>>>>>
>>>>> -----Original Message-----
>>>>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>>>>> Sent: Monday, September 06, 2010 9:57 PM
>>>>> To: user@ofbiz.apache.org
>>>>> Subject: Re: Ofbiz WorkFlow Engine
>>>>>
>>>>> Hi,
>>>>> This document might help http://ofbiz.apache.org/docs/workflow.html
>>>>>
>>>>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
>>>>> <de...@techmahindra.com>wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>>
>>>>>>
>>>>>> Need some help to know if we have any workflow integrated in ofbiz
>>>>> 9.04
>>>>>> version?
>>>>>>
>>>>>> if we already have the workflow is it using xpdl? Is it Shark
>>>>> workflow?
>>>>>> Please let me know.. need this urgently before i start designing for
>>>>> one
>>>>>> of my requirement.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Appreciate your help.
>>>>>>
>>>>>>
>>>>>> Thanks&   Regards,
>>>>>>
>>>>>> Deepa
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>> ========================================================================
>>>>> ====================================================Disclaimer:
>>>>>>    This message and the information contained herein is proprietary
>>>> and
>>>>>> confidential and subject to the Tech Mahindra policy statement, you
>>>>> may
>>>>>> review the policy at<a
>>>>> href="http://www.techmahindra.com/Disclaimer.html
>>>>>> ">http://www.techmahindra.com/Disclaimer.html</a>   externally and<a
>>>>> href="
>>>>>> http://tim.techmahindra.com/Disclaimer.html">
>>>>>> http://tim.techmahindra.com/Disclaimer.html</a>   internally within
>>>> Tech
>>>> Mahindra.===============================================================
>>>>> =============================================================
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Varun Bhansaly
>>>>>
>>>>>
>>>> ========================================================================
>>>> ====================================================Disclaimer:
>>>>>    This message and the information contained herein is proprietary and
>>>>> confidential and subject to the Tech Mahindra policy statement, you
>>>> may
>>>>> review the policy at<a
>>>> href="http://www.techmahindra.com/Disclaimer.html
>>>>> ">http://www.techmahindra.com/Disclaimer.html</a>   externally and<a
>>>> href="
>>>>> http://tim.techmahindra.com/Disclaimer.html">
>>>>> http://tim.techmahindra.com/Disclaimer.html</a>   internally within Tech
>>>>>
>>>> Mahindra.===============================================================
>>>> =============================================================
>>>>
>>>>
>>>
>>
>> ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at<a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a>  internally within Tech Mahindra.============================================================================================================================
>
>



Re: Ofbiz WorkFlow Engine

Posted by BJ Freeman <bj...@free-man.net>.
was able to connect and got to
http://langhua.org/opensource/ofbiz/ofbiz-jbpm/trunk/

=========================
BJ Freeman  <http://bjfreeman.elance.com>
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Shi Jinghai sent the following on 9/9/2010 6:09 AM:
> oh, my fault.
> svn:
> http://langhua.org/opensource/ofbiz/ofbiz-jbpm/
>
> viewvc:
> http://langhua.org/viewvc/opensource/ofbiz/ofbiz-jbpm/
>
>
> 在 2010-09-09四的 16:54 +0530,Deepa Priolkar写道:
>> Hi Shi,
>>
>> Can you please help me to download the code from the location mentioned below? I tried FTP it did not work. Please advice.
>>
>>
>> On 9/7/10 5:51 AM, Shi Jinghai wrote:
>>> Here is a OFBiz-jBPM component:
>>> http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
>>> 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
>>>
>>> As Tom has left jboss and go to Alfresco, I'm not sure what's the future
>>> of jBPM.
>>>
>>> OSWorkflow can also work with OFBiz.
>>>
>>> Personally I like jBPM.
>>>
>>> Regards,
>>>
>>> Shi Jinghai/Beijing Langhua Ltd.
>>>
>>>
>>> 在 2010-09-07二的 14:47 +0530,Deepa Priolkar写道:
>>>> Hi Varun,
>>>>
>>>> Yes I am looking for something similar to JBPM, not fullfledge but
>>>> atleast it should have the configuration through XML (similar to Shark).
>>>> Do we have something like this in Ofbiz integrated? If not, then has
>>>> anyone integrated any webflows in Ofbiz? Please let me know..
>>>>
>>>> Regards,
>>>> Deepa
>>>>
>>>> -----Original Message-----
>>>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>>>> Sent: Tuesday, September 07, 2010 1:38 PM
>>>> To: user@ofbiz.apache.org
>>>> Subject: Re: Ofbiz WorkFlow Engine
>>>>
>>>> Hi Deepa,
>>>> Are you looking at something like designing the process flow, for eg as
>>>> in
>>>> jBPM workflow engine&   the process designer ?
>>>> Though processes could be implemented using SECAs, EECAs etc.
>>>>
>>>>
>>>> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
>>>> <de...@techmahindra.com>wrote:
>>>>
>>>>> Thanks Varun for replying.. I have checked this link but its talking
>>>>> about XPDL which actually comes with Shark implementation and in the
>>>>> same link they have mentioned that Shark is not yet implemented in
>>>>> Ofbiz. The alternative is event based. SO does this mean we don't have
>>>>> workflow definition type of design in Ofbiz as of now other then the
>>>>> events?
>>>>>
>>>>> Thanks,
>>>>> Deepa
>>>>>
>>>>> -----Original Message-----
>>>>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>>>>> Sent: Monday, September 06, 2010 9:57 PM
>>>>> To: user@ofbiz.apache.org
>>>>> Subject: Re: Ofbiz WorkFlow Engine
>>>>>
>>>>> Hi,
>>>>> This document might help http://ofbiz.apache.org/docs/workflow.html
>>>>>
>>>>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
>>>>> <de...@techmahindra.com>wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>>
>>>>>>
>>>>>> Need some help to know if we have any workflow integrated in ofbiz
>>>>> 9.04
>>>>>> version?
>>>>>>
>>>>>> if we already have the workflow is it using xpdl? Is it Shark
>>>>> workflow?
>>>>>> Please let me know.. need this urgently before i start designing for
>>>>> one
>>>>>> of my requirement.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Appreciate your help.
>>>>>>
>>>>>>
>>>>>> Thanks&   Regards,
>>>>>>
>>>>>> Deepa
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>> ========================================================================
>>>>> ====================================================Disclaimer:
>>>>>>    This message and the information contained herein is proprietary
>>>> and
>>>>>> confidential and subject to the Tech Mahindra policy statement, you
>>>>> may
>>>>>> review the policy at<a
>>>>> href="http://www.techmahindra.com/Disclaimer.html
>>>>>> ">http://www.techmahindra.com/Disclaimer.html</a>   externally and<a
>>>>> href="
>>>>>> http://tim.techmahindra.com/Disclaimer.html">
>>>>>> http://tim.techmahindra.com/Disclaimer.html</a>   internally within
>>>> Tech
>>>> Mahindra.===============================================================
>>>>> =============================================================
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Varun Bhansaly
>>>>>
>>>>>
>>>> ========================================================================
>>>> ====================================================Disclaimer:
>>>>>    This message and the information contained herein is proprietary and
>>>>> confidential and subject to the Tech Mahindra policy statement, you
>>>> may
>>>>> review the policy at<a
>>>> href="http://www.techmahindra.com/Disclaimer.html
>>>>> ">http://www.techmahindra.com/Disclaimer.html</a>   externally and<a
>>>> href="
>>>>> http://tim.techmahindra.com/Disclaimer.html">
>>>>> http://tim.techmahindra.com/Disclaimer.html</a>   internally within Tech
>>>>>
>>>> Mahindra.===============================================================
>>>> =============================================================
>>>>
>>>>
>>>
>>
>> ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at<a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a>  internally within Tech Mahindra.============================================================================================================================
>
>


RE: Ofbiz WorkFlow Engine

Posted by Deepa Priolkar <de...@TechMahindra.com>.
Hi,

Tried connecting to the SVN, got following error

RA layer request failed
svn: OPTIONS of 'http://langhua.org/opensource/ofbiz/ofbiz-jbpm': could not connect to server (http://langhua.org)

-----Original Message-----
From: Shi Jinghai [mailto:shijh@langhua.cn] 
Sent: Thursday, September 09, 2010 6:39 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine

oh, my fault.
svn:
http://langhua.org/opensource/ofbiz/ofbiz-jbpm/

viewvc:
http://langhua.org/viewvc/opensource/ofbiz/ofbiz-jbpm/


在 2010-09-09四的 16:54 +0530,Deepa Priolkar写道:
> Hi Shi,
> 
> Can you please help me to download the code from the location mentioned below? I tried FTP it did not work. Please advice.
> 
> 
> On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > Here is a OFBiz-jBPM component:
> > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> >
> > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > of jBPM.
> >
> > OSWorkflow can also work with OFBiz.
> >
> > Personally I like jBPM.
> >
> > Regards,
> >
> > Shi Jinghai/Beijing Langhua Ltd.
> >
> >
> > 在 2010-09-07二的 14:47 +0530,Deepa Priolkar写道:
> >> Hi Varun,
> >>
> >> Yes I am looking for something similar to JBPM, not fullfledge but
> >> atleast it should have the configuration through XML (similar to Shark).
> >> Do we have something like this in Ofbiz integrated? If not, then has
> >> anyone integrated any webflows in Ofbiz? Please let me know..
> >>
> >> Regards,
> >> Deepa
> >>
> >> -----Original Message-----
> >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> >> Sent: Tuesday, September 07, 2010 1:38 PM
> >> To: user@ofbiz.apache.org
> >> Subject: Re: Ofbiz WorkFlow Engine
> >>
> >> Hi Deepa,
> >> Are you looking at something like designing the process flow, for eg as
> >> in
> >> jBPM workflow engine&  the process designer ?
> >> Though processes could be implemented using SECAs, EECAs etc.
> >>
> >>
> >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> >> <de...@techmahindra.com>wrote:
> >>
> >>> Thanks Varun for replying.. I have checked this link but its talking
> >>> about XPDL which actually comes with Shark implementation and in the
> >>> same link they have mentioned that Shark is not yet implemented in
> >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> >>> workflow definition type of design in Ofbiz as of now other then the
> >>> events?
> >>>
> >>> Thanks,
> >>> Deepa
> >>>
> >>> -----Original Message-----
> >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> >>> Sent: Monday, September 06, 2010 9:57 PM
> >>> To: user@ofbiz.apache.org
> >>> Subject: Re: Ofbiz WorkFlow Engine
> >>>
> >>> Hi,
> >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> >>>
> >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> >>> <de...@techmahindra.com>wrote:
> >>>
> >>>> Hi All,
> >>>>
> >>>>
> >>>>
> >>>> Need some help to know if we have any workflow integrated in ofbiz
> >>> 9.04
> >>>> version?
> >>>>
> >>>> if we already have the workflow is it using xpdl? Is it Shark
> >>> workflow?
> >>>> Please let me know.. need this urgently before i start designing for
> >>> one
> >>>> of my requirement.
> >>>>
> >>>>
> >>>>
> >>>> Appreciate your help.
> >>>>
> >>>>
> >>>> Thanks&  Regards,
> >>>>
> >>>> Deepa
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >> ========================================================================
> >>> ====================================================Disclaimer:
> >>>>   This message and the information contained herein is proprietary
> >> and
> >>>> confidential and subject to the Tech Mahindra policy statement, you
> >>> may
> >>>> review the policy at<a
> >>> href="http://www.techmahindra.com/Disclaimer.html
> >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> >>> href="
> >>>> http://tim.techmahindra.com/Disclaimer.html">
> >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> >> Tech
> >> Mahindra.===============================================================
> >>> =============================================================
> >>>
> >>>
> >>> --
> >>> Regards,
> >>> Varun Bhansaly
> >>>
> >>>
> >> ========================================================================
> >> ====================================================Disclaimer:
> >>>   This message and the information contained herein is proprietary and
> >>> confidential and subject to the Tech Mahindra policy statement, you
> >> may
> >>> review the policy at<a
> >> href="http://www.techmahindra.com/Disclaimer.html
> >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> >> href="
> >>> http://tim.techmahindra.com/Disclaimer.html">
> >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within Tech
> >>>
> >> Mahindra.===============================================================
> >> =============================================================
> >>
> >>
> >
> 
> ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================


============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================

RE: Ofbiz WorkFlow Engine

Posted by Shi Jinghai <sh...@langhua.cn>.
oh, my fault.
svn:
http://langhua.org/opensource/ofbiz/ofbiz-jbpm/

viewvc:
http://langhua.org/viewvc/opensource/ofbiz/ofbiz-jbpm/


在 2010-09-09四的 16:54 +0530,Deepa Priolkar写道:
> Hi Shi,
> 
> Can you please help me to download the code from the location mentioned below? I tried FTP it did not work. Please advice.
> 
> 
> On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > Here is a OFBiz-jBPM component:
> > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> >
> > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > of jBPM.
> >
> > OSWorkflow can also work with OFBiz.
> >
> > Personally I like jBPM.
> >
> > Regards,
> >
> > Shi Jinghai/Beijing Langhua Ltd.
> >
> >
> > 在 2010-09-07二的 14:47 +0530,Deepa Priolkar写道:
> >> Hi Varun,
> >>
> >> Yes I am looking for something similar to JBPM, not fullfledge but
> >> atleast it should have the configuration through XML (similar to Shark).
> >> Do we have something like this in Ofbiz integrated? If not, then has
> >> anyone integrated any webflows in Ofbiz? Please let me know..
> >>
> >> Regards,
> >> Deepa
> >>
> >> -----Original Message-----
> >> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> >> Sent: Tuesday, September 07, 2010 1:38 PM
> >> To: user@ofbiz.apache.org
> >> Subject: Re: Ofbiz WorkFlow Engine
> >>
> >> Hi Deepa,
> >> Are you looking at something like designing the process flow, for eg as
> >> in
> >> jBPM workflow engine&  the process designer ?
> >> Though processes could be implemented using SECAs, EECAs etc.
> >>
> >>
> >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> >> <de...@techmahindra.com>wrote:
> >>
> >>> Thanks Varun for replying.. I have checked this link but its talking
> >>> about XPDL which actually comes with Shark implementation and in the
> >>> same link they have mentioned that Shark is not yet implemented in
> >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> >>> workflow definition type of design in Ofbiz as of now other then the
> >>> events?
> >>>
> >>> Thanks,
> >>> Deepa
> >>>
> >>> -----Original Message-----
> >>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> >>> Sent: Monday, September 06, 2010 9:57 PM
> >>> To: user@ofbiz.apache.org
> >>> Subject: Re: Ofbiz WorkFlow Engine
> >>>
> >>> Hi,
> >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> >>>
> >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> >>> <de...@techmahindra.com>wrote:
> >>>
> >>>> Hi All,
> >>>>
> >>>>
> >>>>
> >>>> Need some help to know if we have any workflow integrated in ofbiz
> >>> 9.04
> >>>> version?
> >>>>
> >>>> if we already have the workflow is it using xpdl? Is it Shark
> >>> workflow?
> >>>> Please let me know.. need this urgently before i start designing for
> >>> one
> >>>> of my requirement.
> >>>>
> >>>>
> >>>>
> >>>> Appreciate your help.
> >>>>
> >>>>
> >>>> Thanks&  Regards,
> >>>>
> >>>> Deepa
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >> ========================================================================
> >>> ====================================================Disclaimer:
> >>>>   This message and the information contained herein is proprietary
> >> and
> >>>> confidential and subject to the Tech Mahindra policy statement, you
> >>> may
> >>>> review the policy at<a
> >>> href="http://www.techmahindra.com/Disclaimer.html
> >>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> >>> href="
> >>>> http://tim.techmahindra.com/Disclaimer.html">
> >>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
> >> Tech
> >> Mahindra.===============================================================
> >>> =============================================================
> >>>
> >>>
> >>> --
> >>> Regards,
> >>> Varun Bhansaly
> >>>
> >>>
> >> ========================================================================
> >> ====================================================Disclaimer:
> >>>   This message and the information contained herein is proprietary and
> >>> confidential and subject to the Tech Mahindra policy statement, you
> >> may
> >>> review the policy at<a
> >> href="http://www.techmahindra.com/Disclaimer.html
> >>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
> >> href="
> >>> http://tim.techmahindra.com/Disclaimer.html">
> >>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within Tech
> >>>
> >> Mahindra.===============================================================
> >> =============================================================
> >>
> >>
> >
> 
> ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================


RE: Ofbiz WorkFlow Engine

Posted by Deepa Priolkar <de...@TechMahindra.com>.
Hi Shi,

Can you please help me to download the code from the location mentioned below? I tried FTP it did not work. Please advice.


On 9/7/10 5:51 AM, Shi Jinghai wrote:
> Here is a OFBiz-jBPM component:
> http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
>
> As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> of jBPM.
>
> OSWorkflow can also work with OFBiz.
>
> Personally I like jBPM.
>
> Regards,
>
> Shi Jinghai/Beijing Langhua Ltd.
>
>
> 在 2010-09-07二的 14:47 +0530,Deepa Priolkar写道:
>> Hi Varun,
>>
>> Yes I am looking for something similar to JBPM, not fullfledge but
>> atleast it should have the configuration through XML (similar to Shark).
>> Do we have something like this in Ofbiz integrated? If not, then has
>> anyone integrated any webflows in Ofbiz? Please let me know..
>>
>> Regards,
>> Deepa
>>
>> -----Original Message-----
>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>> Sent: Tuesday, September 07, 2010 1:38 PM
>> To: user@ofbiz.apache.org
>> Subject: Re: Ofbiz WorkFlow Engine
>>
>> Hi Deepa,
>> Are you looking at something like designing the process flow, for eg as
>> in
>> jBPM workflow engine&  the process designer ?
>> Though processes could be implemented using SECAs, EECAs etc.
>>
>>
>> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
>> <de...@techmahindra.com>wrote:
>>
>>> Thanks Varun for replying.. I have checked this link but its talking
>>> about XPDL which actually comes with Shark implementation and in the
>>> same link they have mentioned that Shark is not yet implemented in
>>> Ofbiz. The alternative is event based. SO does this mean we don't have
>>> workflow definition type of design in Ofbiz as of now other then the
>>> events?
>>>
>>> Thanks,
>>> Deepa
>>>
>>> -----Original Message-----
>>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>>> Sent: Monday, September 06, 2010 9:57 PM
>>> To: user@ofbiz.apache.org
>>> Subject: Re: Ofbiz WorkFlow Engine
>>>
>>> Hi,
>>> This document might help http://ofbiz.apache.org/docs/workflow.html
>>>
>>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
>>> <de...@techmahindra.com>wrote:
>>>
>>>> Hi All,
>>>>
>>>>
>>>>
>>>> Need some help to know if we have any workflow integrated in ofbiz
>>> 9.04
>>>> version?
>>>>
>>>> if we already have the workflow is it using xpdl? Is it Shark
>>> workflow?
>>>> Please let me know.. need this urgently before i start designing for
>>> one
>>>> of my requirement.
>>>>
>>>>
>>>>
>>>> Appreciate your help.
>>>>
>>>>
>>>> Thanks&  Regards,
>>>>
>>>> Deepa
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>> ========================================================================
>>> ====================================================Disclaimer:
>>>>   This message and the information contained herein is proprietary
>> and
>>>> confidential and subject to the Tech Mahindra policy statement, you
>>> may
>>>> review the policy at<a
>>> href="http://www.techmahindra.com/Disclaimer.html
>>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
>>> href="
>>>> http://tim.techmahindra.com/Disclaimer.html">
>>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
>> Tech
>> Mahindra.===============================================================
>>> =============================================================
>>>
>>>
>>> --
>>> Regards,
>>> Varun Bhansaly
>>>
>>>
>> ========================================================================
>> ====================================================Disclaimer:
>>>   This message and the information contained herein is proprietary and
>>> confidential and subject to the Tech Mahindra policy statement, you
>> may
>>> review the policy at<a
>> href="http://www.techmahindra.com/Disclaimer.html
>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
>> href="
>>> http://tim.techmahindra.com/Disclaimer.html">
>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within Tech
>>>
>> Mahindra.===============================================================
>> =============================================================
>>
>>
>

============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================

Re: Ofbiz WorkFlow Engine

Posted by Ruth Hoffman <rh...@aesolves.com>.
  Hi Shi:
You just reminded me of something I did several years ago: I integrated 
OSWorkflow w/OFBiz. I did it mainly to test another application that was 
based on OSWorkflow.

Anyhow, I don't recall it being a very difficult task.

Regards,
Ruth

On 9/7/10 5:51 AM, Shi Jinghai wrote:
> Here is a OFBiz-jBPM component:
> http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
>
> As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> of jBPM.
>
> OSWorkflow can also work with OFBiz.
>
> Personally I like jBPM.
>
> Regards,
>
> Shi Jinghai/Beijing Langhua Ltd.
>
>
> 在 2010-09-07二的 14:47 +0530,Deepa Priolkar写道:
>> Hi Varun,
>>
>> Yes I am looking for something similar to JBPM, not fullfledge but
>> atleast it should have the configuration through XML (similar to Shark).
>> Do we have something like this in Ofbiz integrated? If not, then has
>> anyone integrated any webflows in Ofbiz? Please let me know..
>>
>> Regards,
>> Deepa
>>
>> -----Original Message-----
>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>> Sent: Tuesday, September 07, 2010 1:38 PM
>> To: user@ofbiz.apache.org
>> Subject: Re: Ofbiz WorkFlow Engine
>>
>> Hi Deepa,
>> Are you looking at something like designing the process flow, for eg as
>> in
>> jBPM workflow engine&  the process designer ?
>> Though processes could be implemented using SECAs, EECAs etc.
>>
>>
>> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
>> <de...@techmahindra.com>wrote:
>>
>>> Thanks Varun for replying.. I have checked this link but its talking
>>> about XPDL which actually comes with Shark implementation and in the
>>> same link they have mentioned that Shark is not yet implemented in
>>> Ofbiz. The alternative is event based. SO does this mean we don't have
>>> workflow definition type of design in Ofbiz as of now other then the
>>> events?
>>>
>>> Thanks,
>>> Deepa
>>>
>>> -----Original Message-----
>>> From: varun bhansaly [mailto:vbhansaly@gmail.com]
>>> Sent: Monday, September 06, 2010 9:57 PM
>>> To: user@ofbiz.apache.org
>>> Subject: Re: Ofbiz WorkFlow Engine
>>>
>>> Hi,
>>> This document might help http://ofbiz.apache.org/docs/workflow.html
>>>
>>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
>>> <de...@techmahindra.com>wrote:
>>>
>>>> Hi All,
>>>>
>>>>
>>>>
>>>> Need some help to know if we have any workflow integrated in ofbiz
>>> 9.04
>>>> version?
>>>>
>>>> if we already have the workflow is it using xpdl? Is it Shark
>>> workflow?
>>>> Please let me know.. need this urgently before i start designing for
>>> one
>>>> of my requirement.
>>>>
>>>>
>>>>
>>>> Appreciate your help.
>>>>
>>>>
>>>> Thanks&  Regards,
>>>>
>>>> Deepa
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>> ========================================================================
>>> ====================================================Disclaimer:
>>>>   This message and the information contained herein is proprietary
>> and
>>>> confidential and subject to the Tech Mahindra policy statement, you
>>> may
>>>> review the policy at<a
>>> href="http://www.techmahindra.com/Disclaimer.html
>>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
>>> href="
>>>> http://tim.techmahindra.com/Disclaimer.html">
>>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within
>> Tech
>> Mahindra.===============================================================
>>> =============================================================
>>>
>>>
>>> --
>>> Regards,
>>> Varun Bhansaly
>>>
>>>
>> ========================================================================
>> ====================================================Disclaimer:
>>>   This message and the information contained herein is proprietary and
>>> confidential and subject to the Tech Mahindra policy statement, you
>> may
>>> review the policy at<a
>> href="http://www.techmahindra.com/Disclaimer.html
>>> ">http://www.techmahindra.com/Disclaimer.html</a>  externally and<a
>> href="
>>> http://tim.techmahindra.com/Disclaimer.html">
>>> http://tim.techmahindra.com/Disclaimer.html</a>  internally within Tech
>>>
>> Mahindra.===============================================================
>> =============================================================
>>
>>
>

RE: Ofbiz WorkFlow Engine

Posted by Shi Jinghai <sh...@langhua.cn>.
Here is a OFBiz-jBPM component:
http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F

As Tom has left jboss and go to Alfresco, I'm not sure what's the future
of jBPM.

OSWorkflow can also work with OFBiz.

Personally I like jBPM.

Regards,

Shi Jinghai/Beijing Langhua Ltd.


在 2010-09-07二的 14:47 +0530,Deepa Priolkar写道:
> Hi Varun,
> 
> Yes I am looking for something similar to JBPM, not fullfledge but
> atleast it should have the configuration through XML (similar to Shark).
> Do we have something like this in Ofbiz integrated? If not, then has
> anyone integrated any webflows in Ofbiz? Please let me know.. 
> 
> Regards,
> Deepa
> 
> -----Original Message-----
> From: varun bhansaly [mailto:vbhansaly@gmail.com] 
> Sent: Tuesday, September 07, 2010 1:38 PM
> To: user@ofbiz.apache.org
> Subject: Re: Ofbiz WorkFlow Engine
> 
> Hi Deepa,
> Are you looking at something like designing the process flow, for eg as
> in
> jBPM workflow engine & the process designer ?
> Though processes could be implemented using SECAs, EECAs etc.
> 
> 
> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> <de...@techmahindra.com>wrote:
> 
> > Thanks Varun for replying.. I have checked this link but its talking
> > about XPDL which actually comes with Shark implementation and in the
> > same link they have mentioned that Shark is not yet implemented in
> > Ofbiz. The alternative is event based. SO does this mean we don't have
> > workflow definition type of design in Ofbiz as of now other then the
> > events?
> >
> > Thanks,
> > Deepa
> >
> > -----Original Message-----
> > From: varun bhansaly [mailto:vbhansaly@gmail.com]
> > Sent: Monday, September 06, 2010 9:57 PM
> > To: user@ofbiz.apache.org
> > Subject: Re: Ofbiz WorkFlow Engine
> >
> > Hi,
> > This document might help http://ofbiz.apache.org/docs/workflow.html
> >
> > On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> > <de...@techmahindra.com>wrote:
> >
> > > Hi All,
> > >
> > >
> > >
> > > Need some help to know if we have any workflow integrated in ofbiz
> > 9.04
> > > version?
> > >
> > > if we already have the workflow is it using xpdl? Is it Shark
> > workflow?
> > > Please let me know.. need this urgently before i start designing for
> > one
> > > of my requirement.
> > >
> > >
> > >
> > > Appreciate your help.
> > >
> > >
> > > Thanks & Regards,
> > >
> > > Deepa
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> ========================================================================
> > ====================================================Disclaimer:
> > >  This message and the information contained herein is proprietary
> and
> > > confidential and subject to the Tech Mahindra policy statement, you
> > may
> > > review the policy at <a
> > href="http://www.techmahindra.com/Disclaimer.html
> > > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a
> > href="
> > > http://tim.techmahindra.com/Disclaimer.html">
> > > http://tim.techmahindra.com/Disclaimer.html</a> internally within
> Tech
> > >
> >
> Mahindra.===============================================================
> > =============================================================
> > >
> >
> >
> >
> > --
> > Regards,
> > Varun Bhansaly
> >
> >
> ========================================================================
> ====================================================Disclaimer:
> >  This message and the information contained herein is proprietary and
> > confidential and subject to the Tech Mahindra policy statement, you
> may
> > review the policy at <a
> href="http://www.techmahindra.com/Disclaimer.html
> > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a
> href="
> > http://tim.techmahindra.com/Disclaimer.html">
> > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> >
> Mahindra.===============================================================
> =============================================================
> >
> 
> 
> 


RE: Ofbiz WorkFlow Engine

Posted by Deepa Priolkar <de...@TechMahindra.com>.
Hi Varun,

Yes I am looking for something similar to JBPM, not fullfledge but
atleast it should have the configuration through XML (similar to Shark).
Do we have something like this in Ofbiz integrated? If not, then has
anyone integrated any webflows in Ofbiz? Please let me know.. 

Regards,
Deepa

-----Original Message-----
From: varun bhansaly [mailto:vbhansaly@gmail.com] 
Sent: Tuesday, September 07, 2010 1:38 PM
To: user@ofbiz.apache.org
Subject: Re: Ofbiz WorkFlow Engine

Hi Deepa,
Are you looking at something like designing the process flow, for eg as
in
jBPM workflow engine & the process designer ?
Though processes could be implemented using SECAs, EECAs etc.


On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
<de...@techmahindra.com>wrote:

> Thanks Varun for replying.. I have checked this link but its talking
> about XPDL which actually comes with Shark implementation and in the
> same link they have mentioned that Shark is not yet implemented in
> Ofbiz. The alternative is event based. SO does this mean we don't have
> workflow definition type of design in Ofbiz as of now other then the
> events?
>
> Thanks,
> Deepa
>
> -----Original Message-----
> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> Sent: Monday, September 06, 2010 9:57 PM
> To: user@ofbiz.apache.org
> Subject: Re: Ofbiz WorkFlow Engine
>
> Hi,
> This document might help http://ofbiz.apache.org/docs/workflow.html
>
> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> <de...@techmahindra.com>wrote:
>
> > Hi All,
> >
> >
> >
> > Need some help to know if we have any workflow integrated in ofbiz
> 9.04
> > version?
> >
> > if we already have the workflow is it using xpdl? Is it Shark
> workflow?
> > Please let me know.. need this urgently before i start designing for
> one
> > of my requirement.
> >
> >
> >
> > Appreciate your help.
> >
> >
> > Thanks & Regards,
> >
> > Deepa
> >
> >
> >
> >
> >
> >
> >
>
========================================================================
> ====================================================Disclaimer:
> >  This message and the information contained herein is proprietary
and
> > confidential and subject to the Tech Mahindra policy statement, you
> may
> > review the policy at <a
> href="http://www.techmahindra.com/Disclaimer.html
> > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a
> href="
> > http://tim.techmahindra.com/Disclaimer.html">
> > http://tim.techmahindra.com/Disclaimer.html</a> internally within
Tech
> >
>
Mahindra.===============================================================
> =============================================================
> >
>
>
>
> --
> Regards,
> Varun Bhansaly
>
>
========================================================================
====================================================Disclaimer:
>  This message and the information contained herein is proprietary and
> confidential and subject to the Tech Mahindra policy statement, you
may
> review the policy at <a
href="http://www.techmahindra.com/Disclaimer.html
> ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a
href="
> http://tim.techmahindra.com/Disclaimer.html">
> http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
>
Mahindra.===============================================================
=============================================================
>



-- 
Regards,
Varun Bhansaly

============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================

Re: Ofbiz WorkFlow Engine

Posted by varun bhansaly <vb...@gmail.com>.
Hi Deepa,
Are you looking at something like designing the process flow, for eg as in
jBPM workflow engine & the process designer ?
Though processes could be implemented using SECAs, EECAs etc.


On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar <de...@techmahindra.com>wrote:

> Thanks Varun for replying.. I have checked this link but its talking
> about XPDL which actually comes with Shark implementation and in the
> same link they have mentioned that Shark is not yet implemented in
> Ofbiz. The alternative is event based. SO does this mean we don't have
> workflow definition type of design in Ofbiz as of now other then the
> events?
>
> Thanks,
> Deepa
>
> -----Original Message-----
> From: varun bhansaly [mailto:vbhansaly@gmail.com]
> Sent: Monday, September 06, 2010 9:57 PM
> To: user@ofbiz.apache.org
> Subject: Re: Ofbiz WorkFlow Engine
>
> Hi,
> This document might help http://ofbiz.apache.org/docs/workflow.html
>
> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> <de...@techmahindra.com>wrote:
>
> > Hi All,
> >
> >
> >
> > Need some help to know if we have any workflow integrated in ofbiz
> 9.04
> > version?
> >
> > if we already have the workflow is it using xpdl? Is it Shark
> workflow?
> > Please let me know.. need this urgently before i start designing for
> one
> > of my requirement.
> >
> >
> >
> > Appreciate your help.
> >
> >
> > Thanks & Regards,
> >
> > Deepa
> >
> >
> >
> >
> >
> >
> >
> ========================================================================
> ====================================================Disclaimer:
> >  This message and the information contained herein is proprietary and
> > confidential and subject to the Tech Mahindra policy statement, you
> may
> > review the policy at <a
> href="http://www.techmahindra.com/Disclaimer.html
> > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a
> href="
> > http://tim.techmahindra.com/Disclaimer.html">
> > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> >
> Mahindra.===============================================================
> =============================================================
> >
>
>
>
> --
> Regards,
> Varun Bhansaly
>
> ============================================================================================================================Disclaimer:
>  This message and the information contained herein is proprietary and
> confidential and subject to the Tech Mahindra policy statement, you may
> review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> http://tim.techmahindra.com/Disclaimer.html">
> http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> Mahindra.============================================================================================================================
>



-- 
Regards,
Varun Bhansaly

RE: Ofbiz WorkFlow Engine

Posted by Deepa Priolkar <de...@TechMahindra.com>.
Thanks Varun for replying.. I have checked this link but its talking
about XPDL which actually comes with Shark implementation and in the
same link they have mentioned that Shark is not yet implemented in
Ofbiz. The alternative is event based. SO does this mean we don't have
workflow definition type of design in Ofbiz as of now other then the
events?

Thanks,
Deepa

-----Original Message-----
From: varun bhansaly [mailto:vbhansaly@gmail.com] 
Sent: Monday, September 06, 2010 9:57 PM
To: user@ofbiz.apache.org
Subject: Re: Ofbiz WorkFlow Engine

Hi,
This document might help http://ofbiz.apache.org/docs/workflow.html

On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
<de...@techmahindra.com>wrote:

> Hi All,
>
>
>
> Need some help to know if we have any workflow integrated in ofbiz
9.04
> version?
>
> if we already have the workflow is it using xpdl? Is it Shark
workflow?
> Please let me know.. need this urgently before i start designing for
one
> of my requirement.
>
>
>
> Appreciate your help.
>
>
> Thanks & Regards,
>
> Deepa
>
>
>
>
>
>
>
========================================================================
====================================================Disclaimer:
>  This message and the information contained herein is proprietary and
> confidential and subject to the Tech Mahindra policy statement, you
may
> review the policy at <a
href="http://www.techmahindra.com/Disclaimer.html
> ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a
href="
> http://tim.techmahindra.com/Disclaimer.html">
> http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
>
Mahindra.===============================================================
=============================================================
>



-- 
Regards,
Varun Bhansaly

============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================

Re: Ofbiz WorkFlow Engine

Posted by varun bhansaly <vb...@gmail.com>.
Hi,
This document might help http://ofbiz.apache.org/docs/workflow.html

On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar <de...@techmahindra.com>wrote:

> Hi All,
>
>
>
> Need some help to know if we have any workflow integrated in ofbiz 9.04
> version?
>
> if we already have the workflow is it using xpdl? Is it Shark workflow?
> Please let me know.. need this urgently before i start designing for one
> of my requirement.
>
>
>
> Appreciate your help.
>
>
> Thanks & Regards,
>
> Deepa
>
>
>
>
>
>
> ============================================================================================================================Disclaimer:
>  This message and the information contained herein is proprietary and
> confidential and subject to the Tech Mahindra policy statement, you may
> review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> http://tim.techmahindra.com/Disclaimer.html">
> http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> Mahindra.============================================================================================================================
>



-- 
Regards,
Varun Bhansaly