users@glassfish.java.net

AppClient/JWS/Derby/Security problems

From: Sanjeeb Kumar Sahoo <Sanjeeb.Sahoo_at_Sun.COM>
Date: Thu, 07 Sep 2006 13:49:57 +0530

Hi Martin,

I have a couple of questions regarding the issue you are facing while
running your application using appclient container.

1. You mentioned that you emf is *null* even when you annotated it with
@PersistenceUnit. Where is this emf defined? It has to be defined in the
main class only.

2. Can you send us the revised appclient command that you run now?

To start with, don't use -mainclass option to appclient. Specify
Main-Class in manifest.mf of the client jar.

Thanks,
Sahoo