Re: Notes from OFBiz Documentation Skype Call : 27th February 2018

2018-03-07 Thread Sharan Foga
Hi All

A minor correction. Allan Zarsuela also attended the meeting he was missed out 
of the attendee list (Sorry Allan!).  I've updated the wiki page to include him.

Thanks
Sharan

On 2018/02/28 14:55:38, Michael Brohl  wrote: 
> Hi Sharan, all,
> 
> great stuff! I just want to thank everyone who attended the meeting and 
> put this together!
> 
> I'll provide more feedback in the coming days.
> 
> Regards,
> 
> Michael
> 
> 
> Am 28.02.18 um 15:43 schrieb Sharan Foga:
> > Hi Everyone
> >
> > Thank you everyone who attended and please see below for the details I 
> > captured  from the Skype call yesterday to help kickstart our 
> > documentation effort.
> >
> > *Skype Call to Kickstart OFBiz Documentation Effort*
> > *Date*: 27th February 2018 at 14.00 (UTC+1)
> >
> > _*Agenda*_
> >
> >  * Introductions
> >  * Technical Environment Overview
> >  * Collaboration Environment
> >  * Next Steps and Actions
> >
> > _*Introductions*_
> >
> >  * 8 people attended the call.- Olivier Heintz, Tim Boyden, Arthur
> >    Marquez, Tarun Thakur, Bader Ali, Taher Alkhateeb, Jacopo
> >    Cappellato, Sharan Foga
> >  * Main objective were to discuss how to kick off the OFBiz
> >    Documentation effort
> >
> > _*General Overview*_
> >
> >  * We went through a bit of an overview of the project and the
> >    background regarding OFBiz documentation.
> >  * Initially the project had implemented docbook but this used XML and
> >    had a large complex vocabulary, that made it not easy for people to
> >    use.It also wasn't very adaptable as a generic documentation tool
> >  * After many discussions on the dev list we decided to adopt asciidoc
> >    because it was a lot simpler to use.
> >      o Writing asciidoc is a lot like normal writing in English, which
> >        will allow people with little or no technical knowledge the
> >        ability to contribute
> >      o there was already a lot of documentation about how to use it
> >      o it has different publishing options (html, PDF etc) and so can
> >        in future be integrated with our online help
> >
> >  * The purpose of the documentation project is divided into 3 areas
> >      o   to provide comprehensive documentation for all of OFBiz
> >      o to be a tool for one source publishing to multiple outputs
> >      o to integrate with the online help
> >
> >  * Everyone that can help with this effort will add value. We have a
> >    variety of people from different backgrounds that will make the
> >    documentation richer and based on practical experience.
> >
> > *_General Guidelines_*
> >
> >  * Want to try and avoid copy and paste patterns and make documentation
> >    modular, so that we write it once and re-use in many places
> >    http://www.writethedocs.org/guide/
> >
> >  * Focus on more topic based documentation to help users achieve
> >    something so they can get started quickly
> >
> >    https://en.wikipedia.org/wiki/Topic-based_authoring
> >
> >  * Need to keep an open mind as this documentation effort will be an
> >    evolution. We wont get it right first time and there will be several
> >    iterations where we change content multiple times
> >  * Documentation can't work without content so our first key focus
> >    should be to get as much content into the framework as possible
> >    (knowing that it maybe updated and evolve as we go)
> >  * The PoC documentation framework that we will use is neutral so we
> >    can make the documentation as detailed as we want
> >  * The documentation will be in English only at this stage. Once we
> >    have a completed English manual, we can look at other languages and
> >    perhaps these can be provided via a plugin...
> >  * Put together some getting started guidelines that will be a
> >    reference. It could include roles and responsibilities and also an
> >    overview of the end to end process flow to get some documentation
> >    submitted
> >
> > _*Design*_
> >
> >  * Documentation that we will be working on writing will be essentially
> >    2 top level parts
> >      o Framework Guide (technical / developer)
> >      o Core Applications (user)
> >
> >  * Documentation for plugins will be managed separately and so each
> >    plugin will have its own documentation. (NOTE: this means that each
> >    specialpurpose application will have its own)
> >  * We can make use of a structure of hidden vs published documents. We
> >    can create multiple modular topic related files in a hidden
> >    directory and then include whatever topics we need in the published
> >    document
> >  * The header offset option allows us to publish each application as a
> >    separate guide (e.g accounting guide, manufacturing etc) rather than
> >    all of the application
> >  * We can look at other published guides to help us see what good
> >  

