setting up non-root user for new glassfish4 package

Jack Howarth <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <CAP5Ds0B8jy0yKw-9=9t7Yc7Qx1r-tstwe-kJ2UbKp45fmEWNPA@mail.gmail.com>
Justin,
        I need to get a glassfish4 application server package into fink. My
current packaging is based on the homebrew installation approach and is
attached. It requires the command…

asadmin start-domain

to be executed as sudo so that the

/sw/opt/glassfish4/glassfish/domains/domain1/logs/server.log

and other files can be written. There is a description of configuring
glassfish4 as a glassfish user at…

http://www.physics.usyd.edu.au/~rennie/glassfish.html#Step1

Since you maintain the apache2 package, I was hoping you might have some
advice on how we can modify my existing packaging to use a glassfish user
under fink.
              Jack
ps The glassfish4 quick start guide can be obtained from

 https://glassfish.java.net/docs/4.0/quick-start-guide.pdf

pps I have a profile.d appending the PATH ala homebrew. If you try to
execute asadmin via a symlink in /sw/bin, the program will fail as it tries
to find the glassfish4 configuration files relative to the bin path where
asadmin was started.

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce

_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
glassfish4.info (application/octet-stream, 965 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.