Re: OFBiz 16.11.01 installation failed

2017-03-30 Thread Konsultan OFBiz
Dear Mr. Jacques,

Thanks for your response. Following your instruction, here is the report
with stacktrace option:

F:\ofbiz>gradlew cleanAll loadDefault ofbiz --stacktrace
:clean
:cleanAnt
:cleanCatalina
:cleanData
:cleanDownloads
:cleanEclipseClasspath UP-TO-DATE
:cleanEclipseJdt UP-TO-DATE
:cleanEclipseProject UP-TO-DATE
:cleanEclipse UP-TO-DATE
:cleanFooterFiles
:cleanGradle
:cleanIndexes
:cleanLogs
:cleanOutput
:cleanTempfiles
:cleanUploads
:cleanXtra
:cleanAll
:compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:processResources
:classes
:jar
:assemble
:compileTestJava
:processTestResources UP-TO-DATE
:testClasses
:test
:check
:build
:ofbiz --load-data
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/cl
i/ParseException :ofbiz --load-data
at org.apache.ofbiz.base.start.Start.main(Start.java:60)
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.cli.ParseExcepti
on
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 1 more
:ofbiz --load-data FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ofbiz --load-data'.
> Process 'command 'C:\Program Files\Java\jdk1.8.0_121\bin\java.exe''
finished w
ith non-zero exit value 1

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task
':ofbiz -
-load-data'.
at
org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.ex
ecuteActions(ExecuteActionsTaskExecuter.java:69)
at
org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.ex
ecute(ExecuteActionsTaskExecuter.java:46)
at
org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExec
uter.execute(PostExecutionAnalysisTaskExecuter.java:35)
at
org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.exec
ute(SkipUpToDateTaskExecuter.java:68)
at
org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execut
e(ValidatingTaskExecuter.java:58)
at
org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecu
ter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
at
org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter
.execute(SkipTaskWithNoActionsExecuter.java:52)
at
org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execut
e(SkipOnlyIfTaskExecuter.java:53)
at
org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter
.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at
org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTa
skWorker.execute(DefaultTaskGraphExecuter.java:203)
at
org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTa
skWorker.execute(DefaultTaskGraphExecuter.java:185)
at
org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorW
orker.processTask(AbstractTaskPlanExecutor.java:66)
at
org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorW
orker.run(AbstractTaskPlanExecutor.java:50)
at
org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(Defaul
tTaskPlanExecutor.java:25)
at
org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(Defau
ltTaskGraphExecuter.java:110)
at
org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTask
ExecutionAction.java:37)
at
org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecute
r.java:37)
at
org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExec
uter.java:23)
at
org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecu
ter.java:43)
at
org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildEx
ecutionAction.java:32)
at
org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecute
r.java:37)
at
org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecute
r.java:30)
at
org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLa
uncher.java:154)
at org.gradle.internal.Factories$1.create(Factories.java:22)
at
org.gradle.internal.progress.DefaultBuildOperationExecutor.run(Defaul
tBuildOperationExecutor.java:90)
at
org.gradle.internal.progress.DefaultBuildOperationExecutor.run(Defaul
tBuildOperationExecutor.java:52)
at
org.gradle.initialization.DefaultGradleLauncher.doBuildStages(Default
GradleLauncher.java:151)
at
org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGra
dleLauncher.java:32)
at
org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradl
eLauncher.java:99)
at
org.gradle.initial

Re: Any interest in an OFBiz User Conference?

2017-03-30 Thread Sharan Foga
Thanks very much for the feedback Paul and I totally agree with you although it 
sounds like not many people from the community are interested at the moment. 
Even so I'd still like to have a go at trying to organise something just as a 
proof of concept. :-)

Thanks
Sharan

