Re: Tutorial for ofbiz structure for further development

2023-07-09 Thread Taher Alkhateeb

Hello Amol,

So gradle in OFBiz executes two sets of commands. One set executes main 
function with special CLI arguments (start, stop, status) and another set of 
commands that do not invoke main and instead does some housekeeping work 
(download, compile, delete, move, etc ...)

so cleanAll for example is a task executed directly by gradle and it mostly 
deletes files.

On the other hand loadAll is a CLI command that makes its way to the main 
function to issue special commands to start OFBiz data load container. 
Naturally this means loadAll depends on compiling (build)

It's hard to be more detailed than this without having to go deep into code. If 
you have more questions I will try to answer them for you but I hope this sheds 
some light into the build process.

I also recommend your read into gradle and the build phases of gradle.

Cheers

Taher Alkhateeb

On Sunday, July 09, 2023 17:04 +03, Amol Patil  wrote:
 Hello,

How does 'gradlew cleanall loadall' create all the tables in the database,
I mean which file works on this command? Where is the tutorial or details
of all gradlew commands?

Thank you.

On Mon, Mar 6, 2023 at 10:14 PM Amol Patil  wrote:

> Hello,
>
> I want to know about the structure of latest Ofbiz version i.e. How the
> apache server is configured, how database and tables are configured, about
> the view and backend code for the default applications.
>
> Please help.
>
> --
> Regards,
> Amol Patil.
>


--
Regards,
Amol Patil.


Re: OFbiz/Tomcat vs Ofbiz/Tomcat/Apache to serve static resources

2023-01-24 Thread Taher Alkhateeb

Hi Giulio,

I think your best bet to answer this question is not to do get a theoretical 
answer but rather to do testing yourself under load and then check performance. 
Nothing beats an actual test IMHO. 

So perhaps use a tool like apache JMeter combined with some scripting to 
facilitate stress-testing both configurations. This would give you the most 
accurate result that also happens to measure things against your _actual_ 
network configuration and all other details that are only specific for your 
envionrment (e.g. other micro-services, load-balancers, etc ...).

I hope this might be useful.

Regards,

Taher

On Tuesday, January 24, 2023 12:38 +03, Giulio Speri - MpStyle Srl 
 wrote:
 Hello everyone,

I hope I found you all well!

I would like to ask you an opinion regarding serving static resources of a
website powered by OFBiz.

We are going to perform a system upgrade (from Ofbiz 13.07.03 to latest)
and we are evaluating who should serve the static resource: now they are
served by Apache Web Served who acts like a proxy in front of OFBiz
application.

Since Tomcat webserver has been upgraded and improved over the years
(version 13.07 is shipped with Tomcat 7) could it be worthy to make it
serve the static resources or having an Apache Web Server in front is still
a better (for performances) solution?

The website involved is an e-commerce site, so there are periods of quite
high traffic load.

What do you think about it?

Thank you all in advance and have a great day ahead,

Giulio


--
Giulio Speri


*Mp Styl**e Srl*
via Antonio Meucci, 37
41019 Limidi di Soliera (MO)
T 059/684916
M 347/0965506

www.mpstyle.it


Re: Calling grubbgroovy device from form field

2023-01-23 Thread Taher Alkhateeb

Hello,

So you cannot call groovy, or any other programming language for that matter, 
from your browser. The only thing you can call from the browser is javascript 
and the DOM.

So if you want to wire a button to some piece of code that you would like to 
execute, then this is simply a good-old http-request / http-response thing just 
like in any other technology / programming language / framework.

So what you want to do, is to call an end-point that is defined in 
Controller.xml and pass whatever parameters you need to it, and from there now 
you're in server-land and you can do whatever you're used to in OFBiz. Note 
that it's quite different to call an HTTP end-point by submitting a form (the 
browser does it) vs calling it from Javascript (you do it) because in the 
latter case you are not redirected to another page.

In other words, perhaps the problem is simply not differentiating between what 
is server-side code and client-side code. If you make the distinction clear 
then you just realize it's a matter of HTTP communication between the two.

I hope this helps!

Cheers,

Taher Alkhateeb

On Tuesday, January 24, 2023 04:09 +03, Ernest Hocking 
 wrote:
 Hi everyone

I'd like to use groovy to implement some business logic and call that logic
from a button in a form.

E.g Add a button on the product measures form to calculate the volume
given a product's dimensions.. I've tried







I can call/test the service "testCalc" from webtools etc but not use the
button.

Can anyone point me to an example in the existing code base that I can use
as a reference model.

thanks in advance

Ernest


Re: OFBiz Community Days – May 2020

2020-05-11 Thread Taher Alkhateeb

The health of the project from my perspective is not necessarily in how many 
patches / pull requests are approved. In fact, there is nothing easier than 
simply going through all patches and applying them one by one. For me quality 
wins over quantity and 10 clean lines of code are better than 100 hasty ones. 
There is in fact a term for hasty and low quality code. It's called technical 
debt.

One place where cleanup is needed in fact are the tickets themselves. Perhaps 
in the community days we can focus on that part. Some of tickets are better off 
closed instead of keeping them as dead weight.
 
On Monday, May 11, 2020 14:23 +03, Pierre Smits  wrote:
 While I agree that improving the content in the wiki is important and
should be a theme of upcoming OFBiz Community Days, collaborating to get as
much patches (currently more than 300 tickets listed, see [1]) as possible
reviewed and/or implemented into the code base is equally important.

Not only does it shorten the list of open tickets (currently more than
1500), but it also sends a strong signal to (adopters) and contributors:
that the community works as fast as possible to get the (valuable)
contributions of members implemented.

[1]
https://issues.apache.org/jira/issues/?jql=project%20%3D%20OFBIZ%20AND%20status%20%3D%20%22Patch%20Available%22%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20priority%20DESC%2C%20updated%20DESC

Met vriendelijke groet,

Pierre Smits
*Proud* *contributor** of* Apache OFBiz  since
2008 (without privileges)

*Apache Trafodion , Vice President*
*Apache Directory , PMC Member*
Apache Incubator , committer
Apache Steve , committer


On Mon, May 11, 2020 at 11:20 AM Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Thanks Devanshu,
>
> After our move to Git we have finally cleaned our site from information
> referring to Svn, and that's good.
>
> But there is still much such info in the wiki and it can be confusing.
>
> I suggest that we concentrate much of our efforts during this Community
> Day to clean the wiki.
>
> We can adapt to Git and keep in wiki when needed, or move in Attic under a
> specific "Subversion" page when really too deprecated.
>
> I know, for most of us, it's not as easy as coding with Git and GitHub.
> But Confluence now also easily allows to share tasks and merge when needed.
>
> We should not hesitate to prune much, nothing worse than obsolete and
> confusing documentation
>
> I hope everyone will help, it's really long due :)
>
> Thanks
>
> Jacques
>
>
> Le 11/05/2020 à 06:40, Devanshu Vyas a écrit :
> > Hello all,
> >
> > We are back with OFBiz Community Days, hope you are excited too! :-)
> > The community days are organized once per quarter so a total of four (4)
> > events throughout the year.
> >
> > We are having a sequence of 5 days that form the Community Days. This
> > extends the time frame and gives people more flexibility to contribute.
> > So, this month our Community Days will be from *22nd – 26th May 2020*.
> >
> > If you are new to the concept of Community Days then please take a look
> at
> > the following wiki pages:
> > https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Community+Days
> >
> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Community+Days+Dates
> >
> > This is such an event where anyone can participate (and we would like to
> > encourage as many people as possible to do so)
> >
> > If there is an OFBiz task or particular area that you would like to work
> on
> > then please see if you can set aside some time over the next few days to
> do
> > it. (Even an hour will help!)
> >
> > Remember that you do not have to work on it alone, our Community Days are
> > also a chance to collaborate with others in the community.
> >
> > Our Community Days are not only coding related, but we would also like to
> > do some tidy up of our wiki and our project documentation.
> >
> > *Testing, Review and Committing Patches*
> > Testing and applying patches is always an important area. Many
> contributors
> > from the community have provided patches for bugs and improvements but
> > before committing them we need to test to them.
> >
> > Patches can become out of date very quickly meaning that if they are not
> > tested early enough then they can miss out on being included. We have a
> > large number of patches available so this could be a good opportunity for
> > test, review and commit.
> >
> > *Documentation*
> > We know that our current documentation could be a whole lot better so any
> > contribution that helps us improve it is welcome.
> >
> > *Jira Sprint*
> > I will create a Jira sprint "OFBiz Community Day (May 2020)" so please
> add
> > any Jira tasks when you are working on it.
> > This Jira Sprint helps us track and report on the work done during the
> > Community Days so please try to make sure your work is 

Re: Open Source Enterprise Job Scheduler with Ofbiz in Production

2020-05-07 Thread Taher Alkhateeb

It seems from your input the work you want to schedule is simple and limited to 
OFBiz resources. If my understanding is correct, then a separate job scheduling 
system might be an overkill for simple housekeeping tasks. So to me the 
simplest solution is to:

1- create services in OFBiz for tasks that do not require shutting down OFBiz 
and schedule them using OFBiz scheduler. If you need access to the OS you can 
use processes [1]
2- create cron / windows jobs for the rest. The logic for these tasks can be 
placed in gradle (already ships with OFBiz) and you can define dependencies 
between these tasks from gradle [2]

The above solution would keep you inside the eco-system of OFBiz and is easier 
to implement. I would only recommend moving to a full fledged job scheduling 
system if the complexity is very high, you have many nodes, and there is a lot 
of work todo.

[1] https://docs.oracle.com/javase/8/docs/api/index.html?java/lang/Process.html
[2] 
https://docs.gradle.org/current/userguide/tutorial_using_tasks.html#sec:task_dependencies

On Thursday, May 07, 2020 14:42 +03, Sakthivel Vellingiri 
 wrote:
 Thanks Pierre & Taher for the responses

@Taher - Sorry for not providing additional details, i think you have fair
questions, i deploy ofbiz in windows and linux environments, i'm looking
for a cross platform scheduler that works in both windows and linux that
supports dependencies between tasks, the tasks include but not limited to
restarting ofbiz, taking database backups, cleanup logs etc all at a
particular frequency but with dependencies between them

@Pierre - will take a look at airflow
regards

On Thu, May 7, 2020 at 6:55 AM Taher Alkhateeb 
wrote:

>
> Hello,
>
> The quetion is probably too broad for any recommendation. It really
> depends. It also depends on the task being scheduled and how much
> complexity do you need in the scheduling. If it is just a frequency thing,
> then maybe cron is a perfectly suitable solution. If on the other hand you
> have complex scheduling then other solutions might fit. IT also depends on
> your environment. Are you on docker / container manager (e.g. swarm,
> kubernets) then there are automation tools over there.
>
> The bottom line, the question is hard to answer. It Depends! You need to
> be specific with your problem and specific with your environment for people
> to help you with recommendations
>
>
> On Thursday, May 07, 2020 13:36 +03, Sakthivel Vellingiri <
> info.integ...@gmail.com> wrote:
> Thanks Eugen for the response, i'm looking for recommendations in Open
> Source Enterprise Jobscheduler for Windows & Unix in the likes of Tidal
> Workload Automation > https://www.tidalsoftware.com/, Autosys Workload
> Automation etc, Appreciate any pointers.
>
>
>
>
> On Thu, May 7, 2020 at 6:14 AM Eugen Stan  wrote:
>
> > Hi,
> >
> > It seems to me that you are looking for tooling on how to do operations.
> > I think those are environment specific.
> >
> > For example I deploy my apps using Docker and Kubernetes so most of that
> > tooling is specific to these environments.
> >
> > if you refine your question and are more specific you might get a better
> > answer.
> >
> > Regards,
> >
> > Eugen
> >
> > La 07.05.2020 12:49, Sakthivel Vellingiri a scris:
> > > Thanks Michael for the response, i understood OFBIZ comes with its own
> > > scheduler that could schedule individual services in OFBIZ, however i'm
> > > looking for an enterprise scheduler that could be used for controlling
> > > things like restarting ofbiz in a particular schedule, running database
> > > backup outside of ofbiz etc. Any insights would be greatly appreciated
> > >
> > > regards
> > >
> > > On Thu, May 7, 2020 at 4:04 AM Michael Brohl  >
> > > wrote:
> > >
> > >> Hi Sakthivel,
> > >>
> > >> OFBiz already comes with a job scheduler, see
> > >> https://demo-trunk.ofbiz.apache.org/webtools/control/scheduleJob
> > >>
> > >> Best regards,
> > >>
> > >> Michael Brohl
> > >>
> > >> ecomify GmbH - www.ecomify.de
> > >>
> > >>
> > >> Am 07.05.20 um 05:32 schrieb Sakthivel Vellingiri:
> > >>> Hi All, Wanted to reach out to see if you have any recommendation for
> > >> Open
> > >>> Source Enterprise Job Scheduler, that works well for you with Ofbiz
> (or
> > >> any
> > >>> other java based or other) in Production; Appreciate your insights
> > >>>
> > >>> regards
> > >>> Sakthivel Vellingiri
> > >>>
> > >>
> > --
> > Eugen Stan
> > +40720 898 747 / netdava.com
> >
> >
>
>
 


Re: Open Source Enterprise Job Scheduler with Ofbiz in Production

2020-05-07 Thread Taher Alkhateeb

Hello,

The quetion is probably too broad for any recommendation. It really depends. It 
also depends on the task being scheduled and how much complexity do you need in 
the scheduling. If it is just a frequency thing, then maybe cron is a perfectly 
suitable solution. If on the other hand you have complex scheduling then other 
solutions might fit. IT also depends on your environment. Are you on docker / 
container manager (e.g. swarm, kubernets) then there are automation tools over 
there.

The bottom line, the question is hard to answer. It Depends! You need to be 
specific with your problem and specific with your environment for people to 
help you with recommendations


On Thursday, May 07, 2020 13:36 +03, Sakthivel Vellingiri 
 wrote:
 Thanks Eugen for the response, i'm looking for recommendations in Open
Source Enterprise Jobscheduler for Windows & Unix in the likes of Tidal
Workload Automation > https://www.tidalsoftware.com/, Autosys Workload
Automation etc, Appreciate any pointers.




On Thu, May 7, 2020 at 6:14 AM Eugen Stan  wrote:

> Hi,
>
> It seems to me that you are looking for tooling on how to do operations.
> I think those are environment specific.
>
> For example I deploy my apps using Docker and Kubernetes so most of that
> tooling is specific to these environments.
>
> if you refine your question and are more specific you might get a better
> answer.
>
> Regards,
>
> Eugen
>
> La 07.05.2020 12:49, Sakthivel Vellingiri a scris:
> > Thanks Michael for the response, i understood OFBIZ comes with its own
> > scheduler that could schedule individual services in OFBIZ, however i'm
> > looking for an enterprise scheduler that could be used for controlling
> > things like restarting ofbiz in a particular schedule, running database
> > backup outside of ofbiz etc. Any insights would be greatly appreciated
> >
> > regards
> >
> > On Thu, May 7, 2020 at 4:04 AM Michael Brohl 
> > wrote:
> >
> >> Hi Sakthivel,
> >>
> >> OFBiz already comes with a job scheduler, see
> >> https://demo-trunk.ofbiz.apache.org/webtools/control/scheduleJob
> >>
> >> Best regards,
> >>
> >> Michael Brohl
> >>
> >> ecomify GmbH - www.ecomify.de
> >>
> >>
> >> Am 07.05.20 um 05:32 schrieb Sakthivel Vellingiri:
> >>> Hi All, Wanted to reach out to see if you have any recommendation for
> >> Open
> >>> Source Enterprise Job Scheduler, that works well for you with Ofbiz (or
> >> any
> >>> other java based or other) in Production; Appreciate your insights
> >>>
> >>> regards
> >>> Sakthivel Vellingiri
> >>>
> >>
> --
> Eugen Stan
> +40720 898 747 / netdava.com
>
>
 


Re: How to debug Groovy scripts.

2020-01-10 Thread Taher Alkhateeb
Debugger might not work given that these scripts are not directly called
within the classpath (they are enhanced with OFBiz-specific context
information. I would use print statements to debug things.

On Fri, Jan 10, 2020 at 6:55 PM Robert Wynkoop 
wrote:

> How do I debug the Groovy scripts?
>
> In netbeans and eclipse, the groovy file does not seem to be on the class
> path.
>
> I'm unable to set break points.  Any tips to configure so I can debug
> OFBiz Java embedded Groovy.
>
> [image: 2020-01-10 09_40_18-ofbiz-framework - Apache NetBeans IDE 11.2.jpg]
>
> Thanks,
>
> Robert Wynkoop
>


Re: systemd unit for OFBiz with Oracle JDK

2019-08-10 Thread Taher Alkhateeb
Hello,

I would say this is mostly a systemd question on how to setup environment
variables, not an OFBiz specific question.

The answer is probably not simple because there are many ways. One way for
example is to use Environment= or EnvironmentFile=. Alternatively you can
do something like systemctl edit ofbiz-service and then edit the conf file.
Check [1] for more info.

[1]
https://www.freedesktop.org/software/systemd/man/systemd.service.html#Command%20lines

On Sat, Aug 10, 2019, 2:05 PM Bagas Sanjaya  wrote:

> Hello,
>
> I'd like to create systemd unit for my OFBiz setup which run with JDK from
> Oracle.
>
> However, I don't know how to set environment variables required (JAVA_HOME
> and PATH). How can I set them correctly?
>
> I installed Oracle JDK to /opt/jdk1.8.0_201 and OFBiz to
> /opt/apache-ofbiz-16.11.05.
>
> Kind regards, Bagas
>
> --
> An old man doll... just what I always wanted! - Clara
>
>


Re: Help - Migration from OFBiz 3.0 to 16.11

2019-07-02 Thread Taher Alkhateeb
Hello Lokesh,

There is little information to build upon to help you. Your question
is rather high level that I'm not sure I can be helpful. One point to
note though is that the ZUL library is deprecated and so I'm not sure
how much was invested in writing code with it. Furthermore, there are
probably way too many changes since that version, so you might want to
consider a rewrite to some portions of your system. You can probably
preserve custom components but I have no idea how much work would it
be to integrate framework / application component changes.

Perhaps take it one step at a time, break the problem down to
manageable chunks and ask for help on those chunks with more specific
problems / sticking points.

Welcome to the community and I wish you the best of luck!

On Tue, Jul 2, 2019 at 6:25 PM Lokesh  wrote:
>
> Hey there,
>
> I am new to OFBiz and i am tasked to upgrade one of the project having OFBiz
> 3.0 to 16.11.
>
> Below is high level summary of project details:
>
> *The application is built using OFBiz V3.0 and ZK ZUL for UI as below:
> *Apache OFBiz 3.3
> ZK ZUL for UI
> JDK 1.6
> Apache Tomcat 6.0
> MySQL 5. 5(we used extensively the Project and Person related tables)
>
> *We need to upgrade the OFBiz to latest as below:
> *Upgrade OFBiz to V 16.11
> Update JDK to 8.0
>
> The application has some workflow which is implemented via OFBiz.
>
> Being a newbie, i am exploring the 16.11 beginner guide and demo app.
> However to speedup the migration project, i request more pointers from the
> forum users.
>
> Thanks in advance!
>
> Regards
> Lokesh
>
>
>
> --
> Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html


Re: OFBiz and Camel integration updated

2019-06-17 Thread Taher Alkhateeb
Hopefully the code still works. If yes, I think it would be a good
plugin to add.

Either way, I think this discussion should perhaps move to the
development mailing list.

On Mon, Jun 17, 2019 at 1:04 PM Rishi Solanki  wrote:
>
> Dear Bilgin/Taher,
> I tried to look into the plugins and Jira could not found anything related.
> Although some discussion is there but I see plugin is not added into OFBiz
> till now. Can you please share any reference if I missed something?
>
> I see the code in the Bilgin's repo and seems we can take it as ground and
> test then commit it. If Bilgin allows then extend ofbiz-camel component to
> next level if possible. And it too late to reply on this thread but I also
> feel that the plugin should be part of OFBiz repo.
>
> Please suggest if all agree then I can go ahead to create Jira, test,
> enhance and proceed.
>
> Best Regards,
> --
> Rishi Solanki
> Sr Manager, Enterprise Software Development
> *HotWax Systems*
> *Enterprise open source experts*
> cell: +91-98932-87847
> http://www.hotwaxsystems.com
>
> On Thu, Mar 22, 2018 at 4:00 PM Taher Alkhateeb 
> wrote:
>
> > 1- create a JIRA
> > 2- provide a patch or reference to your github repo and get some feedback
> > 3- commit in $OFBIZ_HOME/plugins/
> >
> > Given that you're the expert in this domain, I doubt you'll get any
> > feedback on the design. However there are a few things which might
> > need changing, for example:
> > - Putting apache 2 license header in files
> > - deleting the data directory given it is empty
> > - moving the documentation to src/docs/asciidoc
> > - removing some commented-out code
> >
> > I'd help you out if you'd need my help in anything BTW.
> >
> > On Thu, Mar 22, 2018 at 12:59 PM, Bilgin Ibryam  wrote:
> > > On Wed, Mar 21, 2018 at 4:16 PM, Taher Alkhateeb
> > >  wrote:
> > >> Super awesome Bilgin,
> > >>
> > >> Maybe we should consider moving this work to plugins given how useful
> > this
> > >> feature could be? The license is compatible and the work joins two great
> > >> apache projects.
> > >
> > > Since there is considerable interest in this, it might be worth the
> > > effort. What is the processes for adding things into plugins?
> > >
> > >
> > >>
> > >> On Wed, Mar 21, 2018, 1:06 PM Bilgin Ibryam  wrote:
> > >>
> > >>> hi all,
> > >>>
> > >>> a quick heads up. I've been getting requests to fix the ofbiz-camel
> > >>> integration demo and finally did it.
> > >>> It works with the latest version of OFBiz and Camel
> > >>> Also added a nice diagram demonstrating how the integration works.
> > >>>
> > >>> https://github.com/bibryam/ofbiz-camel
> > >>>
> > >>> Cheers,
> > >>>
> > >>> --
> > >>> Bilgin Ibryam
> > >>> ASF Member | Architect at Red Hat
> > >>> http://ofbizian.com | @bibryam
> > >>>
> > >>> Kubernetes Patterns http://leanpub.com/k8spatterns (in progress)
> > >>> Camel Design Patterns https://leanpub.com/camel-design-patterns
> > >>>
> > >
> > >
> > >
> > > --
> > > Bilgin Ibryam
> > > ASF Member | Architect at Red Hat
> > > http://ofbizian.com | @bibryam
> > >
> > > Kubernetes Patterns http://leanpub.com/k8spatterns (in progress)
> > > Camel Design Patterns https://leanpub.com/camel-design-patterns
> >


Re: Unsubscribe footer

2019-06-05 Thread Taher Alkhateeb
I would recommend removing all footers from all emails. It's not worth the
extra noise for the rare occasions of some individuals not wanting to
unsubscribe.

I would also recommend that future actions with infra to be taken by a PMC
member (after community approval) since they have access to necessary
resources and are hence best fit to guide infra on the needs of the project.

On Wed, Jun 5, 2019, 11:09 AM Michael Brohl 
wrote:

> Hi all,
>
> I've already informed Infra about this step taken without approvement
> from the community, see [1]
>
> Should I ask them to remove the footers?
>
> Thanks,
>
> Michael
>
>
> [1] https://issues.apache.org/jira/browse/INFRA-18553
>
>
> Am 03.06.19 um 15:12 schrieb Michael Brohl:
> > I don't think that we need a technical enforcement, community code of
> > conduct should be enough.
> >
> > I don't see a problem with a longer signature from newcomers here and
> > there, but those who participate more often should be able to create a
> > shot signature which does not pollute the mail threads.
> >
> > Thanks,
> >
> > Michael
> >
> > Am 03.06.19 um 13:11 schrieb Jacques Le Roux:
> >> +1
> >>
> >> But I can't see a way to enforce that. Apart maybe asking infra, and
> >> even then not sure it makes sense for "external writers" who have
> >> those kinds of disclaimer messages at bottom
> >>
> >> Jacques
> >>
> >> Le 03/06/2019 à 12:36, Michael Brohl a écrit :
> >>> Good question, Taher.
> >>>
> >>> This was done without any envolvement of others. I think we should
> >>> have consensus before taking any action towards infra.
> >>>
> >>> Personally, I am not in favor of having another/additional
> >>> signatures. In the contrary, I would like to see them reduced to 1
> >>> or two lines to make them more readable.
> >>>
> >>> Some bad example with a content/noise ratio of 1:7 lines can be seen
> >>> below...
> >>>
> >>> Regards,
> >>>
> >>> Michael Brohl
> >>>
> >>> ecomify GmbH - www.ecomify.de
> >>>
> >>>
> >>> Am 03.06.19 um 12:24 schrieb Taher Alkhateeb:
> >>>> Why was this done without community agreement first?
> >>>>
> >>>> On Mon, Jun 3, 2019 at 8:59 AM Pierre Smits
> >>>>  wrote:
> >>>>> The unsubscribe footer is now in play for mail to dev@ofbiz.a.o
> >>>>>
> >>>>> Best regards,
> >>>>>
> >>>>> Pierre Smits
> >>>>>
> >
>
>


Re: Unsubscribe footer

2019-06-03 Thread Taher Alkhateeb
Why was this done without community agreement first?

On Mon, Jun 3, 2019 at 8:59 AM Pierre Smits  wrote:
>
> The unsubscribe footer is now in play for mail to dev@ofbiz.a.o
>
> Best regards,
>
> Pierre Smits
>
> *Apache Trafodion , Vice President*
> *Apache Directory , PMC Member*
> Apache Incubator , committer
> *Apache OFBiz , contributor (without privileges)
> since 2008*
> Apache Steve , committer
>
>
> On Sun, Jun 2, 2019 at 9:00 PM Pierre Smits  wrote:
>
> > Hi all,
> >
> > I have asked INFRA to place an unsubscribe footer automatically at the end
> > of each distributed posting.
> >
> > Best regards,
> >
> > Pierre
> >
> >
> > --
> > Sent from my phone
> >

-
To unsubscribe, e-mail: user-unsubscr...@ofbiz.apache.org
For additional commands, e-mail: user-h...@ofbiz.apache.org



Re: OFBiz with maven

2018-12-25 Thread Taher Alkhateeb
Hello Naveen,

Why do you want to migrate to maven?

On Tue, Dec 25, 2018 at 12:51 PM  wrote:
>
> Did anyone migrate OFBiz to maven from gradle?
>
>
>
> Thank you
>
> Naveen Metta.
>
>
>


Re: OFBiz not runnin on Windows 10

2018-12-19 Thread Taher Alkhateeb
Most likely a space issue. Make sure there are no spaces in the path
where you placed OFBiz such as "C:\users\My User\ofbiz"

On Wed, Dec 19, 2018 at 12:18 PM Michael Turner
 wrote:
>
> I've seen this problem reported, but not obviously fixed. I'm really
> only interested in responses from people who have actually tried to
> build OFBiz on Windows 10.
>
>   Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/commons/cli/ParseException
> at org.apache.ofbiz.base.start.Start.main(Start.java:60)
>   Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.cli.ParseException
>
> I'm not really familiar with Gradle and it's not at all clear to me
> where java is being asked to look for commons-cli.jar. Why isn't this
> dependency automatically fetched and put in the right place for java
> to find it?
>
> Here's what happens when I try to follow the instructions.
>
> -
> PS C:\apache-ofbiz-16.11.05> ./gradlew.bat cleanAll loadDefault
> :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
> :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/cli/ParseException
> at org.apache.ofbiz.base.start.Start.main(Start.java:60)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.cli.ParseException
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
> 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_161\bin\java.exe'' 
> > finished with non-zero exit value 1
>
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info
> or --debug option to get more log output.
>
> BUILD FAILED
>
> Total time: 57.071 secs
>
> =
>
> Regards,
> Michael Turner
> Executive Director
> Project Persephone
> 1-25-33 Takadanobaba
> Shinjuku-ku Tokyo 169-0075
> Mobile: +81 (90) 5203-8682
> tur...@projectpersephone.org
>
> Understand - http://www.projectpersephone.org/
> Join - http://www.facebook.com/groups/ProjectPersephone/
> Donate - http://www.patreon.com/ProjectPersephone
> Volunteer - https://github.com/ProjectPersephone
>
> "Love does not consist in gazing at each other, but in looking outward
> together in the same direction." -- Antoine de Saint-Exupéry


Re: Integrating OFBiz with mobile clients

2018-10-28 Thread Taher Alkhateeb
Hi Satish,

Multiple discussions happened around REST integration and it is a work
in progress right now, you can check at the developers mailing list. I
was just trying to find a solution _now_ and Michael gave me a good
starting point.
On Mon, Oct 29, 2018 at 8:00 AM satish  wrote:
>
> Hi Taher,
> It will be better if we will use HTTPS based RESTful Services with Header
> Authentication which produces and consume JSON data. For this, we can use
> Jersey RESTful Web Services framework.
>
> I think we can easily expose most of OFBiz services as REST by using the
> Jersey framework.
>
> Thanks,
> Satish Kumar
>
>
>
> --
> Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html


Re: Integrating OFBiz with mobile clients

2018-10-28 Thread Taher Alkhateeb
Simple and beautiful, it's good to know that this is doable without
issues. Thank you for sharing Michael.
On Sun, Oct 28, 2018 at 7:48 PM Michael Brohl  wrote:
>
> Hi Taher,
>
> we use http requests with authentication headers and Json as the
> exchange format.
>
> Best regards,
>
> Michael
>
>
> Am 28.10.18 um 17:08 schrieb Taher Alkhateeb:
> > Hello Folks,
> >
> > We're looking at possible architectures for communication between
> > OFBiz as a server and mobile apps (iOS & Android). In other frameworks
> > we usually achieve this using a RESTful API to communicate between
> > both end points.
> >
> > Given that we didn't (yet) implement REST integration in OFBiz, what
> > are the possible architectures? Should we go with SOAP, HTTP requests,
> > something else? What would you consider to be the pros and cons? Did
> > anyone find a simple-enough solution to this?
>
>


Integrating OFBiz with mobile clients

2018-10-28 Thread Taher Alkhateeb
Hello Folks,

We're looking at possible architectures for communication between
OFBiz as a server and mobile apps (iOS & Android). In other frameworks
we usually achieve this using a RESTful API to communicate between
both end points.

Given that we didn't (yet) implement REST integration in OFBiz, what
are the possible architectures? Should we go with SOAP, HTTP requests,
something else? What would you consider to be the pros and cons? Did
anyone find a simple-enough solution to this?


Re: OFbiz on LAMP server

2018-10-09 Thread Taher Alkhateeb
Many ways to achieve this, mike provided one.

I usually deploy multiple services behind a reverse proxy and assign a
subdomain to each service with its own port. The certbot can issue multiple
certificates in one shot and will all exist in the same file named after
the first domain.

On Tue, Oct 9, 2018, 3:05 AM Mike  wrote:

> Use:
>
> https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowToSearch
> for: "How to use mod_proxy_ajp"
>
> That's how it's done.
>
>
> On Mon, Oct 8, 2018 at 12:09 AM Wolfgang Paul Rauchholz <
> wp.rauchh...@gmail.com> wrote:
>
> > I do a have several services on my home server (CRM, personal finance.
> > etc..), that all run through apache server.
> > I do have a domain and a certificate from letsencrypt.
> >
> > I want to have the possibility to test ofibz (planning a startup and
> > travelling a lot) accessing through www
> > I want to leverage letsencrypt certificate
> > Want access through port 443
> > Certificate management through letsencrypt/apache is easier than through
> > ofbiz way
> >
> > Wolfgang
> >
> > Wolfgang
> >
> >
> > On Sun, Oct 7, 2018 at 11:38 PM Taher Alkhateeb <
> > slidingfilame...@gmail.com>
> > wrote:
> >
> > > Hi
> > >
> > > Can you shed some light on what you're trying to do? What is the
> purpose
> > of
> > > going through LAMP. I am asking because it might not necessarily be the
> > > best or only option depending on your goal.
> > >
> > > On Sat, Oct 6, 2018, 8:41 PM wp.rauchh...@gmail.com <
> > > wp.rauchh...@gmail.com>
> > > wrote:
> > >
> > > > I like to integrate OFbiz on my LAMP server and run it through Apache
> > web
> > > > server.
> > > > I googled quite a bit but can;t find anything.
> > > > Would you please point me to a how too other resources for this
> > purpose.
> > > >
> > > > Thanks, Wolfgang
> > > >
> > > >
> > >
> >
> >
> > --
> >
> > Wolfgang Rauchholz
> >
>


Re: OFbiz on LAMP server

2018-10-07 Thread Taher Alkhateeb
Hi

Can you shed some light on what you're trying to do? What is the purpose of
going through LAMP. I am asking because it might not necessarily be the
best or only option depending on your goal.

On Sat, Oct 6, 2018, 8:41 PM wp.rauchh...@gmail.com 
wrote:

> I like to integrate OFbiz on my LAMP server and run it through Apache web
> server.
> I googled quite a bit but can;t find anything.
> Would you please point me to a how too other resources for this purpose.
>
> Thanks, Wolfgang
>
>


[SECURITY] CVE-2011-3600 Apache OFBiz XML-RPC XXE Vulnerability

2018-10-05 Thread Taher Alkhateeb

Severity:
Important

Vendor:
The Apache Software Foundation

Versions Affected:
OFBiz 16.11.01 to 16.11.04

Description:
The OFBiz XML-RPC event handler 
(org.apache.ofbiz.webapp.event.XmlRpcEventHandler.java)
acts as a wrapper for any OFBiz service that provides XML-RPC web 
services via

the /webtools/control/xmlrpc endpoint. This endpoint is exposed to External
Entity Injection by passing DOCTYPE declarations with executable 
payloads that
discloses the contents of files in the filesystem. In addition, it can 
also be

used to probe for open network ports, and figure out from returned error
messages whether a file exists or not.

Mitigation:
Upgrade to 16.11.05
or manually apply the following commits on branch 16
r1833724
r1833708
r1836141

Example:
# Payload to find an exposed port

http://localhost:8080;>

    ping


# Payload to display file contents


]>

    


Credit:
James Parfet 

References:
http://ofbiz.apache.org/download.html#vulnerabilities



Re: OFBiz OutOfMemory and stucked JobPoller issue

2018-09-21 Thread Taher Alkhateeb
I think it would be much better if we can find a root-cause fix instead of
altering settings. I would be interested in helping out digging out
whatever is causing the memory leak if Guilio is interested in opening a
JIRA for this and investigating further.

On Fri, Sep 21, 2018, 11:48 AM Ingo Wolfmayr 
wrote:

> Hallo Guilio,
>
> I had a similar issue some time ago. My fix was to enable caching for
> groovy scripts etc.
>
> framework/base/config/cache.properties.
>
> There is a part that starts says:  # Development Mode - comment these out
> to better cache groovy scripts, etc
>
> After checking the heat cache analysis I found that for every groovy
> script call a new instance of that class was created. Caching fixed it
> completely. Maybe it will work for you too. You will then have to clear the
> cache in ofbiz if you change something in your groovy scripts.
>
> Best regards
> Ingo
>
>
> -Ursprüngliche Nachricht-
> Von: Giulio Speri - MpStyle Srl 
> Gesendet: Donnerstag, 20. September 2018 18:43
> An: user@ofbiz.apache.org
> Betreff: OFBiz OutOfMemory and stucked JobPoller issue
>
> Hello everyone,
>
> hope you're doing good.
> I am writing, because I am struggling with a quite strange problem, over
> an ofbiz installation, for one of our customers.
> This installation is composed by two instances of OFBiz (v13.07.03),
> served via an Apache Tomcat webserver, along with a load balancer.
> The database server is MariaDB.
>
> We had the first problems, about 3 weeks ago, when suddenly, the front1
> (ofbiz instance 1), stopped serving web requests; front2, instead, was
> still working correctly.
>
> Obviously we checked the log files, and we saw that async services were
> failing; the failure was accompanied by this error line:
>
> *Thread "AsyncAppender-async" java.lang.OutOfMemoryError: GC overhead limit
> exceeded*
>
> We analyzed the situation with our system specialists, and they told us
> that the application was highly stressing machine resources (cpu always at
> or near 100%, RAM usage rapidly increasing), until the jvm run out of
> memory.
> This "resource-high-consumption situation", occurred only when ofbiz1
> instance was started with the JobPoller enabled; if the JobPoller was not
> enabled, ofbiz run with low resource usage.
>
> We then focused on the db, to check first of all the dimensions; the
> result was disconcerting; 45GB, mainly divided on four tables: SERVER_HIT
> (about
> 18 GB), VISIT (about 15 GB), ENTITY_SYNC_REMOVE (about 8 GB), VISITOR
> (about 2 GB).
> All the other tables had a size in the order of few MB each.
>
> The first thing we did, was to clear all those tables, reducing
> considerably the db size.
> After the cleaning, we tried to start ofbiz1 again, with the JobPoller
> component enabled; this caused a lot of old scheduled/queued jobs, to
> execute.
> Except than for the start-up time, the resource usage of the machine,
> stabilized around normal to low values (cpu 1-10%).
> Ofbiz seemed to work (web request was served), but we noticed taht the
> JobPoller did not schedule or run jobs, anymore.
> The number of job in "Pending" state in the JobSandbox entity was small
> (about 20); no Queued, no Failed, no jobs in other states.
> In addition to this, unfortunately, after few hours, jvm run out of memory
> again.
>
> Our jvm has an heap maximum size of 20GB ( we have 32GB on the  machine),
> so it's not so small, I think.
> The next step we're going to do is set-up locally the application over the
> same production db to see what happens.
>
> Now that I explained the situation, I am going to ask if, in your
> opinion/experience:
>
> Could the JobPoller component be the root (and only) cause of the
> OutOfMemory of the jvm?
>
> Could this issue be related to this
> https://issues.apache.org/jira/browse/OFBIZ-5710?
>
> Dumping and analyzing the heap of the jvm could help in some way to
> understand what or who fills the memory or is this operation a waste of
> time?
>
> Is there something that we did not considered or missed during the whole
> process of problem analysis?
>
>
> I really thank you all for your attention and your help; any suggestion or
> advice would really be greatly appreciated.
>
> Kind regards,
> Giulio
>
>
>
>
>
>
> --
> Giulio Speri
>
>
> *Mp Styl**e Srl*
> via Antonio Meucci, 37
> 41019 Limidi di Soliera (MO)
> T 059/684916
> M 334/3779851
>
> www.mpstyle.it
>


Re: OFBiz OutOfMemory and stucked JobPoller issue

2018-09-20 Thread Taher Alkhateeb
This smells like a memory leak. The problem is how to pin down the exact
cause. Maybe something in network setting, or the job poller or something
else.

Perhaps the first thing to try to do to narrow it down is to run a profiler
against the JVM to see where the leak is happening. If you can narrow down
the class / method then it would be much easier to handle.

On Thu, Sep 20, 2018, 7:43 PM Giulio Speri - MpStyle Srl <
giulio.sp...@mpstyle.it> wrote:

> Hello everyone,
>
> hope you're doing good.
> I am writing, because I am struggling with a quite strange problem, over an
> ofbiz installation, for one of our customers.
> This installation is composed by two instances of OFBiz (v13.07.03), served
> via an Apache Tomcat webserver, along with a load balancer.
> The database server is MariaDB.
>
> We had the first problems, about 3 weeks ago, when suddenly, the front1
> (ofbiz instance 1), stopped serving web requests; front2, instead, was
> still working correctly.
>
> Obviously we checked the log files, and we saw that async services were
> failing; the failure was accompanied by this error line:
>
> *Thread "AsyncAppender-async" java.lang.OutOfMemoryError: GC overhead limit
> exceeded*
>
> We analyzed the situation with our system specialists, and they told us
> that the application was highly stressing machine resources (cpu always at
> or near 100%, RAM usage rapidly increasing), until the jvm run out of
> memory.
> This "resource-high-consumption situation", occurred only when ofbiz1
> instance was started with the JobPoller enabled; if the JobPoller was not
> enabled, ofbiz run with low resource usage.
>
> We then focused on the db, to check first of all the dimensions; the result
> was disconcerting; 45GB, mainly divided on four tables: SERVER_HIT (about
> 18 GB), VISIT (about 15 GB), ENTITY_SYNC_REMOVE (about 8 GB), VISITOR
> (about 2 GB).
> All the other tables had a size in the order of few MB each.
>
> The first thing we did, was to clear all those tables, reducing
> considerably the db size.
> After the cleaning, we tried to start ofbiz1 again, with the JobPoller
> component enabled; this caused a lot of old scheduled/queued jobs, to
> execute.
> Except than for the start-up time, the resource usage of the machine,
> stabilized around normal to low values (cpu 1-10%).
> Ofbiz seemed to work (web request was served), but we noticed taht the
> JobPoller did not schedule or run jobs, anymore.
> The number of job in "Pending" state in the JobSandbox entity was small
> (about 20); no Queued, no Failed, no jobs in other states.
> In addition to this, unfortunately, after few hours, jvm run out of memory
> again.
>
> Our jvm has an heap maximum size of 20GB ( we have 32GB on the  machine),
> so it's not so small, I think.
> The next step we're going to do is set-up locally the application over the
> same production db to see what happens.
>
> Now that I explained the situation, I am going to ask if, in your
> opinion/experience:
>
> Could the JobPoller component be the root (and only) cause of the
> OutOfMemory of the jvm?
>
> Could this issue be related to this
> https://issues.apache.org/jira/browse/OFBIZ-5710?
>
> Dumping and analyzing the heap of the jvm could help in some way to
> understand what or who fills the memory or is this operation a waste of
> time?
>
> Is there something that we did not considered or missed during the whole
> process of problem analysis?
>
>
> I really thank you all for your attention and your help; any suggestion or
> advice would really be greatly appreciated.
>
> Kind regards,
> Giulio
>
>
>
>
>
>
> --
> Giulio Speri
>
>
> *Mp Styl**e Srl*
> via Antonio Meucci, 37
> 41019 Limidi di Soliera (MO)
> T 059/684916
> M 334/3779851
>
> www.mpstyle.it
>


Re: Derby to MYSQL connector location?

2018-09-13 Thread Taher Alkhateeb
Hi Shane,

Multiple options exist for you:
- Place the DB driver jar in $OFBIZ_HOME/lib
- Place the DB driver jar in "lib" directory of any component
- Add the DB driver as a dependency in build.gradle. Go to JCenter and
find the latest driver compatible with your database to achieve this
step.
On Thu, Sep 13, 2018 at 7:14 PM Shane F. MacIntyre
 wrote:
>
>
> OS: Ubuntu 18.04
> MYSQL Version: 5.7.23
>
> I added localmysql, localmysqolap and localmysqltenant databases to mysql 
> server with ofbiz user permissions added to them.
> I modified the entityengine.xml to reflect the delegator changes, and 
> verified that the datasource user and pass was right for the databases I had 
> created.
> I downloaded the latest JDBC connector from Oracle, but do not have the 
> /framework/entity/lib/jdbc path referenced in 
> https://cwiki.apache.org/confluence/display/OFBIZ/How+to+migrate+OfBiz+from+Derby+to+MySQL+database
>  .
> I do have /framework/entity/src/main/java/org/apache/ofbiz/entity/jdbc. So I 
> blindly tried putting the connector driver in there, but I get errors (see 
> snippet below).
>
> 2018-09-13 16:07:19,880 |OFBiz-JobPoller  |GenericDelegator  
> |E| Failure in findListIteratorByCondition operation for entity 
> [DynamicView]: org.apache.ofbiz.entity.GenericEntityException: 
> com.mysql.jdbc.Driver (com.mysql.jdbc.Driver). Rolling back transaction.
> org.apache.ofbiz.entity.GenericEntityException: com.mysql.jdbc.Driver 
> (com.mysql.jdbc.Driver)
> at 
> org.apache.ofbiz.entity.connection.DBCPConnectionFactory.getConnection(DBCPConnectionFactory.java:93)
>  ~[ofbiz.jar:?]
> at 
> org.apache.ofbiz.entity.transaction.GeronimoTransactionFactory.getConnection(GeronimoTransactionFactory.java:79)
>  ~[ofbiz.jar:?]
> at 
> org.apache.ofbiz.entity.jdbc.SQLProcessor.getConnection(SQLProcessor.java:260)
>  ~[ofbiz.jar:?]
> at 
> org.apache.ofbiz.entity.jdbc.SQLProcessor.prepareStatement(SQLProcessor.java:366)
>  ~[ofbiz.jar:?]
> at 
> org.apache.ofbiz.entity.datasource.GenericDAO.selectCountByCondition(GenericDAO.java:1105)
>  ~[ofbiz.jar:?]
> at 
> org.apache.ofbiz.entity.datasource.GenericDAO.selectCountByCondition(GenericDAO.java:1006)
>  ~[ofbiz.jar:?]
> at 
> org.apache.ofbiz.entity.datasource.GenericHelperDAO.findCountByCondition(GenericHelperDAO.java:149)
>  ~[ofbiz.jar:?]
> at 
> org.apache.ofbiz.entity.GenericDelegator.findCountByCondition(GenericDelegator.java:1657)
>  [ofbiz.jar:?]
> at 
> org.apache.ofbiz.service.job.JobManager.isAvailable(JobManager.java:154) 
> [ofbiz.jar:?]
> at 
> org.apache.ofbiz.service.job.JobPoller$JobManagerPoller.run(JobPoller.java:223)
>  [ofbiz.jar:?]
> at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
> Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381) 
> ~[?:1.8.0_181]
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424) 
> ~[?:1.8.0_181]
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) 
> ~[?:1.8.0_181]
> at java.lang.Class.forName0(Native Method) ~[?:1.8.0_181]
> at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_181]
> at 
> org.apache.ofbiz.entity.connection.DBCPConnectionFactory.getConnection(DBCPConnectionFactory.java:90)
>  ~[ofbiz.jar:?]
> ... 10 more
>
>
> Any help as to where to put the connector would be greatly appreciated.
>
> -Shane MacIntyre


Re: Should we keep the multi-tenants feature in OFBiz?

2018-09-07 Thread Taher Alkhateeb
Very interesting input Carlos. Thank you for sharing.

Are you a current user of OFBiz multi-tenancy? Do you find it adequate and
reliable in its current form?

Regards,
Taher Alkhateeb


On Fri, Sep 7, 2018, 10:12 PM Carlos Cruz  wrote:

> These are my personal opinions and no way shape or form a criticism of
> anyone especially the developers.
>
> this premise is not correct. I think we are mixing apples and oranges.
> Docker itself relies on some sort of multi-tenant (broadly speaking and
> being generic) architecture. A Docker container cannot run independently,
> Docker containers need some sort of management system  (ie Kubernetes or
> Swarm) therefor right there you have a "multi-tenant" asset to manage the
> Docker containers. Another example in a very broad way aren't Tomcat and
> Apache HTTP, MySQL, MS SQL, etc. "multi-tenant" systems?
>
> If you're running a server at the back of your shop, running one instance
> of OFBiz running your one ecommerce site, yes multi-tenant is perhaps an
> overkill. On the other hand if a company is running OFBiz for its own
> multi-company needs or hosting needs of many clients, the costs of running
> many instances of OFBiz will very quickly become prohibitive. The idea the
> risks associated with a "multi-tenant" environment is any higher than
> running a Container environment is also incorrect, whether you're running,
> multi-tenants,  VMs or Docker containers you still need to have some sort
> of redundancy except it becomes more complex and expensive.
>
> If the goal of OFBiz is to serve the needs of QuickBooks (figurative)
> sized clients, yes it should forgo the burden of its "multi-tenant"
> architecture, on the other hand if it wants to be a true ERP system, then
> there are many companies that require a "multi-tenant" architecture.
> Abandoning OFBiz's "multi-tenant" architecture would go against the trend
> taken by most major ERP solutions like SAP and MS Dynamics.  If anyone
> wants to run OFBiz as a SaaS solution no way around it, economically
> speaking you NEED to have "multi-tenancy".  For an ERP system a Docker
> implementation in my opinion is a compromise, and one of the reasons I
> don't prefer Moqui.
>
> I personally think OFBiz's mutli-tenancy does not go far enough, for
> example I think the Login into OFBiz should be more aware of its tenants,
> and not require a Tenant ID.
>
> Again very, very, very broadly speaking Google, Amazon, Microsoft (i.e.
> Azure) Facebook, IBM (i.e Watson cognitive analytics) and many others are
> all able to track the last time you said hello to your special friend and
> recommend you step into the closest flower shop by running some sort of
> monolithic natured multi-tenant software.
>
>
> Carlos
>
>
> -Original Message-
> From: Paul Mandeltort [mailto:p...@marcospec.com]
> Sent: Friday, September 7, 2018 1:27 PM
> To: user@ofbiz.apache.org
> Subject: Re: Should we keep the multi-tenants feature in OFBiz?
>
> I agree we should pursue making containerization a first-class citizen in
> the OFBiz world. It will hasten adoption, reduce development startup
> headaches, and leverage the multi-billion dollar investments that companies
> like Docker and Amazon have been making in the space.
>
> Caveat: I’m not fully knowledgeable of the detailed implementation of the
> multi-tenant functionality, but it appears it was developed before
> containerization technology hit it stride.
>
> Modern web architecture design is container-oriented- spin up and down
> containers (which could be configured as tenants) as needed.
>
> With postgres database hosting platforms like Amazon Aurora enabling
> instant spin-up of any database size, it would make better architecture
> sense to publish an official OFBiz docker container architecture which
> would implement the multi-tenant functionality and push down the different
> tenant configs via configuration files/docker images. Then the entire
> deployment of a multi-tenant system can be managed at the
> dockerfile/composer level in source code control.
>
> Moving in this direction makes ofbiz directly compatible with modern
> hosting platforms and makes it super easy to deploy and manage, and also
> leverages the large devops community that’s already built around this use
> case for monitoring, scaling, backup, protection, and all the other
> day-to-day production headaches that come with managing scaled web
> application.
>
> The multi-tenant approach prolongs the monolithic nature of OFbiz which
> eventually slows down and cripples development as changes and upgrades
> become exponentially more difficult.
>
> —P
>
>
> > On Sep 2, 2018, at 03:33

Re: Should we keep the multi-tenants feature in OFBiz?

2018-09-07 Thread Taher Alkhateeb
Hi Carlos,

It would be great to get your perspective on this topic if you desire to
share it?

I tend to be technically oriented but others are business oriented.. I
guess that's the beauty of being in a community to enjoy this variety of
opinions and perspectives.


On Fri, Sep 7, 2018, 7:15 PM Carlos Cruz  wrote:

> I find it interesting every single pro and con point is made from a
> technical perspective. In reality if there is no business case, there is no
> need to do a technical analysis unless you are in academia.
>
> Carlos
>
> -Original Message-
> From: Gil Portenseigne [mailto:gil.portensei...@nereide.fr]
> Sent: Friday, September 7, 2018 11:07 AM
> To: user@ofbiz.apache.org
> Subject: Re: Should we keep the multi-tenants feature in OFBiz?
>
> Hello,
>
> Very nice analysis, I got the same feeling about multi-tenancy, and prefer
> using separate instances encapsulated within VM.
>
> Gil
>
> Le mardi 04 sept. 2018 à 19:12:20 (+0300), Taher Alkhateeb a écrit :
> > The question is: is it worth keeping it? To answer this question,
> > perhaps we need to perhaps look at the pros and cons
> >
> > pros of keeping multi-tenancy:
> > - less memory consumption.
> > - less storage consumption.
> > - single deployment (less effort)
> >
> > cons of keeping multi-tenancy:
> > - Inflexibility: all tenants are stuck with the same code base.
> > - risk: if one tenant goes down, all tenants go down. There is less
> > redundancy and recovery.
> > - lock-in: splitting out tenants to a new separate instance is hard
> > and time consuming.
> > - code complexity: The multi-tenancy feature in OFBiz is making nearly
> > every critical artifact in the system complex. It is hard wired in
> > tomcat, components, data loaders and many other places. I stopped
> > counting the "if" conditions to handle the multi-tenant corner cases
> > all over the code base.
> > - alternatives less complex: the advent of new technologies like
> > docker and containerization makes the need for multi-tenancy less
> > desired. Also, storage and memory is getting cheaper all the time. So
> > the pros listed above are getting less valuable over time.
> >
> > So for all the above, I find myself leaning more towards removing
> > multi-tenancy from the code base.
> >
> >
> > On Tue, Sep 4, 2018 at 5:49 PM Mike  wrote:
> > >
> > > My opinion is to just completely ditch the multi tenant code since
> > > it seems to be more trouble than it's worth.  Anyone serious about
> > > designing a system to support a similar concept would do it their
> > > own way anyway, most likely using completely separate DBs.  Face it,
> > > using a common DB and share between separate companies is a
> > > dangerous concept, let alone the scaling issues involved.
> > >
> > >
> > >
> > >
> > > On Sun, Sep 2, 2018 at 1:33 AM Jacques Le Roux
> > > 
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > Note: this conversation started on the dev ML:
> > > > https://markmail.org/message/hb2kt5nkodhwnkgw
> > > >
> > > > The multi-tenants feature in OFBiz only allows a dozens or maybe
> > > > even few hundreds tenants, after it begin to be a lot of DBs!
> > > > I faced that with a startup which wanted to handle thousands, if
> > > > not millions (actually they failed), of tenants, obviously OFBiz
> can't
> do that.
> > > >
> > > > I don't break any secret to say that I was working with David (and
> > > > Andrew) on a project in 2010 when David had to quickly answer to
> > > > the client's demand who wanted to have tenants. David brilliantly
> > > > and quickly delivered, but it was only a start.
> > > >
> > > > After many improvements, this feature still have some issues
> > > > https://issues.apache.org/jira/browse/OFBIZ-6066
> > > > https://issues.apache.org/jira/browse/OFBIZ-7900
> > > > https://issues.apache.org/jira/browse/OFBIZ-6164
> > > > https://issues.apache.org/jira/browse/OFBIZ-6065
> > > >
> > > > Also this is somehow related
> > > > https://issues.apache.org/jira/browse/OFBIZ-6712
> > > >
> > > > And most importantly
> > > > https://issues.apache.org/jira/browse/OFBIZ-7112
> > > > https://issues.apache.org/jira/browse/OFBIZ-7754
> > > >
> > > > I recently read this article
> > > >
> > > >
> > > > h

