[jboss-user] [JNDI/Naming/Network] - Re: Name not Bound

bacooper81 do-not-reply at jboss.com
Thu Feb 26 11:28:31 EST 2009


Thanks for the feedback.  I looked up the namespaces, and my beans did not appear in them.  However, I did see an entry for shadows.ear and Shadows.war.  I double checked the ear file, and it definitely contains shadows.jar.  So why would its beans not be bound to any namespace?

Here are some snippets from my jndi tree:

java:comp namespace of the shadows.ear/Shadows.war application:
  | 
  |   +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
  |   +- ORB (class: org.jacorb.orb.ORB)
  |   +- env (class: org.jnp.interfaces.NamingContext)
  |   |   +- security (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- realmMapping[link -> java:/jaas/other] (class: javax.naming.LinkRef)
  |   |   |   +- subject[link -> java:/jaas/other/subject] (class: javax.naming.LinkRef)
  |   |   |   +- securityMgr[link -> java:/jaas/other] (class: javax.naming.LinkRef)
  |   |   |   +- security-domain[link -> java:/jaas/other] (class: javax.naming.LinkRef)

java:comp namespace of the Shadows.war application:
  | 
  |   +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
  |   +- ORB (class: org.jacorb.orb.ORB)
  |   +- env (class: org.jnp.interfaces.NamingContext)
  |   |   +- security (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- realmMapping[link -> java:/jaas/other] (class: javax.naming.LinkRef)
  |   |   |   +- subject[link -> java:/jaas/other/subject] (class: javax.naming.LinkRef)
  |   |   |   +- securityMgr[link -> java:/jaas/other] (class: javax.naming.LinkRef)
  |   |   |   +- security-domain[link -> java:/jaas/other] (class: javax.naming.LinkRef)

java: Namespace
  | 
  |   +- jaas (class: javax.naming.Context)
  |   |   +- HsqlDbRealm (class: org.jboss.security.plugins.SecurityDomainContext)
  |   |   +- jbossmq (class: org.jboss.security.plugins.SecurityDomainContext)
  |   |   +- JmsXARealm (class: org.jboss.security.plugins.SecurityDomainContext)
  |   +- TransactionPropagationContextImporter (class: org.jboss.tm.TransactionPropagationContextImporter)
  |   +- JmsXA (class: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl)
  |   +- JBossCorbaNaming (class: org.omg.CosNaming.NamingContextExt)
  |   +- DefaultDS (class: javax.sql.DataSource)
  |   +- StdJMSPool (class: org.jboss.jms.asf.StdServerSessionPoolFactory)
  |   +- TransactionManager (class: org.jboss.tm.TxManager)
  |   +- JBossCorbaPOA (class: org.omg.PortableServer.POA)
  |   +- TransactionPropagationContextExporter (class: org.jboss.tm.TransactionPropagationContextFactory)
  |   +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
  |   +- DefaultJMSProvider (class: org.jboss.jms.jndi.JNDIProviderAdapter)
  |   +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
  |   +- JBossCorbaInterfaceRepositoryPOA (class: org.omg.PortableServer.POA)
  |   +- Mail (class: javax.mail.Session)
  |   +- JBossCorbaORB (class: org.omg.CORBA.ORB)
  |   +- timedCacheFactory (class: javax.naming.Context)
  | Failed to lookup: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy cannot be cast to javax.naming.NamingEnumeration
  |   +- SecurityProxyFactory (class: org.jboss.security.SubjectSecurityProxyFactory)
  |   +- comp (class: javax.naming.Context)
  | 
  | 
  | Global JNDI Namespace
  | 
  |   +- HASessionState (class: org.jnp.interfaces.NamingContext)
  |   |   +- Default (class: org.jboss.ha.hasessionstate.server.HASessionStateImpl)
  |   +- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair)
  |   +- jmx (class: org.jnp.interfaces.NamingContext)
  |   |   +- invoker (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- RMIAdaptor (proxy: $Proxy50 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface org.jboss.jmx.adaptor.rmi.RMIAdaptorExt)
  |   |   +- rmi (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: javax.naming.LinkRef)
  |   +- JAXR (class: org.apache.ws.scout.registry.ConnectionFactoryImpl)
  |   +- HTTPXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
  |   +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
  |   +- UserTransactionSessionFactory (proxy: $Proxy12 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory)
  |   +- HTTPConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
  |   +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
  |   +- invokers (class: org.jnp.interfaces.NamingContext)
  |   |   +- HQWS263 (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- iiop (class: org.jboss.invocation.iiop.IIOPInvoker)
  |   +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction)
  |   +- UILXAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef)
  |   +- UIL2XAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef)
  |   +- HAPartition (class: org.jnp.interfaces.NamingContext)
  |   |   +- DefaultPartition (class: org.jboss.ha.framework.server.HAPartitionImpl)
  |   +- topic (class: org.jnp.interfaces.NamingContext)
  |   |   +- testDurableTopic (class: org.jboss.mq.SpyTopic)
  |   |   +- testTopic (class: org.jboss.mq.SpyTopic)
  |   |   +- securedTopic (class: org.jboss.mq.SpyTopic)
  |   +- queue (class: org.jnp.interfaces.NamingContext)
  |   |   +- A (class: org.jboss.mq.SpyQueue)
  |   |   +- testQueue (class: org.jboss.mq.SpyQueue)
  |   |   +- ex (class: org.jboss.mq.SpyQueue)
  |   |   +- DLQ (class: org.jboss.mq.SpyQueue)
  |   |   +- D (class: org.jboss.mq.SpyQueue)
  |   |   +- C (class: org.jboss.mq.SpyQueue)
  |   |   +- B (class: org.jboss.mq.SpyQueue)
  |   +- console (class: org.jnp.interfaces.NamingContext)
  |   |   +- PluginManager (proxy: $Proxy51 implements interface org.jboss.console.manager.PluginManagerMBean)
  |   +- UIL2ConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef)
  |   +- HiLoKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory)
  |   +- UILConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef)
  |   +- QueueConnectionFactory (class: org.jboss.naming.LinkRefPair)
  |   +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory)
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213436#4213436

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213436



More information about the jboss-user mailing list