On 2017-03-17 00:11 (+0200), Paul Mandeltort  wrote: 
> I think this would be far more beneficial - you could easily spend an entire 
> conference on just OFbiz alone from the business perspective. 
> 
> Could have tracks on data integration, dev ops, networking, server 
> optimization, dockerizing stuff, migrating to cloud services, user feedback, 
> etc. And of course networking. 
> 
> —P
> 
> > On Mar 16, 2017, at 2:27 AM, Sharan Foga  wrote:
> > 
> > Hi Everyone
> > 
> > I'm posting a message here to see if there is any interest in organising an 
> > OFBiz user conference. Our project doesn't currently hold any meetups at 
> > all and we generally only meetup at Apachecon if we have an OFBiz track 
> > included.
> > 
> > For Apachecon NA 2017 , unfortunately no OFBiz related talks were selected 
> > but I'm wondering if OFBiz users would like to have our own conference 
> > which would be something more tailored to OFBiz.
> > 
> > I did start a thread on our dev list but am also asking here to get 
> > feedback from our user community too.
> > 
> > https://s.apache.org/SYXy
> > 
> > What do people think?
> > 
> > Thanks
> > Sharan
> 
> 


Re: Relate Purchase Order with Sales Order

2017-03-30 Thread jcardenasvar
Thanks for the advice and help, I will review these entities and see how
procedure is done in the UI.

Regards



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Relate-Purchase-Order-with-Sales-Order-tp4704120p4704156.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Any interest in an OFBiz User Conference?

2017-03-30 Thread Michael Brohl
Great idea, Sharan!

Regards,

Michael


> Am 16.03.2017 um 10:27 schrieb Sharan Foga :
> 
> Hi Everyone
> 
> I'm posting a message here to see if there is any interest in organising an 
> OFBiz user conference. Our project doesn't currently hold any meetups at all 
> and we generally only meetup at Apachecon if we have an OFBiz track included.
> 
> For Apachecon NA 2017 , unfortunately no OFBiz related talks were selected 
> but I'm wondering if OFBiz users would like to have our own conference which 
> would be something more tailored to OFBiz.
> 
> I did start a thread on our dev list but am also asking here to get feedback 
> from our user community too.
> 
> https://s.apache.org/SYXy
> 
> What do people think?
> 
> Thanks
> Sharan


smime.p7s
Description: S/MIME cryptographic signature


Re: Cash Register App?

2017-03-30 Thread james yong
Hi Jacques,

A recommendation list from thoughtworks at
https://www.thoughtworks.com/radar/languages-and-frameworks. May not be
applicable to this project but a good read imo.

Regards,
James Yong


Jacques Le Roux wrote
> Hi,
> 
> Googling for "Vue.js vs Polymer" I got these
> 
> https://www.slant.co/versus/11171/11378/~polymer_vs_vue-js
> 
> https://vuejs.org/v2/guide/comparison.html#Polymer
> 
> As I read recently somewhere, it's like a non mother tongue, learning it
> is a thing, but you really need to use it (everyday if possible) to master 
> it, and in this case have an opinion (of course you can't have an opinion
> about a foreign language ;))
> 
> I think if we decide to put in a new js framework (w/o removing jQuery) it
> needs to be discussed in the dev ML...
> 
> Jacques
> 
> 
> Le 29/03/2017 à 09:06, james yong a écrit :
>> Hi Jinghai,
>>
>> Not sure about your use-case, but you can consider VueJS to avoid a
>> complete
>> rewrite.
>> Can also avoid NodeJS if you prefer not to use it.
>>
>> Regards,
>> James Yong
>>
>>
>> Shi Jinghai-3 wrote
>>> Hi Jacques,
>>>
>>> Sorry for my late reply. A hard question and difficult to reponse.
>>>
>>> Currently, our WebPOS implement is not perfect. We plan to use AngularJS
>>> rebuild it completely and make it look just the same as our Android POS.
>>> This will take us a month.
>>>
>>> After this change, we'll try to improve the OFBiz WebPOS with AngularJS.
>>> This would take place in about 2 months.
>>>
>>> Kind Regards,
>>>
>>> Shi Jinghai
>>>
>>>
>>> -邮件原件-
>>> 发件人: Jacques Le Roux [mailto:
>>> jacques.le.roux@
>>> ]
>>> 发送时间: 2017年3月14日 18:20
>>> 收件人:
>>> user@.apache
>>> 主题: Re: Cash Register App?
>>>
>>> Hi Jinghai,
>>>
>>> Are there improvements that could be contributed?
>>>
>>> Jacques
>>>
>>>
>>> Le 14/03/2017 à 08:39, Shi Jinghai a écrit :
 I have a webpos in production:
 https://www.metasolo.cn/webpos/control/main
 Username: demo
 Password: metasolo

 Sorry it's in Chinese. The English version is not ready.

 -邮件原件-
 发件人: Jacques Le Roux [mailto:
>>> jacques.le.roux@
>>> ]
 发送时间: 2017年3月14日 14:16
 收件人:
