dev@glassfish.java.net

Re: can't start cluster after upgrade

From: Jennifer Chou <jennifer.chou_at_oracle.com>
Date: Tue, 14 Sep 2010 21:48:20 +0100

On 9/14/2010 9:24 PM, Bobby Bissett wrote:
> A'ight, if I do this then the proper directory is created:
> asadmin import-sync-bundle --file ../domains/domain1/config/mybundle --node na1 instance1
>
> I'm therefore unclear on the node concept. I only ever created/used/imagined one node in the v2 cluster before the upgrade, so why is this needed here? Is this a bug or the expected way that instances need to be recreated?
>
Since the instance was created with node na1 in v2. You also need to
create or import instance1 with --node na1. There is a bug filed to
enhance the export/import to include the node information so you don't
have to remember to specify it.
The start-cluster uses the node defined in DAS domain.xml so it knows
which node directory to use to start the instances.
When you do not specify --node in create-local-instance or
import-sync-bundle, and there is 1 node directory that exists, such as
localhost, it will use this by default.
> Still can't start the cluster though (at least not yet). I get these in the DAS log file and then it just waits (I expect it will timeout in another few minutes):
>
> [#|2010-09-14T16:19:49.763-0400|INFO|glassfish3.1|javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin.cluster|_ThreadID=19;_ThreadName=Thread-2;|Starting cluster cluster1|#]
> [#|2010-09-14T16:19:49.784-0400|INFO|glassfish3.1|javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin.cluster|_ThreadID=19;_ThreadName=Thread-2;|Executing start-instance on 2 instances using a thread pool of size 2: na1-instance1 na1-instance2 |#]
> [#|2010-09-14T16:19:49.786-0400|INFO|glassfish3.1|javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin.cluster|_ThreadID=19;_ThreadName=Thread-2;|start-instance instance1|#]
> [#|2010-09-14T16:19:49.806-0400|INFO|glassfish3.1|javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin.cluster|_ThreadID=19;_ThreadName=Thread-2;|start-instance instance2|#]
> [#|2010-09-14T16:19:53.215-0400|INFO|glassfish3.1|null|_ThreadID=19;_ThreadName=Thread-2;|Cannot read logging.properties file. |#]
> [#|2010-09-14T16:19:53.473-0400|INFO|glassfish3.1|null|_ThreadID=19;_ThreadName=Thread-2;|Cannot read logging.properties file. |#]
>
> Instance1 log is just:
> [params]
> Sep 14, 2010 4:19:53 PM com.sun.enterprise.admin.launcher.GFLauncherLogger info
> INFO: Successfully launched in 54 msec.
> hostname%
>
> Thanks,
> Bobby
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>