Re: Complete a block activity

David Simón <[email protected]>
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
Thank you Sasa.

Best regards,

David.

>  
> Hi,
>  
> block activity is automatically completed (same as Route and SubFlow
> activities).
>  
> Regards,
> Sasa.
> 
>         ----- Original Message ----- 
>         From: David Simón 
>         To: [email protected] 
>         Sent: Thursday, June 30, 2005 12:50 PM
>         Subject: [shark] Complete a block activity
>         
>         
>         Hi,
>         
>         I have a doubt about block activities. When I complete the
>         last activity inside of a block, what happens with the
>         activity that represents the block outside, is it
>         automatically completed or it must be completed in some way,
>         in such a case, how it should be performed?
>         
>         I would be grateful if somebody can help me.
>         
>         Thank you.
>         
>         David.
>         
>         
>         > Hi,
>         > 
>         > doesn't matter if you use EA or SC, but it is important to call doneWith wit the received CORBA event object.
>         > 
>         > Regards,
>         > Sasa.
>         > 
>         > ----- Original Message -----
>         > From: "Schimmack, Roland" <[email protected]>
>         > To: <[email protected]>
>         > Sent: Thursday, June 30, 2005 12:37 PM
>         > Subject: AW: [shark] CVS Update - 050627
>         > 
>         > 
>         > Hi Sasa,
>         > 
>         > my mistake. I have called doneWith for the wrong object. Sorry for the inconvenience.
>         > For which object have I to call doneWith if the method receive_event is called to free up the event? Is it EA or SC?
>         > 
>         > Regards
>         > Roland
>         > 
>         > 
>         > -----Ursprüngliche Nachricht-----
>         > Von: Sasa Bojanic [mailto:[email protected]]
>         > Gesendet: Mittwoch, 29. Juni 2005 12:56
>         > An: [email protected]
>         > Betreff: Re: [shark] CVS Update - 050627
>         > 
>         > 
>         > No, 1.1 version can use TrackAndDisconnect set to true, along with the usage of doneWith, and this is proffered way to use Shark
>         > CORBA. What could happen, is that you already called diconnect() on EA or SC, and afterwards used doneWith for the object that is
>         > already removed from the list of created objects for some connection (i.e. you've created WfProcess using SC, and after calling
>         > disconnect() on SC, you've called doneWith() on EA).
>         > 
>         > Can you include some logs into methods of CollectiveCORBA (in Collective.java), and SharkCORBAServer.doneWith() method, and see
>         > what's going on?
>         > 
>         > You can use CORBAManualTest to test if everything is working fine (it properly calls disconnect() on SC and EA, and also calls
>         > doneWith() for every created object). I personally used this utility to test CORBA memory leak.
>         > 
>         > 
>         > Regards,
>         > Sasa.
>         > 
>         > ----- Original Message -----
>         > From: "Schimmack, Roland" <[email protected]>
>         > To: <[email protected]>
>         > Sent: Wednesday, June 29, 2005 12:25 PM
>         > Subject: AW: [shark] CVS Update - 050627
>         > 
>         > 
>         > Hi Sasa
>         > 
>         > I'm calling the doneWith methods of the interfaces ExecutionAdministration and SharkConnection.
>         > 
>         > The object type are:
>         > 
>         > - activity,
>         > - assignment,
>         > - resource,
>         > - process,
>         > - ActivityIteratorExpressionBuilder.
>         > 
>         > Could it be that the meaning of TrackAndDisconnect must be toggled?
>         > 
>         > Greetings
>         > Roland
>         > 
>         > -----Ursprüngliche Nachricht-----
>         > Von: Sasa Bojanic [mailto:[email protected]]
>         > Gesendet: Mittwoch, 29. Juni 2005 12:29
>         > An: [email protected]
>         > Betreff: Re: [shark] CVS Update - 050627
>         > 
>         > 
>         > Can you please tell me for which type of object you are freeing up the memory, and whos doneWith method are you calling?
>         > 
>         > Regards.
>         > Sasa.
>         > 
>         > ----- Original Message -----
>         > From: "Schimmack, Roland" <[email protected]>
>         > To: <[email protected]>
>         > Sent: Wednesday, June 29, 2005 12:08 PM
>         > Subject: AW: [shark] CVS Update - 050627
>         > 
>         > 
>         > Hi Sasa,
>         > 
>         > I have a problem with this version of shark. I'm using the method doneWith to free up memory of CORBA objects but in the console log
>         > of the Shark engine I see following lines:
>         > 
>         > Warning: object is not removed from collection!
>         > 
>         > The config property of shark.conf is as follows:
>         > 
>         > CORBAServer.TrackAndDisconnect=true
>         > 
>         > 
>         > In the task Manager window I can see, that the amount of memory of the process java ( Shark engine ) is increasing. If I toggle
>         > CORBAServer.TrackAndDisconnect to false than there aren't any log line like
>         > 
>         > Warning: object is not removed from collection!
>         > 
>         > and the memory increase of the Shark engine is much lesser.
>         > 
>         > Regards
>         > Roland
>         > 
>         > -----Ursprüngliche Nachricht-----
>         > Von: Sasa Bojanic [mailto:[email protected]]
>         > Gesendet: Montag, 27. Juni 2005 18:16
>         > An: Shark
>         > Betreff: [shark] CVS Update - 050627
>         > 
>         > 
>         > Hi,
>         > 
>         > the CVS is updated with some bug fixes:
>         > 
>         > - DODS stdcaches.jar fixed - it caused concurent exception errors (thanks to Roland Schimmack)
>         > - SecurityManager now reads proper entry from Shark.conf (thanks to Geeta and Sebastian)
>         > - DODS EventAudit and InstancePersistence managers fixed to support persisting of null variables on Oracle (thanks to Roland
>         > Schimmack)
>         > - WfActivityIterator and DODSPersistence manager fixed to properly retrieve activities in a certain state when using
>         > WfProcess.get_activities_in_state() method (thanks to Geeta)
>         > - BaseIteratorWrapper fixed not to throw null pointer exceptions when there is no expression set (thanks to Neville van Deventer)
>         > 
>         > 
>         > probably this week, we'll have a bug fix release (mainly because the crucial bug in DODS jar file), so we will appreciate if you can
>         > test this version, and give us a feedback if there are some more problems.
>         > 
>         > Regards,
>         > Sasa.
>         > 
>         > 
>         > 
>         > 
>         > 
>         > 
>         > --------------------------------------------------------------------------------
>         > 
>         > 
>         > >
>         > > --
>         > > You receive this message as a subscriber of the [email protected]
>         > > mailing list. To unsubscribe: mailto:[email protected]
>         > > For general help: mailto:[email protected]?subject=help
>         > > ObjectWeb mailing lists service home page:
>         > > http://www.objectweb.org/wws
>         > >
>         > 
>         > 
>         > 
>         > 
>         > 
>         > 
>         > --------------------------------------------------------------------------------
>         > 
>         > 
>         > >
>         > > --
>         > > You receive this message as a subscriber of the [email protected]
>         > > mailing list. To unsubscribe: mailto:[email protected]
>         > > For general help: mailto:[email protected]?subject=help
>         > > ObjectWeb mailing lists service home page:
>         > > http://www.objectweb.org/wws
>         > >
>         > 
>         > 
>         > 
>         > 
>         > 
>         > 
>         > --------------------------------------------------------------------------------
>         > 
>         > 
>         > >
>         > > --
>         > > You receive this message as a subscriber of the [email protected] mailing list.
>         > > To unsubscribe: mailto:[email protected]
>         > > For general help: mailto:[email protected]?subject=help
>         > > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>         > >
>         > 
>         > 
>         > 
>         > 
>         > plain text document adjunto (message.footer) 
>         > 
>         > --
>         > You receive this message as a subscriber of the [email protected] mailing list.
>         > To unsubscribe: mailto:[email protected]
>         > For general help: mailto:[email protected]?subject=help
>         > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.