Archived

This forum has been archived. Please start a new discussion on GitHub.

checkcast blocked

it seems blocking forever.....
stack trace info:
(gdb) where
#0  0x00000035040c48c6 in poll () from /lib64/libc.so.6
#1  0x00002aaaaad20722 in IceInternal::TcpTransceiver::read (this=0x1cf83080, buf=@0x7fff433fc750, timeout=-1) at TcpTransceiver.cpp:265
#2  0x00002aaaaac4898e in Ice::ConnectionI::validate (this=0x1cf831c0) at ConnectionI.cpp:144
#3  0x00002aaaaac35eb8 in IceInternal::OutgoingConnectionFactory::create (this=0x1cf81250, endpts=@0x7fff433fd210, moreEndpts=false,
    threadPerConnection=false, compress=@0x1cf80b58) at ConnectionFactory.cpp:298
#4  0x00002aaaaacf4cb7 in IceInternal::RoutableReference::createConnection (this=0x1cf82270, allEndpoints=@0x7fff433fd430, comp=@0x1cf80b58)
    at Reference.cpp:1248
#5  0x00002aaaaacf5bb6 in IceInternal::DirectReference::getConnection (this=0x1cf82270, comp=@0x1cf80b58) at Reference.cpp:1486
#6  0x00002aaaaace38ae in IceDelegateM::Ice::Object::setup (this=0x1cf80b40, ref=@0x1cf82038) at Proxy.cpp:1322
#7  0x00002aaaaace5422 in IceProxy::Ice::Object::__getDelegate (this=0x1cf82000) at Proxy.cpp:1064
#8  0x00002aaaaace654f in IceProxy::Ice::Object::ice_isA (this=0x1cf82000, typeId=@0x6ae5c8, context=0x0) at Proxy.cpp:139
#9  0x000000000047d024 in IceProxy::Ice::Object::ice_isA (this=0x1cf82000, typeId=@0x6ae5c8) at /home/oracle/Ice-3.2.1/include/Ice/Proxy.h:96
#10 0x000000000047d7e6 in IceInternal::checkedCastImpl<IceInternal::ProxyHandle<IceProxy::PDB::MDDLang> > (b=@0x7fff433fd7f0, context=0x0)
    at /home/oracle/Ice-3.2.1/include/Ice/Proxy.h:436
#11 0x000000000047d8e4 in IceInternal::checkedCastHelper<IceProxy::PDB::MDDLang, IceProxy::Ice::Object> (b=@0x7fff433fd7f0, ctx=0x0)
    at /home/oracle/Ice-3.2.1/include/Ice/ProxyHandle.h:91
#12 0x000000000047d922 in IceInternal::ProxyHandle<IceProxy::PDB::MDDLang>::checkedCast<IceProxy::Ice::Object> (r=@0x7fff433fd7f0)
    at /home/oracle/Ice-3.2.1/include/Ice/ProxyHandle.h:244
#13 0x000000000046d659 in UDDLang::connect (this=0x6ae7c0) at ClientAgent.cpp:1415
#14 0x00000000004673c1 in main (argc=1, argv=0x7fff433feab8) at Sqltool.cpp:649

Application work fine until met this problem suddenly. This problem occurs with or without icegrid

Comments

  • tracing information

    after set trace, I got:
    [ 01/20/09 16:24:44.333 Server: changed server `ddl_YF-softnode5' state to `Activating' ]
    [ 01/20/09 16:24:44.334 Activator: activating server `ddl_YF-softnode5'
      path = /home/oracle/DCDBM/bin/DDLServer
      pwd = /home/oracle/DCDBM/ice_config/icegrid
      uid/gid = 500/501
      args = /home/oracle/DCDBM/bin/DDLServer --Ice.Config=/home/oracle/DCDBM/ice_config/icegrid/db/YF-softnode5192.168.1.215/servers/ddl_YF-softnode5/config/config ]
    [ 01/20/09 16:24:44.341 Server: changed server `ddl_YF-softnode5' state to `WaitForActivation' ]
    
    [ 01/20/09 16:25:44.336 Server: changed server `ddl_YF-softnode5' state to `ActivationTimeout' ]
    [ 01/20/09 16:25:44.336 Server: server `ddl_YF-softnode5' activation timed out ]
    [ 01/20/09 16:25:44.336 Adapter: server `ddl_YF-softnode5' adapter `ddl_YF-softnode5.DDLAdapter' activation failed: server activation timed out ]
    

    why the server can not be activated?
    The server process is on, and it's own log info is ok.
    btw.It is started normaly without icegrid but the symptom is the same.
  • problem is solved

    The reason is the server can not reach ready status for an unexpected blocking access of database.
  • benoit
    benoit Rennes, France
    Hi,

    This is most likely a problem with the configuration of your server, perhaps a mismatch between the adapter name specified in the XML configuration file and the adapter name used in your code? You should post the server code where the object adapter is created and the XML deployment descriptor if you can't figure out what the problem is.

    Also, we only provide free support on these forums for the latest Ice version, you should upgrade to Ice 3.3.0 if you need more help with this.

    Cheers,
    Benoit.