Access to add and change pages is restricted. See: https://cwiki.apache.org/confluence/display/OFBIZ/Wiki+access

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

  1. Unzip your War file locally.
  2. Create a new folder in the hot-deploy directory by whatever name you want your new application to run under
  3. Create a webapp folder within this very same, newly created, directory
  4. Copy every folder within the war file to this webapp folder (there should be a web-inf directory under hot-deploy/yourapp/webapp/ now)
  5. Add a new ofbiz-component file to /hot-deploy/yourapp
    Change the following accordingly to your webapp:
    <?xml version="1.0" encoding="UTF-8"?>
    
    <ofbiz-component name="yourapp"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd">
    
       <resource-loader name="main" type="component" />
      <!--
      <classpath type="dir" location="config" />
        -->
    
         <classpath location="lib/*" type="jar"/>
         <classpath type="jar" location="build/lib/*"/>
         <classpath type="dir" location="src/*" />
    
        <webapp name="yourapp"
           title="yourapp"
           server="default-server"
           location="webapp"
           mount-point="/yourapp"
           app-bar-display="false" />
    
    </ofbiz-component>
    
  6. Remain everything else in touch (don't add anything) & Restart ofbiz and give it all a go...

A tip from Paul Piper

  • No labels