README
上传用户:xfwatch
上传日期:2020-12-14
资源大小:872k
文件大小:2k
- 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.xml files 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
- On Windows:
- You MUST use an environment configured with the VC++ development tools, e.g. launch:
- C:Program FilesMicrosoft Visual Studio 9.0VCvcvarsall.bat
- 2. RUN THE SERVER
- Follow the instructions in $BLACKTIE_HOME/examples/xatmi/fooapp to start a server
- 3. CREATE THE CLIENT
- On Linux:
- generate_client.sh -Dclient.includes=client.c
- On Windows:
- generate_client -Dclient.includes=client.c
- 4 RUN THE CLIENT
- Edit the btconfig.xml to set REPLACE_WITH_HOSTNAME as appropriate
- ./client
- NOTE: If you get the following error you have not sourced setenv.sh|bat
- ./client: error while loading shared libraries: libTAO_CosNaming.so.1.6.7: cannot open shared object file: No such file or directory