It looks like one of your deployment descriptors is bad. In ejb-jar.xml, 
You need to have one and only one 'enterprise-beans' element in the
ejb-jar element. 

On Fri, 16 Mar 2001, Hermann RANGAMANA wrote:

> gurus,
> 
> i'm still learning jBoss+EJB
> 
> When i deploy my simple bean, jBoss throws the following errors. What do
> those errors mean? What is the reason of them being thrown ?
> 
> --hermann
> 
> Error message :
> 
> [J2EE Deployer] Create application CMPJar.jar
> [J2EE Deployer] Installing EJB package: CMPJar.jar
> [J2EE Deployer] Starting module CMPJar.jar
> [Container factory]
> Deploying:file:/D:/dev/jBoss/bin/../tmp/deploy/CMPJar.jar/ej
> b1004.jar
> [Container factory] org.jboss.ejb.DeploymentException: expected one
> enterprise-b
> eans tag
> [Container factory]     at
> org.jboss.metadata.MetaData.getUniqueChild(MetaData.j
> ava:70)
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> 

-- 
Dan Christopherson (danch) 
nVisia Technical Architect (www.nvisia.com)

Opinions expressed are mine and do not neccessarily reflect any 
position or opinion of nVISIA.

---------------------------------------------------------------------------
If you're a capitalist and you have the best goods and they're 
free, you don't have to proselytize, you just have to wait.
-Eben Moglen


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to