After you complete the asadmin deploy instructions and run the Message Queue failover sample application, the following error message is dilsplayed:
/opt/SUNWappserver/domains/domain1/config/sun-acc.xml -name MQFailoverTestClient -textauth -user j2ee -password j2ee Nov 18, 2004 10:50:17 PM com.sun.enterprise.naming.NamingManagerImpl bindObjects SEVERE: NAM0006: JMS Destination object not found: jms/durable/TopicA Nov 18, 2004 10:50:18 PM com.sun.enterprise.naming.NamingManagerImpl bindObjects SEVERE: javax.naming.NameNotFoundException javax.naming.NameNotFoundException |
The documentation does not explicitly state that JMS resources must be manually created if manual deployment is performed by using the asadmin deploy commands. The documentation also fails to mention that that the provided ant targets should be used to deploy the sample application .
Use the asant deploy target for the build.xml script, which creates the required JMS resources to run the application.