tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <david.blev...@visi.com>
Subject Re: Include Classpath not sharing Deployed EJBs?
Date Tue, 26 Jan 2010 03:43:38 GMT

On Jan 25, 2010, at 9:18 PM, Stephen Davidson wrote:

> Runtime excerpt;
> INFO - Beginning load: C:\Documents and
> Settings\sdavidson\.m2\repository\org\mortbay\jetty\start 
> \6.1.11\start-6
> .1.11.jar
> INFO - Configuring enterprise application: classpath.ear
> INFO - Configuring 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) -->
> Ejb(deployment-id=com/etcc/State)
>
> ...
>
> Running com.etcc.csc.delegate.StateDelegateEjbTest
> TRACE - Getting EJB Client for: com.etcc.csc.service.StateInterface
> TRACE - Loading service: State
> TRACE - Loading service: State
> DEBUG - Unable to access EJB State: Name "com/etcc/StateLocal" not
> found.
> javax.naming.NameNotFoundException: Name "com/etcc/StateLocal" not

It looks like everything should work.  The log shows the bean you want  
has been created and the exception shows you're using the right JNDI  
name.  Is it possible you can post some of the test code?


-David

-- 
http://blog.dblevins.com/
http://twitter.com/dblevins
Like OpenEJB?  Tweet it!




Mime
View raw message