Re: Should we keep the multi-tenants feature in OFBiz?

2018-09-04 Thread Taher Alkhateeb
The automation of multi tenancy setup could happen through deployment
scripts instead of OFBiz itself. So yes the tenants would have their own
install, but I don't see why they'd have their own server farm.

On Wed, Sep 5, 2018, 4:15 AM  wrote:

> So if you don't have multi-tenancy does that mean every tenant has their
> own install of OFbiz, their own install of Postgres SQL, and their own
> server farm?
>
>  Original Message 
> Subject: Re: Should we keep the multi-tenants feature in OFBiz?
> From: Taher Alkhateeb 
> Date: Tue, September 04, 2018 9:12 am
> To: user@ofbiz.apache.org
>
> The question is: is it worth keeping it? To answer this question,
> perhaps we need to perhaps look at the pros and cons
>
> pros of keeping multi-tenancy:
> - less memory consumption.
> - less storage consumption.
> - single deployment (less effort)
>
> cons of keeping multi-tenancy:
> - Inflexibility: all tenants are stuck with the same code base.
> - risk: if one tenant goes down, all tenants go down. There is less
> redundancy and recovery.
> - lock-in: splitting out tenants to a new separate instance is hard
> and time consuming.
> - code complexity: The multi-tenancy feature in OFBiz is making nearly
> every critical artifact in the system complex. It is hard wired in
> tomcat, components, data loaders and many other places. I stopped
> counting the "if" conditions to handle the multi-tenant corner cases
> all over the code base.
> - alternatives less complex: the advent of new technologies like
> docker and containerization makes the need for multi-tenancy less
> desired. Also, storage and memory is getting cheaper all the time. So
> the pros listed above are getting less valuable over time.
>
> So for all the above, I find myself leaning more towards removing
> multi-tenancy from the code base.
>
>
> On Tue, Sep 4, 2018 at 5:49 PM Mike  wrote:
> >
> > My opinion is to just completely ditch the multi tenant code since it
> seems
> > to be more trouble than it's worth. Anyone serious about designing a
> > system to support a similar concept would do it their own way anyway,
> most
> > likely using completely separate DBs. Face it, using a common DB and
> share
> > between separate companies is a dangerous concept, let alone the scaling
> > issues involved.
> >
> >
> >
> >
> > On Sun, Sep 2, 2018 at 1:33 AM Jacques Le Roux <
> jacques.le.r...@les7arts.com>
> > wrote:
> >
> > > Hi,
> > >
> > > Note: this conversation started on the dev ML:
> > > https://markmail.org/message/hb2kt5nkodhwnkgw
> > >
> > > The multi-tenants feature in OFBiz only allows a dozens or maybe even
> few
> > > hundreds tenants, after it begin to be a lot of DBs!
> > > I faced that with a startup which wanted to handle thousands, if not
> > > millions (actually they failed), of tenants, obviously OFBiz can't do
> that.
> > >
> > > I don't break any secret to say that I was working with David (and
> Andrew)
> > > on a project in 2010 when David had to quickly answer to the client's
> > > demand who wanted to have tenants. David brilliantly and quickly
> > > delivered, but it was only a start.
> > >
> > > After many improvements, this feature still have some issues
> > > https://issues.apache.org/jira/browse/OFBIZ-6066
> > > https://issues.apache.org/jira/browse/OFBIZ-7900
> > > https://issues.apache.org/jira/browse/OFBIZ-6164
> > > https://issues.apache.org/jira/browse/OFBIZ-6065
> > >
> > > Also this is somehow related
> > > https://issues.apache.org/jira/browse/OFBIZ-6712
> > >
> > > And most importantly
> > > https://issues.apache.org/jira/browse/OFBIZ-7112
> > > https://issues.apache.org/jira/browse/OFBIZ-7754
> > >
> > > I recently read this article
> > >
> > >
> > >
> https://www.linkedin.com/pulse/architecture-constraints-end-multi-tenancy-gregor-hohpe/
> > >
> > > and, after my experiences with multi-tenant as is in OFBiz, it made me
> > > wonder if we should not think about how it's done now in OFBiz in 2018
> with
> > > the
> > > clouds being everywhere!
> > >
> > > Before sending this email, I quickly exchanged with David about how
> Moqui
> > > handles that now. And we are on the same page, see
> > >
> > > https://www.linkedin.com/groups/4640689/4640689-6180851287941201924
> > >
> > >
> > >
> https://stackoverflow.com/questions/41952818/does-moqui-framework-2-0-still-support-mutli-tenency?rq=1
> > > [1]
> > >
> > > [1] Initially David gave me this link
> > >
> > >
> https://www.linkedin.com/pulse/multi-instance-moqui-docker-david-e-jones/
> > >
> > > but it seems LinkedIn has lost it, as said in the stackoverflow
> comment.
> > >
> > > So IMO why not deprecating the multi-tenants as is now and rather push
> a
> > > multi-instances way?
> > >
> > > Opinions?
> > >
> > > Jacques
> > >
> > >
>


Re: Should we keep the multi-tenants feature in OFBiz?

2018-09-04 Thread Taher Alkhateeb
The question is: is it worth keeping it? To answer this question,
perhaps we need to perhaps look at the pros and cons

pros of keeping multi-tenancy:
- less memory consumption.
- less storage consumption.
- single deployment (less effort)

cons of keeping multi-tenancy:
- Inflexibility: all tenants are stuck with the same code base.
- risk: if one tenant goes down, all tenants go down. There is less
redundancy and recovery.
- lock-in: splitting out tenants to a new separate instance is hard
and time consuming.
- code complexity: The multi-tenancy feature in OFBiz is making nearly
every critical artifact in the system complex. It is hard wired in
tomcat, components, data loaders and many other places. I stopped
counting the "if" conditions to handle the multi-tenant corner cases
all over the code base.
- alternatives less complex: the advent of new technologies like
docker and containerization makes the need for multi-tenancy less
desired. Also, storage and memory is getting cheaper all the time. So
the pros listed above are getting less valuable over time.

So for all the above, I find myself leaning more towards removing
multi-tenancy from the code base.


On Tue, Sep 4, 2018 at 5:49 PM Mike  wrote:
>
> My opinion is to just completely ditch the multi tenant code since it seems
> to be more trouble than it's worth.  Anyone serious about designing a
> system to support a similar concept would do it their own way anyway, most
> likely using completely separate DBs.  Face it, using a common DB and share
> between separate companies is a dangerous concept, let alone the scaling
> issues involved.
>
>
>
>
> On Sun, Sep 2, 2018 at 1:33 AM Jacques Le Roux 
> wrote:
>
> > Hi,
> >
> > Note: this conversation started on the dev ML:
> > https://markmail.org/message/hb2kt5nkodhwnkgw
> >
> > The multi-tenants feature in OFBiz only allows a dozens or maybe even few
> > hundreds tenants, after it begin to be a lot of DBs!
> > I faced that with a startup which wanted to handle thousands, if not
> > millions (actually they failed), of tenants, obviously OFBiz can't do that.
> >
> > I don't break any secret to say that I was working with David (and Andrew)
> > on a project in 2010 when David had to quickly answer to the client's
> > demand who wanted to have tenants. David brilliantly and quickly
> > delivered, but it was only a start.
> >
> > After many improvements, this feature still have some issues
> > https://issues.apache.org/jira/browse/OFBIZ-6066
> > https://issues.apache.org/jira/browse/OFBIZ-7900
> > https://issues.apache.org/jira/browse/OFBIZ-6164
> > https://issues.apache.org/jira/browse/OFBIZ-6065
> >
> > Also this is somehow related
> > https://issues.apache.org/jira/browse/OFBIZ-6712
> >
> > And most importantly
> > https://issues.apache.org/jira/browse/OFBIZ-7112
> > https://issues.apache.org/jira/browse/OFBIZ-7754
> >
> > I recently read this article
> >
> >
> > https://www.linkedin.com/pulse/architecture-constraints-end-multi-tenancy-gregor-hohpe/
> >
> > and, after my experiences with multi-tenant as is in OFBiz, it made me
> > wonder if we should not think about how it's done now in OFBiz in 2018 with
> > the
> > clouds being everywhere!
> >
> > Before sending this email, I quickly exchanged with David about how Moqui
> > handles that now. And we are on the same page, see
> >
> > https://www.linkedin.com/groups/4640689/4640689-6180851287941201924
> >
> >
> > https://stackoverflow.com/questions/41952818/does-moqui-framework-2-0-still-support-mutli-tenency?rq=1
> > [1]
> >
> > [1] Initially David gave me this link
> >
> > https://www.linkedin.com/pulse/multi-instance-moqui-docker-david-e-jones/
> >
> > but it seems LinkedIn has lost it, as said in the stackoverflow comment.
> >
> > So IMO why not deprecating the multi-tenants as is now and rather push a
> > multi-instances way?
> >
> > Opinions?
> >
> > Jacques
> >
> >


Re: INSTALLING OFBIZ V16.11.04

2018-08-31 Thread Taher Alkhateeb
I should also mention some steps are wrong or weird:
- why install the apache httpd server "apache2"?
- why "sudo" gradlew?
- what is this download link? Where did you get it from?
- where is the data preparation step?

I recommend reading README.md

On Fri, Aug 31, 2018, 5:40 PM Michael Brohl 
wrote:

> To answer your question: you can ignore the 91% mark. OFBiz has been
> started and you should be able to access the applications.
>
> Best regards,
>
> Michael
>
>
> Am 31.08.18 um 16:38 schrieb Michael Brohl:
> > Hi Wayne,
> >
> > your email has been moderated, please subscribe to the mailing list.
> > See http://ofbiz.apache.org/mailing-lists.html
> >
> > Thanks,
> > Michael
> >
> > Am 31.08.18 um 14:04 schrieb Wayne Twine:
> >> To whom it may concern
> >>
> >> I have been struggling to install this version of Ofbiz. the Online
> >> steps given by Apache do not help.
> >> I am running Linux Ubuntu OS v 16.04.5, Kernel version 4.4.0-21-generic
> >>
> >> My steps are as follows:
> >>
> >> 1) A: In command prompt i typed java -version
> >> then the following shows:
> >> openjdk version "1.8.0_03-Ubuntu"
> >> OpenJDK Runtime Environment (build
> >> 1.8.0_03-Ubuntu-8u77-b03-3ubuntu3-b03)
> >> OpenJDK 64-Bit Server VM (build 25.03-b03, mixed mode)
> >>
> >> 1) B: In command prompt i typed sudo apt-get install default-jdk
> >>
> >> 2) sudo apt-get install apache2
> >>
> >> 3) Downloaded Ofbiz from
> >> http://apache.saix.net/ofbiz/apache-ofbiz-16.11.04.zip
> >>
> >> 4) I extracted in Downloads folder, right click to Open in Terminal
> >> and typed sudo ./gradlew ofbiz
> >> I got a good start:
> >> Downloading
> >> https://services.gradle.org/distributions/gradle-2.13-bin.zip
> >>
> ..
>
> >>
> >> Unzipping
> >>
> /root/.gradle/wrapper/dists/gradle-2.13-bin/4xsgxlfjcxvrea7akf941nvc7/gradle-2.13-bin.zip
> >> to /root/.gradle/wrapper/dists/gradle-2.13-bin/4xsgxlfjcxvrea7akf941nvc7
> >> ETC, ETC, ETC...
> >>
> >> How ever the setup stays stuck at 91% >>>
> >> "> Building 91% > :ofbiz"
> >>
> >> Can any one assist me on how to ensure that i get a 100% build, or if
> >> there are alternative steps i need to take to ensure a 100% build?
> >>
> >> await your reply
> >>
> >>
> >> Wayne Twine
> >> Tel : 27-76-2277668
> >> Fax:27-86-5708212
> >
> >
>
>
>


Re: OFBiz Sanity Test Automation

2018-08-23 Thread Taher Alkhateeb
Hello, is this going to be implemented in Selenium? If yes then
perhaps we should move this discussion to dev@ to make sure we get
this right. Functional tests might be very slow and so we might need
to decide whether to include these tests by default with the
"testIntegration" task for example.
On Thu, Aug 23, 2018 at 11:53 AM Rishi Solanki  wrote:
>
> +1, and yes go for 17.12 + Trunk. And first pick the 17.12 as it would be
> stable compare to trunk,
>
>
> --
> Rishi Solanki
> Sr Manager, Enterprise Software Development
> HotWax Systems Pvt. Ltd.
> Direct: +91-9893287847
> http://www.hotwaxsystems.com
> www.hotwax.co
>
>
> On Thu, Aug 23, 2018 at 2:09 PM Sanjay Yadav 
> wrote:
>
> > Yes, Michael:).Thanks.
> >
> > Thanks, Jacques.
> >
> > Best Regards,
> >
> > *Sanjay Yadav* | Manager, Enterprise Quality Assurance
> > HotWax Commerce  by HotWax Systems
> > 
> > 80, Scheme No. 78, Indore, M.P. 452010, India
> > Mobile Phone: 787 918 8830 | Linkedin: Sanjay-Yadav
> > 
> >
> > On Wed, Aug 22, 2018 at 12:55 PM Michael Brohl 
> > wrote:
> >
> > > +1 Sanjay,
> > >
> > > as I mentioned in
> > >
> > >
> > https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Sanity+Test?focusedCommentId=71014351#comment-71014351
> > > ;-)
> > >
> > > Regards,
> > >
> > > Michael Brohl
> > > ecomify GmbH
> > > www.ecomify.de
> > >
> > >
> > > Am 22.08.18 um 08:22 schrieb Sanjay Yadav:
> > > > Hello All,
> > > >
> > > > I am planning to automate below sanity test script. Please feel free to
> > > > share your thoughts.
> > > > https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Sanity+Test
> > > >
> > > > Which OFBiz version I should target?
> > > > Do I need to create a JIRA ticket before starting on it?
> > > >
> > > > Best Regards,
> > > >
> > > > *Sanjay Yadav* | Manager, Enterprise Quality Assurance
> > > > HotWax Commerce  by HotWax Systems
> > > > 
> > > > 80, Scheme No. 78, Indore, M.P. 452010, India
> > > > Mobile Phone: 787 918 8830 | Linkedin: Sanjay-Yadav
> > > > 
> > > >
> > >
> > >
> > >
> >


Re: How to use bootstrap 4 for my UI

2018-08-18 Thread Taher Alkhateeb
Too long to explain, but the short version is... Customize or create a new
theme. You will be on your own and need full familiarity with html, css,
javascript and FreeMarker.

On Sat, Aug 18, 2018, 1:31 PM Madhi Krishnan 
wrote:

> I think i subject itself tells my doubt..
> can any one tell how to use bootstarp and other tools to make the UI more
> attractive..
>


Re: DO not run on IntelliJ

2018-08-12 Thread Taher Alkhateeb
The short answer: don't build with intellij. Use the embedded gradle.

On Sun, Aug 12, 2018, 10:03 PM Ahmad Saki  wrote:

> When I build this project on ItelliJ- the console output is 'BUILD
> SUCCESSFUL'.
>
> But when I want to run this project using the IntelliJ IDEA- the console
> output is:
>
> Information:java: Some messages have been simplified; recompile with
> -Xdiags:verbose to get full output
> Information:java: Errors occurred while compiling module 'ofbiz'
> Information:javac 1.8.0_92 was used to compile java sources
> Information:8/13/2018 12:37 AM - Compilation completed with 100 errors and
> 0 warnings in 2 m 42 s 973 ms
>
> F:\softwareEngineering\apache-ofbiz-16.11.04\applications\accounting\src\main\java\org\apache\ofbiz\accounting\thirdparty\securepay\SecurePayPaymentServices.java
> Error:(40, 25) java: package securepay.jxa.api does not exist
> Error:(41, 25) java: package securepay.jxa.api does not exist
> Error:(85, 9) java: cannot find symbol
>   symbol:   class Payment
>   location: class
> org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices
> Error:(85, 31) java: cannot find symbol
>   symbol:   class Payment
>   location: class
> org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices
> Error:(90, 9) java: cannot find symbol
>   symbol:   class Txn
>   location: class
> org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices
> Error:(113, 17) java: cannot find symbol
>   symbol:   class Txn
>   location: class
> org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices
> Error:(177, 9) java: cannot find symbol
>   symbol:   class Payment
>   location: class
> org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices
> Error:(177, 31) java: cannot find symbol
>   symbol:   class Payment
>   location: class
> org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices
> Error:(181, 9) java: cannot find symbol
>   symbol:   class Txn
>   location: class
> org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices
> Error:(195, 17) java: cannot find symbol
>   symbol:   class Txn
>   location: class
> org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices
> Error:(256, 9) java: cannot find symbol
>   symbol:   class Payment
>   location: class
> org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices
> Error:(256, 31) java: cannot find symbol
>   symbol:   class Payment
>   location: class
> org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices
> Error:(260, 9) java: cannot find symbol
>   symbol:   class Txn
>   location: class
> org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices
> Error:(274, 17) java: cannot find symbol
>   symbol:   class Txn
>   location: class
> org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices
> Error:(309, 87) java: incompatible types: bad type in conditional
> expression
> java.lang.Object cannot be converted to java.lang.String
> Error:(343, 9) java: cannot find symbol
>   symbol:   class Payment
>   location: class
> org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices
> Error:(343, 31) java: cannot find symbol
>   symbol:   class Payment
>   location: class
> org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices
> Error:(347, 9) java: cannot find symbol
>   symbol:   class Txn
>   location: class
> org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices
> Error:(361, 17) java: cannot find symbol
>   symbol:   class Txn
>   location: class
> org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices
> Error:(416, 9) java: cannot find symbol
>   symbol:   class Payment
>   location: class
> org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices
> Error:(416, 31) java: cannot find symbol
>   symbol:   class Payment
>   location: class
> org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices
> Error:(421, 9) java: cannot find symbol
>   symbol:   class Txn
>   location: class
> org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices
> Error:(440, 17) java: cannot find symbol
>   symbol:   class Txn
>   location: class
> org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices
>
> F:\softwareEngineering\apache-ofbiz-16.11.04\applications\accounting\src\main\java\org\apache\ofbiz\accounting\thirdparty\ideal\IdealEvents.java
> Error:(56, 31) java: package com.ing.ideal.connector does not exist
> Error:(57, 31) java: package com.ing.ideal.connector does not exist
> Error:(58, 31) java: package com.ing.ideal.connector does not exist
> Error:(59, 31) java: package com.ing.ideal.connector does not exist
> Error:(60, 31) java: package com.ing.ideal.connector does not exist
> Error:(425, 24) java: cannot find symbol
>   symbol:   class Issuer
>   location: class 

Re: global="true"?

2018-08-09 Thread Taher Alkhateeb
I might be slightly wrong (been a while) but global=true means put it
in the "globalContext". A global context is a map which is visible to
all sub-screens and other widgets, whereas a private context is only
visible to the current screen.

Please feel free to correct me if I'm off target folks.

On Thu, Aug 9, 2018 at 5:46 PM, Sameer Apte  wrote:
> Hi All,
>
> Could one of you please explain what does global="true" mean in the below?
>
> 
>
> Regards,
> Sameer Apte


Re: Confusing download to build project

2018-08-09 Thread Taher Alkhateeb
1- compile time dependencies
2- runtime dependencies
3- probably a different gradle (comes with Intellij, not embedded with OFBiz)

On Wed, Aug 8, 2018 at 10:56 PM, Ahmad Saki  wrote:
> 1. When I login using ServerName\User>>> open cmd>>> `gradlew cleanAll
> loadDefault` command to download dependencies>>>
> `gradlew ofbiz` command to start OFBiz- It stops at 91% [ref:
> OFBiz_do-not_complete_start_process.png] although it run on browser.
>
> 2. When I login using ServerName\Administrator>>> open cmd>>> `gradlew
> ofbiz` command to start OFBiz- It starts downloading again.
>
> 3. When I import project to Intellij IDE It starts downloading again.
>
> Why is it downloading it repeatedly!
>
> Thanks
> Ahamd Saki


Re: OFBiz Blog - May and June 2018 Updates

2018-07-19 Thread Taher Alkhateeb
Thank you for sharing Sharan, and thank you Michael, Jacques and
Pranay for working on this. The blog really helps shed light on what's
going on in a quick glance. Looking also at the previous months I
think we're really doing some heavy duty work. Awesome!

On Tue, Jul 17, 2018 at 12:40 PM, Sharan Foga  wrote:
> Hi Everyone
>
> We have a double dose of project news this month and have included the 
> updates for both May and June the links below:
>
> May - https://s.apache.org/1iM5
>
> June - https://s.apache.org/YKnC
>
> As usual thanks and kudos to Michael, Jacques and Pranay for their continued 
> support in helping put it together.
>
> Thanks
> Sharan


Re: Separate module for custom backend code and UI

2018-06-01 Thread Taher Alkhateeb
You can simply create your own theme, that would customize the interface
heavily while utilizing the DSL that comes with OFBiz

On Fri, Jun 1, 2018, 8:11 PM gaurav...@gmail.com 
wrote:

> Thanks Rajesh! As of now I'm just looking to use my UI instead of out of
> the box, so was checking how can I do that or the best way of doing that.
>
> On 2018/06/01 15:41:46, Rajesh Mallah  wrote:
> > Hi Gaurav ,
> >
> > In my case i have built an backend application using by favorite
> > platform that communicates to OFBiz using XML/RPC .
> >
> > my backend speaks to frontend using JSON and to backend
> > ofbiz webservices using XML/RPC.
> >
> >
> > This is one of the "options" .
> >
> > Please note since XML/RPC or SOAP is language-agnostic you
> > could use your favorite backend tool/framework to talk to backend.
> >
> > Things that i miss in this approach are:
> > (1) Seamless user session handling .
> > (2) Lack of transaction control.
> >   ( eg if you do 5 things in XML/RPC and 1 to 4 commits in DB and
> your
> >5 things fails , there is no easy way to undo/rollback 1 to 4,
> this
> > is becoz
> >each webservice is running in its on transaction , there is no way
> > to bundle
> >N number of webservices call in one transaction context )
> >
> > pls note these are not limitation of OFBiz but of this approach.
> >
> >
> > regds
> > mallah.
> >
> >
> >
> > On Fri, Jun 1, 2018 at 8:52 PM, gaurav...@gmail.com  >
> > wrote:
> >
> > > I'm not quite sure at that moment but my primary goal is to build my
> own
> > > UI, can you just what might be the options for me.
> > >
> > > On 2018/05/31 19:15:06, Rajesh Mallah  wrote:
> > > > Hi Gauravjlj ,
> > > >
> > > > Senior/experienced members might suggest more.
> > > >
> > > > It would also help if you could tell us more about your primary
> > > > development setup like web-framework , frontend layer etc.
> > > >
> > > > OFBiz is a very flexible and open system hence you can apply
> > > > your own choice regarding how to integrate it, initial learning curve
> > > > is bit high.
> > > > Documentation can be seen in various links under :
> > > > http://ofbiz.apache.org/  --> DOCS
> > > >
> > > > If you are comfortable with database schemas you may
> > > > browse  ,
> > > >
> https://cwiki.apache.org/confluence/display/OFBIZ/Data+Model+Diagrams
> > > > to get idea of various entities and relationships.
> > > >
> > > > I have been playing around with OFBiz for past 6-7 months and i feel
> > > > comfortable now.
> > > >
> > > >
> > > > Regds
> > > > mallah.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Fri, Jun 1, 2018 at 12:15 AM, gaurav...@gmail.com <
> > > gaurav...@gmail.com>
> > > > wrote:
> > > >
> > > > > Thanks Rajesh. I'm kind of newbie for ofbiz, would you be kind to
> > > redirect
> > > > > me to documentation for this or something to start with and to
> > > understand
> > > > > this stuff.
> > > > >
> > > > > On 2018/05/31 15:46:17, Rajesh Mallah 
> wrote:
> > > > > > Hi Gauravjlj ,
> > > > > >
> > > > > > Its very much possible. And there are multiple solutions.
> > > > > > I am doing the same in my own way utilizing OFBiz as the core
> > > backend.
> > > > > > I use XML/RPC to interact with OFBiz webservices there 3600+ of
> them
> > > .
> > > > > >
> > > > > > regds
> > > > > > mallah.
> > > > > >
> > > > > > On Thu, May 31, 2018 at 8:38 PM, gaurav...@gmail.com <
> > > > > gaurav...@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > I want to use ofbiz as an online eCommerce store at least for
> the
> > > now
> > > > > but
> > > > > > > UI seems very old and can't fit in today's time.
> > > > > > > So,
> > > > > > > I would be having many changing in business logic in
> > > backend/frontend
> > > > > and
> > > > > > > I don't want to change the existing logic rather I want to
> build a
> > > top
> > > > > > > layer which will include my new UI and custom backend code, So
> out
> > > of
> > > > > the
> > > > > > > box code remains intact in that modular approach and also if
> any
> > > new
> > > > > > > release comes then it would be very easy to upgrade my system.
> Is
> > > that
> > > > > > > possible. We do the same thing in Oracle Commerce but I can't
> > > afford
> > > > > it :)
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>


Re: Run OFBIZ 106 on tomcat 9

2018-05-31 Thread Taher Alkhateeb
You are changing the subject of this thread. It is better to start new
threads when you have a new topic to avoid diluting this discussion and to
keep the information focused.

On Thu, May 31, 2018, 5:40 PM gaurav...@gmail.com 
wrote:

