[jboss-user] [JNDI and Naming] - Re: NameNotFoundException with "Not Bound" message
Munna K
do-not-reply at jboss.com
Tue Nov 22 23:31:51 EST 2011
Munna K [http://community.jboss.org/people/memunis] created the discussion
"Re: NameNotFoundException with "Not Bound" message"
To view the discussion, visit: http://community.jboss.org/message/637838#637838
--------------------------------------------------------------
Thanks. But my JNDI view shows as below:
how could I correct my JNDI name.. can you help me identify where the issue is?
h1. java: Namespace
+- hibernateDatasource (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
+- securityManagement (class: org.jboss.security.integration.JNDIBasedSecurityManagement)
+- comp (class: javax.naming.Context)
| +- TransactionSynchronizationRegistry[link -> java:TransactionSynchronizationRegistry] (class: javax.naming.LinkRef)
| +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
| +- env (class: org.jnp.interfaces.NamingContext)
| | +- security (class: org.jnp.interfaces.NamingContext)
| | | +- securityMgr[link -> java:/jaas/jboss-web-policy] (class: javax.naming.LinkRef)
| | | +- subject[link -> java:/jaas/jboss-web-policy/subject] (class: javax.naming.LinkRef)
| | | +- realmMapping[link -> java:/jaas/jboss-web-policy/realmMapping] (class: javax.naming.LinkRef)
| | | +- security-domain[link -> java:/jaas/jboss-web-policy] (class: javax.naming.LinkRef)
| | | +- authorizationMgr[link -> java:/jaas/jboss-web-policy/authorizationMgr] (class: javax.naming.LinkRef)
| +- ORB[link -> java:/JBossCorbaORB] (class: javax.naming.LinkRef)
| +- BeanManager (class: org.jnp.interfaces.MarshalledValuePair)
| +- ModuleName (class: java.lang.String)
+- XAConnectionFactory (class: org.hornetq.jms.client.HornetQXAConnectionFactory)
+- JmsXA (class: org.hornetq.ra.HornetQRAConnectionFactoryImpl)
+- MySqlSnapProfile (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
+- MySqlVasReadProfile (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
+- policyRegistration (class: org.jboss.security.plugins.JBossPolicyRegistration)
+- TransactionPropagationContextImporter (class: com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager)
+- app (class: javax.naming.Context)
| +- jmx-console (class: org.jnp.interfaces.NamingContext)
| +- AppName (class: java.lang.String)
+- Mail (class: javax.mail.Session)
+- TransactionPropagationContextExporter (class: com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager)
+- ProfileService (class: org.jboss.profileservice.AbstractProfileService)
+- MySqlSnapReadProfile (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
+- DefaultDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
+- jaas (class: javax.naming.Context)
| +- jmx-console (class: org.jboss.security.plugins.SecurityDomainContext)
| +- jboss-ejb-policy (class: org.jboss.security.plugins.SecurityDomainContext)
| +- hornetq (class: org.jboss.security.plugins.SecurityDomainContext)
+- TransactionSynchronizationRegistry (class: com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple)
+- SecurityProxyFactory (class: org.jboss.security.SubjectSecurityProxyFactory)
+- ConnectionFactory (class: org.hornetq.jms.client.HornetQXAConnectionFactory)
+- DefaultJMSProvider (class: org.jboss.jms.jndi.JNDIProviderAdapter)
+- TransactionManager (class: com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate)
+- timedCacheFactory (class: javax.naming.Context)
Failed to lookup: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy cannot be cast to javax.naming.NamingEnumeration
+- module (class: javax.naming.Context)
| +- TransactionSynchronizationRegistry[link -> java:TransactionSynchronizationRegistry] (class: javax.naming.LinkRef)
| +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
| +- env (class: org.jnp.interfaces.NamingContext)
| | +- security (class: org.jnp.interfaces.NamingContext)
| | | +- securityMgr[link -> java:/jaas/jboss-web-policy] (class: javax.naming.LinkRef)
| | | +- subject[link -> java:/jaas/jboss-web-policy/subject] (class: javax.naming.LinkRef)
| | | +- realmMapping[link -> java:/jaas/jboss-web-policy/realmMapping] (class: javax.naming.LinkRef)
| | | +- security-domain[link -> java:/jaas/jboss-web-policy] (class: javax.naming.LinkRef)
| | | +- authorizationMgr[link -> java:/jaas/jboss-web-policy/authorizationMgr] (class: javax.naming.LinkRef)
| +- ORB[link -> java:/JBossCorbaORB] (class: javax.naming.LinkRef)
| +- BeanManager (class: org.jnp.interfaces.MarshalledValuePair)
| +- ModuleName (class: java.lang.String)
+- internal (class: org.jnp.interfaces.NamingContext)
| +- EJBContext (class: javax.ejb.EJBContext)
| +- TimerService (class: javax.ejb.TimerService)
+- MySqlVasProfile (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
+- global (class: org.jnp.interfaces.NamingContext)
| +- jmx-console (class: org.jnp.interfaces.NamingContext)
| +- ozcommons (class: org.jnp.interfaces.NamingContext)
| +- freemarker (class: org.jnp.interfaces.NamingContext)
| +- ROOT (class: org.jnp.interfaces.NamingContext)
| +- twitter4j-core-2.1.3-SNAPSHOT (class: org.jnp.interfaces.NamingContext)
| +- trial (class: org.jnp.interfaces.NamingContext)
| +- admin-console (class: org.jnp.interfaces.NamingContext)
| +- induspn (class: org.jnp.interfaces.NamingContext)
| +- reports (class: org.jnp.interfaces.NamingContext)
| +- uuid-key-generator (class: org.jnp.interfaces.NamingContext)
| +- http-invoker (class: org.jnp.interfaces.NamingContext)
| | +- invoker (class: org.jnp.interfaces.NamingContext)
| +- abimporter (class: org.jnp.interfaces.NamingContext)
| +- vasadmin (class: org.jnp.interfaces.NamingContext)
| +- cdi (class: org.jnp.interfaces.NamingContext)
h1. Global JNDI Namespace
+- ozcommons (class: org.jnp.interfaces.NamingContext)
| +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
| +- metaData (class: org.jboss.metadata.client.jboss.JBossClientMetaData)
| +- classPathEntries (class: java.util.ArrayList)
+- UserTransactionSessionFactory (proxy: $Proxy130 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory)
+- persistence.unit:unitName=induspn.jar#vasdb (class: org.hibernate.impl.SessionFactoryImpl)
+- freemarker (class: org.jnp.interfaces.NamingContext)
| +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
| +- metaData (class: org.jboss.metadata.client.jboss.JBossClientMetaData)
| +- classPathEntries (class: java.util.ArrayList)
+- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory)
+- HiLoKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory)
+- SecureDeploymentManager (class: org.jnp.interfaces.NamingContext)
| +- remote[link -> DeploymentManager] (class: javax.naming.LinkRef)
+- SecureManagementView (class: org.jnp.interfaces.NamingContext)
| +- remote[link -> ManagementView] (class: javax.naming.LinkRef)
+- DeploymentManager (class: org.jboss.aop.generatedproxies.AOPProxy$4)
+- XAConnectionFactory (class: org.hornetq.jms.client.HornetQXAConnectionFactory)
+- twitter4j-core-2.1.3-SNAPSHOT (class: org.jnp.interfaces.NamingContext)
| +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
| +- metaData (class: org.jboss.metadata.client.jboss.JBossClientMetaData)
| +- classPathEntries (class: java.util.ArrayList)
+- ProfileService (class: org.jboss.aop.generatedproxies.AOPProxy$2)
+- persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb (class: org.hibernate.impl.SessionFactoryImpl)
+- SecureProfileService (class: org.jnp.interfaces.NamingContext)
| +- remote[link -> ProfileService] (class: javax.naming.LinkRef)
+- queue (class: org.jnp.interfaces.NamingContext)
| +- DLQ (class: org.hornetq.jms.client.HornetQQueue)
| +- ExpiryQueue (class: org.hornetq.jms.client.HornetQQueue)
+- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction)
+- ConnectionFactory (class: org.hornetq.jms.client.HornetQXAConnectionFactory)
+- jmx (class: org.jnp.interfaces.NamingContext)
| +- invoker (class: org.jnp.interfaces.NamingContext)
| | +- RMIAdaptor (class: javax.management.MBeanServerConnection)
| +- rmi (class: org.jnp.interfaces.NamingContext)
| | +- RMIAdaptor (class: javax.management.MBeanServerConnection)
+- persistence.unit:unitName=induspn.jar#vasdb1 (class: org.hibernate.impl.SessionFactoryImpl)
+- abimporter (class: org.jnp.interfaces.NamingContext)
| +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
| +- metaData (class: org.jboss.metadata.client.jboss.JBossClientMetaData)
| +- classPathEntries (class: java.util.ArrayList)
+- BeanValidatorFactories (class: org.jnp.interfaces.NamingContext)
+- TomcatAuthenticators (class: java.util.Properties)
+- XAThroughputConnectionFactory (class: org.hornetq.jms.client.HornetQXAConnectionFactory)
+- ManagementView (class: org.jboss.aop.generatedproxies.AOPProxy$3)
+- ThroughputConnectionFactory (class: org.hornetq.jms.client.HornetQXAConnectionFactory)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/637838#637838]
Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111122/ba8254d8/attachment.html
More information about the jboss-user
mailing list