example42 / puppet-jboss

Jboss Puppet Module
http://www.example42.com
Other
15 stars 25 forks source link

Problem installing on Solaris 10 #38

Open dgrstl opened 9 years ago

dgrstl commented 9 years ago

When installing on Solaris 10 Jboss::Service does not take into consideration the SMF requirements when setting up a new service.

Info: Servicejboss: Could not get status on service jboss Error: Could not start Service[jboss]: Execution of '/usr/sbin/svcadm enable -s jboss' returned 1: svcadm: Pattern 'jboss' doesn't match any instances Wrapped exception: Execution of '/usr/sbin/svcadm enable -s jboss' returned 1: svcadm: Pattern 'jboss' doesn't match any instances Error: /Stage[main]/Jboss::Service/Service[jboss]/ensure: change from stopped to running failed: Could not start Service[jboss]: Execution of '/usr/sbin/svcadm enable -s jboss' returned 1: svcadm: Pattern 'jboss' doesn't match any instances

See http://www.mastertheboss.com/jboss-server/jboss-configuration/creating-an-smf-service-script-for-jboss-as