> You are right. I'm asking a lot but would you be so kind to tell me below:
>
> I want to use ofbiz as an online eCommerce store at least for the now but
> UI seems very old can't fit in today's time.
>
> So,
> I would be having many changing in business logic in backend/frontend and
> I don't want to change the existing logic rather I want to build a top
> layer which will include my new UI and custom backend code. So if any new
> release comes then it would be very easy to upgrade my system. Is that
> possible. We do the same thing in Oracle Commerce but I can't afford it :)
>
>
> On 2018/05/31 14:17:32, Taher Alkhateeb 
> wrote:
> > Ideally it should run on any servlet container, the reason why it is tied
> > to tomcat is probably more historical, not necessarily architectural.
> > Remember that OFBiz started in 2001 and back then things were very
> > different.
> >
> > But yes, it is for me at least one important item in the future todo
> list.
> > Hopefully we'll get around to it once we finish some other high priority
> > tasks like UI redesign, REST integration and a few other critical tasks.
> >
> > On Thu, May 31, 2018, 5:08 PM gaurav...@gmail.com 
> > wrote:
> >
> > > Thanks Taher. Do you think it will fulfill all the needs for the
> > > enterprise level project in production? Since it will run only on
> tomcat
> > > webserver and can't run it on jboss or webogic etc at least as of now.
> > >
> > > On 2018/05/31 13:54:58, Taher Alkhateeb 
> > > wrote:
> > > > No, OFBiz creates a jar file (that points to gradle cache I might
> add) so
> > > > you cannot change its location and it contains the bootstrapping
> logic to
> > > > start OFBiz. You can find in $OFBIZ_HOME/build/lib.
> > > >
> > > > In other words, the entry point to OFBiz is main() which fires up
> tomcat.
> > > > The build system does not create a webapp, instead it creates an
> > > executable
> > > > with bootstrapping logic.
> > > >
> > > > We should move away from this architecture at some point, but this is
> > > what
> > > > we have for now.
> > > >
> > > > On Thu, May 31, 2018, 4:21 PM gaurav...@gmail.com <
> gaurav...@gmail.com>
> > > > wrote:
> > > >
> > > > > Does it create .ear somewhere, if it does then it would be easier
> to
> > > take
> > > > > it on to the external app server. I searched a little but couldn't
> find
> > > > > .war or .ear file.
> > > > >
> > > > > On 2018/05/31 11:31:36, Jacques Le Roux <
> jacques.le.r...@les7arts.com>
> > > > > wrote:
> > > > > > Yep, it's no longer available OOTB since R9.04. It's maybe
> possible
> > > but
> > > > > you are on your own...
> > > > > >
> > > > > > Jacques
> > > > > >
> > > > > >
> > > > > > Le 31/05/2018 à 12:03, Moatasim Al Masri a écrit :
> > > > > > >
> > > > > > > This link says that no idea for this request !!! is it right ?
> > > > > > >
> > > > > > > Best Regards,
> > > > > > >
> > > > > > > -Original Message-
> > > > > > > From: Jacques Le Roux 
> > > > > > > Sent: Thursday, May 31, 2018 12:52 PM
> > > > > > > To: user@ofbiz.apache.org
> > > > > > > Subject: Re: Run OFBIZ 106 on tomcat 9
> > > > > > >
> > > > > > > Please check the recent thread
> > > > > > >
> > > > > > > "Re: [MODERATED EMAIL] Does anybody know how to deploy ofbiz
> > > 16.11.04
> > > > > on jboss7"
> > > > > > >
> > > > > > > https://markmail.org/message/ktt26il7j2kyocvl
> > > > > > >
> > > > > > > Jacques
> > > > > > >
> > > > > > > Le 31/05/2018 à 11:42, Moatasim Al Masri a écrit :
> > > > > > >
> > > > > > > > Hi everybody
> > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > > How can I run OFBIZ  16.11 on external tomcat 9 ?
> > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>


Re: Run OFBIZ 106 on tomcat 9

2018-05-31 Thread Taher Alkhateeb
Ideally it should run on any servlet container, the reason why it is tied
to tomcat is probably more historical, not necessarily architectural.
Remember that OFBiz started in 2001 and back then things were very
different.

But yes, it is for me at least one important item in the future todo list.
Hopefully we'll get around to it once we finish some other high priority
tasks like UI redesign, REST integration and a few other critical tasks.

On Thu, May 31, 2018, 5:08 PM gaurav...@gmail.com 
wrote:

> Thanks Taher. Do you think it will fulfill all the needs for the
> enterprise level project in production? Since it will run only on tomcat
> webserver and can't run it on jboss or webogic etc at least as of now.
>
> On 2018/05/31 13:54:58, Taher Alkhateeb 
> wrote:
> > No, OFBiz creates a jar file (that points to gradle cache I might add) so
> > you cannot change its location and it contains the bootstrapping logic to
> > start OFBiz. You can find in $OFBIZ_HOME/build/lib.
> >
> > In other words, the entry point to OFBiz is main() which fires up tomcat.
> > The build system does not create a webapp, instead it creates an
> executable
> > with bootstrapping logic.
> >
> > We should move away from this architecture at some point, but this is
> what
> > we have for now.
> >
> > On Thu, May 31, 2018, 4:21 PM gaurav...@gmail.com 
> > wrote:
> >
> > > Does it create .ear somewhere, if it does then it would be easier to
> take
> > > it on to the external app server. I searched a little but couldn't find
> > > .war or .ear file.
> > >
> > > On 2018/05/31 11:31:36, Jacques Le Roux 
> > > wrote:
> > > > Yep, it's no longer available OOTB since R9.04. It's maybe possible
> but
> > > you are on your own...
> > > >
> > > > Jacques
> > > >
> > > >
> > > > Le 31/05/2018 à 12:03, Moatasim Al Masri a écrit :
> > > > >
> > > > > This link says that no idea for this request !!! is it right ?
> > > > >
> > > > > Best Regards,
> > > > >
> > > > > -Original Message-
> > > > > From: Jacques Le Roux 
> > > > > Sent: Thursday, May 31, 2018 12:52 PM
> > > > > To: user@ofbiz.apache.org
> > > > > Subject: Re: Run OFBIZ 106 on tomcat 9
> > > > >
> > > > > Please check the recent thread
> > > > >
> > > > > "Re: [MODERATED EMAIL] Does anybody know how to deploy ofbiz
> 16.11.04
> > > on jboss7"
> > > > >
> > > > > https://markmail.org/message/ktt26il7j2kyocvl
> > > > >
> > > > > Jacques
> > > > >
> > > > > Le 31/05/2018 à 11:42, Moatasim Al Masri a écrit :
> > > > >
> > > > > > Hi everybody
> > > > >
> > > > > >
> > > > >
> > > > > > How can I run OFBIZ  16.11 on external tomcat 9 ?
> > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
>


Re: Run OFBIZ 106 on tomcat 9

2018-05-31 Thread Taher Alkhateeb
No, OFBiz creates a jar file (that points to gradle cache I might add) so
you cannot change its location and it contains the bootstrapping logic to
start OFBiz. You can find in $OFBIZ_HOME/build/lib.

In other words, the entry point to OFBiz is main() which fires up tomcat.
The build system does not create a webapp, instead it creates an executable
with bootstrapping logic.

We should move away from this architecture at some point, but this is what
we have for now.

On Thu, May 31, 2018, 4:21 PM gaurav...@gmail.com 
wrote:

> Does it create .ear somewhere, if it does then it would be easier to take
> it on to the external app server. I searched a little but couldn't find
> .war or .ear file.
>
> On 2018/05/31 11:31:36, Jacques Le Roux 
> wrote:
> > Yep, it's no longer available OOTB since R9.04. It's maybe possible but
> you are on your own...
> >
> > Jacques
> >
> >
> > Le 31/05/2018 à 12:03, Moatasim Al Masri a écrit :
> > >
> > > This link says that no idea for this request !!! is it right ?
> > >
> > > Best Regards,
> > >
> > > -Original Message-
> > > From: Jacques Le Roux 
> > > Sent: Thursday, May 31, 2018 12:52 PM
> > > To: user@ofbiz.apache.org
> > > Subject: Re: Run OFBIZ 106 on tomcat 9
> > >
> > > Please check the recent thread
> > >
> > > "Re: [MODERATED EMAIL] Does anybody know how to deploy ofbiz 16.11.04
> on jboss7"
> > >
> > > https://markmail.org/message/ktt26il7j2kyocvl
> > >
> > > Jacques
> > >
> > > Le 31/05/2018 à 11:42, Moatasim Al Masri a écrit :
> > >
> > > > Hi everybody
> > >
> > > >
> > >
> > > > How can I run OFBIZ  16.11 on external tomcat 9 ?
> > >
> > > >
> > >
> >
> >
>


Re: OFBiz Blog – April 2018 Update

2018-05-21 Thread Taher Alkhateeb
Great work folks!

On Sun, May 20, 2018 at 10:59 AM, Sharan Foga  wrote:
> Hi Everyone
>
> A brief summary of our project news for last month can be found in our 
> monthly blog update at the link below:
>
> https://s.apache.org/dSWL
>
> Thanks very much to Michael,  Jacques and Pranay for their continued support 
> in providing feedback and help to prepare it.
>
> Thanks
> Sharan


Re: discussion:provide official docker image of Apache OFBiz?

2018-05-18 Thread Taher Alkhateeb
Hi Paul and everyone:

Two quick notes on your feedback:

1- You can improve your docker file by symlinking the log to stdout, this
way you can view logs with the simple command "docker logs containeridhere"

2- I tried docker as a development platform, and it doesn't really fit that
environment very well. There are too many problems like setting up the IDE,
user permissions, gradle cache issues and so on not to mention that if you
rely on postgres then you must have a docker-compose.yml file. The feedback
loop is also longer and a bit awkward. So perhaps I would not go as far as
saying we should remove derby and only use docker with postgres. For me I
tried that and it wasn't a very smooth experience.

On Fri, May 18, 2018, 3:27 AM Paul Mandeltort  wrote:

> Probably out of scope for me and the mailing list to sell you on the
> benefits of containerization, but (in my crappy opinion) there’s a reason
> that docker is valued at over a billion dollars and all major cloud hosting
> providers support containers natively now. I think it’s built into some
> linux distros now.
>
> I encourage you to try it out and see for yourself:
>
> 1) install docker: https://docs.docker.com/install/ <
> https://docs.docker.com/install/>
> 2) docker run -d -p 8080:8080 -p 8443:8443 marcopinball/ofbiz-demo:latest
> 3) if you want to monitor logs:
> docker ps, find container ID
>   docker exec -ti  tail -f
> /ofbiz/runtime/logs/ofbiz.log
> Ta-da, running ofbiz with demo data on https://localhost:8443.
>
> When done just docker rm -f  the container and it’s gone! no
> cleanup and your system remains unaffected.
>
> This is just OOTB w/ Derby. Want to quickly test ofbiz against a different
> version of java? Just edit the dockerfile (below) and point it at the java
> image you want, and run.
>
> This works on Mac, Linux, Windows.
>
> Here’s the docker file and image I slapped together (referenced above) as
> a proof of concept. IT SHOULD NOT BE CONSIDERED BEST PRACTICES OR
> PRODUCTION READY. Again, I am not an expert here.
>
> It may or may not be best practices but it’s a good starting point for
> anyone else messing with it:
> https://hub.docker.com/r/marcopinball/ofbiz-demo/ <
> https://hub.docker.com/r/marcopinball/ofbiz-demo/>
>
> —Paul
>
> > On May 17, 2018, at 13:44, Mathieu Lirzin 
> wrote:
> >
> > Hello Paul,
> >
> > Paul Mandeltort > writes:
> >
> >> STRONG +1 here as an end user.
> >>
> >> Having a solid tested reference implementation would save man years of
> >> time in development, testing, and deployment especially for small
> >> teams that are weak in the devops department.
> >>
> >> I started playing with this but it’s a back burner project right now.
> >>
> >> A proper set of docker images and a reference docker compose
> >> architecture based around Postgres would be ideal going forward. Then
> >> SOLR could also be managed as a docker image. One of the biggest new
> >> user pain points for ofbiz is figuring out how to switch the database
> >> to a real dbms.  We could then just drop support for derby as the only
> >> reason it’s there is that it supposedly saves time for testing ofbiz.
> >> Docker Postgres solves that problem and is the clear standard for open
> >> source databases now.
> >>
> >> Making docker ofbiz the standard starting point also eliminates all
> >> the cross platform java headaches which I see at lest a post or two a
> >> week about.
> >>
> >> It would also accelerate adoption, development, and save everyone
> >> money long term as it makes it super easy to fire up and iterate
> >> ofbiz.
> >
> > I don't think this kind of incantative tone serves your cause.
> >
> > Being enthousiastic about a technology is one thing but pretending it
> > will make everything easy, agile, allow everyone to save money, and
> > avoid headaches sounds more like bullshit...
> >
> > IMHO some code, facts, measurements and an enonciation of the necessary
> > tradeoffs would be more convincing.
> >
> > --
> > Mathieu Lirzin
> > GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37
>
>


Re: discussion:provide official docker image of Apache OFBiz?

2018-05-17 Thread Taher Alkhateeb
We need to think and discuss this otherwise I'm not quite sure how much
value people would get from having a docker image. I don't have two docker
files that are identical for the projects we work on because of
customizations and differences.

So to create a docker image you might want to think of some things like:
- what is it used for? Demo purpose? Will it allow loading different data
readers?
- should you allow loading different databases with an accompanying
docker-compose script in the documentation of the image?
- what options / flags should you add to docker image?
- where should we keep the source?
- should we version ofbiz images like is done in some other images?
- how should we structure the volumes for framework and gradle cache?

So I think more details are needed here.

On Thu, May 17, 2018, 9:10 AM Arun Patidar  wrote:

> +1
>
> On Thu, May 17, 2018 at 11:33 AM, deepak nigam  >
> wrote:
>
> > +1.
> >
> > Please let me know if I can be of any help in this effort.
> >
> > On Thu, May 17, 2018 at 8:59 AM, innate Genius  >
> > wrote:
> >
> > > +1
> > >
> > > > On 17-May-2018, at 8:26 AM, Hans Bakker 
> > > wrote:
> > > >
> > > > Good morning,
> > > >
> > > > Shouldn't we provide a official docker image in hub.docker.com as
> most
> > > open source projects do?
> > > >
> > > > This could ease the installation of ofbiz, even with including the
> > > dependencies which is possible with gradle >3.5
> > > >
> > > > To already prepare, I reserved the ofbiz username .
> > > >
> > > > more info at: https://issues.apache.org/jira/browse/OFBIZ-10407
> > > >
> > > > opinions?
> > > >
> > > >
> > > > --
> > > >
> > > > Regards,
> > > >
> > > > Hans Bakker
> > > > CEO, http://antwebsystems.com
> > >
> > >
> >
>
>
>
> --
>
> Best regards,
>
> Arun Patidar
> Director of Information SystemsHotWax Commerce 
>


Re: MODERATE for user@ofbiz.apache.org

2018-05-13 Thread Taher Alkhateeb
Hello,

Your email has been moderated. Please ensure subscribing to the
mailing list [1] to get your messages through.

Now with respect to your question, you need to provide more details.
The exact opposite to what you're saying usually happens. So I suspect
something might be wrong in your environment or the commands that
you're issuing.

Cheers,
Taher Alkhateeb

On Sun, May 13, 2018 at 3:03 AM,
<user-reject-1526169813.30291.fgnlbjldicbmkjdbp...@ofbiz.apache.org>
wrote:
>
> To approve:
>user-accept-1526169813.30291.fgnlbjldicbmkjdbp...@ofbiz.apache.org
> To reject:
>user-reject-1526169813.30291.fgnlbjldicbmkjdbp...@ofbiz.apache.org
> To give a reason to reject:
> %%% Start comment
> %%% End comment
>
>
>
> -- Forwarded message --
> From: "drakesri...@gmail.com" <drakesri...@gmail.com>
> To: <user@ofbiz.apache.org>
> Cc:
> Bcc:
> Date: Sun, 13 May 2018 00:03:31 -
> Subject: ofbiz start vs restart
> Hi Everyone,
> I decided to start a new post because my last one was taken over by another 
> unrelated thread.
>
> I'm trying to find out why ofbiz takes twelve minutes on my system to start 
> up after a reboot; whereas the first time after a new install it takes just 
> thirty seconds to start. (BTW: when I say "Start up", I mean successfully run 
> the web portal in my browser)
>
> What I have tried so far:
>
> 1. Tried with different versions of Java JDK
>
> 2. This is definitely not a solution but perhaps indicates where the 
> bottle-neck is but after the first reboot if I run ./gradlew cleanAll 
> loadDefault again, the start time goes back to about thirty seconds; perhaps 
> I'm wrong but this indicates to me that the bottle-neck is in ofbiz not Java
>
> Next-step
> The next step for me is to step through the code and see where the 
> bottle-neck is; however, before I do that I want to check in with you experts 
> and see if you have any tips or suggestions? Perhaps you know where I went 
> wrong with my install steps or how I can mitigate this problem or, even 
> better, fix it?
>
>


Re: Opinions on layout changes

2018-05-04 Thread Taher Alkhateeb
The newer version makes more sense than the older one because
alignment occurs relative to the parent. So I prefer to keep the new
one.

However, the new version looks a bit odd and misaligned. Some
improvement to formatting would be good IMO.

On Fri, May 4, 2018 at 12:52 PM, Jacques Le Roux
 wrote:
> Hi,
>
> I just created this comment https://s.apache.org/mWCY at current bottom of
> OFBIZ-10221.
>
> I hope it's only a change in the  product/catalog main page
> (/applications/product/template/Main.ftl) but it could be that the same
> exists in other FTL pages.
>
> I'd like to have your opinions and especially ask you to test the changes in
> trunk UI.
>
> The more we are to manually test the safer these manual tests will be.
>
> Thanks
>
> Jacques
>


Re: Customized theme not loading while using gradle offline

2018-04-25 Thread Taher Alkhateeb
Hard to tell .. you gave little information. The first thing I would check
perhaps is if your assets are fetched online in your 

Re: OFBiz Blog - March 2018 Update

2018-04-18 Thread Taher Alkhateeb
Great effort as usual folks. On every release we are reminded of how
great and active our community is.

On Mon, Apr 16, 2018 at 10:31 AM, Sharan Foga  wrote:
> Hi Everyone
>
> You can find the details of our monthly blog update at the link below::
>
> https://s.apache.org/Hj05
>
> Thanks to Michael,  Jacques and Pranay for their continued support in 
> reviewing, providing feedback and helping preparing it.
>
> Thanks
> Sharan


Re: Invoice Sequence Number

2018-04-10 Thread Taher Alkhateeb
I believe that would be achievable by using two different sequence
names. Just create two services each one calling a different sequence
name in "Delegator.getNextSeqId(String seqName)". Or depending on your
logic, you might be able to do that in the same service.

On Tue, Apr 10, 2018 at 5:45 PM, Tejas Lot  wrote:
> Hello Everyone,
>
> We have two independent services which generates Invoice. Can we maintain
> two sequences in ofbiz (Same as in party accounting preferences) e.g.
> service 1 will maintain invoice sequence from 1 to 100 and service 2
> will maintain invoice sequence from 101 onward.
>
> Anyone can help me to resolve?
>
> --
> Thanking you,
>
> Warm regards,
> Tejas Lot.
> vnnogile Solutions Private Limited
> www.vnnogile.com
>


Re: Basic Q: Can ofbiz run in subdir and use HTTP auth?

2018-03-29 Thread Taher Alkhateeb
Hello Jochen, welcome to the community.

I'm sure you'll get better responses from the rest of the community,
but naturally there are many ways to go about this. For one thing,
read the section on configuring OFBiz with LDAP in [1].

Now with respect to doing something like http://yourserver/ofbiz, I
think this might be difficult to achieve because OFBiz ships with its
own Servlet Container (Tomcat). So maybe a simpler option which we
used before is to simply seek a sub-domain to map into OFBiz. So it
would be something like http://ofbiz.yourserver which is mapped from
your reverse proxy (nginx I assume?)

Would that not still work given that the sub-domain is withing your control?

[1] 
https://cwiki.apache.org/confluence/display/OFBIZ/Apache+OFBiz+Technical+Production+Setup+Guide

On Thu, Mar 29, 2018 at 10:39 AM, jochen.bout...@finalbeta.net
 wrote:
> Hello, We are exploring functionality of several sollutions. Ofbiz seems to 
> qualify for most tasks.
>
> I have two questions I would like to make sure before we begin testing:
>
> For integration into our systems we require the the solution to run under a 
> subdirectory of the root of the webserver. (http://server/ofbiz/).
> ( The reason for this is that ofbiz will be reverse proxied and that 
> http://reverseproxy/ is used for something else. A differend domain is not a 
> option because of question two).
>
> For integration into our systems we prefer that the application can use 
> authentication data in the http header (Basic Authorization/Http 
> authorization). Our reverse proxy sends the users (LDAP) credentials in the 
> header allowing applications to automatically log the user in.
>
> Can these things be done with Ofbiz?
>
> Thanks for your responses.
>
>


Re: How to pass org.apache.ofbiz.entity.GenericValue using XMLRPC ?

2018-03-24 Thread Taher Alkhateeb
I think maybe the best thing to do is create a JIRA with a topic like
"Allowing XML-RPC and SOAP to pass GenericValue objects to services as
IN fields". We can then collaborate together on making a solution. I'm
interested in helping if you like that.

Oh, and I'm still interested in your invoke mechanism which I asked earlier?

On Sat, Mar 24, 2018 at 12:12 PM, Rajesh Mallah <mallah.raj...@gmail.com> wrote:
> Hello Rishi / Jacques /Taher ,
>
> Thanks for the responses.
>
> I feel a generic solution should be devised and  I want to  put some effort
> so that an incoming Map is converted to a GenericValue .
> Which is a more appropriate place ModelService or XmlRpcEventHandler
> and where can the change be done in a relatively easier fashion ?
>
>
> regds
> mallah
>
>
>
> On Sat, Mar 24, 2018 at 2:32 PM, Taher Alkhateeb <slidingfilame...@gmail.com
>> wrote:
>
>> Thinking out loud, maybe one solution in here is to update the logic
>> in ModelService such that a map is automatically casted to a
>> GenericValue, or any object that is "instanceOf" would pass through.
>> The problem of course is how to carry "state" in these objects, which
>> is the reason why I dislike passing objects to services.
>>
>> So another question, I see both SOAP and XML-RPC messages here, but
>> how are you invoking them? Is it just a simple URL or what?
>>
>> On Sat, Mar 24, 2018 at 11:51 AM, Rishi Solanki <rishisolan...@gmail.com>
>> wrote:
>> > Hi Rajesh,
>> > SOAP request or XMLRPC request both uses the standard format conversion
>> > basic/regular java supports. That means if you are sending bunch of key
>> > value pair wrt a key ... in your case key is product. Then it will always
>> > convert it into the Map. So what general practices followed for xml data
>> > exchange is already exists.
>> >
>> > To have generic value or any other class value in your service IN
>> > parameter, you may need to add converter before passing it to service for
>> > invoke. That means, your checkMap method must be enabled for this type of
>> > conversion. Also this method will be invoked on IN parameter type. Please
>> > see XmlRpcEventHandler.getContext() for more details.
>> >
>> > This should be quick one and should resolve your problem, which enable
>> the
>> > conversion of target type. A generic approach also welcome for
>> > contribution. :-)
>> >
>> > HTH!
>> >
>> > Regards,
>> > --
>> >
>> > Rishi Solanki
>> > Sr Manager, Enterprise Software Development
>> > HotWax Systems Pvt. Ltd.
>> > Direct: +91-9893287847
>> > http://www.hotwaxsystems.com
>> > www.hotwax.co
>> >
>> > On Sat, Mar 24, 2018 at 12:17 AM, Rajesh Mallah <mallah.raj...@gmail.com
>> >
>> > wrote:
>> >
>> >> Hi Jacques / List  ,
>> >>
>> >> I face the very same problem with SOAP too , pls have a look if the SOAP
>> >> message is OK. Please suggest any edits to the SOAP message which i may
>> >> try.
>> >>
>> >>
>> >> 
>> >>
>> >> 
>> >> http://schemas.xmlsoap.org/soap/
>> >> encoding/"
>> >> xmlns:ns1="http://ofbiz.apache.org/service/; xmlns:soap="
>> >> http://schemas.xmlsoap.org/soap/envelope/; xmlns:soapenc="
>> >> http://schemas.xmlsoap.org/soap/encoding/; xmlns:xsd="
>> >> http://www.w3.org/2001/XMLSchema; xmlns:xsi="
>> >> http://www.w3.org/2001/XMLSchema-instance;>
>> >> 
>> >> 
>> >> > >> xsi:type="soapenc:Array">
>> >> > >> xsi:type="soapenc:Array">
>> >> 
>> >> 
>> >> 
>> >> 
>> >> 
>> >> 
>> >> 
>> >> > >> xsi:type="soapenc:Array">
>> >> 
>> >> 
>> >> 
>> >> 
>> >> 
>> >> 
>> >> 
>> >> > >> xsi:type="soapenc:Array">
>> >> 
>> >>

Re: How to pass org.apache.ofbiz.entity.GenericValue using XMLRPC ?

2018-03-24 Thread Taher Alkhateeb
Thinking out loud, maybe one solution in here is to update the logic
in ModelService such that a map is automatically casted to a
GenericValue, or any object that is "instanceOf" would pass through.
The problem of course is how to carry "state" in these objects, which
is the reason why I dislike passing objects to services.

So another question, I see both SOAP and XML-RPC messages here, but
how are you invoking them? Is it just a simple URL or what?

On Sat, Mar 24, 2018 at 11:51 AM, Rishi Solanki  wrote:
> Hi Rajesh,
> SOAP request or XMLRPC request both uses the standard format conversion
> basic/regular java supports. That means if you are sending bunch of key
> value pair wrt a key ... in your case key is product. Then it will always
> convert it into the Map. So what general practices followed for xml data
> exchange is already exists.
>
> To have generic value or any other class value in your service IN
> parameter, you may need to add converter before passing it to service for
> invoke. That means, your checkMap method must be enabled for this type of
> conversion. Also this method will be invoked on IN parameter type. Please
> see XmlRpcEventHandler.getContext() for more details.
>
> This should be quick one and should resolve your problem, which enable the
> conversion of target type. A generic approach also welcome for
> contribution. :-)
>
> HTH!
>
> Regards,
> --
>
> Rishi Solanki
> Sr Manager, Enterprise Software Development
> HotWax Systems Pvt. Ltd.
> Direct: +91-9893287847
> http://www.hotwaxsystems.com
> www.hotwax.co
>
> On Sat, Mar 24, 2018 at 12:17 AM, Rajesh Mallah 
> wrote:
>
>> Hi Jacques / List  ,
>>
>> I face the very same problem with SOAP too , pls have a look if the SOAP
>> message is OK. Please suggest any edits to the SOAP message which i may
>> try.
>>
>>
>> 
>>
>> 
>> http://schemas.xmlsoap.org/soap/
>> encoding/"
>> xmlns:ns1="http://ofbiz.apache.org/service/; xmlns:soap="
>> http://schemas.xmlsoap.org/soap/envelope/; xmlns:soapenc="
>> http://schemas.xmlsoap.org/soap/encoding/; xmlns:xsd="
>> http://www.w3.org/2001/XMLSchema; xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance;>
>> 
>> 
>> > xsi:type="soapenc:Array">
>> > xsi:type="soapenc:Array">
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> > xsi:type="soapenc:Array">
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> > xsi:type="soapenc:Array">
>> 
>> 
>> 
>> 
>> 
>> > soapenc:arrayType="xsd:anyType[2]" xsi:type="soapenc:Array">
>> 
>> 
>> 
>> 
>> > />
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>
>> 
>>
>> 2018-03-24 00:08:15,421 |http-nio-8443-exec-2
>> |ModelService  |E| [ModelService.validate] :
>> {calculateProductPrice} : (IN) Required test error:
>> org.apache.ofbiz.service.ServiceValidationException: Type check failed for
>> field [calculateProductPrice.product]; expected type is
>> [org.apache.ofbiz.entity.GenericValue]; actual type is [java.util.HashMap]
>> 2018-03-24 00:08:15,421 |http-nio-8443-exec-2
>> |ServiceDispatcher |E| Incoming context (in runSync :
>> calculateProductPrice) does not match expected requirements
>> org.apache.ofbiz.service.ServiceValidationException: Type check failed for
>> field [calculateProductPrice.product]; expected type is
>> [org.apache.ofbiz.entity.GenericValue]; actual type is [java.util.HashMap]
>>
>>
>>
>> regds
>> mallah.
>>
>>
>>
>> On Fri, Mar 23, 2018 at 3:43 PM, Rajesh Mallah 
>> wrote:
>>
>> >
>> > Hello Taher ,
>> >
>> > As suggested i shifted this discussion to the user list from dev.
>> >
>> > As you expected the product key has a value which is a
>> > struct. This maps to java.util.HashMap but the validator
>> > expects it to be a GenericValue and hence it does not hands it over
>> > to the service.
>> >
>> >
>> > $ ./007-get-price.pl  PROD_SY87B9B8MY
>> > 2018/03/23 15:34:31 --
>> > --
>> > 2018/03/23 15:34:31 REQ  >   > encoding="UTF-8"?>
>> > REQ  >   
>> > REQ  > calculateProductPrice
>> > REQ  > 
>> > REQ  >   
>> > REQ  > 
>> > REQ  >  
>> > 

