After replacing $HOST on admin server name I got an exception at deployment:
[exec] error 2 [#|2009-04-30T14:13:26.762+0000|SEVERE|sun-appserver2.1|javax.enterprise.system.core.classloading|_ThreadID=10;_ThreadName=main;_RequestID=3b42ee0b-c64f-4af0-b934-3f5e85755bfb;|LDR5004: UnExpected error occured while creating ejb container
[exec] java.lang.Exception
[exec] at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:265)
[exec] at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:209)
[exec] at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:280)
[exec] at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:527)
[exec] at com.sun.enterprise.server.ApplicationLoader.doLoad(ApplicationLoader.java:191)
[exec] at com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:126)
[exec] at com.sun.enterprise.server.ExtendedApplicationLoader.doLoad(ExtendedApplicationLoader.java:134)
[exec] at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:238)
[exec] at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:226)
[exec] at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:224)
[exec] at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:446)
[exec] at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:134)
[exec] at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
[exec] at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[exec] at java.lang.reflect.Method.invoke(Method.java:585)
[exec] at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
[exec] Caused by: javax.resource.NotSupportedException: MQRA:EC:Error creating Remote Message Consumer:
[exec] [CREATE_DESTINATION_REPLY(35)] [C4036]: A broker error occurred. :[503] [B4286]: Auto-creation of destination XXXXXQueue is not allowed on service jms because service restriction [NO_SYNC_WITH_MASTERBROKER] is in effect. user=guest, broker=localhost:37676(36752)
[exec] at com.sun.messaging.jms.ra.EndpointConsumer.createRemoteMessageConsumer(EndpointConsumer.java:567)
[exec] at com.sun.messaging.jms.ra.EndpointConsumer._init(EndpointConsumer.java:307)
[exec] at com.sun.messaging.jms.ra.EndpointConsumer.<init>(EndpointConsumer.java:215)
[exec] at com.sun.messaging.jms.ra.ResourceAdapter.endpointActivation(ResourceAdapter.java:604)
[exec] at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:256)
[exec] ... 18 more
[exec] Caused by: com.sun.messaging.jms.JMSException: [CREATE_DESTINATION_REPLY(35)] [C4036]: A broker error occurred. :[503] [B4286]: Auto-creation of destination XXXXXXQueue is not allowed on service jms because service restriction [NO_SYNC_WITH_MASTERBROKER] is in effect. user=guest, broker=localhost:37676(36752)
[exec] at com.sun.messaging.jmq.jmsclient.ProtocolHandler.throwServerErrorException(ProtocolHandler.java:3982)
[exec] at com.sun.messaging.jmq.jmsclient.ProtocolHandler.createDestination(ProtocolHandler.java:1432)
[exec] at com.sun.messaging.jmq.jmsclient.ProtocolHandler.addInterest(ProtocolHandler.java:2165)
[exec] at com.sun.messaging.jmq.jmsclient.WriteChannel.addInterest(WriteChannel.java:88)
[exec] at com.sun.messaging.jmq.jmsclient.ConnectionImpl.addInterest(ConnectionImpl.java:1338)
[exec] at com.sun.messaging.jmq.jmsclient.Consumer.registerInterest(Consumer.java:145)
[exec] at com.sun.messaging.jmq.jmsclient.MessageConsumerImpl.addInterest(MessageConsumerImpl.java:170)
[exec] at com.sun.messaging.jmq.jmsclient.MessageConsumerImpl.init(MessageConsumerImpl.java:157)
[exec] at com.sun.messaging.jmq.jmsclient.QueueReceiverImpl.<init>(QueueReceiverImpl.java:75)
[exec] at com.sun.messaging.jmq.jmsclient.UnifiedSessionImpl.createReceiver(UnifiedSessionImpl.java:146)
[exec] at com.sun.messaging.jmq.jmsclient.UnifiedSessionImpl.createConsumer(UnifiedSessionImpl.java:628)
[exec] at com.sun.messaging.jmq.jmsclient.UnifiedSessionImpl.createConsumer(UnifiedSessionImpl.java:577)
[exec] at com.sun.messaging.jms.ra.EndpointConsumer.createRemoteMessageConsumer(EndpointConsumer.java:525)
[exec] ... 22 more
[exec] |#]
XXXXXQueue is name of one of my JMS queues.
Server log file contains more exceptions like:
[#|2009-04-30T08:15:17.272-0700|WARNING|sun-appserver2.1|javax.management.remote.misc|_ThreadID=76;_ThreadName=ClientNotifForwarder-20;_RequestID=00b02593-329c-49a5-960f-714b3d98e0cb;|Failed to restart: java.io.IOException: Failed to get a RMI stub: javax.naming.NameNotFoundException: management/rmi-jmx-connector|#]
I guess I should configure RMI.
[Message sent by forum member 'vyavichev' (vyavichev)]
http://forums.java.net/jive/thread.jspa?messageID=344518