Problem testing Corba
"Decoster Jean Louis" <[email protected]> Tue, 6 Dec 2005 13:36:29 +0100
| Newsgroups | gmane.comp.corba.orbacus |
|---|---|
| Message-ID | <[email protected]> |
Hello,
My Corba test is still not working. I have tried to localize where the
system goes wrong. Can somebody help me to know or how can I proceed to
find what is wrong when during the client request execution, the server
being in stream.cpp, after the statement
value -> _OB_marshalOrigIOR(this);
I receive the following messages on the debug window:
Nicht abgefangene Ausnahme in eLOckDb_Cons.exe (OB430D.DLL): 0xC0000005:
Access Violation.
Nicht abgefangene Ausnahme in eLOckDb_Cons.exe: 0xC0000005: Access
Violation.
The system goes to POA_impl.cpp to send a raise exception to the client?
if(!upcall -> postinvokeCalled())
At the end I receive the following following messages on the debug
window:
Thread 0x6C0 wurde mit Code 0 (0x0) beendet.
Nicht abgefangene Ausnahme in eLOckDb_Cons.exe (KERNEL32.DLL):
0xE06D7363: Microsoft C++ Exception.
Nicht abgefangene Ausnahme in eLOckDb_Cons.exe (KERNEL32.DLL):
0xE06D7363: Microsoft C++ Exception.
and the server is waiting again for a new client request !.
I hope I will receive some answers very soon, thanks a lot for that
Sincerely yours
Jean-Louis Decoster
Stream.cpp
void
OutputStreamImpl::write_Object(Object_ptr value)
{
if(is_nil(value))
{
IOP::IOR ior;
ior.type_id = string_dup("");
ior._OB_marshal(this);
}
else
{
value -> _OB_marshalOrigIOR(this); (value=0x00766f64,
this=0x00ee5758)
}
}
POA_impl.cpp
// If there is a servant then dispatch the request
//
if(servant != 0)
{
OCI::TransportInfo_ptr transportInfo =
upcall -> transportInfo_nodup();
//
// Do any pre invocation stuff
//
_OB_preinvoke(op, oid, servant, cookie, transportInfo);
//
// The Upcall may call _OB_postinvoke
//
upcall -> setServantAndPOA(servant, this);
try
{
//
// Dispatch the request
//
servant -> _OB_dispatch(upcall);
}
catch(...)
{
//
// If postinvoke() hasn't been called, then do it now,
// since it may raise an exception that must be returned
// to the client
//
if(!upcall -> postinvokeCalled())
{
servant -> _remove_ref(); // Must be called before
// _OB_postinvoke
_OB_postinvoke(); // May raise SystemException
}
throw;
}
_______________________________________________
OB-Users Mailing List - [email protected]
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html