One part of the solution is in the attached patch. Basically delete what is 
created by LOG service.


Attachment: log_917.patch (611 Bytes; text/x-patch) 


---

** [tickets:#917] LOG: App stream with special file name creates runtime object 
that is not removed correctly**

**Status:** assigned
**Milestone:** 4.5.FC
**Created:** Tue May 20, 2014 07:57 AM UTC by elunlen
**Last Updated:** Fri Jun 13, 2014 11:16 AM UTC
**Owner:** Mathi Naickan

1.      Problem:
====================
The new application log stream with name "safLgStrCfg=Test" (SaLogStreamConfig) 
created by saflogger can not be listed or deleted.
Example:
SC-1:~ # saflogger -a safLgStrCfg=Test "Hello world"
SC-1:~ # immfind safLgStrCfg=Test
safLgStrCfg=Test
SC-1:~ # immlist safLgStrCfg=Test
error - saImmOmAccessorGet_2 FAILED: SA_AIS_ERR_NO_RESOURCES (18)
SC-1:~ # immcfg -d safLgStrCfg=Test
error - saImmOmCcbObjectDelete for 'safLgStrCfg=Test' FAILED: 
SA_AIS_ERR_BAD_OPERATION (20)
 
2.      Analysis:
====================
The saflogger doesn’t support creating a configuration log stream. It can only 
open the existing configuration log stream.
 
When using saflogger to create a new app log stream with name 
"safLgStrCfg=Test", osaflogd will create a runtime object "safLgStrCfg=Test". 
Then saflogger closes the stream and tries to delete this object. Because the 
prefix name is not "safLgStr=", it cannot be removed from IMM.
 
So after that, runtime object "safLgStrCfg=Test" cannot be deleted by using OM 
immcfg, and cannot be listed by using immlist cause the stream of this object 
has already closed.



---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to