[jboss-as7-dev] Remote JNDI lookup from the messaging subsystem

David M. Lloyd david.lloyd at redhat.com
Wed May 23 10:07:33 EDT 2012


On 05/23/2012 03:17 AM, Jeff Mesnil wrote:
> On 05/22/2012 06:51 PM, David M. Lloyd wrote:
>> Looks like it must be a missing dependency from remote.naming to
>> ejb.client. Not sure why it wouldn't have come up sooner though -
>> perhaps you're attempting to use the autoconfig API which isn't
>> appropriate for in-AS usage?
>
> org.jboss.naming.remote.client.InitialContextFactory is trying to load
> org.jboss.naming.remote.client.ejb.RemoteNamingEjbClientContextSelector
> in its static initialization block.
>
> Shouldn't the org.jboss.remote-naming module declare an optional
> dependency to org.jboss.ejb-client?

No need for the dep to be optional.  I think this is the way to go (see 
my comments in AS7-4872).

-- 
- DML


More information about the jboss-as7-dev mailing list