Announcement

Collapse
No announcement yet.

Agent Events and Cache

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Agent Events and Cache

    I am looking for a way to see/use my recently added Agent Events without a restart.

    In v4.5 adding a new agent event was easy. You could just go straight to Agents and use them.
    In v5.5 this is not so straight forward - it seems like there needs to be a restart before the Events are usable. I guess this is down to caching.

    I Tried using the beancache servlet to Unload the bean on the AgentEvent bean - and this was sucessful the first time when it had a bean to unload - but now I've added more Agent Events and this method failed (bean count = 0).

    Any Ideas?

    Gary
    Regards
    Gary Cunningham
    www.cbmc.co.uk
    www.mavenwire.com

  • #2
    Re: Agent Events and Cache

    Gary,

    Have you tried the CacheClearServlet? I just had a problem in 5.5 CU4, where my agent changes were not picked up, even though the agent was saved (finished). The CacheClearServlet worked for me. I never recall having this problem in 5.5 CU3.

    Janice

    Comment


    • #3
      Re: Agent Events and Cache

      Gary,

      I had a recent problem with the Event dropdown was not filled when trying to execute a Business Process Automation > Process Management > Data Query.

      I put in an SR and was given instructions to use the WebCacheDiagServlet to clear the clear the AgentEventQuery and CustomAgentEventFinderModel caches.

      Expand DropListCache
      Remove glog.webserver.finder.models.CustomAgentEventFinde rModel

      Note: I don't have any AgentEventQuery showing in my DropListCache.

      The next time you access the dropdown, it reads the DB again and puts it in the cache. This also worked for me when I added a new Agent Event and it was not showing. Once I cleared the CustomeAgentEventFinderModel cache, the new event appeared in the list.

      *I would expect you need to do this on all webservers if you have more than one.

      Janice

      Comment


      • #4
        Re: Agent Events and Cache

        Hi Janice
        Thanks for your post
        What is the URL for accessing the WebCacheDiagServlet ?

        I tried the obvious..
        glog.webserver.webcache.WebCacheDiagServlet
        but it didn't resolve for me!

        Maybe this is new for 6.x - I'm still on 5.5 here.
        Regards
        Gary Cunningham
        www.cbmc.co.uk
        www.mavenwire.com

        Comment


        • #5
          Re: Agent Events and Cache

          This one works for me on 6.1: .../GC3/glog.webserver.cache.CacheDiagServlet

          Comment


          • #6
            Re: Agent Events and Cache

            Thanks Laurens

            I also have that one in 5.5 but it doesn't have the AgentEventQuery and CustomAgentEventFinderModel caches within.

            I thought it sounded like there is another WebCacheDiagServlet that can be accessed.
            Regards
            Gary Cunningham
            www.cbmc.co.uk
            www.mavenwire.com

            Comment


            • #7
              Re: Agent Events and Cache

              Gary,

              The url I used is the one Lours posted.

              I'm not sure why you don't see them. I don't see the AgentEventQuery either, even though this is one Oracle Support suggested to clear. I do have the glog.webserver.finder.models.CustomAgentEventFinde rModel in the DropListCache.

              I'm not sure if it is loaded on startup, or the first time accessed. If it's not loaded, one would think the app is going against the database, and therefore, any new event would be seen. I wonder if there is some property that needs to be set?

              If you still have the problem, I would open an SR with Oracle support. Sorry this didn not work for you.

              Janice

              Comment


              • #8
                Re: Agent Events and Cache

                Janice, Gary,

                I just tested in 5.5CU6, 6.0 and 6.1 if a newly created Agent Event would show up in the Data Query event box... and it did without refreshing the cache!

                I am a bit stunned as I recently had this problem on a 5.5 box and I can't seem to be able to replicate this now.

                What are your steps to replicate this issue?

                Lourens

                Comment

                Working...
                X