Skip to main content

"asadmin create-system-properties" command not working

2 replies [Last post]
mwooten111
Offline
Joined: 2007-12-19
Points: 0

Hi All,

I'm trying to use the "asadmin create-system-properties" command to add system properties, but it constantly fails with the following message:

C:\Servers\glassfish\bin>asadmin create-system-properties example.property=hello
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: MBean instance not found: com.sun.appserv:type=properties,category=config
CLI137 Command create-system-properties failed.

I downloaded and installed a new instance of GF UR2 and I still get the error. Any ideas? Do I need to load this MBean from somewhere first? Any help would be appreciated.

Thanks.

-Michael

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Sankar Neelakandan

Hi Michael,
This command is supported only in cluster or enterprise profile
domains. Most likely you will have developer profile domain by default
when you installed glassfish.

To create a cluster profile domain use the command with option --profile
asadmin create-domain --profile cluster --adminport 4848 --passwordfile

domain2

-Sankar

glassfish@javadesktop.org wrote:
> Hi All,
>
> I'm trying to use the "asadmin create-system-properties" command to add system properties, but it constantly fails with the following message:
>
> C:\Servers\glassfish\bin>asadmin create-system-properties example.property=hello
> 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: MBean instance not found: com.sun.appserv:type=properties,category=config
> CLI137 Command create-system-properties failed.
>
> I downloaded and installed a new instance of GF UR2 and I still get the error. Any ideas? Do I need to load this MBean from somewhere first? Any help would be appreciated.
>
> Thanks.
>
> -Michael
> [Message sent by forum member 'mwooten111' (mwooten111)]
>
> http://forums.java.net/jive/thread.jspa?messageID=281149
>
> ---------------------------------------------------------------------
> 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

Kedar Mhaswade

Or, logon to Admin Console and click on "Add Cluster Support" button ...

----- Original Message -----
From: Sankar Neelakandan
Date: Wednesday, June 18, 2008 2:29 pm
Subject: Re: "asadmin create-system-properties" command not working
To: users@glassfish.dev.java.net

> Hi Michael,
> This command is supported only in cluster or enterprise profile
> domains. Most likely you will have developer profile domain by default
>
> when you installed glassfish.
>
> To create a cluster profile domain use the command with option --profile
> asadmin create-domain --profile cluster --adminport 4848
> --passwordfile
>
domain2
>
> -Sankar
>
> glassfish@javadesktop.org wrote:
> > Hi All,
> >
> > I'm trying to use the "asadmin create-system-properties" command to
> add system properties, but it constantly fails with the following message:
> >
> > C:\Servers\glassfish\bin>asadmin create-system-properties example.property=hello
> > 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: MBean instance not found: com.sun.appserv:type=properties,category=config
> > CLI137 Command create-system-properties failed.
> >
> > I downloaded and installed a new instance of GF UR2 and I still get
> the error. Any ideas? Do I need to load this MBean from somewhere
> first? Any help would be appreciated.
> >
> > Thanks.
> >
> > -Michael
> > [Message sent by forum member 'mwooten111' (mwooten111)]
> >
> > http://forums.java.net/jive/thread.jspa?messageID=281149
> >
> > ---------------------------------------------------------------------
> > 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
>

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