Re: GL Account Defaults

2018-03-23 Thread Taher Alkhateeb
@documentation team, this is another gold nugget to go into our manual :)

On Fri, Mar 23, 2018, 1:15 PM Jacopo Cappellato <
jacopo.cappell...@hotwaxsystems.com> wrote:

> Hi James,
>
> usually, before a purchase invoice is posted to the GL, its shipment is
> received into inventory and this generates an accounting transaction that
> usually:
> Debits an inventory account (its balance goes up)
> Credits a (temporary) liability account (its balance goes up); this account
> is usually named "uninvoiced item receipts" and represents the value of
> items for which we are still expecting a formal invoice (we can think of it
> as an still unconfirmed "accounts payable" account)
>
> When the purchase invoice is posted we have:
> Credits the liability "accounts payable" account (its balance goes up)
> Debits the liability "uninvoiced item receipts" account (its balance goes
> down)
>
> The end result is that the "uninvoiced item receipts" holds the amount of
> the liability since the items are received into the warehouse and until the
> time the purchase invoice is posted, when the amount of the liability is
> transferred to the "accounts payable" account.
>
> Purchase variance comes into play in order to adjust the difference (if
> any) between the purchase order item price and the purchase invoice item
> price.
>
> You can control which GL account is credited for Shipment Receipts from the
> screen:
>
>
> https://demo-trunk.ofbiz.apache.org/accounting/control/GlAccountAssignment?organizationPartyId=Company
>
> in it you can edit (remove and add) the row labeled "Uninvoiced Shipment
> Receipts" and this will affect the credit part of the transaction generated
> by the shipment receipt event.
>
> I hope it helps,
>
> Jacopo
>
> On Thu, Mar 22, 2018 at 5:21 PM,  wrote:
>
> > Jacopo - Thanks for your email and that makes perfect sense.  Since
> > these 2 transactions are related in the Purchase Order to AP.
> >
> > What controls the GL accounts for Shipment Receipts?  How are the
> > Shipment Receipt process and Vendor/Purchase Invoice linked?  How does
> > the Purchase Variance come into play?
> >
> >  Original Message 
> > Subject: Re: GL Account Defaults
> > From: Jacopo Cappellato 
> > Date: Thu, March 22, 2018 8:47 am
> > To: "user@ofbiz.apache.org ML" 
> >
> > Good morning James,
> >
> > On Thu, Mar 22, 2018 at 4:10 PM,  wrote:
> >
> > > Good morning. Something strange just happened in Financials that maybe
> > > this group can point me into the right direction
> > >
> > > I received a Purchase Order and the system Creating an balancing
> > > Accounting Transaction for "Uninvoiced Item Receipt & Inventory". I
> > > then marked the vendor invoice as Ready and the system created another
> > > balancing transaction with Accounts Payable and Purchase Price
> Variance.
> > >
> >
> > From what I understand, when the vendor invoice has been posted the
> > Accounts Payable has been Credited (correct) and the Purchase Price
> > Variance has been Debited (unexpected); could you please share more
> > details
> > about the invoice transaction (you can find them at the bottom of the
> > invoice detail screen)?
> >
> > The account *debited* for each item in a purchase invoice is determined
> > by
> > the mapping between the invoice item type and the account id as set in
> > this
> > screen:
> >
> >
> https://demo-trunk.ofbiz.apache.org/accounting/control/editInvoiceItemType
> >
> > In this screen you should see mappings from various purchase invoice
> > item
> > types (like PINV_FPROD_ITEM) to the "Uninvoiced Item Receipt" account.
> > Please check what you have there.
> > As a side note, the "Purchase Price Variance" (that is usually an
> > Expense
> > account) is used by the system when there is a difference between the
> > purchase price (in the order) of an item and its value in the purchase
> > invoice.
> >
> > Kind regards,
> >
> > Jacopo
> >
> >
> >
> > > I was expected it to create a transaction moving the dollar amount from
> > > Uninvoiced Item Receipt to accounts payable. My question is where
> > > specifically in the system is the Vendor Invoice transaction configured
> > > for this process?
> > >
> > > Thanks,
> > >
> > > James
> > >
> >
>


Re: OFBiz and Camel integration updated

2018-03-21 Thread Taher Alkhateeb
Super awesome Bilgin,

Maybe we should consider moving this work to plugins given how useful this
feature could be? The license is compatible and the work joins two great
apache projects.

On Wed, Mar 21, 2018, 1:06 PM Bilgin Ibryam  wrote:

> hi all,
>
> a quick heads up. I've been getting requests to fix the ofbiz-camel
> integration demo and finally did it.
> It works with the latest version of OFBiz and Camel
> Also added a nice diagram demonstrating how the integration works.
>
> https://github.com/bibryam/ofbiz-camel
>
> Cheers,
>
> --
> Bilgin Ibryam
> ASF Member | Architect at Red Hat
> http://ofbizian.com | @bibryam
>
> Kubernetes Patterns http://leanpub.com/k8spatterns (in progress)
> Camel Design Patterns https://leanpub.com/camel-design-patterns
>


Re: Financials ->Month End Close Procedures

2018-03-21 Thread Taher Alkhateeb
Valuable info! seems like a glaring "must-go-to-the-manual" thing

On Wed, Mar 21, 2018 at 11:46 AM, Sharan Foga  wrote:
> Hi James
>
> You don’t need to buy my book, to find out about this. :-)
>
> I’ve gone through the main process below with some links to the screens in 
> our demo.
> So the main things you need are:
>
> Time Periods
> https://demo-stable.ofbiz.apache.org/accounting/control/TimePeriods?organizationPartyId=Company
>
> To make sure that your time periods (monthly ones are setup). The last time I 
> checked OFBiz still needed the periods to be setup a bit like this
>
> Start Date 1 January 20XX End Date 1 February 20XX because the comparison for 
> whether a transaction is within the range is a less than comparison. So 
> setting the period end date to 31st January 20XX will miss the transactions 
> for the 31st January.
>
> Make sure the period is active
>
> GL Account Type Defaults Account Mapping
> https://demo-stable.ofbiz.apache.org/accounting/control/GlAccountAssignment?organizationPartyId=Company
>
> You need a mapping to make sure that:
> - ‘Profit Loss ‘ GL account type is mapped to your account for Net Income
> - 'Retained Earnings' GL account type is mapped to your account for Retained 
> Earnings
>
> Month End Closing
> https://demo-stable.ofbiz.apache.org/accounting/control/TimePeriods?organizationPartyId=Company
>
> To close the month simply close the time period and Period closing accounting 
> transaction should automatically be created and posted  (Do this in the 
> company settings not at the global GL accounts level)
>
> Period Closing Accounting Transaction
> To find the Period Closing Transaction, go to
>
> https://demo-stable.ofbiz.apache.org/accounting/control/FindAcctgTrans
>
> Re-opening a Closed Period
> You used to be able to do this via the Edit Custom Time Period screen
> https://localhost:8443/accounting/control/updateCustomTimePeriod
>
> but that is no longer the case.
>
> The workaround is to edit Time Period entity record to make it active. There 
> is a flag that indicates whether the period is active or not – just change it.
> https://demo-stable.ofbiz.apache.org/webtools/control/FindGeneric?entityName=CustomTimePeriod
>
> - Reverse the accounting transaction for the original period closing. (Just 
> go into the original accounting transaction and use the Revert option)
> - Do your accounting adjustments
> - Close the period again
>
> I think that having the ability to re-open a closed Time Period is a 
> something that is quite useful so would probably suggest that we look at 
> re-implementing something  that does this.
>
> I hope this helps and if anyone else has other ideas or suggestions then 
> please feel free to add your feedback.
>
> Thanks
> Sharan
> On 2018/03/20 13:17:56,  wrote:
>>
>> Can someone point me in the right direction for Month End Close
>> Accounting Procedures in Ofbiz.  As well how to re-open a closed period?
>>
>> Thanks,
>>
>> James
>>


Re: modelling a marketplace with multiple sellers and buyers

2018-03-20 Thread Taher Alkhateeb
Lump services together. Look at ECAs and service groups. I think this will
satisfy your transaction requirements.

On Tue, Mar 20, 2018, 4:16 PM Rajesh Mallah <mallah.raj...@gmail.com> wrote:

> Hi Taher ,
>
> there is ample space for the custom logic in the architecture . Its
> basically in
> an MVC pattern . There is a direct Model connected to the Entities(via
> non-ofbiz
> database connection) and an Indirect one  via XMLRPC of OFBiz.
> OFBiz is mostly being used as a data store now.
>
> With time as I familiarize myself with OFBiz capabilities,  more custom
> code can
> be offloaded  to OFBiz's inbuilt capabilities. Currently I have less
> capability or
> intent to mess with OFBiz code/ plugins.
>
> The only problem i see with the current approach is the lack of transaction
> control.
> I cannot rollback partial changes in case of run-time errors or failures.
> the XMLRPC requests run on server in its own transaction context. But I am
> yet
> to face any real challenge due to this.
>
> regds
> mallah.
>
>
>
> On Tue, Mar 20, 2018 at 3:24 PM, Taher Alkhateeb <
> slidingfilame...@gmail.com
> > wrote:
>
> > I like your approach, and my recommendation is to try and stick with
> > the existing model. The combination between products, parties, stores
> > and roles should be robust for your needs. However, I think you will
> > probably need some custom logic around the processing of buyers and
> > sellers since you're developing an exchange kind of market.
> >
> > I think maybe your custom logic is going to cover mostly the code
> > _before_ a transaction happens between buyers and sellers. Maybe you
> > can use the "opportunity" or "quote" or "requirement" entity to drive
> > the follow up until a deal is closed at which time you trigger maybe
> > an order which drives everything else. It depends on how you're
> > exactly designing your system.
> >
> >
> >
>


Re: modelling a marketplace with multiple sellers and buyers

2018-03-20 Thread Taher Alkhateeb
I like your approach, and my recommendation is to try and stick with
the existing model. The combination between products, parties, stores
and roles should be robust for your needs. However, I think you will
probably need some custom logic around the processing of buyers and
sellers since you're developing an exchange kind of market.

I think maybe your custom logic is going to cover mostly the code
_before_ a transaction happens between buyers and sellers. Maybe you
can use the "opportunity" or "quote" or "requirement" entity to drive
the follow up until a deal is closed at which time you trigger maybe
an order which drives everything else. It depends on how you're
exactly designing your system.

On Tue, Mar 20, 2018 at 1:13 AM, Rajesh Mallah  wrote:
>>
>> My Question is: is the  below   linkage of products to PartyID ( seller)
>> PartyID --> Facility --> Store --> Catalog -> Product Category -> Products.
>> feasible?   (Q1)
>>
>
> I could see that it is possible to relate a Party with each of the above
> entities
> via Entities
>
> FacilityParty , ProductStoreRole  , ProdCatalogRole , ProductCategoryRole ,
> ProductRole
> respectively.
>
> regds
> mallah.
>
>
>
>
>
>
> On Mon, Mar 19, 2018 at 11:07 PM, Rajesh Mallah 
> wrote:
>
>> Hi
>>
>> I am trying to model a use case with many sellers and buyers.
>>
>> There is a large intersection in the sets of item that these sellers
>> shall be dealing with.
>>
>> I have gone through some of the resources (documentation) that
>> covers entities like Categories , Products , Catalog , Store etc.
>>
>> My Question is: is the  below   linkage of products to PartyID ( seller)
>>
>> PartyID --> Facility --> Store --> Catalog -> Product Category -> Products.
>> feasible?   (Q1)
>>
>> We would want to maintain a Global Category Tree/Hierarchy for all sellers
>> but I am thinking of duplicating the products from a master list of
>> products
>> for each Seller (ie, partyID) . As each sellers might want to add their own
>> version of content (i.e, marketing pitch) for these generic(OEM)  products.
>>
>> Eg: A concrete product is lets say a "LED Monitor" under "Electronics"
>> category ,
>> there can be many manufactures of LED Monitors with their own specs
>> and variations.
>>
>> The idea of having a global category and catalog is to make their on
>> boarding
>> easier so that they quickly get started by indicating the items they they
>> would
>> want to copy into their catalogs.
>>
>> Q2: Do/Should  I also duplicate categories for each seller catalog ?
>>
>> any comments/guidance are solicited.
>>
>> regds
>> mallah.
>>


Re: Can we override the properties within widget.properties

2018-03-19 Thread Taher Alkhateeb
Hi

If you prefer git, the correct repo is
https://github.com/apache/ofbiz-framework. If you want to contribute and
for official support, svn is what the project uses.

On Mon, Mar 19, 2018, 1:49 PM Sameer Apte  wrote:

> Thanks for quick reply Jacques.
> I don't know why but I felt that you guys are already moving towards Git as
> well.
> I think I had seen some conversation in past suggesting that.
> (or may be it was my wishful thinking :-))
>
> On Mon, Mar 19, 2018 at 10:44 AM, Jacques Le Roux <
> jacques.le.r...@les7arts.com> wrote:
>
> > You should rather use SVN which is the official repo
> >
> > But anyway, here you go
> https://ofbiz.apache.org/source-repositories.html
> >
> > Jacques
> >
> >
> >
> > Le 19/03/2018 à 11:33, Sameer Apte a écrit :
> >
> >> Hi All,
> >>
> >> I was looking at git repo of ofbiz so that I can give the upgrade an
> try.
> >> However failing to see any branch or tag named after release 17.12
> >> Am I missing anything?
> >> The git repo I am trying to look at is https://github.com/apache/ofbiz
> >>
> >> Regards,
> >> Sameer Apte
> >>
> >> On Mon, Mar 19, 2018 at 10:00 AM, Sameer Apte 
> >> wrote:
> >>
> >> Thanks indeed Deepak.
> >>> I am still on 16.11 but the wiki link provided by you is tempting me to
> >>> upgrade.
> >>> Will give it a try.
> >>> Hopefully I don't have to invest too much time in upgrading.
> >>>
> >>> On Mon, Mar 19, 2018 at 3:32 AM, Deepak Dixit
> >>>  >>> com> wrote:
> >>>
> >>> Hi Sameer,
> 
>  Could you please share which release you are using?
> 
> 
>  If you are using R17.12 or trunk, You can achieve this by Theme
>  development.
>  Please refer following doc, for theme deve
>  https://cwiki.apache.org/confluence/x/YgFk
> 
> 
>  Thanks & Regards
>  --
>  Deepak Dixit
> 
>  On Sun, Mar 18, 2018 at 1:44 AM, Sameer Apte 
>  wrote:
> 
>  Kindly ignore the 11 from the values.. It was just my attempt to find
> if
> > that causes any -ve impact and therefore indicating location which i
> >
>  might
> 
> > look at to override.
> >
> > On Sat, Mar 17, 2018 at 6:36 PM, Sameer Apte 
> >
>  wrote:
> 
> > Hi All,
> >>
> >> I think subject line covers my question pretty much. :-)
> >> What i noticed is few properties as below in the widget.properties
> >>
> >> screen.name=html
> >>
> >> screen.screenrenderer=component://widget/templates/
> >>
> > Html11ScreenMacroLibrary.ftl
> >
> >> screen.formrenderer=component://widget/templates/
> >>
> > Html11FormMacroLibrary.ftl
> >
> >> screen.menurenderer=component://widget/templates/
> >>
> > Html11MenuMacroLibrary.ftl
> >
> >> screen.treerenderer=component://widget/templates/
> >>
> > Html11TreeMacroLibrary.ftl
> >
> >> I was wondering if there is any easy way out to not touch this and
> >> override the renderer properties to point to my own macro library
> ftl
> >>
> > files
> >
> >> in my custom component?
> >>
> >> Any hints, pointers or even examples will be greatly appreciated.
> >> Thanks in advance.
> >>
> >>
> >> Regards,
> >> Sameer Apte
> >>
> >>
> >>>
> >
>


Re: Help with roles / security groups in a certain usage case

2018-03-16 Thread Taher Alkhateeb
Okay, then you bake the security into your services.

On Mar 16, 2018 12:02 PM, "Rajesh Mallah"  wrote:

