Re: Order : Communication between customer and product store

2018-01-02 Thread Shi Jinghai
Hi Julien,

In CommunicationEvent, it would be great if you can add a field to indicate the 
initial direction of a communication, i.e. Vendor to Customer, or Customer to 
Vendor.

Kind Regards,

Shi Jinghai


-邮件原件-
发件人: Julien NICOLAS [mailto:julien.nico...@nereide.fr] 
发送时间: 2018年1月2日 21:15
收件人: OFBiz Dev
主题: Order : Communication between customer and product store

Hello,

First of all I wish you all, all the best for 2018 :)

We are working for a customer to add a communication management linked to 
orders between the customer and the product store.
It will use communication events and add a new communication screenlet at the 
bottom of the order screen of the back office.
We plan to commit modifications to the trunk.

If anybody have some suggestions about this point, don't hesitate to share, we 
will be pleased to fit to the community recommendations.

Kind regards,

Julien.


Re: [OFBIZ] - Job schedules and Multi instance

2018-01-02 Thread Trà Đá Một Mình
Thanks all,

@Deepak, Your article help me to understand how it work, really helpful,
thanks you.
@Shi, I'll try with your patch, hope it work as expected ;), thanks you!

Best regards!

On Wed, Jan 3, 2018 at 8:15 AM, Shi Jinghai  wrote:

> Hi Nguyen,
>
> I think your requirement is same as mine, I posted a patch in
> https://issues.apache.org/jira/browse/OFBIZ-9233, please try if they work
> for you.
>
> Kind Regards,
>
> Shi Jinghai
>
> -邮件原件-
> 发件人: Trà Đá Một Mình [mailto:nguyenthang0...@gmail.com]
> 发送时间: 2018年1月2日 18:16
> 收件人: dev@ofbiz.apache.org
> 主题: [OFBIZ] - Job schedules and Multi instance
>
> Hi all,
>
> I met a problem. I have more than one instance running my application.
> When I schedules some services using runAsync, ofbiz auto create jobs. And
> when job is started, ofbiz pick one of my instances to process. But, in my
> case:
> when I made an request, I dedicated this to instance A, but after that,
> when job start, it run on another instance B. I just want to it running on
> A.
>
> Thanks!
>
> --
> *THANG NGUYEN (Mr)*
>
> *OLBIUS DEVELOPER**Email:* nguyenthang0...@gmail.com| *Mobile:* (+84) 96
> 955 0905
>
> *OLBIUS., JSC*
> *Tel:* (+84) 9 88 99 
> *Address: *25th Fl., No 91, Nguyen Chi Thanh St., Ha Noi City, VietNam
> *Website:* http://olbius.com
>



-- 
*THANG NGUYEN (Mr)*

*OLBIUS DEVELOPER**Email:* nguyenthang0...@gmail.com| *Mobile:* (+84) 96
955 0905

*OLBIUS., JSC*
*Tel:* (+84) 9 88 99 
*Address: *25th Fl., No 91, Nguyen Chi Thanh St., Ha Noi City, VietNam
*Website:* http://olbius.com


Re: [OFBIZ] - Job schedules and Multi instance

2018-01-02 Thread Shi Jinghai
Hi Nguyen,

I think your requirement is same as mine, I posted a patch in 
https://issues.apache.org/jira/browse/OFBIZ-9233, please try if they work for 
you.

Kind Regards,

Shi Jinghai

-邮件原件-
发件人: Trà Đá Một Mình [mailto:nguyenthang0...@gmail.com] 
发送时间: 2018年1月2日 18:16
收件人: dev@ofbiz.apache.org
主题: [OFBIZ] - Job schedules and Multi instance

Hi all,

I met a problem. I have more than one instance running my application. When I 
schedules some services using runAsync, ofbiz auto create jobs. And when job is 
started, ofbiz pick one of my instances to process. But, in my case:
when I made an request, I dedicated this to instance A, but after that, when 
job start, it run on another instance B. I just want to it running on A.

Thanks!

--
*THANG NGUYEN (Mr)*

*OLBIUS DEVELOPER**Email:* nguyenthang0...@gmail.com| *Mobile:* (+84) 96
955 0905

