<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Re: NameNotFoundException with "Not Bound" message
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/memunis">Munna K</a> in <i>JNDI and Naming</i> - <a href="http://community.jboss.org/message/637838#637838">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Thanks.  But my JNDI view shows as below:</p><p>how could I correct my JNDI name.. can you help me identify where the issue is?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><h1>java: Namespace</h1><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><pre class="jive-pre">  +- hibernateDatasource (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)<br/>  +- securityManagement (class: org.jboss.security.integration.JNDIBasedSecurityManagement)<br/>  +- comp (class: javax.naming.Context)<br/>  |   +- TransactionSynchronizationRegistry[link -> java:TransactionSynchronizationRegistry] (class: javax.naming.LinkRef)<br/>  |   +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)<br/>  |   +- env (class: org.jnp.interfaces.NamingContext)<br/>  |   |   +- security (class: org.jnp.interfaces.NamingContext)<br/>  |   |   |   +- securityMgr[link -> java:/jaas/jboss-web-policy] (class: javax.naming.LinkRef)<br/>  |   |   |   +- subject[link -> java:/jaas/jboss-web-policy/subject] (class: javax.naming.LinkRef)<br/>  |   |   |   +- realmMapping[link -> java:/jaas/jboss-web-policy/realmMapping] (class: javax.naming.LinkRef)<br/>  |   |   |   +- security-domain[link -> java:/jaas/jboss-web-policy] (class: javax.naming.LinkRef)<br/>  |   |   |   +- authorizationMgr[link -> java:/jaas/jboss-web-policy/authorizationMgr] (class: javax.naming.LinkRef)<br/>  |   +- ORB[link -> java:/JBossCorbaORB] (class: javax.naming.LinkRef)<br/>  |   +- BeanManager (class: org.jnp.interfaces.MarshalledValuePair)<br/>  |   +- ModuleName (class: java.lang.String)<br/>  +- XAConnectionFactory (class: org.hornetq.jms.client.HornetQXAConnectionFactory)<br/>  +- JmsXA (class: org.hornetq.ra.HornetQRAConnectionFactoryImpl)<br/>  +- MySqlSnapProfile (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)<br/>  +- MySqlVasReadProfile (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)<br/>  +- policyRegistration (class: org.jboss.security.plugins.JBossPolicyRegistration)<br/>  +- TransactionPropagationContextImporter (class: com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager)<br/>  +- app (class: javax.naming.Context)<br/>  |   +- jmx-console (class: org.jnp.interfaces.NamingContext)<br/>  |   +- AppName (class: java.lang.String)<br/>  +- Mail (class: javax.mail.Session)<br/>  +- TransactionPropagationContextExporter (class: com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager)<br/>  +- ProfileService (class: org.jboss.profileservice.AbstractProfileService)<br/>  +- MySqlSnapReadProfile (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)<br/>  +- DefaultDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)<br/>  +- jaas (class: javax.naming.Context)<br/>  |   +- jmx-console (class: org.jboss.security.plugins.SecurityDomainContext)<br/>  |   +- jboss-ejb-policy (class: org.jboss.security.plugins.SecurityDomainContext)<br/>  |   +- hornetq (class: org.jboss.security.plugins.SecurityDomainContext)<br/>  +- TransactionSynchronizationRegistry (class: com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple)<br/>  +- SecurityProxyFactory (class: org.jboss.security.SubjectSecurityProxyFactory)<br/>  +- ConnectionFactory (class: org.hornetq.jms.client.HornetQXAConnectionFactory)<br/>  +- DefaultJMSProvider (class: org.jboss.jms.jndi.JNDIProviderAdapter)<br/>  +- TransactionManager (class: com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate)<br/>  +- timedCacheFactory (class: javax.naming.Context)<br/>Failed to lookup: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy cannot be cast to javax.naming.NamingEnumeration<br/>  +- module (class: javax.naming.Context)<br/>  |   +- TransactionSynchronizationRegistry[link -> java:TransactionSynchronizationRegistry] (class: javax.naming.LinkRef)<br/>  |   +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)<br/>  |   +- env (class: org.jnp.interfaces.NamingContext)<br/>  |   |   +- security (class: org.jnp.interfaces.NamingContext)<br/>  |   |   |   +- securityMgr[link -> java:/jaas/jboss-web-policy] (class: javax.naming.LinkRef)<br/>  |   |   |   +- subject[link -> java:/jaas/jboss-web-policy/subject] (class: javax.naming.LinkRef)<br/>  |   |   |   +- realmMapping[link -> java:/jaas/jboss-web-policy/realmMapping] (class: javax.naming.LinkRef)<br/>  |   |   |   +- security-domain[link -> java:/jaas/jboss-web-policy] (class: javax.naming.LinkRef)<br/>  |   |   |   +- authorizationMgr[link -> java:/jaas/jboss-web-policy/authorizationMgr] (class: javax.naming.LinkRef)<br/>  |   +- ORB[link -> java:/JBossCorbaORB] (class: javax.naming.LinkRef)<br/>  |   +- BeanManager (class: org.jnp.interfaces.MarshalledValuePair)<br/>  |   +- ModuleName (class: java.lang.String)<br/>  +- internal (class: org.jnp.interfaces.NamingContext)<br/>  |   +- EJBContext (class: javax.ejb.EJBContext)<br/>  |   +- TimerService (class: javax.ejb.TimerService)<br/>  +- MySqlVasProfile (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)<br/>  +- global (class: org.jnp.interfaces.NamingContext)<br/>  |   +- jmx-console (class: org.jnp.interfaces.NamingContext)<br/>  |   +- ozcommons (class: org.jnp.interfaces.NamingContext)<br/>  |   +- freemarker (class: org.jnp.interfaces.NamingContext)<br/>  |   +- ROOT (class: org.jnp.interfaces.NamingContext)<br/>  |   +- twitter4j-core-2.1.3-SNAPSHOT (class: org.jnp.interfaces.NamingContext)<br/>  |   +- trial (class: org.jnp.interfaces.NamingContext)<br/>  |   +- admin-console (class: org.jnp.interfaces.NamingContext)<br/>  |   +- induspn (class: org.jnp.interfaces.NamingContext)<br/>  |   +- reports (class: org.jnp.interfaces.NamingContext)<br/>  |   +- uuid-key-generator (class: org.jnp.interfaces.NamingContext)<br/>  |   +- http-invoker (class: org.jnp.interfaces.NamingContext)<br/>  |   |   +- invoker (class: org.jnp.interfaces.NamingContext)<br/>  |   +- abimporter (class: org.jnp.interfaces.NamingContext)<br/>  |   +- vasadmin (class: org.jnp.interfaces.NamingContext)<br/>  |   +- cdi (class: org.jnp.interfaces.NamingContext)<br/></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><h1>Global JNDI Namespace</h1><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><pre class="jive-pre">  +- ozcommons (class: org.jnp.interfaces.NamingContext)<br/>  |   +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)<br/>  |   +- metaData (class: org.jboss.metadata.client.jboss.JBossClientMetaData)<br/>  |   +- classPathEntries (class: java.util.ArrayList)<br/>  +- UserTransactionSessionFactory (proxy: $Proxy130 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory)<br/>  +- persistence.unit:unitName=induspn.jar#vasdb (class: org.hibernate.impl.SessionFactoryImpl)<br/>  +- freemarker (class: org.jnp.interfaces.NamingContext)<br/>  |   +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)<br/>  |   +- metaData (class: org.jboss.metadata.client.jboss.JBossClientMetaData)<br/>  |   +- classPathEntries (class: java.util.ArrayList)<br/>  +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory)<br/>  +- HiLoKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory)<br/>  +- SecureDeploymentManager (class: org.jnp.interfaces.NamingContext)<br/>  |   +- remote[link -> DeploymentManager] (class: javax.naming.LinkRef)<br/>  +- SecureManagementView (class: org.jnp.interfaces.NamingContext)<br/>  |   +- remote[link -> ManagementView] (class: javax.naming.LinkRef)<br/>  +- DeploymentManager (class: org.jboss.aop.generatedproxies.AOPProxy$4)<br/>  +- XAConnectionFactory (class: org.hornetq.jms.client.HornetQXAConnectionFactory)<br/>  +- twitter4j-core-2.1.3-SNAPSHOT (class: org.jnp.interfaces.NamingContext)<br/>  |   +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)<br/>  |   +- metaData (class: org.jboss.metadata.client.jboss.JBossClientMetaData)<br/>  |   +- classPathEntries (class: java.util.ArrayList)<br/>  +- ProfileService (class: org.jboss.aop.generatedproxies.AOPProxy$2)<br/>  +- persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb (class: org.hibernate.impl.SessionFactoryImpl)<br/>  +- SecureProfileService (class: org.jnp.interfaces.NamingContext)<br/>  |   +- remote[link -> ProfileService] (class: javax.naming.LinkRef)<br/>  +- queue (class: org.jnp.interfaces.NamingContext)<br/>  |   +- DLQ (class: org.hornetq.jms.client.HornetQQueue)<br/>  |   +- ExpiryQueue (class: org.hornetq.jms.client.HornetQQueue)<br/>  +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction)<br/>  +- ConnectionFactory (class: org.hornetq.jms.client.HornetQXAConnectionFactory)<br/>  +- jmx (class: org.jnp.interfaces.NamingContext)<br/>  |   +- invoker (class: org.jnp.interfaces.NamingContext)<br/>  |   |   +- RMIAdaptor (class: javax.management.MBeanServerConnection)<br/>  |   +- rmi (class: org.jnp.interfaces.NamingContext)<br/>  |   |   +- RMIAdaptor (class: javax.management.MBeanServerConnection)<br/>  +- persistence.unit:unitName=induspn.jar#vasdb1 (class: org.hibernate.impl.SessionFactoryImpl)<br/>  +- abimporter (class: org.jnp.interfaces.NamingContext)<br/>  |   +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)<br/>  |   +- metaData (class: org.jboss.metadata.client.jboss.JBossClientMetaData)<br/>  |   +- classPathEntries (class: java.util.ArrayList)<br/>  +- BeanValidatorFactories (class: org.jnp.interfaces.NamingContext)<br/>  +- TomcatAuthenticators (class: java.util.Properties)<br/>  +- XAThroughputConnectionFactory (class: org.hornetq.jms.client.HornetQXAConnectionFactory)<br/>  +- ManagementView (class: org.jboss.aop.generatedproxies.AOPProxy$3)<br/>  +- ThroughputConnectionFactory (class: org.hornetq.jms.client.HornetQXAConnectionFactory)<br/></pre></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/637838#637838">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JNDI and Naming at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>