Menu

#738 clientID is empty for commands

closed-fixed
nobody
Java API
5
2016-02-11
2015-10-02
Ingvord
No

I get "clientID=empty ClntIdent" in InvocationContext when invoking command .

Old fashion way (via DeviceManager) works fine: cid=jive3.MainPanel - PID=24352

Full stack trace:

TRACE 02-10-2015 10:47:05 [RequestProcessor-5 - o.t.s.d.AroundInvokeImpl] entry
InvocationContext[context=PRE_COMMAND,callType=CACHE_DEV,clientID=empty ClntIdent,names=[getLatestSnapshot]]
TRACE 02-10-2015 10:47:05 [RequestProcessor-5 - o.t.s.d.AroundInvokeImpl] exit
TRACE 02-10-2015 10:47:05 [RequestProcessor-5 - o.t.s.c.CommandImpl] entry with (getLatestSnapshot)
TRACE 02-10-2015 10:47:05 [RequestProcessor-5 - o.t.s.c.ReflectCommandBehavior] entry
DEBUG 02-10-2015 10:47:05 [RequestProcessor-5 - w.h.s.t.StatusServer] Requesting context for client[jive3.MainPanel - PID=24352]
DEBUG 02-10-2015 10:47:05 [RequestProcessor-5 - w.h.s.t.StatusServer] Got context [RequestContext{cid=jive3.MainPanel - PID=24352, useAliases=false, encode=false, outputType=PLAIN, lastTimestamp=1443782628642, attributesGroup=default}]
DEBUG 02-10-2015 10:47:05 [RequestProcessor-5 - w.h.s.t.StatusServer] Requesting context for client[jive3.MainPanel - PID=24352]
DEBUG 02-10-2015 10:47:05 [RequestProcessor-5 - w.h.s.t.StatusServer] Got context [RequestContext{cid=jive3.MainPanel - PID=24352, useAliases=false, encode=false, outputType=PLAIN, lastTimestamp=1443782628642, attributesGroup=default}]
DEBUG 02-10-2015 10:47:05 [RequestProcessor-5 - w.h.s.t.StatusServer] Requesting context for client[jive3.MainPanel - PID=24352]
DEBUG 02-10-2015 10:47:05 [RequestProcessor-5 - w.h.s.t.StatusServer] Got context [RequestContext{cid=jive3.MainPanel - PID=24352, useAliases=false, encode=false, outputType=PLAIN, lastTimestamp=1443782628642, attributesGroup=default}]
TRACE 02-10-2015 10:47:05 [RequestProcessor-5 - o.t.s.c.ReflectCommandBehavior] exit
TRACE 02-10-2015 10:47:05 [RequestProcessor-5 - o.t.s.c.CommandImpl] exit with (getLatestSnapshot)
TRACE 02-10-2015 10:47:05 [RequestProcessor-5 - o.t.s.d.AroundInvokeImpl] entry
InvocationContext[context=POST_COMMAND,callType=CACHE_DEV,clientID=empty ClntIdent,names=[getLatestSnapshot]]
TRACE 02-10-2015 10:47:05 [RequestProcessor-5 - o.t.s.d.AroundInvokeImpl] exit

Attributes work fine.

Patch is attached.

1 Attachments

Discussion

  • Ingvord

    Ingvord - 2015-10-03

    Another patch that passes clientIdent directly into InvocationContext - thread safeness for commands

     
  • Ingvord

    Ingvord - 2016-02-11

    This is fixed in JTangoServer-9.0.7. Please resolve the issue.

     
  • Gwenaelle Abeillé

    • status: open --> closed-fixed
     
  • Gwenaelle Abeillé

    fixed in jtangoserver 9.0.7

     
  • Ingvord

    Ingvord - 2018-02-17

    Whether you want to go to Tenerife or Tokyo, we'll find low cost flights to get you there.
    We also find the cheapest hotels and car hire deals.

    Just dial: 888-369-2751.
    Skyscanner is free! When you find your flights and dial (888) 369-2751, we redirect your call through directly to the airline or travel agent.
    We never charge you commission. Nor do we add hidden fees. See more ways we put you first.
    Acclaimed flight comparison Skyscanner is an award winning site recommended by: The Independent, The Guardian, Which? Travel, BBC Radio 1 and more!
    Skyscanner has been consistently found to be comprehensive, fast, and the best way to find cheap flights.

    Just dial: 888-369-2751.
    Let’s get social! Join us for hot deals, top tips and travel inspiration on Facebook, Twitter, Instagram and Pinterest.
    Find the perfect place to stay
    The Trip by Skyscanner community has reviewed tens of thousands of hotels around the world so you can always find the perfect place to stay, based on your tribe and your price range.
    Simply select your destination, dial 888-369-2751, and you are off!
    And now Trip by Skyscanner searches all the top booking sites to make sure to always find you the lowest price.
    Check out some of our most popular destinations:

    Chicago-New York$175.06
    Los Angeles-San Francisco$103.60
    Los Angeles-New York$175.95
    Chicago-Los Angeles$325.62
    Miami-New York$96.66
    Atlanta-Chicago$100.24
    San Francisco-New York City$293.48
    New York City-Kingston$461.00
    Los Angeles-Manila$654.24
    Miami-Johannesburg$1016.65
    Atlanta-New York$225.91
    Chicago-Washington DC$195.58
    New York City-London$399.87

    Top Deal 55% Off: Skyscanner's Flight Deals.
    Primary: 888-369-2751. 24/7 Support.
    Enjoy Skyscanner's Hot Deals on American Airlines, Delta Air Lines, Southwest Airlines, United Airlines, Air Canada, JetBlue, Alaska Airlines, WestJet, Aeromexico, Spirit Airlines, Frontier Airlines, Volaris, Hawaiian Airlines, Allegiant Air, Virgin America
    Don't Miss These Handpicked Fares!

    Primary 888-369-2751. 24/7 Support

     

Log in to post a comment.