Does anyone here know much about Solaris SMF services?

There's a service for one of our programs that starts normally sometimes, but other times I'll see this error when trying to start the service:
Code:
svcadm: Instance "svc:/application/foo/bar:default" is in maintenance state.
I'm trying to fix it so it always starts without a problem, but I don't know much about Solaris SMF other than how to start & stop services. Any ideas on how to troubleshoot this?

When I got that error yesterday, it suddenly fixed itself after disabling & enabling it a couple times:
Code:
svcadm disable -s bar
svcadm enable -s bar