users@glassfish.java.net

Glassfish won't deploy EJB 3.0 Ear

From: <noreply_at_java.net>
Date: Wed, 03 Nov 2010 04:19:46 -0700

Hi all,

 

I have been deploying an EJB 3.0 project on Sun App server 9.1. I want to
upgrade the App server to Glassfish 3.0. The problem I am having is that I am
getting the error message below when i tried to deploy the project through
the Glassfish portal

What is confusing me is that I have went through the criteria in the error
message and my EJB project should be deployable.

 

Have any of you any ideas how get past this? I have seen the issue on many
forums but no one seems to have a valid answer.

Any suggestion are welcome.

Thanks

 

Exception while deploying the app : java.lang.IllegalArgumentException:
Invalid ejb jar [nic-bridge-ejb.jar]: it contains zero ejb. Note: 1. A valid
ejb jar requires at least one session, entity (1.x/2.x style), or
message-driven bean. 2. EJB3+ entity beans (@Entity) are POJOs and please
package them as library jar. 3. If the jar file contains valid EJBs which are
annotated with EJB component level annotations (@Stateless, @Stateful,
@MessageDriven, @Singleton), please check server.log to se...


--
[Message sent by forum member 'heyya99']
View Post: http://forums.java.net/node/711106