Re: OFBiz Blog – Febraury 2018 Update

2018-03-07 Thread Allan Zarsuela
Hi Sharan,

Please include me in the attendance for the Skype meeting last Feb. 27,
2018 in the documentation.
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Documentation+Skype+Call%3A+February+2018

Thanks!


On Wed, Mar 7, 2018 at 11:25 PM, Taher Alkhateeb  wrote:

> 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
>



-- 
*Allan L. Zarsuela*
*Software Engineer*
Cellphone number: +971-5221-40525


[MODERATE EMAIL] Features, attributes or content

2018-03-07 Thread Deepak Dixit
Hi

Your email has been moderated, Please subscribe mailing list
http://ofbiz.apache.org/mailing-lists.html


Thanks & Regards
--
Deepak Dixit

-- Forwarded message --
From: "patben.e...@gmail.com" 
To: 
Cc:
Bcc:
Date: Wed, 07 Mar 2018 22:39:37 -
Subject: Features, attributes or content
I need for some type of products for example books to have some attributes
that are the same for all products of category with books. For example
writer, publisher, language. For these I can make a category of features.
For other attributes like book pages or book publish date maybe I need to
make some attributes or content? What is the best approach? When I edit a
book for example I want to easily add to the product all the book specific
features and attributes. Can I make a content named book that contains all
that attributes for example or it is some better approach?


Fwd: MODERATE for user@ofbiz.apache.org

2018-03-07 Thread Deepak Dixit
Hi Jack,

Your email has been moderator, Please subscribe to mailing list
http://ofbiz.apache.org/mailing-lists.html

Its strange, your first email is delivered and second one went for
moderation.


Thanks & Regards
--
Deepak Dixit


-- Forwarded message --
From: "jondon1...@gmail.com" 
To: 
Cc:
Bcc:
Date: Wed, 07 Mar 2018 17:10:42 -
Subject: Re: I cannot start ofbiz on my laptop (localhost)


On 2018/03/07 15:06:24, Giulio Speri - MpStyle Srl 
wrote:
> Hi,
>
> Which OFBiz version do you use?
> OFBiz on localhost runs on the https port 8443 (not 8442) for backoffice
> applications and 8080 (http) for eCommerce, so make sure that the 8443
port
> is not used by other processes.
>
>
> Kind Regards,
> Giulio
>
> 2018-03-07 14:07 GMT+01:00 jondon1...@gmail.com :
>
> > I went through all instructions couple of times but when I go
> > localhost:8442/accounting I get a message that local host refused to
> > connect.
> >
> > I have Java installed and system variables added but I cannot have this
> > right.
> >
> > I am new to ofbiz but I read somewhere that tomcat is embedded.
> >
> > Do I need Tomcat on my laptop? If so, I have an Apache server installed
on
> > my Windows 8.1.
> > When I try to run Tomcat I get a message:
> > "Make sure you have Java JDK or JRE installed and the required ports are
> > free"
> >
> > Are these two, that is, ofbiz and Apache Server are  in conflict?
> >
> > I would really appreciate your help.
> >
> > P.S. I simply want to install ofbiz to play with it and check its
> > functionality.
> >
> >
> >
> >
>
>
> --
> Giulio Speri
>
>
> *Mp Styl**e Srl*
> via Antonio Meucci, 37
> 41019 Limidi di Soliera (MO)
> T 059/684916
> M 334/3779851
>
> www.mpstyle.it
>

Hi

Thank you for your fast reaction to my question (yes port 8443, I made a
typing mistake)
I am using 16.11.04 version of ofbiz. My laptop has W8.1 64-b-OS.
I run 'netstat -aon | more' in cmd but none of the port is 8443.

