I am creating a Web Server SMF service using SCF Java API. After creating the service i enable the service if start up on boot option is choosed on installation. After enabling the instance through the API, the instance goes to maintenance state. The following is the log file output
[ Apr 19 15:36:21 Executing start method ("/sun/webserver7/admin-server/bin/startserv -smf") ] /sbin/sh: /sun/webserver7/admin-server/bin/startserv: not found [ Apr 19 15:36:21 Method "start" exited with status 1 ] [ Apr 19 15:36:21 Executing start method ("/sun/webserver7/admin-server/bin/startserv -smf") ] /sbin/sh: /sun/webserver7/admin-server/bin/startserv: not found [ Apr 19 15:36:21 Method "start" exited with status 1 ] [ Apr 19 15:36:21 Executing start method ("/sun/webserver7/admin-server/bin/startserv -smf") ] /sbin/sh: /sun/webserver7/admin-server/bin/startserv: not found [ Apr 19 15:36:21 Method "start" exited with status 1 ] But if i clear the mainteance state and enable the instance manually, instance goes to online state. Please let me know if anything i need to do to avoid the above error. Thanks Srinivas