> Thanks Jaqcues!. Shall go through it.
>
>
> @Taher
>
> The normal access to entities  shall be through XMLRPC or SOAP using
> certain 'login.username' and 'login.password' params . There shall
> be a layer of software which shall be doing the XMLRPC/SOAP
>
> I shall be restricting  the exposure of data by limiting
> the dataset by filtering the dataset to the linked data of current
> user .
>
> But i wanted that the real security should be imposed by OFBiz
> security system only so that if ever OOTB access is granted
> the information exposure is consistent.
>
> Shall discuss more after some self-study.
>
> regds
> mallah.
>
>
>
>
>
>
>
>
>
>
> On Fri, Mar 16, 2018 at 1:03 PM, Jacques Le Roux <
> jacques.le.r...@les7arts.com> wrote:
>
> > Short answer: did you read https://cwiki.apache.org/confl
> > uence/display/OFBIZ/OFBiz+Security+Permissions ?
> >
> > Jacques
> >
> >
> > Le 16/03/2018 à 08:03, Rajesh Mallah a écrit :
> >
> >> Hi ,
> >>
> >> I am trying to model multiple suppliers ( scale=1's)  and
> >> multiple buyers (scale=1's)  .
> >>
> >> Each supplier (a PartyGroup/Person)  shall have (its own) product
> >> categories ,
> >> products , store , warehouses  etc that is required to run his business.
> >>
> >> Each buyer (a PartyGroup or Person) shall have minimal of such entities
> >> and its role is limited to buying and creating financial transactions.
> >>
> >> Can anyone point me to useful documentation  that shall help me
> >> to create a set of permission / role assignment so that each of the
> stake
> >> holders are able to see only that much information which they are
> >> supposed to see. By "supposed" i mean the security accesses that
> >> are generally accepted , eg each supplier should be able to see only
> >> his products / its pricings  and all entities owned by him only.
> >>
> >> Please Note all the above *needs *to be preferably done under a single
> >> tenant.
> >>
> >> Also any direct guidance is also solicited.
> >>
> >> regds
> >> mallah.
> >>
> >>
> >
>


Re: Help with roles / security groups in a certain usage case

2018-03-16 Thread Taher Alkhateeb
Hi Rajesh,

I think what you are looking for is row-level security (restricted database
records) not user interface security [1].

So your restrictions are more-or-less queries against the user login to
check if the party of logged in user has a certain role.

Essentially, the screens that you want to design with these restrictions
should check in ... if roles-to-entities exist and then
display related records.

[1]
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Security+Permissions#OFBizSecurityPermissions-Atrecordlevel,byusingRolelimitedpermissionsorrelatedmeans

On Mar 16, 2018 10:04 AM, "Rajesh Mallah"  wrote:

> Hi ,
>
> I am trying to model multiple suppliers ( scale=1's)  and
> multiple buyers (scale=1's)  .
>
> Each supplier (a PartyGroup/Person)  shall have (its own) product
> categories ,
> products , store , warehouses  etc that is required to run his business.
>
> Each buyer (a PartyGroup or Person) shall have minimal of such entities
> and its role is limited to buying and creating financial transactions.
>
> Can anyone point me to useful documentation  that shall help me
> to create a set of permission / role assignment so that each of the stake
> holders are able to see only that much information which they are
> supposed to see. By "supposed" i mean the security accesses that
> are generally accepted , eg each supplier should be able to see only
> his products / its pricings  and all entities owned by him only.
>
> Please Note all the above *needs *to be preferably done under a single
> tenant.
>
> Also any direct guidance is also solicited.
>
> regds
> mallah.
>


Re: schema support for tenant data sources

2018-03-12 Thread Taher Alkhateeb
This seems to be a topic more appropriate to the development mailing
list since you're suggesting changes to design.

On Mon, Mar 12, 2018 at 5:09 PM, Shi Jinghai  wrote:
> Amazing idea.
>
> Unfortunately the lovely MariaDB and TiDB doesn't support the pg style schema.
>
> -邮件原件-
> 发件人: Rajesh Mallah [mailto:mallah.raj...@gmail.com]
> 发送时间: 2018年3月12日 16:16
> 收件人: user@ofbiz.apache.org
> 主题: schema support for tenant data sources
>
> Hi ,
>
>
> I felt the need for using schema of existing databases for holding tenant 
> data.
>
> Currently the command  eg:
>
> ./gradlew createTenant -PtenantId=tenant001 -PtenantName="My Tenant 001" 
> -PdomainName=tenant001.example.com
> -PtenantReaders=seed,seed-initial,ext
> -PdbPlatform=P -PdbIp=127.0.0.1
> -PdbUser=ofb_tenant001
> -PdbPassword=ofbiz@tenant
>
>
> creates following data sources in tenant_data_source table.
>
> -+
> tenant_id | tenant001
> entity_group_name | org.apache.ofbiz
> jdbc_uri  | jdbc:postgresql://127.0.0.1/ofbiz_tenant001
> jdbc_username | ofb_tenant001
> jdbc_password | ofbiz@tenant
>  -[ RECORD 2 ]-+
> tenant_id | tenant001
> entity_group_name | org.apache.ofbiz.olap
> jdbc_uri  | jdbc:postgresql://127.0.0.1/ofbizolap_tenant001
> jdbc_username | ofb_tenant001
> jdbc_password | ofbiz@tenant
>
> -
>
> I feel IF the command and entity TenantDataSource are extended to allow 
> specification of *database *and *database-schema * it shall be very useful in 
> certain use cases.
>
>
> schemas in databases allow a level of compartmentalization between database 
> and tables . The advantage of having schema over separate databases is that 
> it allows joining of tables across schemas whereas cross database joins are 
> not supported well in many databases.
>
> In current use case I had housed the ofbiz entities in a schema of a database 
> and utilized the  schema-name attribute of  element in 
> entityengine.xml. In the same database other schema was being used to store 
> non-OFBiz custom entities.
>
> Since current tenant_data_source does not allows specification of schema
>
> it shall be difficult to use that dataset as a part of multi-tenant setup.
>
> Fortunately PostgreSQL supports a feature that shall be the basis of an 
> work-around to deal with this situation. It allows to set a config parameter 
> at per user level.
>
> This feature can be exploited set set the search_path of a given user so that 
> a user "sees" only that schema in DB.
>
> given the fact that  allows specification of schema and DB in 
> entityengine.xml i feel it should be possible.
>
>
> regds
> mallah.


Re: multi tenant setup help

2018-03-11 Thread Taher Alkhateeb
I join Michael in thanking you rajesh, and highly recommend joining the
documentation team. You have a natural talent for this sort of work

On Mar 12, 2018 12:01 AM, "Michael Brohl"  wrote:

Hi Rajesh,

great work, thank you!

I'd like to encourage you to contribute this to the official OFBiz wiki so
that users can find and benefit from it.

If you like to do more work on the documentation, I'd also like to invite
you to join the OFBiz documentation team, see [1].

Thanks and regards,

Michael

[1] https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Docu
mentation+Team


Am 11.03.18 um 21:51 schrieb Rajesh Mallah:

Hello Everyone/ Taher  ,
>
> I have put together a detailed instruction steps for newbies here:
>
> https://medium.com/@mallah.rajesh/single-and-multi-tenant-se
> tup-of-ofbiz-erp-on-ubuntu-linux-an-walkthrough-for-newbies-d61d3552ad62
>
> regds
> mallah.
>
>
> On Sun, Mar 11, 2018 at 3:29 PM, Rajesh Mallah 
> wrote:
>
> Hello Everyone/Taher ,
>>
>> i have been able to setup multi-tenant using various sources of
>> information.
>>
>> Thanks for the tips/help.
>>
>> regds
>> mallah.
>>
>>


Re: multi tenant setup help

2018-03-10 Thread Taher Alkhateeb
Hello Rajesh,

Did you try the README.md? It should be pretty comprehensive. Also,
try to understand the overall design. Ignore for a second the syntax
and think of the design of multi tenancy. You have the following
databases:

1- The OFBiz standard single tenant instance (ofbiz)
2- A master database for all tenants (ofbizTenant)
3- A database per tenant.

When you call the command createTenant, you essentially load that
tenant's information into the tenants master database AND you also
create a new database specific to that tenant.

The main differentiation between the tenants is the delegator name.
The default database has the delegator "delegator". Every tenant has a
database with a delegator called "delegator#TenantIdHere"

So, when loading specific data like seed, for a specific tenant, then
you need to pass both the readers AND the correct delegator.

I hope this helps and that I understood and answered your question
appropriately.

On Sat, Mar 10, 2018 at 9:29 PM, Rajesh Mallah  wrote:
> Hi ,
>
> I am trying to setup/configure ofbiz with multi tenant feature
> i am following the doc
>
> https://cwiki.apache.org/confluence/display/OFBIZ/Multitenancy+support
>
> there are 2 gradle tasks related to tenants
>
> createTenant - Create a new tenant in your environment
> loadTenant - Load data using tenantId
>
> however they are not referenced in that doc . More over the
> docs refer to ant and the commands eg:
>
>
> java -Xmx512m -XX:MaxPermSize=128m -jar ./build/libs/ofbiz.jar -install
> -readers=seed,seed-initial,ext -delegator=default
> does not really work.
>
>
> could someone please point to some references that would help.
>
> particularly i have done till below
>
>
>- OFBIZ-HOME/framework/entity/data/.xml
>- OFBIZ-HOME/framework/entity/config/entityengine.xml
>- OFBIZ-HOME/framework/entity/ofbiz-component.xml
>
> and i ran
>  ./gradlew "ofbiz --load-data readers=seed,seed-initial,ext "
>
> in ofbiz-component i have :
>
>  location="data/TenantDemoData.xml"/>
>
> TenantDemoData.xml
> =
>
> 
> 
> 
>  jdbcUri="jdbc:postgresql://postgresql/tenant_a_db"
> jdbcUsername="ofbiz_cust_a" jdbcPassword=""/>
>  entityGroupName="org.apache.ofbiz.olap"
> jdbcUri="jdbc:postgresql://postgresql/tenant_a_db"
> jdbcUsername="ofbiz_cust_a" jdbcPassword=""/>
> 
>
> ===
>
> entityengine.xml
> =
>
>entity-group-reader="main" entity-eca-reader="main"
> distributed-cache-clear-enabled="false">
>  datasource-name="localpostgres"/>
>  datasource-name="localpostolap"/>
>  datasource-name="localposttenant"/>
> 
>  entity-group-reader="main" entity-eca-reader="main"
> entity-eca-enabled="false" distributed-cache-clear-enabled="false">
>  datasource-name="localpostgres"/>
>  datasource-name="localpostolap"/>
>  datasource-name="localposttenant"/>
> 
>
> 
>  entity-group-reader="main" entity-eca-reader="main">
>  datasource-name="localpostgres"/>
>  datasource-name="localpostolap"/>
>  datasource-name="localposttenant"/>
> 
> 
>
>
> what is next?
>
>
>
>
> regds
> rajesh kr mallah.


Re: [Documentation Team] Workflow and Process Ideas

2018-03-09 Thread Taher Alkhateeb
Just to clarify what I mean folks: The ML is definitely the place for
making design and development decisions. And the purpose of mentors, wiki,
jira, skype, hipchat or whatever else is not to replace it, but to avoid
unnecessary communication in the ML. This could be things like general
beginner questions that have nothing to do with the design or development
of this documentation project.

On Mar 9, 2018 11:53 AM, "Jacques Le Roux" <jacques.le.r...@les7arts.com>
wrote:

> Le 09/03/2018 à 01:43, Taher Alkhateeb a écrit :
>
>> and maybe even
>> Skype for quick simple tips or so.
>>
> If really necessary I'd prefer the OFBiz HipChat room which is a bit more
> "official".
> But, as Michael reminded, the ASF mantra for communication is "if it did
> not happen on the list it didn't happen at all". This for at least obvious
> historical and research reasons. For now the dev seems indeed the best
> place.
> As Craig suggested,  a preface like [DOC] would fit.
>
> Jacques
>
>


Re: [Documentation Team] Workflow and Process Ideas

2018-03-08 Thread Taher Alkhateeb
Perhaps we won't need as much communication as you may expect because maybe
lot of the details could be conveyed by mentors which would significantly
reduce traffic. Also, perhaps we shouldn't create a new ML before
_validating_ the need for it. If we find a consistent, high volume
communication happening then maybe that would be the preferred time to
create it, not to mention that we still have the wiki, JIRA, and maybe even
Skype for quick simple tips or so.

On Mar 9, 2018 3:24 AM, "Craig Parker" <cr...@fossfolks.com> wrote:

> I'd been wondering the same thing about a separate list.
>
>
> On 03/08/2018 05:59 PM, Timothy Boyden wrote:
>
>> If another mail list cannot be done, perhaps the Skype list or a team
>> tool like Microsoft Teams or Slack?
>>
>> -Tim
>>
>> -Original Message-
>> From: Timothy Boyden <trboy...@boyden.us>
>> Sent: Thursday, March 8, 2018 5:57 PM
>> To: user@ofbiz.apache.org
>> Subject: RE: [Documentation Team] Workflow and Process Ideas
>>
>> I am not currently on @Dev list. My thoughts on this is documentation
>> could be a heavy list and may be better suited to its own list. The
>> activity would be too much for @user and I am sure the devs would prefer
>> not to have the extra chatter on their thread. Just my $0.02.
>>
>> -Tim
>>
>> -Original Message-
>> From: Taher Alkhateeb <slidingfilame...@gmail.com>
>> Sent: Thursday, March 8, 2018 5:41 AM
>> To: user@ofbiz.apache.org
>> Subject: Re: [Documentation Team] Workflow and Process Ideas
>>
>> Great Work Sharan. Everything is very thorough and clear
>>
>> As you know from the development ML, the initial work is committed into
>> trunk. Perhaps the next actions should include:
>> - identifying and matching mentors and mentees (if that's a word!)
>> - maybe creating an umbrella JIRA for the entire project
>>
>> And I suppose perhaps we should start to move this discussion to dev@?
>> I hope everyone in the documentation team is subscribed over there?
>>
>> Cheers,
>>
>> On Thu, Mar 8, 2018 at 11:56 AM, Sharan Foga <sha...@apache.org> wrote:
>>
>>> Hi All
>>>
>>> I’ve started putting some ideas together about a suggested process for
>>> managing the flow of the documentation work using Jira. Essentially we want
>>> to make it as simple as possible for people to contribute.
>>>
>>> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Documentation+
>>> Team
>>>
>>> There is a small diagram using the HR Guide as an example to show the
>>> folder structure we are looking to implement. I've split the process into
>>> various steps with some simple descriptions of what would need to be done.
>>>
>>> I’m going to be unavailable for the next few days but wanted to start
>>> this conversation. I'm hoping that people will take a look what I've
>>> started, and then also add their comments, ideas and improvements :-)
>>>
>>> Looking forward to your feedback.
>>>
>>> Thanks
>>> Sharan
>>>
>>
>


Re: [Documentation Team] Workflow and Process Ideas

2018-03-08 Thread Taher Alkhateeb
Great Work Sharan. Everything is very thorough and clear

As you know from the development ML, the initial work is committed
into trunk. Perhaps the next actions should include:
- identifying and matching mentors and mentees (if that's a word!)
- maybe creating an umbrella JIRA for the entire project

And I suppose perhaps we should start to move this discussion to dev@?
I hope everyone in the documentation team is subscribed over there?

Cheers,

On Thu, Mar 8, 2018 at 11:56 AM, Sharan Foga  wrote:
> Hi All
>
> I’ve started putting some ideas together about a suggested process for 
> managing the flow of the documentation work using Jira. Essentially we want 
> to make it as simple as possible for people to contribute.
>
> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Documentation+Team
>
> There is a small diagram using the HR Guide as an example to show the folder 
> structure we are looking to implement. I've split the process into various 
> steps with some simple descriptions of what would need to be done.
>
> I’m going to be unavailable for the next few days but wanted to start this 
> conversation. I'm hoping that people will take a look what I've started, and 
> then also add their comments, ideas and improvements :-)
>
> Looking forward to your feedback.
>
> Thanks
> Sharan


Re: OFBiz Blog – Febraury 2018 Update

2018-03-07 Thread Taher Alkhateeb
Great work again, and very exciting times ahead.

On Mar 7, 2018 5:12 PM, "Sharan Foga"  wrote:

Hi Everyone

You can find the details of our monthly blog update at the link below::

https://s.apache.org/rJj9

Our blog updates are a collaborative effort, so thanks Pranay, Michael and
Jacques for their continued help in reviewing, providing feedback and
helping preparing it.

Thanks
Sharan


Re: need help on building/installing/uninstalling plugins and debugging framework+plugins in eclipse

2018-03-06 Thread Taher Alkhateeb
Hello Fred,

The answer to both questions is in README.md. In a nutshell, you need to
configure eclipse for remote debug on port 5005, fire up OFBiz in debug
mode (./gradlew ofbizDebug), and then run eclipse remote debug. Also
plugins are built automatically when they are added to OFBiz.

On Mar 7, 2018 9:27 AM, "Fred Wang"  wrote:

> Dear Community,
>
> I just imported framework and plugins respectively from trunk to
> Eclipse Oxygen 2, they look good. My question is how the plugins can
> be built/installed/uninstalled, then how the eclipse is configured to
> debug the framework+plugins?
>
> BTW, I managed to figure out how the version 16.11 was imported and
> debugged in eclipse. If someone needs it, I can share.
>
> Thanks,
>


Re: 答复: OFBiz Theme Customization

2018-03-06 Thread Taher Alkhateeb
Hello,

I find debugging theme issues to be a bit easier if you start from the
browser, not the code, and then catch the trail from there. For example,
you can easily run firebug or something similar to inspect the logo and
identify its location.

On Mar 7, 2018 6:33 AM, "Schumann Ye"  wrote:

> Dear Julien,
>
> After a second trial, I found that I have to remove the file
> rainbowstone/images/ofbiz-white.svg so that the pre-defined logo is gone.
> Obviously simply replacing the file ofbiz_logo.gif is not enough.
> Thanks for your help and now the issue is resolved!
>
> Schumann
>
> 发件人: Schumann Ye 
> 发送时间: 2018年3月6日 19:32
> 收件人: user@ofbiz.apache.org
> 主题: 答复: OFBiz Theme Customization
>
> Dear Julien,
>
> Many thanks for your quick response.
> Unfortunately it seems there isn’t ofbiz_logo.svg file within the folder
> ../themes/rainbowstone/webapp/rainbowstone/images.
> There is only the file “ofbiz_logo.gif”.
> BTW, I am using the official release of 16.11.03 instead of trunk.
>
> What I did is to replace the new customized logo with the pre-installed
> ofbiz_logo.gif.
> However it didn’t work.
>
> Any further idea?
> Enclosed I attached a screen shot of my deployment.
> Thanks
> [cid:image001.png@01D3B581.D41AEF60]
>
> Schumann
> +86-1800-150-1800
> 发送自 Windows 10 版邮件应用
>
> 发件人: Julien NICOLAS
> 发送时间: 2018年3月6日 18:04
> 收件人: user@ofbiz.apache.org
> 主题: Re: OFBiz Theme Customization
>
> Hi Ye,
>
> If you inspect the logo (right click on the logo and inspect in your
> browser), you will find that the css manage the logo path.
>
> You will see that this logo is the vectorial version one. Here after the
> path :
>
> /home/julien/OFBizRoot/ofbiz-framework-official/trunk/
> themes/rainbowstone/webapp/rainbowstone/images/ofbiz_logo.svg
>
> Have a nice day :)
>
> Julien.
>
> Le 06/03/2018 à 10:20, Schumann Ye a écrit :
> > Dear Gurus,
> >
> > I want to customize the default provided themes and modify the
> accompanying css and other element.
> > I have successfully modified the logo of the themes
> (bluelight/flatgrey/tomahawk) and failed with Rainbowstone.
> > The previous 3 themes is done by replacing the logo.png and/or
> ofbiz_logo.gif under the themes folder "images", however this trick doesn't
> work for Rainbowstone.
> >
> > I spent almost one day in tracking where goes wrong and found that might
> be because of the CommonScreens.xml pre-configurations of the field
> "layoutSettings.commonHeaderImageLinkUrl".
> > Can any guru help and shed a new light on my problem?
> >
> > Have a nice day!!!
> >
> > Best Regards
> >
> > Schumann Ye
> > KTK Group Co., Ltd.
> > Mobile:+86-1800-150-1800
> > Email: schum...@ktk.com.cn
> > **
> > Add: Industrial Park,Yaoguan Town,Wujin District, Changzhou City,
> JiangSu Province,China
> > Zip Code: 213102
> > Website: http://www.ktk.com.cn ktk.com.cn%3chttp:/www.ktk.com.cn/>>   http://www.wjjh.com www.wjjh.com/>
> >
> >
> >
> >
>
>


Re: build but not start the system

2018-03-04 Thread Taher Alkhateeb
If I'm not mistaken, the build command would resolve compile dependencies
but not runtime dependencies. If this is correct then I recommend you run
any OFBiz server command. For example:
./gradlew "ofbiz --help"

On Mar 5, 2018 9:00 AM, "Deepak Dixit" 
wrote:

Hi Hans,


You can use

./gradlew


or

./gradlew build



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

On Mon, Mar 5, 2018 at 11:12 AM, Hans Bakker 
wrote:

> For the creation of a docker image i need to be able to build the system
> and resolve the dependencies but not start it.
>
> How can i do that?
>
> --
>
> Regards,
>
> Hans Bakker
> CEO, http://antwebsystems.com
>


Re: Installing Ofbiz problem on Mac

2018-02-27 Thread Taher Alkhateeb
First thing I would advise is to downgrade to java 8 and make sure
$JAVA_HOME is correctly set.

On Feb 27, 2018 8:39 PM, "xiaolou.hu...@gmail.com" 
wrote:

Hi all,

My name is Xiaolou Huang, you can call me Lor, I am a Computer Science
major rising junior at Arizona State University. I have a problem about
install Ofbiz on both macOSX and windows7, I would like to solve problem on
mac first, since I am using macOS much often.

I have updated my java version:
java version "9.0.4"
Java(TM) SE Runtime Environment (build 9.0.4+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)

I read something said you need install Subversion, I used Homebrew, here is
what I did:
XIAOLOUs-MacBook-Air:~ Lor$ brew options subversion
--with-gpg-agent
Build with support for GPG Agent
--with-java
Build Java bindings
--with-python
Build with python support
--without-perl
Build without Perl bindings
   --without-ruby
Build without Ruby bindings

XIAOLOUs-MacBook-Air:~ Lor$ brew install subversion
Updating Homebrew...

After Homebrew finished updating, I tried it again, still nothing showed up:
XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ ./gradlew cleanAll
loadDefault
XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ ./gradlew ofbiz
XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$

I have watched some videos on Youtube, none of them are very helpful, does
anyone know what's happening here?

Sincerely,
Lor


Re: [SKYPE CALL] Confirmation of Date and Time for Documentation Call

2018-02-27 Thread Taher Alkhateeb
Hi Sharan,

On my part, the agenda of items i'd like to discuss includes:
- an overview and orientation of the documentation framework
- some guidelines and recommendations for technical writing
- OFBiz specific design considerations
- Tools and resources

In a sense, my agenda is a bit abstract because perhaps setting the ground
work would help in elaborating and brainstorming once people understand
exactly how their ideas should fit within the framework.

On Feb 27, 2018 2:13 PM, "Sharan Foga" <sha...@apache.org> wrote:

> Hi All
>
>  have a few ideas, I wanted to share in preparation for the call too (and
> I'm in agreement with Michael and Taher's suggestions so far) :
>
> - To get started we need to focus on co-ordination, structure and
> organisation (we have a lot of people wanting to contribute but their
> efforts need to be co-ordinated
> - We need a visual high level plan (see example roadmap above) so that
> everyone can quickly see progress and main milestones
> - We need to define the scope of the effort (maybe do this by saying what
> we are not going to do??, eg. not an FAQ, not a tutorial, not a use case,
> not a cookbook) so will be feature documentation (i.e. describing what we
> have available)
> - We can look at using JIRA as main co-ordination and tracking tool. We
> could look at using a new label eg 'documentation' in conjunction with the
> existing components. Maybe update workflow to have a new QA status ?
> Is the assumption that the work will be done in the trunk ? (since 17.12
> branch already created). This will mean that it become part of the 18.xx
> branch. Do we look at backporting to 17.12 ???
> - Look at some ways to get started working together. One idea could be
> that we all work together creating the documentation for one component (My
> suggestion would be HR since a complete HR manual already exists. It will
> need a full review and maybe rewrite in parts but the main content is
> already there. Each person could be allocated an area and be responsible
> for submitting a patch
>
> These are some of my brainstorming ideas :-) and I look forward to
> chatting with those of you planning to be on the call later today.
>
> Thanks
> Sharan
>
>
> On 2018/02/24 15:32:04, Taher Alkhateeb <slidingfilame...@gmail.com>
> wrote:
> > it would've been great if you could join us. One of the points I had
> > in my agenda is to suggest having the experienced people in the team
> > volunteer for mentorship to anyone wanting it from the documentation
> > team. This would help put structure and coordinate efforts in this big
> > team of contributors.
> >
> > So in reply to your thoughts above, yes I believe you and the other
> > experienced developers would be instrumental in coordination and
> > provision of structure for the rest of the team. My role would perhaps
> > mostly be to update the documentation system code as per the evolving
> > needs of the documentation team and to help with any technical /
> > support issues.
> >
> > On Sat, Feb 24, 2018 at 6:06 PM, Michael Brohl <michael.br...@ecomify.de>
> wrote:
> > > Hi Sharan, all,
> > >
> > > I most likely cannot attend the Skype call so I will add some thoughts
> here.
> > >
> > > I think we should set up a small documentation quality team which is
> > > responsible that the documentation send in by contributors is of good
> > > quality, consistent and (mostly) error free. This team should also
> propose
> > > the structure of the documentation and maybe add the empty .adoc files
> and
> > > includes to lead the way for contributors.
> > >
> > > I'd volunteer to be part of this team.
> > >
> > > It could also be a good idea to track who is working on a piece of
> > > documentation to avoid double work and encourage collaboration between
> > > contributors interested in the same topic(s). I think this might be
> Jira
> > > with a main task containing the main "rules" of documentation and
> several
> > > subtasks for each topic.
> > >
> > > I suggest to have also a process to move documentation from the Wiki
> to the
> > > documentation in the repository. We should make sure that we do not
> have
> > > different documentation in both places. If someone is working on a
> topic he
> > > also could search the Wiki for it and try to merge/move it where
> applicable.
> > >
> > > Moved/merged documentation from the Wiki should then be moved to an
> adoc
> > > Attic until everthing is cleared and the community agrees to remove it
> from
> &g

Re: [SKYPE CALL] Confirmation of Date and Time for Documentation Call

2018-02-24 Thread Taher Alkhateeb
it would've been great if you could join us. One of the points I had
in my agenda is to suggest having the experienced people in the team
volunteer for mentorship to anyone wanting it from the documentation
team. This would help put structure and coordinate efforts in this big
team of contributors.

So in reply to your thoughts above, yes I believe you and the other
experienced developers would be instrumental in coordination and
provision of structure for the rest of the team. My role would perhaps
mostly be to update the documentation system code as per the evolving
needs of the documentation team and to help with any technical /
support issues.

On Sat, Feb 24, 2018 at 6:06 PM, Michael Brohl  wrote:
> Hi Sharan, all,
>
> I most likely cannot attend the Skype call so I will add some thoughts here.
>
> I think we should set up a small documentation quality team which is
> responsible that the documentation send in by contributors is of good
> quality, consistent and (mostly) error free. This team should also propose
> the structure of the documentation and maybe add the empty .adoc files and
> includes to lead the way for contributors.
>
> I'd volunteer to be part of this team.
>
> It could also be a good idea to track who is working on a piece of
> documentation to avoid double work and encourage collaboration between
> contributors interested in the same topic(s). I think this might be Jira
> with a main task containing the main "rules" of documentation and several
> subtasks for each topic.
>
> I suggest to have also a process to move documentation from the Wiki to the
> documentation in the repository. We should make sure that we do not have
> different documentation in both places. If someone is working on a topic he
> also could search the Wiki for it and try to merge/move it where applicable.
>
> Moved/merged documentation from the Wiki should then be moved to an adoc
> Attic until everthing is cleared and the community agrees to remove it from
> the Wiki.
>
> We should also define which contents should be in the repository and what
> the Wiki should contain or be linked to.
>
> These are my first thoughts, happy to get some feedback and news from the
> Skype call.
>
> Thanks,
>
> Michael Brohl
> ecomify GmbH
> www.ecomify.de
>
> Am 21.02.18 um 09:21 schrieb Sharan Foga:
>
>> Hi All
>>
>> Thanks for all the feedback received about the documentation effort. It is
>> great to see so many people wanting to be involved as part of the team.
>> Based on the feedback I've seen so far I would like to confirm the date and
>> time of the Skype call next week to kick start the documentation effort.
>>
>> The call will be on Tuesday 27th February at 14.00 (UTC+1)
>>
>> See below for what this time is for other UTC times
>>
>> UTC-5 (New York, Boston): 08.00
>> UTC+1 (Czech Republic, Germany, France, Italy) : 14.00
>> UTC+2 (South Africa): 15.00
>> UTC+3 (Kuwait) : 16.00
>>UTC+5 (Pakistan) : 18.00
>>UTC+5.5 (India) : 18.30
>>
>> Please remember that anyone and everyone can join the team at any time and
>> you don't need to be an expert in OFBiz to contribute to it. In fact I think
>> that people new to OFBiz have a unique perspective and can let us know if
>> what has been written is easy to understand!
>>
>> If you can't make the call, then don't worry as we will be writing up the
>> notes about what was discussed and post the details to the mailing list.
>>
>> Thanks
>> Sharan
>
>
>


Re: quick docker image startup?

2018-02-21 Thread Taher Alkhateeb
If you want my opinion, just download the cache and save it to your image.
Who cares about size, this is an end product image, nothing to be used in a
chain.

So just have a gradlew command to build and load inside your Dockerfile.
Remember the cache is simply replacement to the old jars that existed with
the code base. This is now how most modern software works and it is
becoming less and less common for projects to carry dependencies in the
code base.

Now regarding your comment about username and server, there are many tweaks
you can make to gradle. Check the command line documentation [1]. For
example you can relocate the cache location using the --gradle-user-home
flag. Also generally in docker things are very much dependent on userne,
that's a docker thing, not a gradle thing.

HTH

[1] https://docs.gradle.org/current/userguide/command_line_interface.html

On Feb 22, 2018 6:23 AM, "Hans Bakker" <h.bak...@antwebsystems.com> wrote:

Hi Taher, thanks for your support.

My problem was caused by the unavailability of the gradle cache by using
the java -jar command. This means that his cache is part of the system
execution and is not just used to build the system. I also found it cannot
be created offline, it looks like it is dependent on the username and
server?

I have the docker image working now according your recommendations:

Within the docker container I run the ofbiz system as user root and persist
the directory /root/.gradle

This means however that the first startup of the container requires the
full download of all dependencies.

Conclusion:
1. it is not possible to create an ofbiz production system locally and
install it in a production environment. It needs to be build in place of
production.

2. The gradle cache is part of the system code, the system will not run
without it.

It would be much better if we could build the system offline, create the
docker container which should run without rebuilding and the gradle cache.
This is what a docker container is used for?


-- 

Regards,

Hans Bakker
CEO, http://antwebsystems.com


On 21/02/18 20:34, Taher Alkhateeb wrote:

> Oh .. that would be hard to debug without further analysis. Essentially
> Java is not seeing libraries in the classpath. The classpath is defined
> _inside_ the jar file with pointers to where the gradle cache is located.
>
> So it could be many things, maybe you did not make a first run with gradle
> to download the cache, or maybe you have different users inside the
> container each with their own cache directory. Another possibility is that
> you mounted a volume on top of the downloaded cache.
>
> On Feb 21, 2018 4:22 PM, "Hans Bakker" <h.bak...@antwebsystems.com> wrote:
>
> Thanks Taher, for the extended reply.
>
> currently I have tried the most simple one:
> java -jar build/libs/ofbiz.jar
>
> this works outside the docker image, however within the running container
> it gives the error:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/commons/cli/ParseException
>  at org.apache.ofbiz.base.start.Start.main(Start.java:60)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.cli.ParseEx
> ception
>  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
>
> perhaps you have a suggestion for me?
>
> thanks again for your help.
> Regards,
> Hans
>
>
> On 21/02/18 17:56, Taher Alkhateeb wrote:
>
> Oh I just remembered something else you might want to do. You can create a
>> volume for the cache, this way you wait for the download only the first
>> time you instantiate the image and subsequent container instantiations
>> would not need to download anything
>>
>> On Feb 21, 2018 9:55 AM, "Taher Alkhateeb" <slidingfilame...@gmail.com>
>> wrote:
>>
>> The image has to get larger, there is no way around that. Either you
>> repopulate the cache or save a bigger image. OFBiz will not work without
>> its libraries just like in the ant days.
>>
>> For me I have a big OFBiz image because I don't care about size as much as
>> I do about startup time.
>>
>> Now your question was how to start without a rebuild. You can either:
>>
>> 1- in build.gradle go to the method createOfbizCommandTask and remove
>> "dependsOn build"
>> OR
>> 2- run java -jar build/libs/ofbiz.jar
>>
>> On Feb 21, 2018 8:03 AM, "Hans Bakker" <h.bak...@antwebsystems.com>
>> wrote:
>>
>> Good day!
>>
>> i am try

Re: quick docker image startup?

2018-02-21 Thread Taher Alkhateeb
Oh .. that would be hard to debug without further analysis. Essentially
Java is not seeing libraries in the classpath. The classpath is defined
_inside_ the jar file with pointers to where the gradle cache is located.

So it could be many things, maybe you did not make a first run with gradle
to download the cache, or maybe you have different users inside the
container each with their own cache directory. Another possibility is that
you mounted a volume on top of the downloaded cache.

On Feb 21, 2018 4:22 PM, "Hans Bakker" <h.bak...@antwebsystems.com> wrote:

Thanks Taher, for the extended reply.

currently I have tried the most simple one:
java -jar build/libs/ofbiz.jar

this works outside the docker image, however within the running container
it gives the error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/cli/ParseException
at org.apache.ofbiz.base.start.Start.main(Start.java:60)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.cli.ParseEx
ception
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

perhaps you have a suggestion for me?

thanks again for your help.
Regards,
Hans


On 21/02/18 17:56, Taher Alkhateeb wrote:

> Oh I just remembered something else you might want to do. You can create a
> volume for the cache, this way you wait for the download only the first
> time you instantiate the image and subsequent container instantiations
> would not need to download anything
>
> On Feb 21, 2018 9:55 AM, "Taher Alkhateeb" <slidingfilame...@gmail.com>
> wrote:
>
> The image has to get larger, there is no way around that. Either you
> repopulate the cache or save a bigger image. OFBiz will not work without
> its libraries just like in the ant days.
>
> For me I have a big OFBiz image because I don't care about size as much as
> I do about startup time.
>
> Now your question was how to start without a rebuild. You can either:
>
> 1- in build.gradle go to the method createOfbizCommandTask and remove
> "dependsOn build"
> OR
> 2- run java -jar build/libs/ofbiz.jar
>
> On Feb 21, 2018 8:03 AM, "Hans Bakker" <h.bak...@antwebsystems.com> wrote:
>
> Good day!
>
> i am trying to create a docker image of the new ofbiz using gradle.
>
> And obviously i want a quick startup time.
>
> So i run all the gradle build tasks offline, copy the result in a docker
> image and install it in a docker environment.
>
> Then as normal run ./gradlew ofbiz  as the startup command.
>
> Then because the gradle cache is not there gradle rebuids. Copying the
> gradle cache into the docker image is no option, because it gets
> substantial bigger.
>
> How to start the system assuming the build was successful and no rebuild is
> required?
>
>
-- 

Regards,

Hans Bakker
CEO, http://antwebsystems.com


Re: quick docker image startup?

2018-02-21 Thread Taher Alkhateeb
Oh I just remembered something else you might want to do. You can create a
volume for the cache, this way you wait for the download only the first
time you instantiate the image and subsequent container instantiations
would not need to download anything

On Feb 21, 2018 9:55 AM, "Taher Alkhateeb" <slidingfilame...@gmail.com>
wrote:

The image has to get larger, there is no way around that. Either you
repopulate the cache or save a bigger image. OFBiz will not work without
its libraries just like in the ant days.

For me I have a big OFBiz image because I don't care about size as much as
I do about startup time.

Now your question was how to start without a rebuild. You can either:

1- in build.gradle go to the method createOfbizCommandTask and remove
"dependsOn build"
OR
2- run java -jar build/libs/ofbiz.jar

On Feb 21, 2018 8:03 AM, "Hans Bakker" <h.bak...@antwebsystems.com> wrote:

Good day!

i am trying to create a docker image of the new ofbiz using gradle.

And obviously i want a quick startup time.

So i run all the gradle build tasks offline, copy the result in a docker
image and install it in a docker environment.

Then as normal run ./gradlew ofbiz  as the startup command.

Then because the gradle cache is not there gradle rebuids. Copying the
gradle cache into the docker image is no option, because it gets
substantial bigger.

How to start the system assuming the build was successful and no rebuild is
required?

-- 

Regards,

Hans Bakker
CEO, http://antwebsystems.com


Re: quick docker image startup?

2018-02-20 Thread Taher Alkhateeb
The image has to get larger, there is no way around that. Either you
repopulate the cache or save a bigger image. OFBiz will not work without
its libraries just like in the ant days.

For me I have a big OFBiz image because I don't care about size as much as
I do about startup time.

Now your question was how to start without a rebuild. You can either:

1- in build.gradle go to the method createOfbizCommandTask and remove
"dependsOn build"
OR
2- run java -jar build/libs/ofbiz.jar

On Feb 21, 2018 8:03 AM, "Hans Bakker"  wrote:

Good day!

i am trying to create a docker image of the new ofbiz using gradle.

And obviously i want a quick startup time.

So i run all the gradle build tasks offline, copy the result in a docker
image and install it in a docker environment.

Then as normal run ./gradlew ofbiz  as the startup command.

Then because the gradle cache is not there gradle rebuids. Copying the
gradle cache into the docker image is no option, because it gets
substantial bigger.

How to start the system assuming the build was successful and no rebuild is
required?

-- 

Regards,

Hans Bakker
CEO, http://antwebsystems.com


Re: ofbiz framework component in trunk is misleading?

2018-02-20 Thread Taher Alkhateeb
Hi Jim and everyone,

As a matter of fact, in the README.md there is a section called
"Repository and directory structure" that describes the changes that
were made. Maybe we can improve it a bit, but we have at least
something as a reference for users to learn from.

On Mon, Feb 19, 2018 at 10:16 PM, Jim S  wrote:
> Thanks all for your thoughts.
>
> Tim, rightly said the core strength of OFBiz has been the built-in ERP and
> universal database along with the framework (services, entity engine,
> security, logging etc.). I believe since most of the contributors, service
> providers, end users etc. use OFBiz as a built-in ERP product, the focus
> may have never been on isolating the framework in its own installable
> component. I would not say it is not possible today but having a framework
> only component would open the gates to develop other business application
> on top of OFBiz similar to what Spring and other framework provides. I see
> the segregation of the specialpupose/plugin as a right step in the
> direction of completely isolating the components.
>
> Taher, If you and other agree with the name is actually misleading for new
> users and others who cannot keep up with the latest developments, I think
> adding a note in the documentation would certainly help.
>
> --
> Thanks,
> Jim


Re: ofbiz framework component in trunk is misleading?

2018-02-19 Thread Taher Alkhateeb
Aha I see, thank you for the explanation Paul.

Ok to put some clarity, we had a good discussion on the development
mailing list before making the split, and this is only the first step
(split plugins out). The next step we might take is to also split out
the applications. That is why we called it ofbiz-framework. If
everything goes as discussed and community approves, we will probably
end up with 3+ repositories as follows:
- ofbiz-framework: infrastructure and execution engine, and low level stuff.
- ofbiz-core: the data model library, the service library, shared
resource (common stuff)
- Maybe an applications layer for complete usable apps
- ofbiz-plugins: perhaps even each plugin in its own repository

This layered architecture would help us in creating a robust code base
by isolating things from each other and to allow for multiple
combinations. So you can reuse the entities, services, and basic
screens in different ways without duplication.

Still a work in progress, but I hope this sheds some light on the
naming, and sorry for any confusion regarding that. Perhaps we'll add
this information to the documentation project.

On Mon, Feb 19, 2018 at 2:00 PM, Paul Foxworthy  wrote:
> On 19 February 2018 at 09:32, Jim S  wrote:
>
>> I was under impression that it is framework only component. I tried doing
>> search but
>> could not find much. Could someone please help provide a link to the
>> discussion that leads to the current structure in trunk that might list the
>> advantage of doing it?
>>
>
> Hi Jim,
>
> For many years there was only one OFBiz project. When plugins were split
> out into a separate repository, the remaining code was named
> ofbiz-framework. Really it's applications plus framework, but that's a bit
> long winded.
>
> Cheers
>
> Paul Foxworthy
>
> --
> 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: [SKYPE CALL] Initial Call to Kickstart Documentation Team

2018-02-19 Thread Taher Alkhateeb
I am fine with this time or anytime decided by the community, I have a
flexible schedule.

On Mon, Feb 19, 2018 at 11:55 AM, Sharan Foga  wrote:
> Hi All
>
> I've taken a look at the meeting times based on the timezones currently 
> listed in documentation team table. We have a wide range of locations (UTC -5 
> to UTC+5.5) so it's not going to be perfect timing for everyone. Looking at 
> the possible combinations, I've come up with a two options for a call time.
>
> Call Time Option 1
> ===
>   UTC-5 (New York, Boston): 08.00
>   UTC+1 (Czech Republic, Germany, France) : 14.00
>   UTC+2 (South Africa): 15.00
>   UTC+3 (Kuwait) : 16.00
>   UTC+5.5 (India) : 18.30
>
> Call Time Option  2
> 
>   UTC-5 (New York, Boston): 09.00
>   UTC+1 (Czech Republic, Germany, France) : 15.00
>   UTC+2 (South Africa): 16.00
>   UTC+3 (Kuwait) : 17.00
>   UTC+5.5 (India) : 19.30
>
> My schedule is pretty full this week with not much availability so would 
> prefer to move the call out to next week. I think it will also give us a bit 
> more time for preparation. So looking at next week, the 3 dates I would 
> suggest are:
>
> - Tuesday 27th February 2018
> - Wednesday 28th February 2018
> - Thursday 1st March 2018
>
> My preferred date and time would be :
>
> - Tuesday 27th February at 14.00 (UTC+1)
>
> Please let me know if this would work for you all and if not then please 
> suggest your potential alternative.
>
> As usual, all feedback and comments welcome! :-)
>
> Thanks
> Sharan
>
> On 2018/02/14 08:22:03, Sharan Foga  wrote:
>> Hi Everyone
>>
>> I'd like to organise a call with all the volunteers interested in being part 
>> of our OFBiz documentation team.
>>
>> We need to discuss how we can plan and organise ourselves to  get this work 
>> started. It will also give people some background information about what can 
>> be done.
>>
>> Taher, who has worked on implementing the documentation framework into the 
>> OFBiz code, would also like to talk to the team and explain some of the 
>> technical details that could affect how we plan and manage the work.
>>
>> So I'd like to invite all of our documentation team volunteers (and also 
>> anyone else from the community who is interested) to a Skype call.
>>
>> If you would like to attend then please add your location and timezone to 
>> the table so that I can find a suitable time for everyone. (See link below)
>>
>> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Documentation+Team
>>
>> Even if you are not currently on the list of documentation volunteers but 
>> would like to attend, please add your details.
>>
>> I was originally thinking of a Hangout but I've read that the limit for a 
>> hangout is 10 (and we have 16 people in the list:-) so Skype is going to be 
>> a better solution.
>>
>> As always, feedback welcome and please don't forget to add your name and 
>> details if you'd like to attend.
>>
>> Thanks
>> Sharan
>>


Re: ofbiz framework component in trunk is misleading?

2018-02-18 Thread Taher Alkhateeb
Hi Jim,

I don't quite understand your question. What do you mean by saying
framework only component and how did you get this impression? Are you
referring to the directory structure? What is bothering / confusing you
about it?

On Feb 19, 2018 1:32 AM, "Jim S"  wrote:

... As it does contains the applications component as well. I was under
impression that it is framework only component. I tried doing search but
could not find much. Could someone please help provide a link to the
discussion that leads to the current structure in trunk that might list the
advantage of doing it?

Thanks in advance.

--
Thanks,
Jim


Re: OFBiz Documentation Team Volunteers Needed

2018-02-13 Thread Taher Alkhateeb
Hi Sharan, all

There are many details to discuss and some technical issues that I need to
explain, so perhaps a skype voice conference could help kickstart this task
and get everyone on the same page?

Cheers

Taher Alkhateeb

On Feb 13, 2018 1:25 PM, "Sharan Foga" <sha...@apache.org> wrote:

> Thanks Guilio - I will add you to the list.
>
> Thanks
> Sharan
>
> On 2018/02/13 09:24:30, Giulio Speri - MpStyle Srl <
> giulio.sp...@mpstyle.it> wrote:
> > Hi Sharan,
> >
> > I would like and I would be very happy to take part of this team if it's
> > not too late.
> > I'll do my best to contribute.
> >
> > Thanks very much,
> >
> > Giulio
> >
> > 2018-02-13 9:29 GMT+01:00 Sharan Foga <sha...@apache.org>:
> >
> > > Hi All
> > >
> > > Wow! – thanks everyone for such a great response.
> > >
> > > It's nice to see that we have people in the community that are ready
> and
> > > willing to help :-)  And don't worry if you don't think you know very
> much
> > > – we will all learn something as part of the process. This is exactly
> what
> > > being part of a community is about!
> > >
> > > I have created a new wiki page called Documentation Team
> > >
> > > https://cwiki.apache.org/confluence/display/OFBIZ/
> OFBiz+Documentation+Team
> > >
> > > that is a little empty at the moment, but we can use it to brainstorm
> > > ideas and plan our work.
> > >
> > > One of the first things that all of you will need to do, is to ensure
> that
> > > you are setup as an OFBiz Contributor. You can find out how to do this
> at
> > > the link below:
> > >
> > > https://cwiki.apache.org/confluence/display/OFBIZ/
> > > Apache+OFBiz+Contributors
> > >
> > > So if you haven't done so already, please get an ICLA completed and
> then
> > > we be able to setup the access you will need for our wiki and also our
> Jira
> > > Issue tracking system.
> > >
> > > I'm really looking forward to working with you all.
> > >
> > > Thank
> > > Sharan
> > >
> > >
> > > On 2018/02/07 13:32:56, Sharan Foga <sha...@apache.org> wrote:
> > > > Hi Everyone
> > > >
> > > > (Trying again as my first post didn't reach this list)
> > > >
> > > > If you have read the latest project blog post then you will have
> seen a
> > > section about the discussions that have been happening on our
> development
> > > list about the new proposed OFBiz documentation framework.
> > > >
> > > > https://s.apache.org/VfxE
> > > >
> > > > It is based on asciidoc and will be able to generate documentation in
> > > various formats. This means that we can start to consolidate our OFBiz
> > > documentation within OFBiz itself and adapt it to any new releases.
> > > >
> > > > Feedback to the proposal have been very positive and once the code is
> > > moved into our current trunk we will need to start some documentation
> work.
> > > We will be looking for volunteers to become part of a documentation
> team
> > > that will work on reviewing the documents we already have in the wiki
> and
> > > other sources, then help to re-structure them to fit into the new
> > > documentation framework model.
> > > >
> > > > Being involved with documentation is a good way to learn OFBiz :-)
> > > >
> > > > So if you are interested in being part of the OFBiz documentation
> team
> > > then please respond to this message and I will add you to the list.
> > > >
> > > > Thanks
> > > > Sharan
> > > >
> > >
> >
> >
> >
> > --
> > Giulio Speri
> >
> > *Mp Styl**e Srl*
> > via Antonio Meucci, 37
> > 41019 Limidi di Soliera (MO)
> > T 059/684916
> > M 334/3779851
> >
> > www.mpstyle.it
> >
>


Re: OFBiz Documentation Team Volunteers Needed

2018-02-08 Thread Taher Alkhateeb
It is heartwarming to see you fine people signing up. I am thrilled
and looking forward to working with you. And I have to say Sharan
knows how to bring us together, so thank you!

In reference to Olivier's comment regarding using conversion tools, I
would advise to perhaps try to be careful. Our objective is not
necessarily to copy-paste existing documentation, but rather to write
clean, relevant and well thought out documentation. If an old piece of
documentation is good and relevant, we use it, if not, we update it
and clean it, or of it is not useful then we just drop it.

I hope more people feel the urge to sign up. What you folks are going
to achieve is to make OFBiz much more competitive by giving
accessibility to new comers through comprehensive documentation.

On Thu, Feb 8, 2018 at 1:04 PM, Aditya Sharma
 wrote:
> Hi Sharan,
>
> Please count me in.
>
> Thanks and Regards,
>
> *Aditya Sharma* | Enterprise Software Engineer
> HotWax Commerce  by HotWax Systems
> 
>
> 
>
> On Thu, Feb 8, 2018 at 2:25 PM, Olivier Heintz <
> holivier.li...@ofbizextra.org> wrote:
>
>> Hi Sharan,
>>
>> please add me to the list,
>>
>> I have start to play with the new tools
>> I have convert some docbook file to asciidoc with docbookrx tools and make
>> modification on help data to use the html generated files in the ofbiz
>> help, it's work's ;-)
>> If needed, I can convert all docbook files to asccidoc
>>
>>
>> Regards,
>>
>>
>>
>> Le 07/02/2018 à 14:32, Sharan Foga a écrit :
>> > Hi Everyone
>> >
>> > (Trying again as my first post didn't reach this list)
>> >
>> > If you have read the latest project blog post then you will have seen a
>> section about the discussions that have been happening on our development
>> list about the new proposed OFBiz documentation framework.
>> >
>> > https://s.apache.org/VfxE
>> >
>> > It is based on asciidoc and will be able to generate documentation in
>> various formats. This means that we can start to consolidate our OFBiz
>> documentation within OFBiz itself and adapt it to any new releases.
>> >
>> > Feedback to the proposal have been very positive and once the code is
>> moved into our current trunk we will need to start some documentation work.
>> We will be looking for volunteers to become part of a documentation team
>> that will work on reviewing the documents we already have in the wiki and
>> other sources, then help to re-structure them to fit into the new
>> documentation framework model.
>> >
>> > Being involved with documentation is a good way to learn OFBiz :-)
>> >
>> > So if you are interested in being part of the OFBiz documentation team
>> then please respond to this message and I will add you to the list.
>> >
>> > Thanks
>> > Sharan
>> >
>>
>>


