THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Create a folder somewhere on the disk with ~800MB free memory. This becomes the work area. Referred as <work-folder> hence forth.
Wiki Markup Download Glassfish Server v2.1 and install. (Download it from \[1\])
Wiki Markup Download OFBiz source (if you have not done already). (Either download the builda release or what not from [http://buildofbiz.ofbizapache.org/download.html] or checkout from SVN. Refer \[2\])
- Build OFBiz sources (in case of svn checkout) using 'ant' command. This will create 'ofbiz.jar' file.
- Generate container templates for Glassfish v2.1 server.
- Goto the OFBiz source folder (referred as OFBIZ_HOME).
Wiki Markup Use the command 'java \-jar ofbiz.jar \-setup glassfish21' to generate the templates. For more information refer \[3\]. This will create a new folder called 'setup' inside OFBIZ_HOME and place the generated templates under the folder 'setup/glassfish21'.
Code Block if (you are using JavaDB && want seed and demo data loaded) { Copy OFBIZ_HOME/setup/glassfish21/run.sh to <work-folder>; run run.sh script now !; // (without quotes) './run.sh <glassfish_home> <glassfish-domain-path>' } else { read ahead; }
...
Wiki Markup |
---|
\[1\] : [https://glassfish.dev.java.net/downloads/v2.1-b60e.html] \[2\] : [httphttps://docscwiki.ofbizapache.org/displayconfluencedisplay/OFBADMIN/Demo+and+Test+Setup+Guide] (Building from SVN) \[3\] : OFBIZ_HOME/framework/appserver/README (where OFBIZ_HOME is OFBIZ source root on your local disk. \[4\] : [httphttps://docscwiki.ofbizapache.org/displayconfluencedisplay/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide] (2.c. Database Setup) \[5\] : [httphttps://docscwiki.ofbizapache.org/displayconfluencedisplay/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide] (2.d. Seed Data Loading) |
This works was kindly provided by Vadiraj Deshpande