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. RUN THE SERVER
- Follow the instructions in $BLACKTIE_HOME/samples/xatmi/fooapp to start a server
- 2. COMPILE AND RUN THE EXAMPLE ADMINISTRATION APPLICATION
- 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
-
NOTE: If you are hosting the JBoss server on a different binding address than localhost you will need to edit src/test/java/org/jboss/blacktie/examples/jmx/JMXAdministrationTest.java to change the word localhost to whatever address you bound the AS on
- After the dependencies are installed you can then run the example using the following command:
- mvn test
- NOTE: forkMode MUST be set to none, if it is not, input will not be read by the
- application. We have configured the pom.xml with forkMode=none, alternatively you
- may try -DforkMode=none, if this still doesn't work, please send a message to our forum
- where we will try to help you (please let us know the version of BlackTie, Java and
- Maven you are using)