users@glassfish.java.net

Can not start cluster on latest trunk build.

From: <forums_at_java.net>
Date: Fri, 6 Apr 2012 10:42:15 -0500 (CDT)

Hi Guys, Today I sync up latest glassfish trunk codes (revision 53415) and
build it successfully. After unzipping the built glassfish.zip file to a
folder for installing glassfish, the command start-cluster failed by
NoClassDefFoundError on my Win7 box. Do I miss anything which can cause that?
start-domain, works fine. create-cluster cluster1, works fine.
create-local-instance instance1 which targets to cluster1, works fine.
create-local-instance instance2 which targets to cluster1, works fine.
start-cluster cluster1, fails with the following error message:
D:\glassfish_trunk\glassfish3\glassfish\bin>asadmin start-cluster cluster1
remote failure: instance1: Could not start instance instance1 on node
localhost-domain1 (localhost). Command failed on node localhost-domain1
(localhost): Command start-local-instance failed. CLI802 Synchronization
failed for directory config, caused by: remote failure:
java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
javax/xml/bind/JAXBException To complete this operation run the following
command locally on host localhost from the GlassFish install location
D:\glassfish_trunk\glassfish3: lib/nadmin start-local-instance --node
localhost-domain1 --sync normal instance1 instance2: Could not start instance
instance2 on node localhost-domain1 (localhost). Command failed on node
localhost-domain1 (localhost): Command start-local-instance failed. CLI802
Synchronization failed for directory config, caused by: remote failure:
java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
javax/xml/bind/JAXBException To complete this operation run the following
command locally on host localhost from the GlassFish install location
D:\glassfish_trunk\glassfish3: lib/nadmin start-local-instance --node
localhost-domain1 --sync normal instance2 The command start-instance failed
for: instance1 instance2 Command start-cluster failed.

--
[Message sent by forum member 'liang.x.zhao']
View Post: http://forums.java.net/node/884896