NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
lolveley
Joined: 28 Mar 2009 Posts: 22
|
Posted: Wed Aug 18, 2010 9:12 pm Post subject: strange error concerning "informers" while deploying a JPA+EJB+client project |
|
|
hello,
I' m reading the book "java EE6 and glassfish3", in french, written by A.Goncalves.
and I can't make work the example, which consist in a maven project containing a JPA entity, an EJB stateless, and a client application, and for testing purposes, I use very simple classes : the JPA class contains only two fields (id and name) (plus the accessors and another similar stuff like "toString" etc), the EJB implements an interface and a persist + findById method.
anyway, the error message is this one :
***********************************************
iMac-de-olivier-SAINT-EVE:bin lolveley$ ./asadmin deploy --force=true --user=admin /Users/lolveley/NetBeansProjects/librairie10/target/librairie10-1.0-SNAPSHOT.jar
Syntaxe d?pr?ci?e, utilisez plut?t :
asadmin --user admin deploy [options] ...
com.sun.enterprise.admin.cli.CommandException: remote failure: Exception while deploying the app : java.lang.IllegalArgumentException: Les mouchards de type [ejb] et de type [appclient] ne doivent pas demander l?archive simultan?ment. Veuillez v?rifier l?emballage de votre archive [/Applications/NetBeans/glassfish-3.0.1/glassfish/domains/domain1/applications/librairie10-1.0-SNAPSHOT]
?chec de la commande deploy.
***********************************************
it is in french, and I can roughly translate it : the "informers" (mouchards) of type ejb and appclient must not require simultaneously access to the archive...
my maven project contains indeed JPA, EJB and client classes, but this is what was told in the book!
can you help me by telling me what is an informer, and how to remove this?
thx,
olivier. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|