Hi Charitha, Thanks for the set of steps. I will add it to the Carbon doc distribution.
Sameera On Tue, Nov 30, 2010 at 3:10 PM, Charitha Kankanamge <[email protected]>wrote: > Hi Sameera, > > Here are the steps. Please describe these steps in detail when you add this > in to carbon docs. > > 1. Unzip WSO2Carbon binary distribution. Copy CARBON_HOME/repository and > CARBON_HOME/resources directories in to a new directory in your file system. > > eg:- /home/charitha/carbon-repo > 2. Update the followings in carbon.xml > (/home/charitha/carbon-repo/reposiroty/conf/carbon.xml) > <ServerURL>https://localhost:8443/cs/services/</ServerURL> > > <WebContextRoot>/cs</WebContextRoot> > > 3. Specify absolute path of carbon DB in registry.xml > (/home/charitha/carbon-repo/reposiroty/conf/registry.xml) > > > <url>jdbc:h2:/home/charitha/carbon-repo/repository/database/WSO2CARBON_DB;DB_CLOSE_ON_EXIT=FALSE</url> > > 4. Specify absolute path of carbon DB in user-mgt.xml > (/home/charitha/carbon-repo/reposiroty/conf/user-mgt.xml) > > <Property > name="url">jdbc:h2:/home/charitha/carbon-repo/repository/database/WSO2CARBON_DB;DB_CLOSE_ON_EXIT=FALSE</Property> > > 5. Edit HTTP and HTTPS ports in axis2.xml according to your tomcat server > > <transportReceiver name="http" > > class="org.wso2.carbon.core.transports.http.HttpTransportListener"> > <!-- > Uncomment the following if you are deploying this within an > application server. You > need to specify the HTTP port of the application server > --> > <parameter name="port">8080</parameter> > > > <transportReceiver name="https" > > class="org.wso2.carbon.core.transports.http.HttpsTransportListener"> > <!-- > Uncomment the following if you are deploying this within an > application server. You > need to specify the HTTPS port of the application server > --> > <parameter name="port">8443</parameter> > > 6. Open CATALINA_HOME/conf/server.xml and update SSL connector settings as > follows. (CATALINA_HOME is tomcat root) > > <Connector SSLEnabled='true' > keystoreFile='/home/charitha/carbon-repo/resources/security/wso2carbon.jks' > keystorePass='wso2carbon' maxSpareThreads='76' port='8443' > protocol='HTTP/1.1' maxThreads='150' secure='true' scheme='https' > sslProtocol='TLS' clientAuth='false'/> > > 7. Create a deployable webapp using wso2carbon webapp ===> Create a new > directory called 'cs' and copy CARBON_HOME/lib/core/WEB-INF to the newly > created 'cs' directory. Also copy CARBON_HOME/lib/log4j.properties file to > cs/WEB-INF/classes > > 8. Copy 'cs' directory to CATALINA_HOME/webapps > > 9. Set CARBON_HOME environment variable > > export CARBON_HOME=/home/charitha/carbon-repo > > 10. Start tomcat > sh catalina.sh run > > > Thats all! > > Regards > Charitha > > > -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: [email protected] blog: http://tech.jayasoma.org Lean . Enterprise . Middleware
_______________________________________________ Carbon-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
