users@glassfish.java.net

Re: Auto restart by DAS/node agent?

From: Anissa Lam <anissa.lam_at_oracle.com>
Date: Fri, 30 Apr 2010 09:01:23 -0700

Hi Sean,

In the node agent, there is an attribute that controls if you want to start the instances of this node agent automatically when the agent starts up.
Not sure if thats what you want though.
In the Admin Console,  if you go to the Node Agent page,  you will see that it has the option of  "Start Instances on Startup: "  where you can select Yes or No.

If you are using the CLI ,  then it will be something like this assuming your node agent name is NodeAgent2.

%./asadmin get  domain.node-agent.NodeAgent2.*
domain.node-agent.NodeAgent2.name = NodeAgent2
domain.node-agent.NodeAgent2.property.rendezvousOccurred = false
domain.node-agent.NodeAgent2.start-servers-in-startup = true
domain.node-agent.NodeAgent2.system-jmx-connector-name = system

and you can set that by

%./asadmin set  domain.node-agent.NodeAgent2.start-servers-in-startup=false

Hope this help
Anissa

Comerford, Sean wrote:
Auto restart by DAS/node agent? I’m using 2.1 and noticing that a standalone instance I have configured via my DAS appears to periodically be restarted automagically by the DAS/node agent.

Some questions:

  1. is this even possible and what would cause the DAS to do the restart?
  2. is there a way to turn this behavior OFF?


--
Sean Comerford, Software Engineer
ESPN.com Site Architecture Group
Office: 860.766.6454    Cell: 860.329.5842