Re: OFBiz Blog – December 2017 and January 2018 Update

2018-02-06 Thread Taher Alkhateeb
Thank you folks, it really is inspiring to read the blog, you think
you're doing a few things but when you read the blog you realize ..
wow that's a lot of work.

On Tue, Feb 6, 2018 at 1:03 PM, Sharan Foga  wrote:
> Hi Everyone
>
> We have a double blog update this time :-).
>
> Details from December including a list of all the code changes can be found 
> at the link below:
>
> https://s.apache.org/wsKT
>
> A summary of our January activities as well as code changes can be found at 
> the link below:
>
> https://s.apache.org/D0F9
>
> As usual, our blog updates are a collaborative effort and I would like to 
> thank Pranay, Michael and Jacques for their continued help in reviewing, 
> providing feedback and helping preparing it.
>
> Thanks
> Sharan
>


Re: Hot-Deploy in 16.11.04...and Later?

2018-01-31 Thread Taher Alkhateeb
Data loading is one topic, location of custom components is another topic.
In release 17 and later, there is no longer a hot-deploy, but only a
plugins folder to place your custom work.

As for data loading, it does not matter where you place your component, the
data will load anyway as long as you have the loading in proper order if
you have any dependencies on other data.

On Feb 1, 2018 1:19 AM,  wrote:

Hi

It was quite some time back (well, a year...that's like 7 dog years or 14
programmer years) it was announced that hot-deploy was being deprecated:
https://blogs.apache.org/ofbiz/entry/apache-ofbiz-news-march-2017

The directory still exists in 16.11.04. Would it be correct to assume that
even if this still works it would better to make any customization in
plugins (mentioned in the above URL)? And would this be true of custom
component loads of data when nothing else is being customized, or is data
load customization a completely different topic for building custom gradlew
load targets?

Thanks!


Re: New setup issues

2018-01-31 Thread Taher Alkhateeb
Hello and welcome aboard, I hope you enjoy your journey.

The port is wrong. It's 8443 not 8334.

Cheers

On Feb 1, 2018 12:21 AM, "bryce"  wrote:

Hello all,

I am setting up a new install of Apache OFBiz for myself.  I followed all
the instructions.. download JDK, download OFBiz... installed... ran commands
to build.  When I go to the browser and enter
https://localhost:8334/ecommerce  I get "cannot reach site.

Any recommendations for this newbie?

Thanks in advance

Bryceson



--
Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html


Re: loadDefault Source Code

2018-01-16 Thread Taher Alkhateeb
Okay so the order of loading data is by component and reader type.
Component loading order is determined in the related XML files and reader
loading is defined as per the entityengine configuration loading order
which goes from seed all the way to ext-demo as I remember it. Now if you
want to go beyond that (it would be strange if you want to know the exact
file-by-file sequence) then you'll need to investigate.

You know it would be easier instead of me answering you piece by piece to
actually explain your problem because there might be solutions. If not,
then please go ahead and read the code at the EntityDataLoadContainer.java
and best of luck.

On Jan 16, 2018 10:20 PM, <stim...@comcast.net> wrote:

