Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Barcodes

Birt

...

Mounting Ofbiz application as show below will forward every request to Ofbiz including request for static resources such as images.

Code Block
    proxyPass / ajp://localhost:8009/

To mound individual application, use the below mentioned method. You will need to do this for all your application accept the one you want to be served by Apache Web Server e.g. /images

Code Block
 <Location /accounting/>
       ProxyPass ajp://localhost:9009/accounting/
 </Location>

...

Add the $OFBIZ/framework/base/config dir to the jar as a <resource> in your build file (Maven's pom.xml example, to be adapted for ant)

Code Block
    <resources>
      <resource>
        <directory>../../../framework/base/config</directory>
      </resource>
      <resource>
        <directory>../../../framework/base/dtd</directory>
      </resource>
      <resource>
        <directory>../../../framework/datafile/dtd</directory>
      </resource>
      <resource>
        <directory>../../../framework/entity/dtd</directory>
      </resource>
      <resource>
        <directory>../../../framework/entityext/dtd</directory>
      </resource>
      <resource>
        <directory>../../../framework/minilang/dtd</directory>
      </resource>
      <resource>
        <directory>../../../framework/security/dtd</directory>
      </resource>
      <resource>
        <directory>../../../framework/service/dtd</directory>
      </resource>
      <resource>
        <directory>../../../framework/widget/dtd</directory>
      </resource>
      <resource>
        <directory>../../../framework/workflow/dtd</directory>
      </resource>
      <resource>
        <directory>../../../framework/applications/content/dtd</directory>
      </resource>    
    </resources>

A Ryan's (from Sourcelab) tip

...

In the marketing application, click on contact list, then find your list, then click on Comm Events and then Create New Contact List. Comm Event should land you here:
https://demo.hotwaxmedia.com/marketing/control/EditContactListCommEvent?contactListId=9000&DONE_PAGE=/marketing/control/ListContactListImage Removed based on the trunk demo server.

...

Add a entity-resource entry of type "data" and reader-name as "ext" in ofbiz-components.xml of your application. For example:

Code Block

<entity-resource type="data" reader-name="ext" loader="main" location="data/GeoData_IN.xml"/>

And run the

Code Block

"run-install-extseed"

ant target instead of

Code Block

"run-install"

This should load your modified data along with the seed data and without any demo data.

Anchor
appserver
appserver

How to run inside a non embedded application server

...

  1. Client makes a request
  2. request (among other things) calls a view (controller.xml)
  3. view calls a screen (controller.xml)
  4. screen (*Screens.xml) calls some actions and widgets (*.bsh, *Forms.xml, *.ftl, etc)
  5. the page is rendered to the client.

...

  • Verisign
  • Thawte - Thawte Certificate ~ $350 / 2 yrs
  • Comodo
  • GeoTrust
  • FreeSSL - Professional (Not actually Free by the way)
  • CACert.org

...

Budget Plans

...

  • FreeSSL - StarterSSL ~ 39 per year
  • Comodo - InstantSSL (Second Tier requiring multiple Certs be installed)

...

  • On Windows, do not have any spaces between any directories on your path, or the RMIDispatcher will not start
  • On Linux, the RMI server may not know its own IP address and might get "lost." This will cause java.net.SocketException?: Socket is not connected (Error connecting to 127.0.0.1). This error message is generated on the RMI server but it will be displayed on the RMI client. The answer is to force rmi server's IP address into the JVM envrionment (http://forum.java.sun.com/thread.jsp?forum=58&thread=288759&tstart=0&trange=15):Image Removed

The canonical server-side solution appears to be to tell the server its IP on startup:

...

  1. If you are not interested in posting accounting transactions to the GL then you can disable (i.e. comment out) the first eca rule in accounting/servicedef/secas_ledger.xml
    Code Block
    
    <eca service="createAcctgTransAndEntries" event="commit">
        <condition field-name="acctgTransId" operator="is-not-empty"/>
        <action service="postAcctgTrans" mode="sync"/>
    </eca>
    
  2. Configure an Error Journal to post there the accounting transactions that are incomplete (you will find a lot of posts about this if you search in the archives)

...