OpenSource ERP Software dedicated to small to mid-size companies

           Become Platinium or Gold Neogia Partner

Faq

Contents

How to run OfbizNeogia with an alternative configuration to avoid to have to modify default configuration files?

  1. Create folder ofbizNeogia/conf/site (it can not be commited by error because it is referenced in .cvsignore)
  2. Put in this folder modified configuration files and required jars
  3. Create file ofbizNeogia/site.properties that contains this line:
ofbiz.neogia.site.conf=conf/site

There are examples of alternative configuration in ofbizNeogia/conf:


How to run OfbizNeogia in Eclipse?

  1. Select ofbizNeogia project, right-click on it -> Run As -> Run ...
  2. Select Java Application and click on New
  3. Set Run configuration name to OfbizNeogia
    • Main tab:
      • Project: ofbizNeogia
      • Main class: org.ofbiz.base.start.Start
    • Arguments:
      • VM arguments: -Xms128M -Xmx256M
      • Working directory: Use default working directory
    • Classpath
      • Bootstrap Entries: JRE System Library
      • User Entries: add ofbiz.jar from ofbizNeogia project and remove all others
    • Source (for debugging)
      • add ofbizNeogia java project
    • Environment
      • Add environment variable LC_ALL=C
  4. Click on Apply and Run


You can also check out this guide (Spanish):

How to see which files have been really modified by a regeneration?

After having regenerated a component, all its generated files appear modified because their timestamp has changed. Therefore only a small subset of them has really been modified. By doing a cvs update at the component level, timestamp of not modified files will be reset.


Why some xml files contains validation errors when displayed in Eclipse?

By default, Eclipse looks for xml schema definitions by using the namespaces declared in xml documents which points to www.ofbiz.org. Xml schemas presented on this site don't contain neogia extensions that's why validation errors appear. You can define an XML catalog to force eclipse to look for xml schema on the machine instead of on the net.


Change TCP Port

You can find some basic start configuration in the file: {ofbiz.neogia.home}/base/config/ofbiz-containers.xml. On this file you can change the line:

                <property name="port" value="8080"/>

You can use any port that you want (of course an unused port).

This works for windows also. Remember that you have to be careful with the port number, for example on linux any port below 1024 requires root priviledges to work.

Retrieved from "http://neogia.org/Faq"