Hi Praveen, Thanks for the response. Can you please specify the spec, i think it talks about all the fields mentioned in imm.xml file. If yes please do tell, where i can find the spec? NOTE: i tried saforum but wasn't able to find the spec.
And can you help me out on other queries as well? Regards Piyush Jaiswal On 26-11-2014 14:38, praveen malviya wrote: > > > On 26-Nov-14 11:58 AM, piyush jaiswal wrote: >> Hi, >> >> As per my understanding, there is very minimal support for java in >> opensaf. >> I can see APIs only exposed for CLM and AMF. >> Even there is no sample application which can be tested, or taken as a >> base to build application. >> In older releases there was one java sample application(under >> ais_api_test), so i copied that and trying to use it. >> While trying AMF test case, facing issue to start AmfTest in active on >> node1 and as standby on node2(Node 1 and node2 both are configured as >> controller) >> And as soon as i am trying to kill the AmfTest application, the system >> reboots as it starts while bringing up the opensaf framework itself. >> Has anyone faced the same, and is this behavior expected? >> > > If you are using amf-test-config.xml.template for configuration then > this will happen because this configuration has recovery policy > nodefailover in which case fault in component will cause node reboot. > > <attr> > <name>saAmfCtDefRecoveryOnError</name> > <value>5</value> > </attr> > > Please change it to 2 for component restart or any other value by > referring spec. Above xml has this attribute at two places. > > > Thanks, > Praveen >> If i try to build server kind of java application, i need state >> retention and replication for the same, so are there any APIs available >> for state retention and replication in java? >> >> And how to use logger and timer utilities in java application, as i cant >> see any APIs exposed for the same? >> > > ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ Opensaf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-users