I downloaded ofbiz from the page below (link) - suggested link and run
'gradlew loadDefault ofbiz' from my root directory of ofbiz which is
C->ofbiz.

I must doing something wrong. Any chance for any clue?

Here is the link where I got the ofbiz from:

https://www.apache.org/dyn/closer.lua/ofbiz/apache-ofbiz-16.11.04.zip

Kind Regards
Jack


Re: Deploying Ofbiz on Cloud with Nginx

2018-03-07 Thread Shi Jinghai
Hi Sean,

If you use Nginx in front of OFBiz, you don't have to touch ofbizssl.jks, as 
the ssl connection only between client and Nginx, Nginx to OFBiz is by http. So 
let Nginx use your public key and private key files directly, i.e.:
ssl_certificate  cert.pem;
ssl_certificate_key  cert.key;

On the 52.165.18.243, I'd suggest to use the internal IPs of Azure, and the 
nginx config may look like:
upstream ofbiz { 
server 10.1.99.100:8080 srun_id=jvm1;
server 10.1.99.101:8080 srun_id=jvm2;

jvm_route $cookie_JSESSIONID reverse;
}
...
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Real-IP $remote_addr;
proxy_redirect off;
proxy_connect_timeout  240;
proxy_send_timeout 240;
proxy_read_timeout 240;
# note, there is not SSL here! plain HTTP is used
proxy_pass http://ofbiz/;
}

On the framework/catalina/ofbiz-component.xml (set jvm-route to jvm1 or jvm2):



...






































I think it's OK now for the Nginx OFBiz integration, but you cannot get remote 
client IP in OFBiz as X-Real-IP is not accepted by tomcat, if the remote IP is 
necessary, you have to add several lines in tomcat source code to achieve it.

Kind Regards,

Shi Jinghai

PS: I like your blockfreight very much, it's the first time I understood block 
chain when I visited your website. Thanks!


-邮件原件-
发件人: Sean Turner [mailto:sean.tur...@blockfreight.com] 
发送时间: 2018年3月7日 11:12
收件人: user@ofbiz.apache.org
主题: Deploying Ofbiz on Cloud with Nginx

Hi All,

I'm trying to deploy Ofbiz on an ubuntu 16.04 VM on Azure.

I've got nginx, java version 1.8.0_161, and ofbiz 16.11 downloaded on the VM. I 
can run nginx on the VM and see the welcome to Nginx page on my browser, but I 
notice an error when running ./gradlew ofbiz (please see my reply for the 
error) which I believe prevents me from reaching my ofbiz instance with the 
browser.

Does anyone have any advice for me, or perhaps relevant reading material on 
configuring ofbiz to go through nginx (also open to apache http server)?
Everything I've seen on user@ofbiz is either out of date, or leads to a webpage 
that has been removed.

I ran the following lines to generate my ssl keys:

openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 
openssl x509 -outform der -in cert.pem -out cert.der keytool -genkey -keyalg 
RSA -alias ssl -keystore ofbizssl.jks keytool -import -alias ssl -trustcacerts 
-file cert.der -keystore ofbizssl.jks

I modified the following files:

>> framework/catalina/ofbiz-component.xml
under container catalina-container, I changed the default-host to my VM's 
public IP (52.165.18.243) from 0.0.0.0 under container http-connector, I 
changed the address to my VM's public IP (
52.165.18.243) from 0.0.0.0, left port at 8080 under container https-connector, 
I changed the address to my VM's public IP
 (52.165.18.243) from 0.0.0.0, left port at 8443

>> framework/webapp/config/url.properties
port.https=443
port.http=80

>> etc/nginx/conf.d/ofbiz-ssl.conf
upstream ofbiz {
  server 52.165.18.243:8080;
  server 52.165.18.243:8080;
}

>> etc/nginx/conf.d/ofbiz-ssl.conf
upstream ofbiz-ssl {
  server 52.165.18.243:8443;
  server 52.165.18.243:8443;
}

