users@glassfish.java.net

Re: Can't start Glassfish using Solaris 10 SMF

From: <glassfish_at_javadesktop.org>
Date: Tue, 03 Apr 2007 22:54:47 PDT

I think I got it.

The key I think is this (from the manifest XML):

<method_credential user="root"
                           group=":default"
                           privileges="basic"/>

This is the default Glassfish configuration. Even though it says it's using "root", the privileges of "basic" prevents the use of port 80.

I changed it (by hand) to this:

<method_credential user="root"
                           group=":default"
                           privileges="basic,net_privaddr"/>

and reimported with svccfg. Then I cleared maintenance mode with svcadm, and it came up.

When I looked at some of the other manifests, they leave the privileges clause off, so they default to I guess whatever comes with root. But by specifying "basic", you immediately restrict the "power of root".

Mind, I'm making most of the up -- it's really late here and I'm not the SMF wizard. But that's what I'm guessing is happening. However, it seems to be starting at the moment and that's enough for now. My only concern now is what other rights is "root" missing that I'm assuming it may already have.

I may simply punt on that and create a glassfish user anyway, but it's still a bit of a question I need to answer one way or the other.

Thanx for the fast responses.
[Message sent by forum member 'whartung' (whartung)]

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