problem running the simplemessage application from the javaEE5 tutorial

when I try to run this application (simplemessage) using netbeans5.5 and sun application server 9 I get a NameNotFound Exception with following message

14-Jun-2007 13:04:39 com.sun.enterprise.naming.NamingManagerImpl bindObjects

SEVERE: NAM0008 : Invalid Destination: jms/Queue for java:comp/env/SimpleMessageClient/queue

14-Jun-2007 13:04:39 com.sun.enterprise.appclient.MainWithModuleSupport <init>

WARNING: ACC003: Application threw an exception.

javax.naming.NamingException [Root exception is javax.naming.NameNotFoundException]

at com.sun.enterprise.naming.NamingManagerImpl.bindObjects(NamingManagerImpl.java:485)

at com.sun.enterprise.appclient.AppContainer.preInvoke(AppContainer.java:153)

at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:299)

at com.sun.enterprise.appclient.Main.main(Main.java:180)

Caused by: javax.naming.NameNotFoundException

at com.sun.enterprise.naming.TransientContext.resolveContext(TransientContext.java:255)

at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:178)

at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:61)

at com.sun.enterprise.naming.RemoteSerialContextProviderImpl.lookup(RemoteSerialContextProviderImpl.java:116)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

can somebody help please,

Thanks

David G.

[1684 byte] By [dg4a] at [2007-11-27 7:41:09]
# 1

Hi David,

This error message means you have a message-destination-ref dependency that is mapped

to the global JNDI name of a queue called "jms/Queue" which does not exist. Make sure you

have created the physical queue resource jms/Queue before deploying your application.

--ken

ksaksa at 2007-7-12 19:21:44 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
Many thanks Ken, when I created them it worked fine
dg4a at 2007-7-12 19:21:44 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...