*OLBIUS., JSC*
*Tel:* (+84) 9 88 99 
*Address: *25th Fl., No 91, Nguyen Chi Thanh St., Ha Noi City, VietNam
*Website:* http://olbius.com


Re: Tree View of Call Graph for Services and Simple Methods

2018-01-02 Thread Paul Foxworthy
Hi James,

I have been pondering something like this.

I suggest the output should be in a structured format like XML, JSON or
YAML, so it can be parsed by tools. Maybe YAML because it's intended to
give wiki-like human readability.

I suggest the ability to capture parameter values. You might make that
optional, with "summary" and "verbose" options. Parameter values would only
be logged if the "verbose" option is enabled.

With both of these in place, one could use this to capture a series of
steps to generate a reproducible unit test, or to compose existing services
into a super-service.

The minilang  element and its implementation might have some
relevance.

Cheers

Paul Foxworthy


On 24 December 2017 at 03:37, James Yong  wrote:

> Hi All,
>
> Would like implement a feature to log a tree view of services, simple
> methods, events that are called during a request.
> Something like:
> -> Service A
> -> Simple Method B
> -> Service C (Async)
> -> Simple Method D
>
> All feedback is greatly appreciated.
>
> Regards,
> James Yong
>



-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Australia

Phone: +61 3 9585 6788
Web: http://www.coherentsoftware.com.au/
Email: i...@coherentsoftware.com.au


Re: [OFBIZ] - Job schedules and Multi instance

2018-01-02 Thread Deepak Dixit
Following article will help you
https://www.hotwaxsystems.com/ofbiz/ofbiz-tutorials/apache-ofbiz-performance/

Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com
www.hotwax.co

On Tue, Jan 2, 2018 at 11:03 PM, Scott Gray 
wrote:

> You can treat each instance as a separate pool in serviceengine.xml, so
> that instance A sends jobs and runs jobs from poolA and instance B uses
> poolB.
>
> Regards
> Scott
>
>
>
>
> On 3/01/2018 03:04, "Nicolas Malin"  wrote:
>
> When a job is created by an instance, there are no information on who will
> be run it. So if you generate a job form an async service by the instance
> A, the instance B can execute it.
>
> Check on GenericAsyncEngine.java:108 (trunk) the job creation. If you want
> to improve this, all contribution are welcome ;)
>
> Nicolas
>
>
>
> Le 02/01/2018 à 11:16, Trà Đá Một Mình a écrit :
>
> > Hi all,
> >
> > I met a problem. I have more than one instance running my application.
> When
> > I schedules some services using runAsync, ofbiz auto create jobs. And
> when
> > job is started, ofbiz pick one of my instances to process. But, in my
> case:
> > when I made an request, I dedicated this to instance A, but after that,
> > when job start, it run on another instance B. I just want to it running
> on
> > A.
> >
> > Thanks!
> >
> >
>


Re: Order : Communication between customer and product store

2018-01-02 Thread Deepak Dixit
Nice idea Julien NICOLAS,
It would be good  if you open jira ticket for this improvement.

Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com
www.hotwax.co

On Tue, Jan 2, 2018 at 6:45 PM, Julien NICOLAS 
wrote:

> Hello,
>
> First of all I wish you all, all the best for 2018 :)
>
> We are working for a customer to add a communication management linked to
> orders between the customer and the product store.
> It will use communication events and add a new communication screenlet at
> the bottom of the order screen of the back office.
> We plan to commit modifications to the trunk.
>
> If anybody have some suggestions about this point, don't hesitate to
> share, we will be pleased to fit to the community recommendations.
>
> Kind regards,
>
> Julien.
>


Re: [OFBIZ] - Job schedules and Multi instance

2018-01-02 Thread Scott Gray
You can treat each instance as a separate pool in serviceengine.xml, so
that instance A sends jobs and runs jobs from poolA and instance B uses
poolB.

Regards
Scott




On 3/01/2018 03:04, "Nicolas Malin"  wrote:

When a job is created by an instance, there are no information on who will
be run it. So if you generate a job form an async service by the instance
A, the instance B can execute it.

Check on GenericAsyncEngine.java:108 (trunk) the job creation. If you want
to improve this, all contribution are welcome ;)