>> etc/nginx/sites-available/ofbiz
server {
  server_name your.domain.name;
  listen 80;
#   if you have IPv6 support
  listen [::]:80;

#   ... // your custom settings can go here
#   include proxy_params;
#   proxy_set_header X-Forwarded-Proto $scheme;

  root /home/sean/ofbiz.16.11;

  location / {
try_files $uri $uri/ @ofbiz;
}

   location @ofbiz {
proxy_pass http://ofbiz;

proxy_read_timeout 180s;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded_For $proxy_add_x_forwarded_for;
}
}

server {
# given a domain name, change 52.165.18.243 to my domain name
# server_name your.domain.name;
  server_name 52.165.18.243;
  listen 443 ssl;
#   if you have IPv6 support
  listen [::]:443 ssl;

# your custom settings go here

#   include proxy_params;
#   proxy_set_header X-Forwarded-Proto $scheme;

ssl_certificate /home/sean/cert.der;

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: I cannot start ofbiz on my laptop (localhost)

2018-03-07 Thread Giulio Speri - MpStyle Srl
Hi,

Which OFBiz version do you use?
OFBiz on localhost runs on the https port 8443 (not 8442) for backoffice
applications and 8080 (http) for eCommerce, so make sure that the 8443 port
is not used by other processes.


Kind Regards,
Giulio

2018-03-07 14:07 GMT+01:00 jondon1...@gmail.com :

> I went through all instructions couple of times but when I go
> localhost:8442/accounting I get a message that local host refused to
> connect.
>
> I have Java installed and system variables added but I cannot have this
> right.
>
> I am new to ofbiz but I read somewhere that tomcat is embedded.
>
> Do I need Tomcat on my laptop? If so, I have an Apache server installed on
> my Windows 8.1.
> When I try to run Tomcat I get a message:
> "Make sure you have Java JDK or JRE installed and the required ports are
> free"
>
> Are these two, that is, ofbiz and Apache Server are  in conflict?
>
> I would really appreciate your help.
>
> P.S. I simply want to install ofbiz to play with it and check its
> functionality.
>
>
>
>


-- 
Giulio Speri


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

www.mpstyle.it


I cannot start ofbiz on my laptop (localhost)

2018-03-07 Thread jondon1928
I went through all instructions couple of times but when I go 
localhost:8442/accounting I get a message that local host refused to connect.

I have Java installed and system variables added but I cannot have this right.

I am new to ofbiz but I read somewhere that tomcat is embedded.

Do I need Tomcat on my laptop? If so, I have an Apache server installed on my 
Windows 8.1.
When I try to run Tomcat I get a message:
"Make sure you have Java JDK or JRE installed and the required ports are free"

Are these two, that is, ofbiz and Apache Server are  in conflict?

I would really appreciate your help.

P.S. I simply want to install ofbiz to play with it and check its functionality.





OFBiz Blog – Febraury 2018 Update

2018-03-07 Thread Sharan Foga
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: OFBiz MRP & Manufacturing: subcontract-work

2018-03-07 Thread Giulio Speri - MpStyle Srl
​Hi all,

thank you very much for your answers and sorry for my late answer.
In these days I am evaluating, along with my colleagues, the Manufacturing
and MRP module of OFBiz against the same module on our ERP, to exactly know
the differences between two systems, in order to put down a list of
requirements to develop/integrate.

I'll keep you up to date.

Have a good day,

Giulio

2018-02-16 6:45 GMT+01:00 Karamjeet Kaur :

> Hi Giulio,
>
> You can use the "supplies wood Y" as a BOM (Manufacturing Bill of
> Materials). It depends on how much quantity of BOM's use to Manufacturing
> the X product as well as use the Production Run between the time of
> Manufacturing the X product (finished good). It's depend on the status of
> Production Run.
> -> If BOM not available in a stock Production run in creating status.
> -> If BOM available in stock Production run in process status.
> -> The production run is closed after X product (finished good) is ready.
> The total cost of Manufacturing the X product is based on Unit Cost of BOM
> 'S and quantity to be used for Manufactured the X product.
>
> Thanks & Regards,
> Karam
>



-- 
Giulio Speri


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

www.mpstyle.it