users@glassfish.java.net

Glassfish v3.1 .\asadmin start-local-instance javax.xml.bind.JAXBException

From: <forums_at_java.net>
Date: Mon, 08 Nov 2010 08:45:24 -0800

I am attempting to create a cluster of local instances on a Windows machine,
and while this has worked for me in past builds, I am not getting the
following results. (Starting the domain, creating the cluster and local
instances are all successful, but then attempting to start the local
instances results in the error):

Please let me know if I am doing anything wrong and if this is a bug that
needs to be reported. Thanks!

C:\testing\glassfish3\bin>.\asadmin create-cluster c1 Command create-cluster
executed successfully. C:\testing\glassfish3\bin>.\asadmin
create-local-instance --cluster c1 --systemp roperties
HTTP_LISTENER_PORT=18080:HTTP_SSL_LISTENER_PORT=18181:IIOP_SSL_LISTENE
R_PORT=13800:IIOP_LISTENER_PORT=13700:JMX_SYSTEM_CONNECTOR_PORT=17676:IIOP_SSL_M
UTUALAUTH_PORT=13801:JMS_PROVIDER_PORT=18686:ASADMIN_LISTENER_PORT=14848 in1
Rendezvoused with DAS on localhost:4848. Port Assignments for server instance
in1: JMX_SYSTEM_CONNECTOR_PORT=17676 JMS_PROVIDER_PORT=18686
HTTP_LISTENER_PORT=18080 ASADMIN_LISTENER_PORT=14848 JAVA_DEBUGGER_PORT=29009
IIOP_SSL_LISTENER_PORT=13800 IIOP_LISTENER_PORT=13700
OSGI_SHELL_TELNET_PORT=26666 HTTP_SSL_LISTENER_PORT=18181
IIOP_SSL_MUTUALAUTH_PORT=13801 Command create-local-instance executed
successfully. C:\testing\glassfish3\bin>.\asadmin create-local-instance
--cluster c1 --systemp roperties
HTTP_LISTENER_PORT=28080:HTTP_SSL_LISTENER_PORT=28181:IIOP_SSL_LISTENE
R_PORT=23800:IIOP_LISTENER_PORT=23700:JMX_SYSTEM_CONNECTOR_PORT=27676:IIOP_SSL_M
UTUALAUTH_PORT=23801:JMS_PROVIDER_PORT=28686:ASADMIN_LISTENER_PORT=24848 in2
Using DAS host localhost and port 4848 from existing das.properties for node
localhost. To use a different DAS, create a new node using create-node-ssh or
create-node-config. Create the instance with the new node and correct host
and port: asadmin --host das_host --port das_port create-local-instance
--node node_name i nstance_name. Rendezvoused with DAS on localhost:4848.
Port Assignments for server instance in2: JMX_SYSTEM_CONNECTOR_PORT=27676
JMS_PROVIDER_PORT=28686 HTTP_LISTENER_PORT=28080 ASADMIN_LISTENER_PORT=24848
JAVA_DEBUGGER_PORT=29010 IIOP_SSL_LISTENER_PORT=23800
IIOP_LISTENER_PORT=23700 OSGI_SHELL_TELNET_PORT=26667
HTTP_SSL_LISTENER_PORT=28181 IIOP_SSL_MUTUALAUTH_PORT=23801 WARNING :
Instance in1 seems to be offline; Command was not replicated to that i
nstance Command create-local-instance executed successfully.
C:\testing\glassfish3\bin>.\asadmin start-local-instance in1 *CLI802
Synchronization failed for directory config, caused by:
javax.xml.bind.JAXBException - with linked exception:
[java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory]
Command start-local-instance failed. *
 


--
[Message sent by forum member 'turtletsg']
View Post: http://forums.java.net/node/713899