|
Replies:
3
-
Last Post:
Mar 20, 2009 10:59 AM
by: km
|
|
|
|
|
|
|
Glassfish on Ubuntu 8.04, /usr/bin/asadmin
Posted:
Mar 17, 2009 12:28 AM
|
|
|
I have installed Glassfish v2 on Ubuntu 8.04 using APT. Unusually, it does not come with read configuration files and I am trying to write some.
It seems they have put something of their own in /usr/bin, which does not pass on all its command line parameters, in fact it seems to strip them off. Anyone else seen this?
The comments in /usr/bin/asadmin suggest that I should look at /usr/share/glassfish2/bin/asadmin, which has a Sun Copyright statement but fixing it would be more Linuxy and doesn't seem so hard.
Who owns this code i.e. /usr/bin/asadmin? There is no authorship, nor license header in the file.
-- Dave
|
|
|
|
|
|
|
Re: Glassfish on Ubuntu 8.04, /usr/bin/asadmin
Posted:
Mar 19, 2009 10:13 AM
in response to: davelevy
|
|
|
The /usr/bin/asadmin script of Glassfish v2 on Ubuntu 8.04 is basically a wrapper script. It delegates most of the commands to /usr/share/glassfish2/bin/asadmin which is the default asadmin utility for GlassFish v2. This script is part of the GlassFish package for Ubuntu.
man asadmin on Ubuntu will provide you more info on this script.
What are you seeing when you execute asadmin ? I believe it should drop into asadmin's multimode.
- Nitya
glassfish@javadesktop.org wrote: > I have installed Glassfish v2 on Ubuntu 8.04 using APT. Unusually, it does not come with read configuration files and I am trying to write some. > > It seems they have put something of their own in /usr/bin, which does not pass on all its command line parameters, in fact it seems to strip them off. Anyone else seen this? > > The comments in /usr/bin/asadmin suggest that I should look at /usr/share/glassfish2/bin/asadmin, which has a Sun Copyright statement but fixing it would be more Linuxy and doesn't seem so hard. > > Who owns this code i.e. /usr/bin/asadmin? There is no authorship, nor license header in the file. > > -- > Dave > [Message sent by forum member 'davelevy' (davelevy)] > > http://forums.java.net/jive/thread.jspa?messageID=337358 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net > For additional commands, e-mail: users-help@glassfish.dev.java.net > >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net
|
|
|
|
|
|
|
|
Re: Glassfish on Ubuntu 8.04, /usr/bin/asadmin
Posted:
Mar 20, 2009 10:18 AM
in response to: Nitya Doraisamy
|
|
|
When I run the script, it ignores all the qualifying parameters to the start-domain and thus cannot be used to pass a password file to it AFIAK tell.
Since this is my first try out of glassfish in anger I may have something wrong i,e. not set the user environment files correctly, but glassfish currently has /bin/false as the shell.
I am sure that using the ../share version can be made to work but I was trying understand the Ubuntu adoption process to see if I can make it easier for others to copy me.
|
|
|
|
|