• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ACC querry

 
Meeta Dey
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,

I am stuck in running in ACC in Glassfish.
I ran a simple jar file with command
appclient -client <jar_file_name>
It gave me the proper output.
but when tried to run a jar containing client code to run my ejb with @EJB DI annotation it showed
error something like

com.sun.enterprise.appclient.UserError: The archive C:\Documents and Settings\de
y\workspace\MyBeanClient.jar seems to be valid but an app client or an enterprise app was expected.

Is it not the simple jar file containing only the java file for running the EJB or some other
setting or any extra config/xml file is required..
I have tried in many ways ...not getting what is the proper way..

Please help..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic