David, Can anyone in the group can review my java implementation (Enclosed SMFUtil.java) of creating services and instances using API's downloaded from http://opensolaris.org/os/project/vpanels/javascf/.
Also creating services using Java API's does not create restarters so the services if started using enable -t option causes the service to go to uninitialized state. So for this we export the service details using svccfg export <svcname> and again import the xml using svccfg import <svcname>, then the SMF creates restarters and the start of service causes the service to go to online state. Please let us know if it is something wrong i am doing in using the java API or is there any bug in the Java API. TIA Srinivas -------------- next part -------------- A non-text attachment was scrubbed... Name: SMFUtil.java Type: java/* Size: 6938 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/smf-discuss/attachments/20070228/60a258b1/attachment.bin>