Results 1 to 4 of 4

Thread: checkcast blocked

  1. #1
    eaglecn is offline Registered User
    Name: Yong WANG
    Organization: ICT,china
    Project: DBroker
    Join Date
    Jan 2005
    Location
    beijing
    Posts
    17

    checkcast blocked

    it seems blocking forever.....
    stack trace info:
    Code:
    (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

  2. #2
    eaglecn is offline Registered User
    Name: Yong WANG
    Organization: ICT,china
    Project: DBroker
    Join Date
    Jan 2005
    Location
    beijing
    Posts
    17

    tracing information

    after set trace, I got:
    Code:
    [ 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.
    Last edited by eaglecn; 01-20-2009 at 03:19 AM.

  3. #3
    eaglecn is offline Registered User
    Name: Yong WANG
    Organization: ICT,china
    Project: DBroker
    Join Date
    Jan 2005
    Location
    beijing
    Posts
    17

    problem is solved

    The reason is the server can not reach ready status for an unexpected blocking access of database.

  4. #4
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 01-15-2010, 05:53 AM
  2. IceGrid blocked when updating application
    By kent in forum Bug Reports
    Replies: 2
    Last Post: 09-24-2009, 05:47 AM
  3. checkcast blocked, Is a bug??
    By eaglecn in forum Help Center
    Replies: 3
    Last Post: 04-03-2007, 05:00 AM
  4. Blocked by nested callback
    By roger jin in forum Help Center
    Replies: 10
    Last Post: 07-14-2006, 01:16 PM
  5. Proxy checkcast failed.
    By yomi in forum Help Center
    Replies: 4
    Last Post: 10-25-2004, 10:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •