You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jacek Laskowski <ja...@hp.com> on 2003/12/30 12:30:00 UTC

Deploying EJBs with no /META-INF/geronimo-ejb-jar.xml

Hi Geronimos,

I'm concerned with what I've just noticed in Geronimo. Geronimo 
attempted to deploy a EJB with no /META-INF/geronimo-ejb-jar.xml. 
org.openejb.nova.deployment.EJBModuleDeploymentPlanner took care of it, 
but as it didn't find the deployment descriptor it threw 
DeploymentException. Despite that, geronimo-web-console showed the EJB 
as 'geronimo.deployment:role=DeploymentUnit,type=EJBModule,*'. Why? Is 
it expected?

Jacek


Re: Deploying EJBs with no /META-INF/geronimo-ejb-jar.xml

Posted by Jeremy Boynes <je...@coredevelopers.net>.
Jacek Laskowski wrote:

> Hi Geronimos,
> 
> I'm concerned with what I've just noticed in Geronimo. Geronimo 
> attempted to deploy a EJB with no /META-INF/geronimo-ejb-jar.xml. 
> org.openejb.nova.deployment.EJBModuleDeploymentPlanner took care of it, 
> but as it didn't find the deployment descriptor it threw 
> DeploymentException. Despite that, geronimo-web-console showed the EJB 
> as 'geronimo.deployment:role=DeploymentUnit,type=EJBModule,*'. Why? Is 
> it expected?
> 
> Jacek
> 

Looks like a bug - first, there should be nothing created becuase there 
was a failure creating the plan; second, that is not a valid ObjectName.

-- 
Jeremy