v7 platform servicemix 4.3.0 installation steps

  v7 platform servicemix 4.3.0 installation steps

1.  start servicemix

2. for activemq

     osgi:install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-dbcp/1.2.2_5

     features:install  camel-jms

     features:install  camel-activemq

3. for jpa idempotent

     features:install  camel-jpa

     features:install  jpa-hibernate

4. under the “apache-servicemix-4.3.0-fuse-03-00” directory:

    create a new directory "conf"

    under the "conf" directory , create a file "config.properties" :

       jpastore.inprogress.driver=com.mysql.jdbc.Driver
       jpastore.inprogress.url=jdbc:mysql://10.204.7.21/platform_v7_log?relaxAutoCommit=true
       jpastore.inprogress.username=log
       jpastore.inprogress.password=123

       jpastore.idempotent.driver=com.mysql.jdbc.Driver
       jpastore.idempotent.url=jdbc:mysql://10.204.7.21/jpa?relaxAutoCommit=true
       jpastore.idempotent.username=log
       jpastore.idempotent.password=123

activemq.middle=middleQueue
activemq.png=pngQueue
activemq.other=otherQueue

5. copy jar package  in turn to the depoy catalog :

    eagle_osgi2_1.0.0.jar   driver_oracel_mysql-c3p0_1.0.0.jar    activemq_connect.xml

    datasource.xml              messaging-7.0.1.jar                            commons-7.0.1.jar

 PnGPO-PO-7.0.1.jar       middle_artifact-7.0.1.jar                      CarrefourPO_JpaIdempotent2_artifact-7.0.1.jar

attention: don't deploy these jars :

com.springsource.org.hibernate-3.3.2.GA.jar    org.springframework.transaction-2.5.6.SEC01.jar



本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/xgbjmxn/archive/2011/03/11/6240719.aspx

猜你喜欢

转载自xgbjmxn.iteye.com/blog/1041687