users@glassfish.java.net

Re: asadmin check if resource exist ?

From: Jagadish Prasath Ramu <Jagadish.Ramu_at_Sun.COM>
Date: Sat, 19 Sep 2009 18:48:30 +0530

You can use list-jdbc-connection-pools command which will list all jdbc
conn. pools.

------------------------------------------------------------------
bin/asadmin list-jdbc-connection-pools
__TimerPool
DerbyPool

Command list-jdbc-connection-pools executed successfully.
------------------------------------------------------------------


On Sat, 2009-09-19 at 13:41 +0200, Felipe Gaúcho wrote:
> last trial:
>
> asadmin list-resource-refs --user=admin --passwordfile=./.password jdbc/arena
>
> This operation failed, because it could not be handled by this domain.
> An example of such an operation is creating application server
> instances or clusters when they are not supported by the given domain.
> The actual error is: Operation :listResourceReferencesAsString is not
> found in resources MBean.
>
> ???
>
> I am using Glassfish v2.1
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>