• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

ACC querry  RSS feed

 
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
Boost this thread!