hi arun, i followed u steps up to 9. In the 10th steps, 10. From JBOSS_HOME\server\default\deploy\ofbiz.ear location, run ant command
can you tell the command to run the ant. On Wed, Sep 30, 2009 at 2:08 PM, <[email protected]> wrote: > Steps to Integrate JBOSS in OFBiz on WINDOWS platform > > 1. Download the latest OFBiz from the Apache site and unzip it. > 2. Compile the application and build the derby database by running > the command ?ant run-install?. > 3. Change the value of disable.log4j.config from false to true in > debug.properties > (OFBiz_HOME\framework\base\config\debug.properties). > disable.log4j.config = true > > 4. Download the JBOSS (jboss-4.2.2.GA) and unzip it. > 5. The JBOSS templates are included in the directory > OFBiz_HOME\framework\appserver\templates\jboss422 > > 6. Run the following command from the OFBiz directory: > java ?jar ofbiz.jar ?setup jboss422 > > 7. When this command finishes, a new directory will be created in the > ofbiz home directory called 'setup'. Inside this directory will be > subdirectory ?jboss422? containing several files: > a. build.xml - A template to build package and deploy OFBiz. > b. application.xml - A template to generate an applcation.xml > file for the deployment of OFBiz web applications. > > 8. Create a new directory for the ofbiz deployment inside the JBoss > deploy directory. Name this directory 'ofbiz.ear'; then copy the file > build.xml and application.xml from OFBIZ_HOME\setup\jboss422\ to this new > directory. > JBOSS_HOME\server\default\deploy \ofbiz.ear > > 9. Make a copy of entityengine .xml and rename that to > entityengine-jboss422.xml in OFBiz_HOME\framework\entity\config. Changes > required in this file are: > a. Comment the element > <transaction-factory > class="org.ofbiz.geronimo.GeronimoTransactionFactory"/> > b. Uncomment the element > <transaction-factory > class="org.ofbiz.entity.transaction.JNDIFactory"> > <user-transaction-jndi jndi-server-name="default" > jndi-name="java:comp/UserTransaction"/> > <transaction-manager-jndi jndi-server-name="default" > jndi-name="java:comp/UserTransaction"/> > </transaction-factory> > > c. Change the value of jndi-name attribute of > transaction-manager-jndi element from "java:comp/UserTransaction" to > "java:/TransactionManager". > <transaction-manager-jndi jndi-server-name="default" > jndi-name="java:/TransactionManager"/> > > d. In the datasource element having attribute ?name? with > value ?localderby?, uncomment the sub-element ?jndi-jdbc? and change the > value of ?jndi-name? from "java:/DerbyDataSource" to > ?java:/OFBizDS?. > <jndi-jdbc jndi-server-name="localjndi" jndi-name="java:/OFBizDS" > isolation-level="ReadCommitted"/> > > e. In the datasource element having attribute ?name? with > value ?localderbyolap?, uncomment the sub-element ?jndi-jdbc? and change > the value of ?jndi-name? from "java:/DerbyDataSource" to > ?java:/OFBizOlapDS?. > <jndi-jdbc jndi-server-name="localjndi" > jndi-name="java:/OFBizOlapDS " isolation-level="ReadCommitted"/> > > 10. From JBOSS_HOME\server\default\deploy\ofbiz.ear location, run ant > command. This must be run from inside the directory you wish to deploy > OFBiz into. This will package and deploy all the necessary libraries, > webapps and configuration files into the JBoss exploded EAR (directory). > > 11. Add the following lines in run.bat (JBOSS_HOME/bin) > set JAVA_OPTS=%JAVA_OPTS% -Djboss.platform.mbeanserver > set JAVA_OPTS=%JAVA_OPTS% -Dofbiz.home=OFBIZ_HOME > > and comment the following line in run.bat, > rem set JAVA_OPTS=%JAVA_OPTS% > -Dsun.rmi.dgc.client.gcInterval=3600000 > -Dsun.rmi.dgc.server.gcInterval=3600000 > > 12. Add the following element in server.xml > (JBOSS_HOME\server\default\deploy\jboss-web.deployer) > <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" > keystoreFile="path" keystorePass="password" maxThreads="150" > scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" /> > > where, > path -> full path of keystore file > password -> password used to generate keystore file > > Note:- If required, you can change the port number. > > 13. Copy the derby directory from OFBiz_HOME\runtime\data and paste it > into the directory JBOSS_HOME\server\default\data. > > 14. Start the JBOSS server by running the run.bat (JBOSS_HOME\bin) > > > Thanks & Regards, > Arun Mehta | iLabs | L&T Infotech > Plot No.EL-200,TTC Electronic Zone, Navi Mumbai. > Office: +91-22-67954321 | Extn: 4321 > Mobile: 9970127578 > Email: [email protected] > > Larsen & Toubro Infotech Ltd. > www.Lntinfotech.com > > This Document is classified as: > > L&T Infotech Proprietary L&T Infotech Confidential L&T Infotech > Internal Use Only L&T Infotech General Business > > This Email may contain confidential or privileged information for the > intended recipient (s) If you are not the intended recipient, please do > not use or disseminate the information, notify the sender and delete it > from your system. > > > > Gnanashankar Shanmugam <[email protected]> > 09/30/2009 01:31 PM > Please respond to > [email protected] > > > To > [email protected] > cc > > Subject > How to integrate ofbiz in JBoss > > > > > > > hi, > can any tell steps to Integrate ofbiz in JBoss webserver in Windows XP > Os... > > > ______________________________________________________________________ > > ______________________________________________________________________
