quality@glassfish.java.net

Re: anyone have a list of asadmin commands

From: Sherry Shen <Sherry.Shen_at_Sun.COM>
Date: Fri, 29 Aug 2008 09:04:36 -0700


From issue 5721,
Caused by: java.lang.NoClassDefFoundError:
com/sun/enterprise/v3/admin/ResourceStatus
Its error is similar to issue
https://glassfish.dev.java.net/issues/show_bug.cgi?id=5741
which was marked as resolved.
However, today's build is not out yet.
Thanks!

Sherry
Sankar Neelakandan wrote, On 8/29/2008 8:37 AM:
Hi All,
      The list-commands command is not working in B21 and a issue has been filed for it already.  https://glassfish.dev.java.net/issues/show_bug.cgi?id=5721
-Sankar

Dick Davies wrote:
On Fri, Aug 29, 2008 at 4:18 PM, Kedar Mhaswade <Kedar.Mhaswade@sun.com> wrote:
  
To get the remote commands (note: most of the commands are implemented
on the server!) you need to have server running.

I think 5752 is a transient problem dealing with class loading. I am
surprised that you see that on a promoted build!
    

Hi Kedar!

It's pretty consistently broken.
There's a nice juicy stacktrace I've attached to the ticket.

This is running under jdk1.6 on a Macbookpro.
Should I run it on 1.5, or just flag future bugs as possibly 1.6 specific?

hhypnotoad:bin $ asadmin stop-domainWaiting for the domain to stop .....
Command stop-domain executed successfully.
hypnotoad:bin $ asadmin start-domain
hypnotoad:bin $ asadmin list-commands --remoteonly
Error encountered when making remote call: remote failure:
org.jvnet.hk2.component.ComponentException: Failed to create class
org.glassfish.jdbc.admin.cli.DeleteJdbcConnectionPool

Closest matching command(s):
    list-commands
Command list-commands failed.
hypnotoad:bin $ java -version
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13-120)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_05-b13-52, mixed mode)


  
A more complete list looks like:
kedar-mhaswades-macbook-pro:admin kedar$ asadmin list-commands
********** Local Commands **********
backup-domain
create-domain
delete-domain
list-commands
list-domains
monitor
restore-domain
start-database
start-domain
stop-database
stop-domain
********** Remote Commands **********
__locations                             enable
add-resources                           generate-jvm-report
change-admin-password                   get
create-audit-module                     list
create-auth-realm                       list-applications
create-file-user                        list-audit-modules
create-http-listener                    list-auth-realms
create-jdbc-connection-pool             list-commands
create-jdbc-resource                    list-components
create-jvm-options                      list-containers
create-profiler                         list-file-groups
create-resource-ref                     list-file-users
create-ssl                              list-http-listeners
create-system-properties                list-jdbc-connection-pools
create-virtual-server                   list-jdbc-resources
delete-audit-module                     list-jvm-options
delete-auth-realm                       list-modules
delete-file-user                        list-resource-refs
delete-http-listener                    list-system-properties
delete-jdbc-connection-pool             list-virtual-servers
delete-jdbc-resource                    monitor
delete-jvm-options                      ping-connection-pool
delete-profiler                         redeploy
delete-resource-ref                     set
delete-ssl                              stop-domain
delete-system-property                  undeploy
delete-virtual-server                   update-file-user
deploy                                  uptime
deploydir                               version
disable

-Kedar

Survivant 00 wrote:
    
C:\glassfishv3-preludeb21\bin>asadmin.bat list-commands
********** Local Commands **********
backup-domain
create-domain
delete-domain
list-commands
list-domains
monitor
restore-domain
start-database
start-domain
stop-database
stop-domain
Error encountered when making remote call: Remote server does not listen
for req
uests on [localhost:4á848].
Is the server up?
Closest matching command(s):
   list-commands
Command list-commands failed.
C:\glassfishv3-preludeb21\bin>



2008/8/29 Dick Davies <rasputnik@hellooperator.net
<mailto:rasputnik@hellooperator.net>>

   asadmin list-commands on b21 bombs out
   ( https://glassfish.dev.java.net/issues/show_bug.cgi?id=5752 )
   so I can't get a list of commands to check the manpages of.

   Does anyone have a list?

   --
   Rasputnik :: Jack of All Trades - Master of Nuns
   http://number9.hellooperator.net/

   ---------------------------------------------------------------------
   To unsubscribe, e-mail: quality-unsubscribe@glassfish.dev.java.net
   <mailto:quality-unsubscribe@glassfish.dev.java.net>
   For additional commands, e-mail: quality-help@glassfish.dev.java.net
   <mailto:quality-help@glassfish.dev.java.net>


      
---------------------------------------------------------------------
To unsubscribe, e-mail: quality-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: quality-help@glassfish.dev.java.net