Nicolas



Le 02/01/2018 à 11:16, Trà Đá Một Mình a écrit :

> Hi all,
>
> I met a problem. I have more than one instance running my application. When
> I schedules some services using runAsync, ofbiz auto create jobs. And when
> job is started, ofbiz pick one of my instances to process. But, in my case:
> when I made an request, I dedicated this to instance A, but after that,
> when job start, it run on another instance B. I just want to it running on
> A.
>
> Thanks!
>
>


Re: [VOTE] [RELEASE] Apache OFBiz 16.11.04

2018-01-02 Thread Jacopo Cappellato
The vote is successful thanks to 6 binding and 2 non binding positive (i.e.
"+1") votes and no negative votes.

I am going to publish the release files.

Thank you!

Jacopo


On Sun, Dec 24, 2017 at 10:50 AM, Jacopo Cappellato <
jacopo.cappell...@hotwaxsystems.com> wrote:

> This is the vote thread to release a new bug fix release for the
> release16.11 branch. This new release, "Apache OFBiz 16.11.04" will
> supersede all the previous releases from the same branch.
>
> The release files can be downloaded from here:
>
> https://dist.apache.org/repos/dist/dev/ofbiz/
>
> and are:
>
> * apache-ofbiz-16.11.04.zip
> * KEYS: text file with keys
> * apache-ofbiz-16.11.04.zip.asc: the detached signature file
> * apache-ofbiz-16.11.04.zip.md5, apache-ofbiz-16.11.04.zip.sha: hashes
>
> Please download and test the zip file and its signatures (for instructions
> on testing the signatures see http://www.apache.org/info/verification.html
> ).
>
> Then vote:
>
> [ +1] release as Apache OFBiz 16.11.04
> [ -1] do not release
>
> This vote will be open for at least 5 days.
>
> For more details about this process please read http://www.apache.org/
> foundation/voting.html
>
> Kind Regards,
>
> Jacopo
>
>


Re: [VOTE] [RELEASE] Apache OFBiz 16.11.04

2018-01-02 Thread Jacopo Cappellato
+1

Jacopo

On Sun, Dec 24, 2017 at 10:50 AM, Jacopo Cappellato <
jacopo.cappell...@hotwaxsystems.com> wrote:

> This is the vote thread to release a new bug fix release for the
> release16.11 branch. This new release, "Apache OFBiz 16.11.04" will
> supersede all the previous releases from the same branch.
>
> The release files can be downloaded from here:
>
> https://dist.apache.org/repos/dist/dev/ofbiz/
>
> and are:
>
> * apache-ofbiz-16.11.04.zip
> * KEYS: text file with keys
> * apache-ofbiz-16.11.04.zip.asc: the detached signature file
> * apache-ofbiz-16.11.04.zip.md5, apache-ofbiz-16.11.04.zip.sha: hashes
>
> Please download and test the zip file and its signatures (for instructions
> on testing the signatures see http://www.apache.org/info/verification.html
> ).
>
> Then vote:
>
> [ +1] release as Apache OFBiz 16.11.04
> [ -1] do not release
>
> This vote will be open for at least 5 days.
>
> For more details about this process please read http://www.apache.org/
> foundation/voting.html
>
> Kind Regards,
>
> Jacopo
>
>


Re: [OFBIZ] - Job schedules and Multi instance

2018-01-02 Thread Nicolas Malin
When a job is created by an instance, there are no information on who 
will be run it. So if you generate a job form an async service by the 
instance A, the instance B can execute it.


Check on GenericAsyncEngine.java:108 (trunk) the job creation. If you 
want to improve this, all contribution are welcome ;)


Nicolas


Le 02/01/2018 à 11:16, Trà Đá Một Mình a écrit :

Hi all,

I met a problem. I have more than one instance running my application. When
I schedules some services using runAsync, ofbiz auto create jobs. And when
job is started, ofbiz pick one of my instances to process. But, in my case:
when I made an request, I dedicated this to instance A, but after that,
when job start, it run on another instance B. I just want to it running on
A.

Thanks!





Order : Communication between customer and product store

2018-01-02 Thread Julien NICOLAS

Hello,

First of all I wish you all, all the best for 2018 :)

