iDempiere updation/ Maintenance / Deployment Help

460 views
Skip to first unread message

Nishant Goswami

unread,
Nov 26, 2016, 3:54:32 PM11/26/16
to iDempiere
HI..
I am Having few issues/Confusion Related to iDempiere Deployment/ Installation

Before I State My problem let me 1st give you my update on what I have done so far.

1. I have successfully Deploy iDempiere 3.1 on AWS EC2 with Ubuntu 14.04 using Installer.
2. I have successfully Deployed iDempiere 3.1 using Chuck's Script.

Now to meet with some requirements I made changes in available Source / Core codes and made the plugin as well.


Now My Issue is These all works well with 1> From Eclipse , 2> If I make installer and host it on the local system also it works.

But when I try to update my running idemipere on Server using the update.sh, it gets updated without Error. IT shows my changes in menus. Besides My Plugin gets installed thru Felix without
Problem.

But When I try to run My changes/ processes it throws me  "Failed to create new process instance for org.compiere.process.CalculateTotalInterest" Errors.

So, I tried to update binaries using .chuck boecking's scripts which we get at the time of idempiere instalation using his scripts inside /opt/choube/utils  .. This time also updation
of binaries went good but errors remains same.

So, Please help me to Understand what Am I Missing?

I am trying to learn followings.. 1. How to update idempiere with some changes when idempiere is being used ( Running in real time production)
                                  2. Time and Time again we need to modify running instance , so is there a way for easy maintenance.
               

                Sorry, If I am sounding too much like a newbie or weird, because in last 15 days I have tried so many things.. I just need to know what is the correct way of
                maintenance. I guess I am too much confused after trying too many things.
               
 I am attaching my log file and Screen shot of Error.


1.jpg
idempiere.2016-11-24_0.log

Carlos Antonio Ruiz Gomez

unread,
Nov 26, 2016, 4:21:54 PM11/26/16
to idem...@googlegroups.com
You can always check the useful free guides from Jan Thielemann (sponsored by Evenos)
http://wiki.idempiere.org/en/Developing_Plug-Ins_-_Process
https://www.youtube.com/watch?v=5SDqnbYrpQc

Regards,

Carlos Ruiz


El 26/11/16 a las 21:54, Nishant Goswami escribió:

Nishant Goswami

unread,
Nov 26, 2016, 5:00:33 PM11/26/16
to iDempiere
hi Carlos

Thank you for your spontaneous response. I will see that. But I just want to know about how to updates binaries if we changed core.

adamt...@gmail.com

unread,
Nov 27, 2016, 12:31:08 AM11/27/16
to iDempiere
It's important that you never change the core codes. You must create a plugin or plugins to provides your coding. Once you change your codes, recompile your plugins and export your plugins and update using felix interface. If your latest plugins need changed db columns or tables, you will need to redo ur steps using live server AD ui, or use 2pack or embed them inside your plugin.

Nishant Goswami

unread,
Nov 27, 2016, 5:15:49 AM11/27/16
to iDempiere

Yes,
I have created plugin as well. But Still I am not able to find proper solution about my resolution. Following is still I am facing.

1> I have created plugin , Installed it thru felix console. But it is Staying ''installed'' state insted of  "'Active"' State. it doesnt matter how many time i press "Start" Option. it does nothing. I have done pack in/pack out process to update database. I have done this on AWS Ec2 , where iDempiere is already Running.

2> But, when I create Installer for my customized code  and install thru it, it runs my plugin process well.

3> I have created plugins by following http://wiki.idempiere.org/en/Developing_Plug-Ins_-_Process ) tutorial. Same is working in Eclipse.  When I check log file it says, It can not instantiated my process because of ClassNotFound when I try to run myprocess of plugin. But, Even If I create installer from latest build it does work in local.

So, All time i can not create new instller and run it on server for small modification. Please Advice me.

Thank you.

Dirk Niemeyer

unread,
Nov 27, 2016, 6:25:10 AM11/27/16
to idem...@googlegroups.com
Hi,

have a look at the source code of your MANIFEST.MF, build.properties and
the xml files within OSGI-INF.
My experience is that eclipse is sometimes doing strange things with the
content of these files (especially when I made up my mind during
development and for example have renamed a factory) which leads to
strange errors of not finding a factory or trying to load a factory
twice or so. That may be a reason for your problems.

Regards

Dirk Niemeyer
Reply all
Reply to author
Forward
0 new messages