users@glassfish.java.net

Re: Glassfish v3 on port 80: won't start with SMF as non-root

From: <glassfish_at_javadesktop.org>
Date: Thu, 29 Jan 2009 13:04:41 PST

You are right, Snjezana.

However, with this manifest, I don't even get that far:

<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<service_bundle type='manifest' name='export'>
  <service name='application/Glassfish-v3-prelude/domain1' type='service' version='0'>
    <single_instance/>
    <exec_method name='start' type='method' exec='/home/admin/glassfishv3-prelude/glassfish/bin/asadmin start-domain' timeout_seconds='0'>
<method_context>
        <method_credential user='admin' privileges='basic, priv_addr' />
</method_context>
    </exec_method>
    <exec_method name='stop' type='method' exec='/home/admin/glassfishv3-prelude/glassfish/bin/asadmin stop-domain' timeout_seconds='0'>
    </exec_method>
    <instance name='default' enabled='true'>
      <dependency name='network' grouping='require_all' restart_on='none' type='service'>
        <service_fmri value='svc:/milestone/network:default'/>
      </dependency>
      <dependency name='filesystem-local' grouping='require_all' restart_on='none' type='service'>
        <service_fmri value='svc:/system/filesystem/local:default'/>
      </dependency>
    </instance>
    <stability value='Evolving'/>
    <template>
      <common_name>
        <loctext xml:lang='C'>Appserver Domain Administration Server</loctext>
      </common_name>
      <documentation>
        <manpage title='Appserver' section='1' manpath='/opt/SUNWappserver/appserver/man'/>
      </documentation>
    </template>
  </service>
</service_bundle>

=============

maintenance 20:59:58 svc:/application/Glassfish-v3-prelude/domain1:default

and

[ Jan 29 20:56:37 Leaving maintenance because disable requested. ]
[ Jan 29 20:56:37 Disabled. ]
[ Jan 29 20:59:58 Enabled. ]
[ Jan 29 20:59:58 Rereading configuration. ]

[ no error is reported, service goes into maintenance mode ]
[Message sent by forum member 'dvdklnr' (dvdklnr)]

http://forums.java.net/jive/thread.jspa?messageID=329078