The only glassfish init script I was able to find that is remotely correct is
this:
http://www.lyonlabs.org/howto/glassfish-3.0.1
(via parent article: http://www.lyonlabs.org/howto/howdoi-glassfish.html
)
I didn't test it myself yet, but upon a cursory look, it seems to have
everything that is
I know this is old, but personally I'd prefer to see a startup script in
/etc/init.d/glassfish
The first thing I did was create my own anyway. The domain directory
being split from the rest of the glassfish install was enough of a
change from a standard glassfish install that I had to go hunting
A fix for No Default Domain problem is:
* vi /usr/bin/asadmin:
* Change,
GF_DOMAIN_DIR=$HOME/glassfishv2
To,
GF_DOMAIN_DIR=/var/lib/glassfishv2/domains
(Shouldn't there be an env var for /var/lib/glassfishv2?)
* Start Glassfish with domain1:
$ sudo asadmin start-domain domain1
Starting Domain
Attachment contains script is used by me - please note - this script
started both - JavaDB Glassfish Itself. Also, since asadmin required
passwords to perform any actions, admin password were stored in
password file and passed into asadmin during starting and stopping
server.
Password file
did anyone create a /etc/init.d/glassfish script to startup glassfish at
boot properly?
thanks
Nicolas
--
glassfish has no startup script
https://bugs.launchpad.net/bugs/150960
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
did anyone create a /etc/init.d/glassfish script to startup glassfish at
boot properly?
thanks
Nicolas
--
glassfish has no startup script
https://bugs.launchpad.net/bugs/150960
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
Starting up a DB automatically would be bad for my usage, where the DB
is on a different server.
--
glassfish has no startup script
https://bugs.launchpad.net/bugs/150960
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs
OK, starting glassfish database may be implemented as separate service.
--
glassfish has no startup script
https://bugs.launchpad.net/bugs/150960
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
Agreed - just found glassfish in ubuntu repository - and was happy to be
able to install glassfish by standard ubuntu-way (apt-get install), but
- what the sense in the service (glassfish is a service in my case) if
there is no way to start it during system start-up?
Just another note - I suppose
Agree with Matthias and the original bug poster. Glassfish should have
an /etc/init.d/ script, and should be run by glassfish user. Most
people don't like to run glassfish as root.
Also, I notice that with a fresh apt-get install, when I attempt to run
asadmin start-domain, it looks for (and
I appreciate your interest in having the Ubuntu and Glassfish
communities in sync, but please have in mind that the Ubuntu community
is used to do things in some ways, i.e, to start a system service with
the init script. Please implent the init script, and then feed it back
to the glassfish
Wayne,
The startup script for GlassFish is called asadmin (application server admin).
This script is present in the /usr/bin/ directory. There were two primary
reason that it was kept this way:
1. The GlassFish community @ https://glassfish.dev.java.net is used to this
convention. The docs etc
Wayne
I am going to mark this particular bug as invalid due to the reason above. If
you disagree - you can shoot me an email at harpreet . singh @ sun
- Harpreet
--
glassfish has no startup script
https://bugs.launchpad.net/bugs/150960
You received this bug notification because you are a member
This seems to work ok.
** Attachment added: glassfish
http://launchpadlibrarian.net/9898415/glassfish
--
glassfish has no startup script
https://bugs.launchpad.net/bugs/150960
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
14 matches
Mail list logo