Hello Kannan, Please see my comments inline :
Kannan G wrote:
Hi, My Production environment / application is maintained by a hosting provider. I have a URL through which I can stop and start the tomcat instance provided to me. I am a novice as far as ofbiz is concerned. I would like to know the following: 1. Are there ways not to embed tomcat in Ofbiz but just use the private tomcat instance I have got from the hosting provider?
Please refer. http://docs.ofbiz.org/display/OFBTECH/Tomcat
2. I see that Ofbiz has to be installed. But I do not have rights to install software in the production environment and the hosting provider does not allow installation of software. Is there a way that I can just copy the OfBiz directory to my remote root and just use it without installation?
Yes you can do this.One way of doing this is ssh the remote machine through one of the GUI client software. I use Terminal Server Client application in Ubuntu to access the remote machine.
If you want to do remote debugging of OFBiz code then you can use Eclipse as well.
http://docs.ofbiz.org/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse
3. Similarly for database, is there a way I can use the database provided by my hosting provider instead of embedding the database? The Hosting Provider has given me My SQL DB.
Yes it is possible. Open entityengine.xml file and change the setting of your remote database.Change local machine settings (127.0.0.1) to your remote IP address and user name / password accordingly.
Here is the snippet from that file.
<datasource name="localmysql"
helper-class="org.ofbiz.entity.datasource.GenericHelperDAO"
field-type-name="mysql"
check-on-start="true"
add-missing-on-start="true"
check-pks-on-start="false"
use-foreign-keys="true"
join-style="ansi-no-parenthesis"
alias-view-columns="false"
drop-fk-use-foreign-key-keyword="true"
table-type="InnoDB"
character-set="latin1"
collate="latin1_general_cs">
<read-data reader-name="seed"/>
<read-data reader-name="seed-initial"/>
<read-data reader-name="demo"/>
<read-data reader-name="ext"/>
<inline-jdbc
jdbc-driver="com.mysql.jdbc.Driver"
jdbc-uri="jdbc:mysql://127.0.0.1/ofbiz?autoReconnect=true"
jdbc-username="ofbiz"
jdbc-password="ofbiz"
isolation-level="ReadCommitted"
pool-minsize="2"
pool-maxsize="250"/>
<!-- <jndi-jdbc jndi-server-name="localjndi"
jndi-name="java:/MySqlDataSource" isolation-level="Serializable"/> -->
</datasource>
Thanks for your time in responding to these questions. Regards Kannan
Couple of documents can be of great help for you. http://docs.ofbiz.org/dashboard.action -- Ashish
smime.p7s
Description: S/MIME Cryptographic Signature
