hi Can anyone guide me with the steps in creating the resource ref in the Message Driven bean. When i run i get the following
C:\Sun\Projects\simple>appclient -client MSBApplicationClient.jar JNDI lookup failed: javax.naming.NameNotFoundException: No object bound to name java:comp/env/jms/MyQcf
My set up is like this
Connection Factory jms/MyQcf Destination Resource jms/MyQueue Physical Destination PhysicalQueue I am using the deploy tool for sun java system application server platform edition 8. I have created a application and within which the MessageDrivenBean is an "Enterprise Bean" and the client is "Application Client" and the contents of MSBApplicationClient.Jar is therefore
What exactly are you trying to do? A MDB doesn't have a client. What is your client doing? Do you want to write a message into the queue? Please provide the code from you client, otherwise it's difficult to help you.
hi thanks for ur replies my MDB worked. but i have few questions though abt the JMS part of it. I dont understand y i am creating those resource ref etc. is there a good doc to read to get a picture of what exactly i am doing? i used http://java.sun.com/j2ee/1.4/docs/tutorial/doc/ to get it working. thanks for ur time again
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop