Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
While trying to run an app-client Main method, I keep getting the following error:
org.glassfish.appclient.client.acc.UserError: ACC007: The app client directory C:\Projects\MyFirstJMSQueue does not contain a manifest; the app client container cannot process it. Embedded programs should pass URIs with scheme "jar:" for JAR files and scheme "file:" for directories. Java Result: 1

when I searched for a solution I found a guide in this link:

http://www.java.net/node/700937

but I don;t know how I should configure EAR;s properties to the client and run the EAR itself?

Is there somebody can help me?
Posted
Updated 22-Jul-12 19:35pm
v2

1 solution

Working with Manifest Files[^] in Java tutorials.

I can recommend to create one. Your IDE should be able to guide you through the process.
 
Share this answer
 
Comments
z_azad 23-Jul-12 6:10am    
I'm working with NeatBeans and I checked my my project folder, the MAINFEST.MF file was built.But it doesn't work.I'm so confused about what I should do.
TorstenH. 23-Jul-12 10:43am    
check if it is in the build.
It won't work if the IDE is not including the Manifest-file into the build.
Check out some *.project file.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900