Comments (12)
This is very likely a DNS/IP issue, try to run tao_cosevent
with -ORBDebugLevel 10
as additional commandline arguments and look what kind for errors it gives.
Please provide all details as requested, the configuration files asked can be very important
from ace_tao.
This is very likely a DNS/IP issue, try to run
tao_cosevent
with-ORBDebugLevel 10
as additional commandline arguments and look what kind for errors it gives.Please provide all details as requested, the configuration files asked can be very important
hi jwillemsen,
after I run the command "$TAO_ROOT/orbsvcs/CosEvent_Service/tao_cosevent -ORBDebugLevel 10
", I got the following information:
guoyanzhang@debian:~$ $TAO_ROOT/orbsvcs/CosEvent_Service/tao_cosevent -ORBDebugLevel 10
TAO (1873|139836832462656) - Did not find default svc.conf
TAO (1873|139836832462656) - Completed initializing the process-wide service context
TAO (1873|139836832462656) - Default ORB services initialization begins
TAO (1873|139836832462656) - ORBInitializer_Registry::register_orb_initializer 0 @0x55cae73780e0
TAO (1873|139836832462656) - ORBInitializer_Registry::register_orb_initializer 1 @0x55cae7376770
TAO (1873|139836832462656) - Default ORB services initialization completed
TAO (1873|139836832462656) - We are the default 2.5.3 ORB ...
TAO (1873|139836832462656) - Initializing the orb-specific services
TAO (1873|139836832462656) - Setting primary connection timeout hook
TAO (1873|139836832462656) - TAO_Time_Policy_Manager: loaded time policy strategy 'TAO_SYSTEM_TIME_POLICY'
TAO (1873|139836832462656) - Default_Resource_Factory - codeset manager=0x55cae7392790
TAO (1873|139836832462656) - Codeset_Manager_i::init_ccs, Loaded Codeset translator <UTF8_Latin1_Factory>, ncs = 00010001 tcs = 05010001
TAO (1873|139836832462656) - UTF16_BOM_Translator: forceBE 0
TAO (1873|139836832462656) - Loaded default protocol <IIOP_Factory>
TAO (1873|139836832462656) - Created new ORB <>
TAO (1873|139836832462656) - IIOP_Acceptor::open_i, listening on: <182.135.127.124.broad.bj.bj.static.163data.com.cn:38789>
TAO (1873|139836832462656) - TAO_System_Id_With_Unique_Id_Strategy::bind_using_system_id: type=IDL:omg.org/CosEventChannelAdmin/EventChannel:1.0, id=0x010000
TAO (1873|139836832462656) - Stub::base_profiles, acquired profile lock this = 0xe73b47d0
TAO (1873|139836832462656) - MCAST_Parser: acceptor local address 0.0.0.0:36735.
sent multicast request.
/home/guoyanzhang/ACE_wrappers/TAO/tao/MCAST_Parser.cpp; Sent multicast.# of bytes sent is 16.
multicast_query: unable to accept: Connection timed out
multicast discovery of NameService failed.
Specify -m 1 when starting Naming_Service,
or see http://www.theaceorb.com/faq/#115
for using NameService without multicast.
(1873|139836832462656) EXCEPTION, /home/guoyanzhang/ACE_wrappers/TAO/orbsvcs/CosEvent_Service/tao_cosevent
user exception, ID 'IDL:omg.org/CORBA/ORB/InvalidName:1.0'
TAO (1873|139836832462656) - TAO_Unique_Id_Strategy::unbind_using_user_id: id=0x010000
TAO (1873|139836832462656) - Destroying ORB <>
guoyanzhang@debian:~$
from ace_tao.
This is very likely a DNS/IP issue, try to run
tao_cosevent
with-ORBDebugLevel 10
as additional commandline arguments and look what kind for errors it gives.Please provide all details as requested, the configuration files asked can be very important
and what is the configuration information mentioned in your email and how do I got it?
from ace_tao.
This is very likely a DNS/IP issue, try to run
tao_cosevent
with-ORBDebugLevel 10
as additional commandline arguments and look what kind for errors it gives.Please provide all details as requested, the configuration files asked can be very important
I connect the commpany's wireless network, not the cable network, it is a question?
from ace_tao.
Looks the multicast lookup of the naming service failed, very likely this is an issue on your system. See docs/tutorials/Quoter/Naming_Service for the -ORBInitRef
commandline option to specify the naming service in an alternate way
from ace_tao.
Looks the multicast lookup of the naming service failed, very likely this is an issue on your system. See docs/tutorials/Quoter/Naming_Service for the
-ORBInitRef
commandline option to specify the naming service in an alternate way
i am sorry, I don't know what you mean, as this:
guoyanzhang@debian:~/ACE_wrappers/TAO/docs/tutorials/Quoter$ docs/tutorials/Quoter/Naming_Service -ORBInitRef
bash: docs/tutorials/Quoter/Naming_Service: no such file or folder
please give me more details.
thanks.
"
from ace_tao.
Check the example in TAO/docs/tutorials/Quoter/Naming_Service about how to use -ORBInitRef, this option is also described in TAO/docs/ORBEndpoint.html
from ace_tao.
Check the example in TAO/docs/tutorials/Quoter/Naming_Service about how to use -ORBInitRef, this option is also described in TAO/docs/ORBEndpoint.html
hi jwillemsen,
I got the definition of the option 'ORBInitRef' in file:///home/guoyanzhang/ACE_wrappers/TAO/docs/Options.html, but I still won't use the option, as this?
guoyanzhang@debian:~/ACE_wrappers/TAO/docs/tutorials/Quoter/Naming_Service$ ./client
./client: error while loading shared libraries: libQuoter_Idl_Lib.so.2.5.3: cannot open shared object file: No such file or directory
guoyanzhang@debian:~/ACE_wrappers/TAO/docs/tutorials/Quoter/Naming_Service$ ./client -ORBInitRef
./client: error while loading shared libraries: libQuoter_Idl_Lib.so.2.5.3: cannot open shared object file: No such file or directory
guoyanzhang@debian:~/ACE_wrappers/TAO/docs/tutorials/Quoter/Naming_Service$ ./server -ORBInitRef
./server: error while loading shared libraries: libQuoter_Idl_Lib.so.2.5.3: cannot open shared object file: No such file or directory
guoyanzhang@debian:~/ACE_wrappers/TAO/docs/tutorials/Quoter/Naming_Service$
maybe I don't understand the usage of TAO, thank you for explaining it.
from ace_tao.
You have to specify the arguments for -ORBInitRef, see the docs.
Maybe better to start with a smaller example, see https://www.remedy.nl/opensource/corbapg.html which contains a basic hello world example to start with
from ace_tao.
Looks you haven't set LD_LIBRARY_PATH to include $ACE_ROOT/lib now. You have to specifly the arguments for -ORBInitRef, see the docs.
Maybe better to start with a smaller example, see https://www.remedy.nl/opensource/corbapg.html which contains a basic hello world example to start with
thanks, I really did not set LD_LIBRARY_PATH to include $ACE_ROOT/lib.
#vi ~/.bashrc
115 export ACE_ROOT=/home/guoyanzhang/ACE_wrappers
116 export LD_LIBARY_PATH=$LD_LIBRARY_PATH:$ACE_ROOT/ace:$ACE_ROOT/lib
117 export TAO_ROOT=$ACE_ROOT/TAO
118 export CIAO_ROOT=$ACE_ROOT/CIAO
119 export DANCE_ROOT=$ACE_ROOT/DANCE
from ace_tao.
Looks also . has to be in the LD_LIBRARY_PATH (current dir)
from ace_tao.
Looks also . has to be in the LD_LIBRARY_PATH (current dir)
hi jwillemsen,
I set LD_LIBRARY_PATH to include $TAO_ROOT(I guess your current dir is $TAO_ROOT),
as follows:
115 export ACE_ROOT=/home/guoyanzhang/ACE_wrappers
116 export LD_LIBARY_PATH=$LD_LIBRARY_PATH:$ACE_ROOT/ace:$ACE_ROOT/lib:$TAO_ROOT
117 export TAO_ROOT=$ACE_ROOT/TAO
118 export CIAO_ROOT=$ACE_ROOT/CIAO
119 export DANCE_ROOT=$ACE_ROOT/DANCE
then I run the two command, no issue found. I tested with ~/ACE_wrappers/TAO/tests/Hello, the results as follows.
step 1:
guoyanzhang@debian:~/ACE_wrappers$ /home/guoyanzhang/ACE_wrappers/TAO/orbsvcs/Naming_Service/tao_cosnaming -m 1 &
[2] 3176
guoyanzhang@debian:~/ACE_wrappers$ $TAO_ROOT/orbsvcs/CosEvent_Service/tao_cosevent &
[3] 3177
guoyanzhang@debian:~/ACE_wrappers$ (3177|140491784603456) EXCEPTION, /home/guoyanzhang/ACE_wrappers/TAO/orbsvcs/CosEvent_Service/tao_cosevent
user exception, ID 'IDL:omg.org/CosNaming/NamingContext/AlreadyBound:1.0'
step2:
now, I have opened two new terminals,
##cd /ACE_wrappers/TAO/tests/Hello
first,
guoyanzhang@debian:/ACE_wrappers/TAO/tests/Hello$ ./server
second,
guoyanzhang@debian:/ACE_wrappers/TAO/tests/Hello$ ./client
(3299|140254026389312) - string returned <Hello there!>
third,
guoyanzhang@debian:/ACE_wrappers/TAO/tests/Hello$ ./server
(3292|140374558684992) server - event loop finished
first,
guoyanzhang@debian:
(3299|140254026389312) - string returned <Hello there!>
third,
guoyanzhang@debian:
it seems that my problem has been solved, and the problem is
116 export LD_LIBARY_PATH=$LD_LIBRARY_PATH:$ACE_ROOT/ace:$ACE_ROOT/lib:$TAO_ROOT
thank you for your help.
from ace_tao.
Related Issues (20)
- ACE/TAO Wide Strings on Linux HOT 2
- GHA Windows TAO builds failing, possibly due to Perl 5.38.0 HOT 3
- reserved identifier violation HOT 3
- Throwing exceptions i.e. 'TAO_3_1_2::CORBA::MARSHAL' which is not derived from 'std::exception' HOT 4
- ".\CosNotification.idl", line 59: spelling differs from IDL keyword only in case: "EventType"
- Race condition in ACE_Future double checked locking pattern code HOT 6
- g++error,build ACE on windows with g++ HOT 5
- shell file syntax error:Unterminated quote string HOT 4
- Use after free reported by scan-build (clang version 15.0.7) in OS_NS_stdio.inl HOT 1
- SSLIOP Transports are used after being cached with entry state IDLE
- ACE_Dev_Poll_Reactor avoid handle arrays and Handler_Repository size based on RLIMIT_NOFILE
- Look at replace TAO::Object is_evaluated_/object_init_lock_ members with a std::atomic_flag
- ACE_TAO is build in gcc 6 and above not in <5 gcc HOT 6
- Issue in generating projects & solutions for VS2019 for SSL HOT 1
- Issue in implementing SSL using ImplRepoService
- `tao_idl` Will Create a Directory Each Time a `-o*` Option is Passed
- Corbaloc resolution issue when implementing SSL with Impl Repo HOT 4
- Broken links in ACE and TAO documentation.... $ACE_ROOT/TAO doesn't exist in github version. $ACE_ROOT/../TAO does HOT 1
- Does ACE_TAO support TLS 1.3? HOT 2
- [ace6tao2] Comparison warning in CDR_Base.cpp HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ace_tao.