Correct way to deploy iDempiere to production environment?

405 views
Skip to first unread message

An Nguyễn

unread,
Nov 18, 2015, 7:58:05 PM11/18/15
to iDempiere
Hi all,
I'm looking for the way to deploy an iDempiere project to production environment, but there're not many articles about this topic.
As I read, we can deploy an OSGi project by 2 ways:
- Embed OSGi container inside another servlet container: OSGi project will be packed like a classic WAR file, and the servlet container will be installed and configured independently.
- Servlet container will be use as a bundle of OSGi project, like tomcat is configured and running inside iDempiere 2.1

I wonder which way is prefered for iDempiere, and is there any article/guideline on how to do this in details?
Thanks in advance.

Pritesh Shah

unread,
Nov 19, 2015, 12:21:51 AM11/19/15
to idem...@googlegroups.com

Why don’t you use Jenkins and create script to build product.zip using Buckminster commands and then extract zip and start the server.

 

Pritesh Shah
Sr. Consultant

KNOWARTH

11, Aryan Corporate Park, Nr. Shilaj Railway Crossing, Thaltej, Ahmedabad, Gujarat, INDIA

Mobile : +91 989 857 1787

Skype : pritesh.shah17

 

Email : prites...@knowarth.com

Web : www.knowarth.com

KNOWARTH

KNOWARTH

KNOWARTH

KNOWARTH

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. If you have received this email in error, please notify KNOWARTH immediately by e-mail or telephone and delete the e-mail from any computer. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/dd0446cd-ad0f-419f-9b91-d125d9b1dfd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

An Nguyễn

unread,
Nov 19, 2015, 12:55:15 AM11/19/15
to iDempiere
Hi Pritesh Shah,
I think using the way creating product.zip means we need to re-deploy all things everytime, which is not conveinent.
For example, I just change a line of code in my own bundle, can I just update it to production environment without touching the other ones?
As I understand, OSGi architect helps us to do this, but I still don't know how to do.

Thanks,

Hiep Lq

unread,
Nov 19, 2015, 2:26:39 AM11/19/15
to Mohemmed Bilal Ilyas
for your requirement, you can use osgi console or felix web ui, install old plug-in and install new one.
you also can create a p2 repository and auto update from it. 

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Lê Quý Hiệp
Email: hie...@hasuvimex.vn
Skype: admin.hasuvimex

Company: Thanh Hoa Fishery Import - Export J.s.c  (HasuvimexDL 47
Add: Lot E, Le Mon Industrial Zone, Thanh Hoa, Vietnam

Rinto Exandi

unread,
Nov 20, 2015, 9:29:09 PM11/20/15
to iDempiere
Hi,

You can use Felix web ui for and easiest way to add/update your custom plugin into idempiere without compiling the whole idempiere source, but if you do change the core idempiere source indeed you need to compile the whole idempiere source.

As stated by mr Red1, using osgi  it create a possibility that you can change the tire without even stop the car :) 

Rgds,
Rinto
Reply all
Reply to author
Forward
0 new messages