Home
- jboss fuse version 6.0.0 http://www.jboss.org/products/fuse
- jboss fuse IDE http://www.jboss.org/products/fuse
- Android Development Toolkit
- m2e for android
- Maven version 3.+
- create four directories apac, na, emea, ltma
- unzip a copy of jboss fuse in each directory
- start each instance by running bin/fuse
- Install dbcp bundle (osgi:install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-dbcp/1.4_3)
- Quit fuse by hitting ^d or running osgi:shutdown
- copy mysql-connector-java-5.1.13-bin.jar to the deploy directory
- Modify etc/jre.properties with information below for the appropriate JRE. java -version will give you this
- Modify org.apache.karaf.features.cfg and edit the featuresBoot line featuresBoot=jasypt-encryption,config,management,fabric-boot-commands,fabric-bundle,fabric-maven-proxy,patch,activemq,mq-fabric,camel-xmlbeans,camel,camel-cxf,camel-jms,activemq-xbeans,activemq-camel,camel-blueprint,camel-csv,camel-ftp,camel-bindy,camel-jdbc,camel-exec,camel-jasypt,camel-saxon,camel-snmp,camel-ognl,camel-routebox,camel-script,camel-spring-javaconfig,camel-jaxb,camel-jetty,camel-jmx,camel-mail,camel-paxlogging,camel-rmi,camel-sql,war,camel-xmlbeans,camel-xmljson,camel-xmlsecurity
- Repeat these steps for each instance. Make sure to modify the ports in each instance to match the ports in the region file in token/filters/
- compile mvn -P clean org.apache.felix:maven-bundle-plugin:bundle install ex. mvn -Pltam clean org.apache.felix:maven-bundle-plugin:bundle install
- Modify datasource.xml to match the username and password for your mysql instance
- run the bitmoney.sql file to create a default database
- install your fab bundle: osgi:install -s fab:mvn:org.zeroglitch.bitmoney/BitmoneyService
Modify jre.properties Add: javax.ejb, \
javax.jmdns, \
javax.swing, \
javax.validation, \
javax.validation.constraints, \
javax.validation.groups, \
javax.validation.metadata, \
javax.persistence.spi;version="1.0.1.Final", \
javax.persistence;version="1.0.1.Final";-split-package:=merge-first, \
javax.security.*;-split-package:=merge-first, \
javax.persistence.criteria;version="1.0.1.Final";-split-package:=merge-last, \
javax.persistence.metamodel;version="1.0.1.Final";-split-package:=merge-last, \
javax.security.jacc, \
javax.activation;version="1.1", \
javax.activity, \
javax.annotation;version="1.1", \
javax.annotation.processing;version="1.1", \
javax.ejb;version="3.0", \
javax.ejb.spi;version="3.0", \
javax.interceptor;version="3.0", \
configure multiple instances of fuse.
-
edit org.apache.karaf.management.cfg
-
Assign new rmiRegistryPort and rmiServerPort
-
edit system.properties change org.osgi.service.http.port and activemq.port
-
edit jetty.xml
- Start an android emulator, or plug in a device
- run the following command mvn clean android:deploy