The trouble with that is I'm interested in dumping the logic of how the
load order is determined specifically with the loadDefault. If there were a
command such as "./gradlew --explain loadDefault", where it verbosely named
which file is chosen, what kind of sorting is used, and what it was doing
with each, then this would work. This is why I wanted to see the code
actually step through loadDefault...I want to know how it actually makes
the choices, and perhaps write something to help with generation/load of my
own test cases (I'm hoping to actually learn something).

- Original Message -From: Taher Alkhateeb <
slidingfilame...@gmail.com>To: user@ofbiz.apache.orgSent: Tue, 16 Jan 2018
18:50:59 - (UTC)Subject: Re: loadDefault Source Code

Okay so in this case my recommendation is to skip looking at the sourcecode
and instead learn the syntax for loading data. ./gradlew "ofbiz--help" and
README.md are good sources for that. There you will find plentyof options
for loading data including specifying readers, components,files,
directories etc ...

On Jan 16, 2018 9:15 PM, <stim...@comcast.net> wrote:

> I am interested in how the list of files is chosen, along with the rules>
for order of choosing. I am thinking of custom loading for my own testing,>
but mostly I just feel I need to better understand what the "All" of>
"loadAll" is.>> - Original Message -From: Jacques Le Roux <>
jacques.le.r...@les7arts.com>To: user@ofbiz.apache.orgSent: Tue, 16 Jan>
2018 07:11:45 - (UTC)Subject: Re: loadDefault Source Code>> I agree,
maybe you can try starting from ContainerLoader.java>> Jacques>> Le
16/01/2018  07:48, Taher Alkhateeb a crit :>> loadDefault
translates to loading all data sets (seed,seed-initial,>> demo,ext, etc
...)>> The code for that is big and scattered in many> different places
because a> lot of things happen during data load (SAX> parser, DOM
modeling, DB> translations, and a lot more). So it depends on> what you are
looking for> and perhaps more importantly, why>> On Jan 16,> 2018 4:05 AM, <
stim...@comcast.net> wrote:>>> Hi,>>>> I guess what I> should do is
rephrase...if I wanted to run this under a>> debugger and get> a stack
frame (which I'm not actually set up to do), where>> would I find> the
source code which specifically understands which XML files>> to read> and
load for loadDefault? The build.gradle is more of a declaration>> and> not
so much the actual source code, and I'm more of a C++ guy (I do ok>>> with
Java, but I don't know the web toolkits and APIs).>>>> - Original>
Message -From: gil portenseigne <>> gil.portensei...@nereide.fr>To:>
user@ofbiz.apache.orgSent: Mon, 15 Jan>> 2018 08:10:30 -> (UTC)Subject:
Re: loadDefault Source Code>>>> Hello,>>>> You will find> loadDefault task
implementation within the file build.gradle>> at OFBiz> root directory.
(see line 320)>>>> Regards,>>>> Gil>>>> On 14/01/2018> 22:18,
stim...@comcast.net wrote:> This is probably a naive>> question,> but on
16.11.04 I am searching for the actual code which runs for>> the>
"loadDefault" part of:> ./gradlew loadDefault> > I'm looking for what I>>>
might edit to create my own version of loadDefault after observing what>
the>> existing loadDefault actually executes. I see some shell scripts>
passing>> this on, and suspect this is part of one of the jar files, but>
was unable>> to find the actual code.> > Thanks!>>>>>>


Re: loadDefault Source Code

2018-01-16 Thread Taher Alkhateeb
Okay so in this case my recommendation is to skip looking at the source
code and instead learn the syntax for loading data. ./gradlew "ofbiz
--help" and README.md are good sources for that. There you will find plenty
of options for loading data including specifying readers, components,
files, directories etc ...

On Jan 16, 2018 9:15 PM, <stim...@comcast.net> wrote:

> I am interested in how the list of files is chosen, along with the rules
> for order of choosing. I am thinking of custom loading for my own testing,
> but mostly I just feel I need to better understand what the "All" of
> "loadAll" is.
>
> - Original Message -From: Jacques Le Roux <
> jacques.le.r...@les7arts.com>To: user@ofbiz.apache.orgSent: Tue, 16 Jan
> 2018 07:11:45 - (UTC)Subject: Re: loadDefault Source Code
>
> I agree, maybe you can try starting from ContainerLoader.java
>
> Jacques
>
> Le 16/01/2018  07:48, Taher Alkhateeb a crit :>
> loadDefault translates to loading all data sets (seed,seed-initial,>
> demo,ext, etc ...)>> The code for that is big and scattered in many
> different places because a> lot of things happen during data load (SAX
> parser, DOM modeling, DB> translations, and a lot more). So it depends on
> what you are looking for> and perhaps more importantly, why>> On Jan 16,
> 2018 4:05 AM, <stim...@comcast.net> wrote:>>> Hi,>>>> I guess what I
> should do is rephrase...if I wanted to run this under a>> debugger and get
> a stack frame (which I'm not actually set up to do), where>> would I find
> the source code which specifically understands which XML files>> to read
> and load for loadDefault? The build.gradle is more of a declaration>> and
> not so much the actual source code, and I'm more of a C++ guy (I do ok>>
> with Java, but I don't know the web toolkits and APIs).>>>> - Original
> Message -From: gil portenseigne <>> gil.portensei...@nereide.fr>To:
> user@ofbiz.apache.orgSent: Mon, 15 Jan>> 2018 08:10:30 -
> (UTC)Subject: Re: loadDefault Source Code>>>> Hello,>>>> You will find
> loadDefault task implementation within the file build.gradle>> at OFBiz
> root directory. (see line 320)>>>> Regards,>>>> Gil>>>> On 14/01/2018
> 22:18, stim...@comcast.net wrote:> This is probably a naive>> question,
> but on 16.11.04 I am searching for the actual code which runs for>> the
> "loadDefault" part of:> ./gradlew loadDefault> > I'm looking for what I>>
> might edit to create my own version of loadDefault after observing what
> the>> existing loadDefault actually executes. I see some shell scripts
> passing>> this on, and suspect this is part of one of the jar files, but
> was unable>> to find the actual code.> > Thanks!>>>>
>
>


Re: loadDefault Source Code

2018-01-15 Thread Taher Alkhateeb
loadDefault translates to loading all data sets (seed,seed-initial,
demo,ext, etc ...)

The code for that is big and scattered in many different places because a
lot of things happen during data load (SAX parser, DOM modeling, DB
translations, and a lot more). So it depends on what you are looking for
and perhaps more importantly, why

On Jan 16, 2018 4:05 AM,  wrote:

> Hi,
>
> I guess what I should do is rephrase...if I wanted to run this under a
> debugger and get a stack frame (which I'm not actually set up to do), where
> would I find the source code which specifically understands which XML files
> to read and load for loadDefault? The build.gradle is more of a declaration
> and not so much the actual source code, and I'm more of a C++ guy (I do ok
> with Java, but I don't know the web toolkits and APIs).
>
> - Original Message -From: gil portenseigne <
> gil.portensei...@nereide.fr>To: user@ofbiz.apache.orgSent: Mon, 15 Jan
> 2018 08:10:30 - (UTC)Subject: Re: loadDefault Source Code
>
> Hello,
>
> You will find loadDefault task implementation within the file build.gradle
> at OFBiz root directory. (see line 320)
>
> Regards,
>
> Gil
>
> On 14/01/2018 22:18, stim...@comcast.net wrote:> This is probably a naive
> question, but on 16.11.04 I am searching for the actual code which runs for
> the "loadDefault" part of:> ./gradlew loadDefault> > I'm looking for what I
> might edit to create my own version of loadDefault after observing what the
> existing loadDefault actually executes. I see some shell scripts passing
> this on, and suspect this is part of one of the jar files, but was unable
> to find the actual code.> > Thanks!
>
>


Re: ./gradlew ofbiz: FAILURE: Build failed with an exception.

2018-01-10 Thread Taher Alkhateeb
Welcome aboard, nice work in explaining things.

Not sure, but at a first glance maybe you can consider the following:
- try the oracle JDK instead of openjdk.
- is your internet connection solid? If you just timed out, maybe try again

I am assuming you crashed the build before completing all the downloads. So
it smells like a network problem. I could be wrong though.

On Jan 10, 2018 10:29 PM, "Piotr Walesiak"  wrote:

HI there,

Very beginner problem ... my first contact with ofbiz. Trying to start a
demo.

I'm following instructions from
https://cwiki.apache.org/confluence/display/OFBIZ/Demo+and+Test+Setup+Guide
(section Quick & Easy Setup) with:
- apache-ofbiz-16.11.04

- Linux 4.9.0-4-686 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) i686
GNU/Linux

- java -version
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-1~deb9u1-b12)
OpenJDK Server VM (build 25.151-b12, mixed mode)


Running './gradlew ofbiz' and the result is:

FAILURE: Build failed with an exception.

* Where:
Build file '/home/piotr/ofbiz/build.gradle' line: 975

* What went wrong:
A problem occurred evaluating root project 'ofbiz'.
> Could not resolve all dependencies for configuration ':runtime'.
   > Could not resolve
org.eclipse.birt.runtime:org.eclipse.datatools.enablement.
ibm.db2.luw.dbdefinition:1.0.4.v201107221502.
 Required by:
 :ofbiz:unspecified > ofbiz.specialpurpose:birt:unspecified >
org.eclipse.birt.runtime:viewservlets:4.5.0 >
org.eclipse.birt.runtime:org.eclipse.birt.runtime:4.4.1
  > Could not resolve
org.eclipse.birt.runtime:org.eclipse.datatools.enablement.
ibm.db2.luw.dbdefinition:1.0.4.v201107221502.
 > Could not get resource '
https://jcenter.bintray.com/org/eclipse/birt/runtime/org.
eclipse.datatools.enablement.ibm.db2.luw.dbdefinition/1.0.
4.v201107221502/org.eclipse.datatools.enablement.ibm.db2.
luw.dbdefinition-1.0.4.v201107221502.pom
'.
> Could not GET '
https://jcenter.bintray.com/org/eclipse/birt/runtime/org.
eclipse.datatools.enablement.ibm.db2.luw.dbdefinition/1.0.
4.v201107221502/org.eclipse.datatools.enablement.ibm.db2.
luw.dbdefinition-1.0.4.v201107221502.pom
'.
   > Connection reset

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

BUILD FAILED

As far as i understand it says it can't GET from URL '
https://jcenter.bintray.com/org/eclipse/birt/runtime/org.
eclipse.datatools.enablement.ibm.db2.luw.dbdefinition/1.0.
4.v201107221502/org.eclipse.datatools.enablement.ibm.db2.
luw.dbdefinition-1.0.4.v201107221502.pom
'
yet when i try the same URL with wget it works. Any idea?

--
---
PW


"[SECURITY] CVE-2017-15714 Apache OFBiz BIRT code vulnerability"

2018-01-04 Thread Taher Alkhateeb
Severity:
Important

Vendor:
The Apache Software Foundation

Versions Affected:
OFBiz 16.11.01 to 16.11.03

Description:
The BIRT plugin in Apache OFBiz does not escape user input property passed.
This allows for code injection by passing that code through the URL. For
example by appending this code "__format=%27;alert(%27xss%27)" to the URL
an alert window would execute.

Mitigation:
Upgrade to 16.11.04

Credit:
Niels Heinen

References:
http://ofbiz.apache.org/download.html#vulnerabilities

This is a security announcement on behalf of the Apache OFBiz security
team. All affected users are advised to upgrade OFBiz as per the below
mitigation strategy. Apology for the repetition to some mailing lists
because I'm resending to _all_ relevant emails.


[SECURITY] CVE-2017-15714 Apache OFBiz BIRT code vulnerability

2018-01-03 Thread Taher Alkhateeb
Severity:
Important

Vendor:
The Apache Software Foundation

Versions Affected:
OFBiz 16.11.01 to 16.11.03

Description:
The BIRT plugin in Apache OFBiz does not escape user input property passed.
This allows for code injection by passing that code through the URL. For
example by appending this code "__format=%27;alert(%27xss%27)" to the URL
an alert window would execute.

Mitigation:
Upgrade to 16.11.04

Credit:
Niels Heinen

References:
http://ofbiz.apache.org/download.html#vulnerabilities


Re: Need help adding a GL account

2017-12-30 Thread Taher Alkhateeb
Hi Blake,

So the screen is a bit confusing because it implies the ability to add an
account when in fact it can only edit an existing account by clicking on it
from the tree above the edit form. For now, you should create your account
using XML data definitions. But perhaps it would be useful to add the
ability to add new GL accounts from the user interface and fix the
ambiguity in the form (like the add button). Needs some investigation and
I'll look into it

On Dec 30, 2017 1:20 PM, "Blake McBride"  wrote:

> Thanks.  It was already on order.  Just hoped to get an answer before
> 1/12/18.
>
> On Sat, Dec 30, 2017 at 4:09 AM, Jacques Le Roux <
> jacques.le.r...@les7arts.com> wrote:
>
> > Hi Blake,
> >
> > For the accounting part in the mid term I'd recommend Sharan's book
> >
> > https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Related+Books
> >
> > Happy new year :)
> >
> > Jacques
> >
> >
> >
> > Le 30/12/2017 à 00:14, Blake McBride a écrit :
> >
> >> Greetings,
> >>
> >> Just started looking at ofbiz.  I created a blank system after a
> cleanAll
> >> with:
> >>
> >> ./gradlew "ofbiz --load-data readers=seed,seed-initial"
> loadAdminUserLogin
> >> -PuserLoginId=admin
> >>
> >> I then went in and created my main company via Party / Main / Create New
> >> Party Group.
> >>
> >> I am now trying to add a GL account. I am going to Accounting / Global
> GL
> >> Settings / Navigate Accounts. The label "Gl Account Id" has no
> >> field/control next to it. If I fill out the remainder of the fields and
> >> click "Add" it tells me missing parameter createGlAccount.glAccountId. I
> >> can't figure out how to put an Id there since there is no control /
> entry
> >> field.
> >>
> >> Sure appreciate any help.
> >>
> >> Blake McBride
> >>
> >>
> >
>


Re: Data Load tips/tricks?

2017-12-27 Thread Taher Alkhateeb
Hi Tim,

My recommendation is to avoid using the web tools altogether, and
instead using the CLI. The exact documentation for how to import from
XML files is specified in the README.md. This has the benefit of not
only reducing resource usage but also allows for automation instead of
doing this stuff manually by hand

On Wed, Dec 27, 2017 at 3:06 PM, Boyden, Timothy
 wrote:
> I started writing scripts this week to export data from our current ERP to 
> the OFBiz XML data formats. I have loaded about 25,000 of our 150,000 
> products through the Web Tools Import XML utility. Are there any tips to 
> improve load speed, such as temporarily disabling indexing or anything else 
> anyone has experience with?
>
> Thanks,
>
> Tim


Re: Aw: RE: Cannot install apache-ofbiz-16.11.03 on windows 10

2017-12-25 Thread Taher Alkhateeb
I am not sure bit I have a suspicion. Does your windows user folder have
spaces like C:\Users\My User?

If yes, this could very well be the problem. To overcome that, try to
change the cache location with the  --gradle-user-home flag or setting the
GRADLE_USER_HOME environment variable. Set it to a new location that does
not have spaces like C:\gradle_cache for example.

The reason spaces are a problem is because the classpath is registered
inside the jar file and does not allow for spaces (a Java thing).

I hope this is helpful, if not sorry for babbling.

On Dec 25, 2017 12:49 PM, "Christian Vetterli"  wrote:

> Hi Tim and Michael,
> Thank you for your input.
> I tried Tim’s suggestion.
> Firstly, just to be sure I uninstalled apache-ofbiz-16.11.03 and load a
> fresh one. I unzipped it to
> C:\apache-ofbiz-16.11.03
> and started the command
> gradlew
> It was successful
> C:\apache-ofbiz-16.11.03>gradlew
> :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
>
> BUILD SUCCESSFUL
>
> Total time: 2 mins 29.11 secs
>
> Then, I ran
> gradlew loadDefault
>
> It failed. The following output came.
> C:\apache-ofbiz-16.11.03>gradlew loadDefault
> :compileJava UP-TO-DATE
> :processResources UP-TO-DATE
> :classes UP-TO-DATE
> :jar UP-TO-DATE
> :assemble UP-TO-DATE
> :compileTestJava UP-TO-DATE
> :processTestResources UP-TO-DATE
> :testClasses UP-TO-DATE
> :test UP-TO-DATE
> :check UP-TO-DATE
> :build UP-TO-DATE
> :ofbiz --load-data
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/commons/cli/ParseException% > :ofbiz --load-data
> at org.apache.ofbiz.base.start.Start.main(Start.java:60)
> Caused by: java.lang.ClassNotFoundException: org.apache.commons.cli.
> ParseException
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
> 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_151\bin\java.exe''
> finished with non-zero exit value 1
>
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or
> --debug option to get more log output.
>
> BUILD FAILED
>
> Total time: 23.005 secs
>
> I stopped here.
>
> To Michaels questions.
>
> “can you provide the output of the two commands I provided in my last
> message?
>
> Does your JAV_HOME point to the JDK (the JRE is not sufficient)?
>
> Did you unpack the release zip in the folder and did you cd to the OFBiz
> root folder where the README is located? These steps where not mentioned
> in your description.
>
> Do you see the dependency jars downloading during the first build? If
> not, have you cleared the .gradle folder as I suggested?
>
> It's pretty straight forward to download an run OFBiz OOTB so there must
> be something on your side.”
>
> My answers:
> Yes, I always did unzip OFBiz to the c drive, where also is the README
> location.
> I do not know what you mean with “Does your JAV_HOME point to the JDK (the
> JRE is not sufficient)?”. I did not do anything else than loading Java and
> OFBiz (unpacked) to the known locations and ran the commands.
> Sadly again, I do not have an answer to “Do you see the dependency jars
> downloading during the first build? If not, have you cleared the .gradle
> folder as I suggested?”
> I hope that the above outputs will answer your question.
> To your last statement:
> “It's pretty straight forward to download an run OFBiz OOTB so there must
> be something on your side.” I truly hope so. Since it is so simple, just
> let me know what I possibly could do wrong.
> Thank you for your help.
> Christian
>
>
>
> Gesendet: Sonntag, 24. Dezember 2017 um 14:52 Uhr
> Von: "Boyden, Timothy" 
> An: "user@ofbiz.apache.org" 
> Betreff: RE: Cannot install apache-ofbiz-16.11.03 on windows 10
> That should be how it works, but I have run into weird issues like
> Christian has, when I don't run them individually. I had the best luck
> following the directions listed in the Technical Documentation version of
> the "Quick & Easy" setup instructions (https://cwiki.apache.org/
> confluence/display/OFBIZ/Demo+and+Test+Setup+Guide#
> DemoandTestSetupGuide-Quick), which list the steps separately.
>
> -Tim
>
> -Original Message-
> From: Michael Brohl [mailto:michael.br...@ecomify.de]
> Sent: Sunday, December 24, 2017 8:37 AM
> To: user@ofbiz.apache.org
> Subject: Re: Cannot install apache-ofbiz-16.11.03 on windows 10
>
> 

Re: Ofbiz to postgresSql connection problem

2017-12-16 Thread Taher Alkhateeb
I have a docker image + docker-compose file which I've been using for
a while now. It hosts OFBiz + Postgres and it works great.

It's up to the community to decide if it is interested in moving from
the default derby to Postgres and to officially support Docker as the
default tool for deploying OFBiz.However, like everything in
technology, there is _always_ a tradeoff. So I list my thoughts below
in helping you make a choice:

Derby pros:
- It is simple and familiar to run the default database. Just
./gradlew loadAll and off you go.
- Cleaning up is equally simple. ./gradlew cleanAll would wipe out the database
- The source code is accessible (not containerized)
- The development workflow is known and simple
Derby cons:
- Users need to get acquainted with how to move to other databases
- Most of the testing is done against derby and not the other (more
critical) databases like postgres and mysql
- Slow (because of the embedded database)
- Cannot have multiple connections to the database (I had a few
problems in the past because of that)

Docker pros:
- Very simple to deploy with a single command: docker-compose up -d
- Also very simple to cleanup with docker-compose down -v
- The environment is consistent regardless of whether this is a
developing, staging or production environment
- Flexibility in networking and assigning / reassigning ports
- Postgres was much faster in data loading.

Docker cons:
- You need to learn to install docker & docker compose (not too simple)
- The development workflow is complex (user access rights on managed
vs unmanaged volumes, deployment, integration with gradle).
- Need to go through a learning curve for Docker (I would argue that
there is a substantial learning curve)
- You have locked users to a certain deployment option instead of
giving them choice. Docker is not the only solution out there
(although it is most common).

So there you go, the choice is yours and I hope this comparison might
be helpful.

On Sat, Dec 16, 2017 at 6:24 PM, Boyden, Timothy
 wrote:
> Looks like there is already some working Docker images out on Docker Hub. 
> None so far suite my current needs (OFBiz with Docker MS SQL 2017 on Linux). 
> I think I may reach out to opensourceknight and see if he can extend his 
> image to add the volume /framework/entity/lib/jdbc, so that any JDBC driver, 
> for any DBMS, can be installed and configured.
>
> I am currently running trunk from Git locally against a MS SQL 2017 on Linux 
> Docker image. Works pretty sweet. Now just need OFBiz in a Docker image to 
> link to the MS SQL instance, and it will be gangbusters.
>
> -Tim
>
> -Original Message-
> From: Paul Mandeltort [mailto:p...@marcospec.com]
> Sent: Friday, December 15, 2017 1:37 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz to postgresSql connection problem
>
> Going to second the option of Docker image - I’ve started playing with it but 
> ran out of time lately.
>
> A proper docker architecture for ofbiz would be split up as a reference 
> docker compose file that launches:
> - OFbiz Application/Tomcat container
> - Database Container - my recommendation is to ditch Derby completely since 
> deploying postgres as a container is trivial now and the only reason we have 
> derby (as I understand it) is to simplify initial bring-up of the 
> application. This can be switched out for a demo-data image that’s already 
> ready to go or switched to a production image with almost no headaches.
> - SOLR container
> - Load/Balancer/Http proxy container
>
> I’ve been toying with this but ran out of time with some other projects on 
> fire, but want to get back to it as I’m convinced it’ll reduce developer on 
> boarding effort by an order of magnitude and make it trivial to test and move 
> deployments between production and development machines.
>
> —P
>
>
> On Dec 15, 2017, 13:02 -0500, Boyden, Timothy , 
> wrote:
>> No problem, hopefully that came across as constructive criticism (as it was 
>> meant), and not as a rant.
>>
>> Maybe one possibility is enlisting the help of the jpackage team 
>> (http://www.jpackage.org/). They have quite the library of Java applications 
>> that they have repackaged as yum, apt, and rpm installers.
>>
>> Another possibilty would be reaching out to existing talent in other Apache 
>> projects, that currently write installers for their projects.
>>
>> Even nicer would be a Docker image, as that is how most people get up to 
>> speed on a new application server these days, and would allow a quick path 
>> to creating a scalable/fault tolerant instance of OFBiz.
>>
>> Wish I could help out more in this area, but installer package creation is 
>> not my forte.
>>
>> Regards,
>>
>> Tim Boyden
>>
>>
>> -Original Message-
>> From: Jacques Le Roux [mailto:jacques.le.r...@les7arts.com]
>> Sent: Friday, December 15, 2017 11:39 AM
>> To: user@ofbiz.apache.org
>> Subject: Re: Ofbiz to postgresSql connection 

Re: Some Information for Creating Modular Documentation

2017-11-17 Thread Taher Alkhateeb
Hi Todd, thank you for sharing your thoughts :)

So perhaps you might have been focused the word "liability". Maybe
looking at the context of the whole email might make it a bit more
clear (sorry if I'm not). I'm a strong advocate for writing good
documentation and I took several initiatives due to its importance [1]
[2] [3].

Anyway, I think perhaps the purpose of this thread is to discuss the
documentation strategy more than our opinion of what documentation
means to us. I think we can all safely agree that documentation is
important.

[1] https://s.apache.org/ISpM
[2] https://issues.apache.org/jira/browse/OFBIZ-9873
[3] subversion r1751309, r1786562, r1805947

On Fri, Nov 17, 2017 at 7:26 PM, Todd Thorner <tthor...@infotinuum.com> wrote:
> Documentation is never a liability, unless one considers consumers to be a
> liability (which would make one more of a do-as-you-are-told bureaucrat than
> an I-hope-to-please-you business manager).
>
>
> Consumers, far from being a liability, are the most important considerations
> within any healthy economy.  As Frederic Bastiat said (translated from the
> original French): "Treat all economic questions from the viewpoint of the
> consumer, for the interests of the consumer are the interests of the human
> race."
>
>
> Fortunately, each of us spends the vast majority of life, even while at work
> producing things for market, consuming things already available from various
> markets.  Each must embrace the concept of consumer as king/queen, or else
> risk undermining everyone's economic viability (i.e. a slippery slope toward
> the absolute bureaucracy of socialist totalitarianism whether it happens to
> resemble Soviet-style bureaucracy or zwangswirtschaft-style bureaucracy).
>
>
> Bottom line: this is a user mailing list, which makes it a mailing list
> catered toward OFBiz consumers.  When consumers encounter implications that
> they are not the most important consideration, they become inspired to take
> their business elsewhere (at least until encroaching totalitarianism
> precludes such options as things become more bureaucratic).
>
>
>
>
> On 17-11-17 01:34 AM, Taher Alkhateeb wrote:
>
>> I went through the material (thank you again for sharing) and I have a
>> few additional thoughts to share.
>>
>> Primarily I think there is no silver bullet, and there is no solution
>> that somehow makes documentation "Fun". It's always going to be a
>> liability that just comes with any software solution. With that being
>> said, I would argue that a guide-based vs feature-based documentation
>> is not necessarily mutually exclusive. You can have both and they
>> complement each other.
>>
>> So maybe we should consider designing documentation such that:
>> - Guides are good, we need a few good ones for common scenarios (hello
>> world, new component. deployment, security, caching, etc ...)
>> - Reference material is also good, possibly broken down by feature /
>> module.
>> - Everything should ideally be as short and concise as reasonably
>> possible,
>> - Content reuse should be applied as much as possible.
>> - Documentation needs to constantly evolve (add, change and especially
>> _REMOVE_)
>>
>> A good example for documentation I always like to use is Gradle [1].
>> They really have fantastic documentation and I use ALL OF IT. I used
>> the guides many times, but I also constantly look at the DSL
>> reference. And when I am trying to implement an advanced feature, I
>> roll my sleeves and start digging into the API documentation.
>>
>> To summarize, I think perhaps we should consider the following types
>> of documentation as beneficial:
>> - Focused guides (to achieve a specific task)
>> - Reference documentation (not necessarily covering 100% of everything)
>> - API documentation (auto generated from source code)
>>
>> [1] https://gradle.org/docs/
>>
>> On Thu, Nov 16, 2017 at 9:05 AM, Jacques Le Roux
>> <jacques.le.r...@les7arts.com> wrote:
>>>
>>> Le 16/11/2017 à 06:34, Woosang Jung a écrit :
>>>>
>>>> On 2017-11-15 10:10, Jacques Le Roux <jacques.le.r...@les7arts.com>
>>>> wrote:
>>>>>
>>>>> Le 15/11/2017 à 17:54, Jacques Le Roux a écrit :
>>>>>>
>>>>>> This is more for users I guess? Could the technical documentation be
>>>>>> based on the same?
>>>>>
>>>>> I read a bit more and now clearly understand that it's applicable to
>>>>> all
>>>>> (user, technical, etc.)
>>>>>
>>>&

Re: Some Information for Creating Modular Documentation

2017-11-17 Thread Taher Alkhateeb
I went through the material (thank you again for sharing) and I have a
few additional thoughts to share.

Primarily I think there is no silver bullet, and there is no solution
that somehow makes documentation "Fun". It's always going to be a
liability that just comes with any software solution. With that being
said, I would argue that a guide-based vs feature-based documentation
is not necessarily mutually exclusive. You can have both and they
complement each other.

So maybe we should consider designing documentation such that:
- Guides are good, we need a few good ones for common scenarios (hello
world, new component. deployment, security, caching, etc ...)
- Reference material is also good, possibly broken down by feature / module.
- Everything should ideally be as short and concise as reasonably possible,
- Content reuse should be applied as much as possible.
- Documentation needs to constantly evolve (add, change and especially _REMOVE_)

A good example for documentation I always like to use is Gradle [1].
They really have fantastic documentation and I use ALL OF IT. I used
the guides many times, but I also constantly look at the DSL
reference. And when I am trying to implement an advanced feature, I
roll my sleeves and start digging into the API documentation.

To summarize, I think perhaps we should consider the following types
of documentation as beneficial:
- Focused guides (to achieve a specific task)
- Reference documentation (not necessarily covering 100% of everything)
- API documentation (auto generated from source code)

[1] https://gradle.org/docs/

On Thu, Nov 16, 2017 at 9:05 AM, Jacques Le Roux
 wrote:
> Le 16/11/2017 à 06:34, Woosang Jung a écrit :
>>
>> On 2017-11-15 10:10, Jacques Le Roux  wrote:
>>>
>>> Le 15/11/2017 à 17:54, Jacques Le Roux a écrit :

 This is more for users I guess? Could the technical documentation be
 based on the same?
>>>
>>> I read a bit more and now clearly understand that it's applicable to all
>>> (user, technical, etc.)
>>>
>>> Jacques
>>
>> I'm all for it. How do I let you know what my main user stories are? Do I
>> add to this thread?
>>
>> Woosang
>
> Hi Woosang,
>
> Here are several possible ways for providing your user stories, by order of
> preference:
>
> 1. If you are a registered wiki contributor (recommended) and want to format
> them in Confluence (easier for us), look at the wiki pages I referred
>above and see if a new page is needed. If you need, create a new page and
> add you user stories there else use an existing page
> 2. If you are not a registered wiki contributor and don't want to be one,
> you can still add your Confluence formatted user stories as comments in
>existing pages. So if you need a new page you need to ask for its
> creation before adding comments...
> 3. If you don't want to provide Confluence formatted user stories then open
> a Jira and add your unformatted user stories in a text file
>
> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Contributors+Best+Practices
>
> Thanks
>
> Jacques
> PS:we will maybe need to update
> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Contributors+Best+Practices
> for how to document using information above and more...
>


Re: Some Information for Creating Modular Documentation

2017-11-15 Thread Taher Alkhateeb
Great advice and resources thank you for sharing. I will take into
consideration some of this while implementing the PoC

On Nov 15, 2017 7:53 PM, "Jacques Le Roux" 
wrote:

> Thanks Sharan,
>
> This is more for users I guess? Could the technical documentation be based
> on the same?
>
> So we would need 1st to collect and, I guess more surely, to create the
> user stories on which to base our user documentation on, right?
>
> I know we have some already, thinks like that, right?
> https://cwiki.apache.org/confluence/display/OFBIZ/PIM+User+
> Stories,+Use+Cases,+and+Test+Cases
> https://cwiki.apache.org/confluence/display/OFBIZ/Sales+
> Order+Management+User+Stories,+Use+Cases,+and+Test+Cases
> Todos:
> https://cwiki.apache.org/confluence/display/OFBIZ/Order+
> Fulfillment+Process+User+Stories,+Use+Cases+and+Test+Cases
> https://cwiki.apache.org/confluence/display/OFBIZ/Customer+
> Relationship+Management+(CRM)+User+Stories,+Use+Cases,+and+Test+Cases
>
> That's certainly the best long range way, but it will take some ;)
>
> Jacques
>
>
> Le 15/11/2017 à 16:11, Todd Thorner a écrit :
>
>> Yes, that is best practice for documentation, thanks for sharing the
>> links.
>>
>>
>>
>> On 17-11-15 06:29 AM, Sharan Foga wrote:
>>
>>> Hi All
>>>
>>> (I'm resending this message as the original message I sent this morning
>>> didn't get through to the mailing list. I seem to have an intermittent
>>> problem with posting somehow ;-)
>>>
>>> I recently interviewed Robert Kratky, a Technical Writer from Red Hat
>>> about his presentation on documentation at the Open Source Summit in Prague
>>> a few weeks ago. He has some good advice for us and anyone looking at
>>> writing good documentation. His talk was about how to move from feature
>>> based documentation (which is what we have tended to do) to more user story
>>> based documentation that is driven more by how our users use the software.
>>>
>>> You can listen to the interview at the link below:
>>>
>>> https://wp.me/p8gHED-QF
>>>
>>> Please take a look at his presentation
>>>
>>> schd.ws/hosted_files/osseu17/5f/%28OSSEU%2017%29%20Going%20M
>>> odular-%20Turning%20Legacy%20Docs%20into%20User-Story-Based%
>>> 20Content.pdf
>>>
>>> and also at the github repo with some guidelines for writing modular
>>> documentation,
>>>
>>> https://github.com/redhat-documentation/modular-docs
>>>
>>> So as our community continues in its documentation efforts I'd like to
>>> highlight that anyone can contribute and help by letting us know how you
>>> are using OFBiz and what are your main user stories.
>>>
>>> Thanks
>>> Sharan
>>>
>>>
>>>
>>>
>>
>>
>


Re: Edit access to OFBiz wiki

2017-10-25 Thread Taher Alkhateeb
Welcome aboard David.

Documentation is one area where we had multiple discussions in the
past and it's in the process of getting updated. Take a look at our
discussion in [1] for example which we created a JIRA issue for in
[2]. However, we are very much in need of enthusiastic people like
yourself to help out because the framework is large and there are many
areas to cover.

I will make a few announcements and discussions on the development
mailing list so please make to subscribe over there if you'd like to
help.

[1] https://s.apache.org/FJMu
[2] https://issues.apache.org/jira/browse/OFBIZ-9873

On Thu, Oct 26, 2017 at 1:04 AM, David Child  wrote:
> Hi,
>
> Hoping to contribute - mainly documentation to start with since I’m starting 
> to learn OfBiz from the ground up to use with my business.  First thing I 
> noticed is that the Getting Started link seems to go to a document that is 
> now in the trash - clicking through on that page to another getting started 
> link then leads to a 404 message.  It should probably go through to this link 
> .
>
> I’m a software engineer by trade so I’ll hopefully contribute code too as I 
> become more familiar with the software (although no promises at this stage 
> :o) ).
>
> Anyway, my full name/user id is David Child (chagharu).
>
> ICLA to follow when I’m near a printer/scanner.
>
> All the best,
>
> David


Re: Running OFBiz in docker?

2017-10-22 Thread Taher Alkhateeb
It's not hard, you can roll something out within 10 minutes. If you want
the latest JDK then you might consider rolling your own image.

On Oct 22, 2017 7:17 PM, "Heiko Cane" <heiko.c...@gmail.com> wrote:

> Thanks for your reply. I will try to build my own docker file (without
> tomcat).
>
> It seems that airdock/oracle-jdk is not up-to-date. The latest version of
> this images contains jdk-8u112.
> Maybe I'll try the latest openjdk docker image.
>
> Are you already running OFBiz in docker?
>
> 2017-10-20 20:43 GMT+02:00 Taher Alkhateeb <slidingfilame...@gmail.com>:
>
> > Create your own Dockerfile, you can't use a tomcat container. I
> > recommend airdock/oracle-jdk as your starting docker image
> >
> > On Fri, Oct 20, 2017 at 9:18 PM, Heiko Cane <heiko.c...@gmail.com>
> wrote:
> > > Hi,
> > >
> > > I'currently trying to run our OFBiz in docker but I can't find a way to
> > > create a .war or .jar file to deploy it in a simple tomcat or java
> > > container. Seems I have to checkout the sources in my docker container,
> > run
> > > the gradle build and then start OFBiz.
> > >
> > > Is there a way to get a .war or a .jar file containing alle the
> > > dependencies for running it in a container?
> > >
> > >
> > > Thanks for helping me!
> > >
> > > Heiko
> >
>


Re: Running OFBiz in docker?

2017-10-20 Thread Taher Alkhateeb
Create your own Dockerfile, you can't use a tomcat container. I
recommend airdock/oracle-jdk as your starting docker image

On Fri, Oct 20, 2017 at 9:18 PM, Heiko Cane  wrote:
> Hi,
>
> I'currently trying to run our OFBiz in docker but I can't find a way to
> create a .war or .jar file to deploy it in a simple tomcat or java
> container. Seems I have to checkout the sources in my docker container, run
> the gradle build and then start OFBiz.
>
> Is there a way to get a .war or a .jar file containing alle the
> dependencies for running it in a container?
>
>
> Thanks for helping me!
>
> Heiko


Re: OFBiz Blog – September 2017 Update

2017-10-11 Thread Taher Alkhateeb
Great work folks. We're getting better all the time and in all areas
of the project.

On Wed, Oct 11, 2017 at 6:55 PM, Swapnil Mane
 wrote:
> +1 Paul.
> Thank you so much team for your great and invaluable efforts in this
> direction :-)
>
>
> - Best Regards,
> Swapnil M Mane
>
> On Wed, Oct 11, 2017 at 8:00 PM, Paul Mandeltort  wrote:
>
>> Sharan, thanks for being a great leader in pushing the public face of
>> ofbiz. It greatly helps adoption especially for business decision makers
>> when the community is visibly active.
>>
>> --P
>>
>> > On Oct 11, 2017, at 4:51 AM, Sharan Foga  wrote:
>> >
>> > Hi Everyone
>> >
>> > Once again our community has been very busy and we've tried to capture
>> it all in our regular monthly blog update available at the link below:
>> >
>> > https://blogs.apache.org/ofbiz/entry/apache-ofbiz-news-september-2017
>> >
>> > As always thanks very much to Michael, Pranay and  Jacques for their
>> help with reviewing and  preparing the content.
>> >
>> > Thanks
>> > Sharan
>> >
>>


  1   2   3   4   >