tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Davidson" <>
Subject RE: Include Classpath not sharing Deployed EJBs?
Date Fri, 29 Jan 2010 16:46:45 GMT
Ok, I missed something here.

In both cases, with & without ejb-jar.xml, EJBs are getting deployed.
Just, in one case, the client applications are not actually able to
access the EJBs, but in the other, they are.  The log from the "Not
Found" case shows the EJBs are getting deployed, but your response says
that they might not be (which is where I got confused).

Service(id=Default Stateless Container, type=Container,
provider-id=Default Stateless Container) INFO - Auto-creating a
container for bean com/etcc/Account:
Container(type=STATELESS, id=Default Stateless Container) INFO -
Enterprise application "classpath.ear" loaded.
INFO - Assembling app: classpath.ear
INFO - Jndi(name=com/etcc/StateLocal) -->


TRACE - Getting EJB Client for:
TRACE - Loading service: State
TRACE - Loading service: State
DEBUG - Unable to access EJB State: Name "com/etcc/StateLocal" not
javax.naming.NameNotFoundException: Name "com/etcc/StateLocal" not

I figured your scanner issue might be causing an issue.  Initially, w/o
the ejb-jar.xml file, the EJBs were not getting deployed at all.  Hence,
I had set

This resulted in the EJBs apparently getting deployed, at least, as far
as was recorded in the log.  But it looks like a step was missed during


-----Original Message-----
From: David Blevins [] 
Sent: Friday, January 29, 2010 4:57 AM
Subject: Re: Include Classpath not sharing Deployed EJBs?

On Jan 26, 2010, at 6:15 PM, Stephen Davidson wrote:

> The odd thing is, this works when there IS a ejb-jar.xml file.  Only
> when there is no ejb-jar.xml does this fail.

It sounds like this might be related to the properties issue.  By  
default the "classpath scan" include/exclude settings filter out  
everything resulting in us just looking for ejb-jar.xml files in the  
classpath rather than scanning class files to find apps.

We will log any properties that you change on INFO level, so if it  
doesn't show up, we aren't seeing it.


Like OpenEJB?  Tweet it!

View raw message