README
上传用户:xfwatch
上传日期:2020-12-14
资源大小:872k
文件大小:3k
- JBoss, Home of Professional Open Source
- Copyright 2008, Red Hat, Inc., and others contributors as indicated
- by the @authors tag. All rights reserved.
- See the copyright.txt in the distribution for a
- full listing of individual contributors.
- This copyrighted material is made available to anyone wishing to use,
- modify, copy, or redistribute it subject to the terms and conditions
- of the GNU Lesser General Public License, v. 2.1.
- This program is distributed in the hope that it will be useful, but WITHOUT A
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- You should have received a copy of the GNU Lesser General Public License,
- v.2.1 along with this distribution; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
- NOTE: You may like to create a backup of this folder before starting!
NOTE: If you are using IPv6 you will need to change any references to localhost in the btconfig.xmlles to be localhost4 or 127.0.0.1
- 1. SET ENVIRONMENT VARIABLES
- In order to run the example you need to make sure that you have set the environment
- appropriately. You will need to make sure that you edit the variables with values
- starting with REPLACE_WITH_:
- On Linux you need to edit:
- $BLACKTIE_HOME/setenv.sh
- On Windows:
- %BLACKTIE_HOME%setenv.bat
- Then, execute the script setenv
- 2. RUN THE EXAMPLE
- This example makes use of maven to build, deploy and test an XATMI service deployed
- as an MDB.
- If you are running the test from a binary distribution you will need to ensure that
- the JAtmiBroker XATMI library is installed in your .m2 Maven folder:
- cd BLACKTIE_HOME/jatmibroker-xatmi
- mvn install:install-file -DgroupId=org.jboss.blacktie -DartifactId=jatmibroker-xatmi -Dversion=2.0-MR1-SNAPSHOT -Dpackaging=jar -DgeneratePom=true -Dfile=jatmibroker-xatmi-2.0.jar
- mvn install:install-file -DgroupId=org.jboss.blacktie -DartifactId=blacktie-xsd -Dversion=2.0-MR1-SNAPSHOT -Dpackaging=jar -DgeneratePom=true -Dfile=blacktie-xsd-2.0.jar
- mvn install:install-file -DgroupId=org.jboss.blacktie -DartifactId=atmibroker-idl -Dversion=2.0-MR1-SNAPSHOT -Dpackaging=jar -DgeneratePom=true -Dfile=atmibroker-idl-java-2.0-MR2.jar
- Edit the following files to set REPLACE_WITH_HOSTNAME as appropriate:
- pom.xml
- src/main/resources/btconfig.xml
- src/test/resources/btconfig.xml
- After the dependencies are installed you can then run the example using the following command:
- mvn install