We are working for a customer to add a communication management linked 
to orders between the customer and the product store.
It will use communication events and add a new communication screenlet 
at the bottom of the order screen of the back office.

We plan to commit modifications to the trunk.

If anybody have some suggestions about this point, don't hesitate to 
share, we will be pleased to fit to the community recommendations.


Kind regards,

Julien.


Re: Websocket example not working in OFBiz

2018-01-02 Thread Jacques Le Roux

Thanks Deepak,

Right on the point!

Jacques


Le 02/01/2018 à 11:53, Deepak Dixit a écrit :

Hi Jacques,
Following entry is missing in catalina/ofbiz-components.xml, I think due to
this catalina.properties not set in calsspath.




Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com
www.hotwax.co

On Tue, Jan 2, 2018 at 4:10 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:


Hi Pallavi,

I reopened OFBIZ-7073, I know why websocket no longer works <
http://markmail.org/message/2i7mumndgsvnitas>.

In FilterJars class there is a call to read webSocket from
catalina.properties.

This worked but for a reason now the catalina.properties file is not found
(location not resolved) and put in propertiesNotFound variable.

So websocket is always sets to false. I'm checking why...

Jacques



Le 11/12/2017 à 13:01, Jacques Le Roux a écrit :


Hi Pallavi,

One thing you could do if you find more information is to reopen
OFBIZ-7538

Jacques


Le 11/12/2017 à 11:46, Pallavi Goyal a écrit :


Hello All,

I am working on the Web Socket implementation in OFBiz taking reference
from OFBIZ-7073  and
OFBIZ-7467 .

When I open the main page of example component and check the console log
for js, it gives the error-

ExamplePushNotifications.js:23
WebSocket connection to 'wss://localhost:8443/example/
ws/pushNotifications'
failed: Error during WebSocket handshake: Unexpected response code: 404
(anonymous) @ ExamplePushNotifications.js:23

According to OFBIZ-7538 ,
the websocket example stopped working.

Please suggest me how should I proceed further?

I have also posted the question on stack overflow, here

.

Thanks in advance!

Pallavi Goyal








Re: Websocket example not working in OFBiz

2018-01-02 Thread Deepak Dixit
Hi Jacques,
Following entry is missing in catalina/ofbiz-components.xml, I think due to
this catalina.properties not set in calsspath.




Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com
www.hotwax.co

On Tue, Jan 2, 2018 at 4:10 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Hi Pallavi,
>
> I reopened OFBIZ-7073, I know why websocket no longer works <
> http://markmail.org/message/2i7mumndgsvnitas>.
>
> In FilterJars class there is a call to read webSocket from
> catalina.properties.
>
> This worked but for a reason now the catalina.properties file is not found
> (location not resolved) and put in propertiesNotFound variable.
>
> So websocket is always sets to false. I'm checking why...
>
> Jacques
>
>
>
> Le 11/12/2017 à 13:01, Jacques Le Roux a écrit :
>
>> Hi Pallavi,
>>
>> One thing you could do if you find more information is to reopen
>> OFBIZ-7538
>>
>> Jacques
>>
>>
>> Le 11/12/2017 à 11:46, Pallavi Goyal a écrit :
>>
>>> Hello All,
>>>
>>> I am working on the Web Socket implementation in OFBiz taking reference
>>> from OFBIZ-7073  and
>>> OFBIZ-7467 .
>>>
>>> When I open the main page of example component and check the console log
>>> for js, it gives the error-
>>>
>>> ExamplePushNotifications.js:23
>>> WebSocket connection to 'wss://localhost:8443/example/
>>> ws/pushNotifications'
>>> failed: Error during WebSocket handshake: Unexpected response code: 404
>>> (anonymous) @ ExamplePushNotifications.js:23
>>>
>>> According to OFBIZ-7538 >> a/browse/OFBIZ-7538>,
>>> the websocket example stopped working.
>>>
>>> Please suggest me how should I proceed further?
>>>
>>> I have also posted the question on stack overflow, here
>>> >> ementation-not-working-in-apache-ofbiz>
>>> .
>>>
>>> Thanks in advance!
>>>
>>> Pallavi Goyal
>>>
>>>
>>
>>
>


