Thanks for your bug fixes. I have all downloaded them.
Once the sources downloaded, I tried to use the Reference VIM through
the HTTP Protocol.
The previous dead lock seems fixed. However, no XSystem is returned.
Indeed, I'm trying to connect my XAM application with the following
xri :
snia-xam://httpvim!localhost?
targetServer.ipAddress=127.0.0.1&targetServer.port=9923&targetServer.vimname=Remote
My xam application config file contains the following line :
xam_string..xam.config.vim.alias.httpvim=/home/l_dev/project/
xamsdk-1.0.1/C_XAM_Library/deliverables/Linux-GCC4/lib/
libxam_vim_http64.so
Note that I have re-compiled the dynamic library in order to take in
account the bug fixes.
The log result is different than the previous error (see my previous
messages) :
[info] [vim_enter] VIM_XSystem_Connect (libxam_vim_http64.so)
[debug] [vim_param] [in] [xsystem_handle] 19620729
[debug] [vim_param] [in] [xam_string] "localhost?
targetServer.ipAddress=127.0.0.1&targetServer.port=9923&targetServer.vimname=Remote"
The startup.properties file in the HTTP_Protocol_VIM directory
contains the following lines :
.org.snia.xam.vim.alias.Remote=SNIA_Reference_VIM
.org.snia.xam.vim.alias.xam_vim_http_g=SNIA_Reference_VIM
.org.snia.xam.vim.alias.SNIA_Reference_VIM=org.snia.xam.vim.reference.ReferenceVIM
The communication between the xam application and the http client VIM
seems work well. In my opinion, the problem is between the http server
vim and the reference vim. See the HTTPVimServer.log :
17 mai 2010 11:46:24
org.snia.xam.vim.isolation.server.http.handlers.XSystemConnect write
INFO: xri=snia-xam://Remote!localhost?
targetServer.ipAddress=127.0.0.1&targetServer.port=9923&targetServer.vimname=Remote
17 mai 2010 11:46:24
org.snia.xam.vim.isolation.server.http.handlers.XSystemConnect write
GRAVE: XAM ExceptionNo VIM found for VIM name 'Remote'
org.snia.xam.InvalidXRIException: No VIM found for VIM name 'Remote'
at
org.snia.xam.vim.isolation.server.util.VIMCache.getNextXri(Unknown
Source)
at
org.snia.xam.vim.isolation.server.http.handlers.XSystemConnect.write(Unknown
Source)
at
org.snia.xam.vim.isolation.server.http.HttpWriteGlue.write(Unknown
Source)
at
org.snia.xam.vim.isolation.server.http.HttpWriteGlue.handle(Unknown
Source)
at
org.snia.xam.vim.isolation.server.http.HttpGenericHandler.handle(Unknown
Source)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:
789)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:
960)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
218)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
In case of necessity, see my gdb result :
0x00007ffff6e32fbb in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::assign(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) () from /usr/
lib64/libstdc++.so.6
(gdb) bt
#0 0x00007ffff6e32fbb in std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>::assign(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&) () from /usr/lib64/libstdc++.so.6
#1 0x00007ffff452fba6 in XferBuffer::ParseBytes() ()
from /home/l_dev/project/xamsdk-1.0.1/C_XAM_Library/deliverables/
Linux-GCC4/lib/libxam_vim_http64.so
#2 0x00007ffff4530202 in XferBuffer::GetValue(char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>&) ()
from /home/l_dev/project/xamsdk-1.0.1/C_XAM_Library/deliverables/
Linux-GCC4/lib/libxam_vim_http64.so
#3 0x00007ffff453083a in XferBuffer::GetHandle(char const*, long&) ()
from /home/l_dev/project/xamsdk-1.0.1/C_XAM_Library/deliverables/
Linux-GCC4/lib/libxam_vim_http64.so
#4 0x00007ffff453deda in VIM_XSystem_Connect ()
from /home/l_dev/project/xamsdk-1.0.1/C_XAM_Library/deliverables/
Linux-GCC4/lib/libxam_vim_http64.so
#5 0x00007ffff7ab4c20 in XAM_VIM::XSystem_Connect(long, char const*)
() from /usr/lib64/libxam64.so.1
#6 0x00007ffff7a99fbb in XAM_Object::connect(XAM_VIM*, char*, long*)
() from /usr/lib64/libxam64.so.1
#7 0x00007ffff7a9e6d7 in XAM_Router::XAMLibrary_Connect(char const*,
long*) () from /usr/lib64/libxam64.so.1
#8 0x00007ffff7ac5f60 in XAMLibrary_Connect () from /usr/lib64/
libxam64.so.1
#9 0x0000000000400ca7 in main (argc=1, argv=0x7fffffffd928) at /home/
l_dev/project/maquette_xam_project/maquette_xam/src/main.c:55
I hope my problem can be resolved easily.
Best regards,
Ludovic Deveaux
> ...
>
> plus de détails »