NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

strange error concerning "informers" while deploying a JPA+EJB+client project

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
lolveley



Joined: 28 Mar 2009
Posts: 22

PostPosted: Wed Aug 18, 2010 9:12 pm    Post subject: strange error concerning "informers" while deploying a JPA+EJB+client project Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo