• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem running client (ejb deployed on J2EE server)

 
sidharath
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends;
I am new to EJB.
I have coded and deployed my ejb on J2EE server
but when i run the client i get following error.
"No application client descriptors defined for: AccountClient"
Please help!!!
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"sidharath",
Thanks for joining JavaRanch, but could you just take a quick look at the naming policy and edit your profile accordingly.
Also, only members with valid names will be eligible for the book giveaways.
Thanks,
Simon
Bartender (moderator) of "J2EE and EJB" forum
 
HanMing Low
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How did you run the client?
Assuming you're using J2EE-RI.
When you use deploytool to create the jar, war or ear, you should be able to create the client jar.
(but you need to specifically check the option)
Then, you'd use this client.jar to run your client.
e.g.
java -classpath MyAppClient.jar:%CLASSPATH% MyAppClient
Cheers.

Han Ming
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!