>>> user@.apache
 主题: Re: Cash Register App?

 Hi,

 There was one, it was the POS. It has been pushed to Attic
 https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Attic#OFBizAttic-POS

 I have not used the webpos application myself but it's supposed to be
 the
 POS replacement

 https://demo-trunk.ofbiz.apache.org/webpos/control/main (admin/ofbiz)

 Jacques


 Le 14/03/2017 à 03:09,
>>> stimits@
>>>   a écrit :
> Hi,
> 
> Browsing through some of the setup for the demo data, I'm wondering if
> there is a specific app which would demonstrate what a salesman at a
> cash register might use for a retail customer in the store buying
> something? There seems to be a lot of ability to add and set up the
> store and various products, but I'm wondering if there is something
> specifically representing an actual in-store sale? Is there a simple
> default?
> 
> Thanks!
>

>>
>>
>>
>>
>> --
>> View this message in context:
>> http://ofbiz.135035.n4.nabble.com/Re-Cash-Register-App-tp4704063p4704100.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>





--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Re-Cash-Register-App-tp4704063p4704165.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Cash Register App?

2017-03-30 Thread Jacques Le Roux

Thanks James,

Quite interesting, I'll have a deeper look when I will get a chance. From the 
few I just read, Vue would be a good complement of jQuery

Jacques


Le 30/03/2017 à 16:01, james yong a écrit :

Hi Jacques,

A recommendation list from thoughtworks at
https://www.thoughtworks.com/radar/languages-and-frameworks. May not be
applicable to this project but a good read imo.

Regards,
James Yong


Jacques Le Roux wrote

Hi,

Googling for "Vue.js vs Polymer" I got these

https://www.slant.co/versus/11171/11378/~polymer_vs_vue-js

https://vuejs.org/v2/guide/comparison.html#Polymer

As I read recently somewhere, it's like a non mother tongue, learning it
is a thing, but you really need to use it (everyday if possible) to master
it, and in this case have an opinion (of course you can't have an opinion
about a foreign language ;))

I think if we decide to put in a new js framework (w/o removing jQuery) it
needs to be discussed in the dev ML...

Jacques


Le 29/03/2017 à 09:06, james yong a écrit :

Hi Jinghai,

Not sure about your use-case, but you can consider VueJS to avoid a
complete
rewrite.
Can also avoid NodeJS if you prefer not to use it.

Regards,
James Yong


Shi Jinghai-3 wrote

Hi Jacques,

Sorry for my late reply. A hard question and difficult to reponse.

Currently, our WebPOS implement is not perfect. We plan to use AngularJS
rebuild it completely and make it look just the same as our Android POS.
This will take us a month.

After this change, we'll try to improve the OFBiz WebPOS with AngularJS.
This would take place in about 2 months.

Kind Regards,

Shi Jinghai


-邮件原件-
发件人: Jacques Le Roux [mailto:
jacques.le.roux@
]
发送时间: 2017年3月14日 18:20
收件人:
user@.apache
主题: Re: Cash Register App?

Hi Jinghai,

Are there improvements that could be contributed?

Jacques


Le 14/03/2017 à 08:39, Shi Jinghai a écrit :

I have a webpos in production:
https://www.metasolo.cn/webpos/control/main
Username: demo
Password: metasolo

Sorry it's in Chinese. The English version is not ready.

-邮件原件-
发件人: Jacques Le Roux [mailto:

jacques.le.roux@
]

发送时间: 2017年3月14日 14:16
收件人:

user@.apache

主题: Re: Cash Register App?

Hi,

There was one, it was the POS. It has been pushed to Attic
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Attic#OFBizAttic-POS

I have not used the webpos application myself but it's supposed to be
the
POS replacement

https://demo-trunk.ofbiz.apache.org/webpos/control/main (admin/ofbiz)

Jacques


Le 14/03/2017 à 03:09,

stimits@
   a écrit :

Hi,
 
Browsing through some of the setup for the demo data, I'm wondering if

there is a specific app which would demonstrate what a salesman at a
cash register might use for a retail customer in the store buying
something? There seems to be a lot of ability to add and set up the
store and various products, but I'm wondering if there is something
specifically representing an actual in-store sale? Is there a simple
default?
 
Thanks!






--
View this message in context:
http://ofbiz.135035.n4.nabble.com/Re-Cash-Register-App-tp4704063p4704100.html
Sent from the OFBiz - User mailing list archive at Nabble.com.






--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Re-Cash-Register-App-tp4704063p4704165.html
Sent from the OFBiz - User mailing list archive at Nabble.com.





Re: Any interest in an OFBiz User Conference?

2017-03-30 Thread Taher Alkhateeb
Why not, let's give it a try and see how it rolls out.

On Thu, Mar 30, 2017 at 3:43 PM, Michael Brohl 
wrote:

> Great idea, Sharan!
>
> Regards,
>
> Michael
>
>
> > Am 16.03.2017 um 10:27 schrieb Sharan Foga :
> >
> > Hi Everyone
> >
> > I'm posting a message here to see if there is any interest in organising
> an OFBiz user conference. Our project doesn't currently hold any meetups at
> all and we generally only meetup at Apachecon if we have an OFBiz track
> included.
> >
> > For Apachecon NA 2017 , unfortunately no OFBiz related talks were
> selected but I'm wondering if OFBiz users would like to have our own
> conference which would be something more tailored to OFBiz.
> >
> > I did start a thread on our dev list but am also asking here to get
> feedback from our user community too.
> >
> > https://s.apache.org/SYXy
> >
> > What do people think?
> >
> > Thanks
> > Sharan
>


Re: WebPOS Setup

2017-03-30 Thread Jacques Le Roux

Le 29/03/2017 à 22:29, stim...@comcast.net a écrit :

Hi,
  
I was looking at this document regarding the POS setup:

https://cwiki.apache.org/confluence/display/OFBIZ/POS+System
  
This in turn mentions another document here, described as "POS Setup Process":

http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide#ApacheOFBizTechnicalProductionSetupGuide-POSSetupProcess
  
Unfortunately that document is an invalid link. Does anyone know if this was moved somewhere and is still available?
Yes, while changing the content of the https://cwiki.apache.org/confluence/display/OFBIZ/Apache+OFBiz+Technical+Production+Setup+Guide page it to 
reflect the Gradle move from Ant,  I put a link to the previous version in the top of the page. So it was easy to change the faulty link. It's now 
done, HTH


  
Basically, when starting with seed and no demo data, I'm looking for a way to log in to the WebPOS (I've already added the admin user and some other details). The problem is that WebPOS can't log in without picking a terminal ("Choose Terminal" is empty), but there are no terminals to choose, so I was hoping the above document would mention how to add a terminal. If that document is not available, perhaps someone could mention which menu or web page to use for adding terminals when there are none to start with.
  
Thanks!



I don't know well the webPOS, I hope someone else will be able to help you

Jacques



Re: WebPOS Setup

2017-03-30 Thread stimits
Hi,
 
Thanks for the update, links now work.
 
I still see older docs which don't seem to be correct for gradlew. In 
particular I'm thinking the command for starting a standalone POS might help as 
this would maybe create a terminal...and the current WebPOS can't be logged in 
to without a terminal. The command listed here does not exist in 16.11.01 
(gradlew) ofbiz:
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=65866466#ApacheOFBizTechnicalProductionSetupGuide-POSSetupProcess
 
That command (with jar file location being corrected) is:
java -jar ./build/libs/ofbiz.jar --pos
 
Does anyone here know if WebPOS terminals are not actually something added as 
data and instead reflect actually running POS terminals? If so, how does one 
start a terminal under gradlew? If not, how does one add a terminal to the 
database since the POS app cannot be logged into without a pre-existing 
terminal (a bit of a proverbial "catch-22").
 
Thanks!
 
- Original Message -From: Jacques Le Roux 
To: user@ofbiz.apache.orgSent: Thu, 30 Mar 2017 
19:36:07 - (UTC)Subject: Re: WebPOS Setup

Le 29/03/2017 à 22:29, stim...@comcast.net a écrit :> Hi,> > I 
was looking at this document regarding the POS setup:> 
https://cwiki.apache.org/confluence/display/OFBIZ/POS+System> > This in turn 
mentions another document here, described as "POS Setup Process":> 
http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide#ApacheOFBizTechnicalProductionSetupGuide-POSSetupProcess>
 > Unfortunately that document is an invalid link. Does anyone know if this was 
moved somewhere and is still available?Yes, while changing the content of the 
https://cwiki.apache.org/confluence/display/OFBIZ/Apache+OFBiz+Technical+Production+Setup+Guide
 page it to reflect the Gradle move from Ant, I put a link to the previous 
version in the top of the page. So it was easy to change the faulty link. It's 
now done, HTH

> > Basically, when starting with seed and no demo data, I'm looking for a way 
> > to log in to the WebPOS (I've already added the admin user and some other 
> > details). The problem is that WebPOS can't log in without picking a 
> > terminal ("Choose Terminal" is empty), but there are no terminals to 
> > choose, so I was hoping the above document would mention how to add a 
> > terminal. If that document is not available, perhaps someone could mention 
> > which menu or web page to use for adding terminals when there are none to 
> > start with.> > Thanks!>I don't know well the webPOS, I hope someone else 
> > will be able to help you

Jacques



Permissions Profiling

2017-03-30 Thread Ryan Moriarty
I've been asked to do a review of user permissions in our OFBiz
installation. Is there any good method (besides searching through the code
base one-by-one) of determining what services and screens a user has access
to, given a certain SecurityPermission?  Perhaps XPath queries against
service definitions and implementations? If anyone else has done this and
has ideas, I would appreciate the input.


Re: WebPOS Setup

2017-03-30 Thread Jacques Le Roux

Le 30/03/2017 à 23:34, stim...@comcast.net a écrit :

Hi,
  
Thanks for the update, links now work.
  
I still see older docs which don't seem to be correct for gradlew. In particular I'm thinking the command for starting a standalone POS might help as this would maybe create a terminal...and the current WebPOS can't be logged in to without a terminal. The command listed here does not exist in 16.11.01 (gradlew) ofbiz:

https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=65866466#ApacheOFBizTechnicalProductionSetupGuide-POSSetupProcess
  
That command (with jar file location being corrected) is:

java -jar ./build/libs/ofbiz.jar --pos
Actually the POS has been pushed to Attic just before creating the R16 branch, where Gradle was 1st put in. That's why the doc also stop with Ant. The 
WebPos is not concerned and is something different.

Does anyone here know if WebPOS terminals are not actually something added as 
data and instead reflect actually running POS terminals?
Yes something like that indeed, but it's the notion of POS terminal, not Linux Terminal. A POS terminal is where the client pay. I can't say more 
about this, and it's maybe wrong.

If so, how does one start a terminal under gradlew?

I guess you need to have an OFBiz instance running where the client pay.

I hope someone will confirm, I was the POS maintainer, but don't know well the 
WebPos.

Jacques

If not, how does one add a terminal to the database since the POS app cannot be logged 
into without a pre-existing terminal (a bit of a proverbial "catch-22").
  
Thanks!
  
- Original Message -From: Jacques Le Roux To: user@ofbiz.apache.orgSent: Thu, 30 Mar 2017 19:36:07 - (UTC)Subject: Re: WebPOS Setup


Le 29/03/2017 à 22:29, stim...@comcast.net a écrit :> Hi,> > I was looking at this document 
regarding the POS setup:> https://cwiki.apache.org/confluence/display/OFBIZ/POS+System> > This in turn mentions 
another document here, described as "POS Setup Process":> 
http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide#ApacheOFBizTechnicalProductionSetupGuide-POSSetupProcess>
 > Unfortunately that document is an invalid link. Does anyone know if this was moved somewhere and is still 
available?Yes, while changing the content of the 
https://cwiki.apache.org/confluence/display/OFBIZ/Apache+OFBiz+Technical+Production+Setup+Guide page it to reflect the 
Gradle move from Ant, I put a link to the previous version in the top of the page. So it was easy to change the faulty link. 
It's now done, HTH


Basically, when starting with seed and no demo data, I'm looking for a way to log in to the WebPOS 
(I've already added the admin user and some other details). The problem is that WebPOS can't log 
in without picking a terminal ("Choose Terminal" is empty), but there are no terminals 
to choose, so I was hoping the above document would mention how to add a terminal. If that 
document is not available, perhaps someone could mention which menu or web page to use for adding 
terminals when there are none to start with.> > Thanks!>I don't know well the webPOS, I 
hope someone else will be able to help you

Jacques