Re: Planning for the creation of the new 17.xx branch(es)

2018-01-02 Thread Jacques Le Roux

Thanks for feedback Deepak,

Done

Jacques


Le 02/01/2018 à 05:30, Deepak Dixit a écrit :

Thanks Jacques, looks good to me.

Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com
www.hotwax.co

On Sat, Dec 30, 2017 at 7:07 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:


BTW I notice that so fat we used ofbiz.16.11 so maybe we could continue to
follow this convention and have

ofbiz.17.12 and ofbiz.17.12-plugins

If nobody is against I'll do so in few days

Jacques



Le 30/12/2017 à 12:29, Jacques Le Roux a écrit :


Hi Deepak, All,

It seems to me that

$ svn co http://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/branches
/release17.12 ofbiz-plugins

is maybe not the best name we could use. Because when the next branch
will be created we will have to rename. So I propose

$ svn co http://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/branches
/release17.12 release17.12-plugins

That's it's only a convention and users can use what they want, but
better to use a right convention from start ;)

What do you think?

Jacques


Le 28/12/2017 à 19:06, Deepak Dixit a écrit :


Added release17.12 in source repositories page at r#1819433.


Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com
www.hotwax.co

On Thu, Dec 28, 2017 at 11:23 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

Le 28/12/2017 à 18:23, Jacopo Cappellato a écrit :

On Thu, Dec 28, 2017 at 5:47 PM, Jacques Le Roux <

jacques.le.r...@les7arts.com> wrote:

Le 28/12/2017 à 13:09, Michael Brohl a écrit :


Regarding the website:


1. do we keep the 16.11 listed there as the stable release branch

Yes, until we release 17.12


and add 17.12?
No, because 17.12 does not exist yet for users, it's only a freezed
version of the trunk (if I can say so)


But that page is not the download page, in which only official
releases


are
published; the page we are talking about is the ones that lists our
source
repositories, including the trunk and so we should definitely add to it
the
new branches.

Jacopo

Right, and we need to add the plugins...


Jacques









Re: Websocket example not working in OFBiz

2018-01-02 Thread Jacques Le Roux

Hi Pallavi,

I reopened OFBIZ-7073, I know why websocket no longer works 
.

In FilterJars class there is a call to read webSocket from catalina.properties.

This worked but for a reason now the catalina.properties file is not found 
(location not resolved) and put in propertiesNotFound variable.

So websocket is always sets to false. I'm checking why...

Jacques


Le 11/12/2017 à 13:01, Jacques Le Roux a écrit :

Hi Pallavi,

One thing you could do if you find more information is to reopen OFBIZ-7538

Jacques


Le 11/12/2017 à 11:46, Pallavi Goyal a écrit :

Hello All,

I am working on the Web Socket implementation in OFBiz taking reference
from OFBIZ-7073  and
OFBIZ-7467 .

When I open the main page of example component and check the console log
for js, it gives the error-

ExamplePushNotifications.js:23
WebSocket connection to 'wss://localhost:8443/example/ws/pushNotifications'
failed: Error during WebSocket handshake: Unexpected response code: 404
(anonymous) @ ExamplePushNotifications.js:23

According to OFBIZ-7538 ,
the websocket example stopped working.

Please suggest me how should I proceed further?

I have also posted the question on stack overflow, here

.

Thanks in advance!

Pallavi Goyal








[OFBIZ] - Job schedules and Multi instance

2018-01-02 Thread Trà Đá Một Mình
Hi all,

I met a problem. I have more than one instance running my application. When
I schedules some services using runAsync, ofbiz auto create jobs. And when
job is started, ofbiz pick one of my instances to process. But, in my case:
when I made an request, I dedicated this to instance A, but after that,
when job start, it run on another instance B. I just want to it running on
A.

Thanks!

-- 
*THANG NGUYEN (Mr)*

*OLBIUS DEVELOPER**Email:* nguyenthang0...@gmail.com| *Mobile:* (+84) 96
955 0905

*OLBIUS., JSC*
*Tel:* (+84) 9 88 99 
*Address: *25th Fl., No 91, Nguyen Chi Thanh St., Ha Noi City, VietNam
*Website:* http://olbius.com