ADempiere ERP Business Suite

Subscribe

Deploy new customization.jar to JBoss Server

  1. 2012-02-03 17:23:00 PST
    I have made my own customization.jar and successfully used it on ADempiere desktop client, but for Server the new customization.jar seems to be not in use. How could I send the same customization.jar to the web server? Thanks in advance.
  2. 2012-02-03 17:30:51 PST
    If your customization .jar has the valid format inside, just copy it inside the ADEMPIERE_HOME/lib directory and run the run_setup.sh or run_silentsetup.sh (.bat in windows) and it should work. Pedro Rozo.
  3. 2012-02-03 23:47:14 PST
    Hi, most things you do should apply to WebUI. But except Forms, you need to create once for Swing and another for WebUI. Kitti U.
  4. 2012-02-10 00:24:40 PST
    l am new to adempiere customization and lm having a similar problem but mine is that my customization is not being picked on the client and web as well. l am trying to debug a nullpointerexception on the factline.java(setAmtSource) method but the class have references and dependence on other .java files. How do l solve this problem so that my customization can be picked but if l do a simple customization that is found on adempiere sites it is working fine so l think the issue is on reference and dependencies on other core classes?. Thank you in advance
  5. 2012-02-10 01:02:14 PST
    Hi, Where you are trying to integrate this customization.jar ... I mean in development environment( i.e., eclipse project for development) or in deployment environment. If you are trying to do this in Deployment environment then 2 answer is more than enough. if your trying to do this in devleopment environemnt. just add the customization .jar to the buildpath. Hi btmwanjeya, In your case may be the clases in the customization.jar are not well structured. i.e., folder structure. Hope this information helps. Regards, PhaniKiran.Gutha
  6. 2012-02-10 04:41:12 PST
    Hi Gutha, l have check everything including the folder structure before creating the customization.jar. Everything looks okay. Also l have included a customization(ALoginRes) which does not requires dependencies within the same project(customization) and l exported the whole project to a single customization.jar. The customized ALoginRes.java file was picked by adempiere but the other FactLine.java files with dependencies where not picked. this is the directory structure in my project 1.serverRoot/src/main/server/org.compiere.acct.FactLine.java 2.client/src/org.compiere.apps.ALoginRes.java Only ALoginRes customization is working. Please help.Thanks in advance.
  7. 2012-02-10 05:06:04 PST
    Hi btmwanjeya, i think you have miss leaded. FactLine.java is not in serverRoot/src/main/server/org.compiere.acct.FactLine.java it is base/src/org.compiere.act.FactLine.java replace file in the base directory, build customization.jar and run the setup once again it will work for sure. Regards, PhaniKiran.Gutha
  8. 2012-02-10 05:57:35 PST
    Hi Gutha l am using adempiere320,and thru the package explore tree it is showing that FactLine.java is in serverRoot/src/main/server/org.compiere.acct and also if l do a file search it is showing the same directory. lm not sure but is it not about the different versions of adempiere.If l use your the base/src/org.compiere.act.FactLine the project will have errors. Please help.Thanks in advance.
  9. 2012-02-12 20:50:03 PST
    Hi btmwanjeya, In this case , the customization.jar will be overriden by Adempiere.jar only not by any other jars, solution for this is either you make changes in the original serverRoot module. or create seperate customization.jar for the serverRoot code and modify the build.xml to override the second serverrootcustomization jar with the adempiereRoot.jar. Or modify the application.xml in the ear file. by adding one more java module with the customization.jar at the last of the jar modules and before the wab modules. Hope this will solve your issue. Regards, PhaniKiran.Gutha
  10. 2012-02-18 02:54:28 PST
    Hi Gutha Thank you very much,its now working fine.
Jump To:
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.