Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Name comp/env/ejb not found in context "java:" application client problem

 
Shane Lee
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get this error when launching my application client using the websphere client container.
My enterprise project is deployed on websphere application server 6.1, using JEE4.
When i run the command launchClient C:\WebSphereClients\JMSExample.ear i get that error.

My application client class call is:


application.xml is


section of my ejb-jar.xml i:


Please help as i am going around in circles here or is there an easier way to run an jee application client when my project is deployed and running on WAS server 6.1.
 
Shane Lee
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i change my context to be:


I get the error:


Any ideas!
 
Shane Lee
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just checked on the admin console my enterprise application on websphere and in my ejb jndi names the Target Resource JNDI name is MessageProducer, dont think that is correct is it?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic