<!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.&#160; 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;">&#160;</p><h1>java: Namespace</h1><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="jive-pre">&#160; +- hibernateDatasource (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)<br/>&#160; +- securityManagement (class: org.jboss.security.integration.JNDIBasedSecurityManagement)<br/>&#160; +- comp (class: javax.naming.Context)<br/>&#160; |&#160;&#160; +- TransactionSynchronizationRegistry[link -&gt; java:TransactionSynchronizationRegistry] (class: javax.naming.LinkRef)<br/>&#160; |&#160;&#160; +- UserTransaction[link -&gt; UserTransaction] (class: javax.naming.LinkRef)<br/>&#160; |&#160;&#160; +- env (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; |&#160;&#160; +- security (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; |&#160;&#160; |&#160;&#160; +- securityMgr[link -&gt; java:/jaas/jboss-web-policy] (class: javax.naming.LinkRef)<br/>&#160; |&#160;&#160; |&#160;&#160; |&#160;&#160; +- subject[link -&gt; java:/jaas/jboss-web-policy/subject] (class: javax.naming.LinkRef)<br/>&#160; |&#160;&#160; |&#160;&#160; |&#160;&#160; +- realmMapping[link -&gt; java:/jaas/jboss-web-policy/realmMapping] (class: javax.naming.LinkRef)<br/>&#160; |&#160;&#160; |&#160;&#160; |&#160;&#160; +- security-domain[link -&gt; java:/jaas/jboss-web-policy] (class: javax.naming.LinkRef)<br/>&#160; |&#160;&#160; |&#160;&#160; |&#160;&#160; +- authorizationMgr[link -&gt; java:/jaas/jboss-web-policy/authorizationMgr] (class: javax.naming.LinkRef)<br/>&#160; |&#160;&#160; +- ORB[link -&gt; java:/JBossCorbaORB] (class: javax.naming.LinkRef)<br/>&#160; |&#160;&#160; +- BeanManager (class: org.jnp.interfaces.MarshalledValuePair)<br/>&#160; |&#160;&#160; +- ModuleName (class: java.lang.String)<br/>&#160; +- XAConnectionFactory (class: org.hornetq.jms.client.HornetQXAConnectionFactory)<br/>&#160; +- JmsXA (class: org.hornetq.ra.HornetQRAConnectionFactoryImpl)<br/>&#160; +- MySqlSnapProfile (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)<br/>&#160; +- MySqlVasReadProfile (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)<br/>&#160; +- policyRegistration (class: org.jboss.security.plugins.JBossPolicyRegistration)<br/>&#160; +- TransactionPropagationContextImporter (class: com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager)<br/>&#160; +- app (class: javax.naming.Context)<br/>&#160; |&#160;&#160; +- jmx-console (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- AppName (class: java.lang.String)<br/>&#160; +- Mail (class: javax.mail.Session)<br/>&#160; +- TransactionPropagationContextExporter (class: com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager)<br/>&#160; +- ProfileService (class: org.jboss.profileservice.AbstractProfileService)<br/>&#160; +- MySqlSnapReadProfile (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)<br/>&#160; +- DefaultDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)<br/>&#160; +- jaas (class: javax.naming.Context)<br/>&#160; |&#160;&#160; +- jmx-console (class: org.jboss.security.plugins.SecurityDomainContext)<br/>&#160; |&#160;&#160; +- jboss-ejb-policy (class: org.jboss.security.plugins.SecurityDomainContext)<br/>&#160; |&#160;&#160; +- hornetq (class: org.jboss.security.plugins.SecurityDomainContext)<br/>&#160; +- TransactionSynchronizationRegistry (class: com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple)<br/>&#160; +- SecurityProxyFactory (class: org.jboss.security.SubjectSecurityProxyFactory)<br/>&#160; +- ConnectionFactory (class: org.hornetq.jms.client.HornetQXAConnectionFactory)<br/>&#160; +- DefaultJMSProvider (class: org.jboss.jms.jndi.JNDIProviderAdapter)<br/>&#160; +- TransactionManager (class: com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate)<br/>&#160; +- timedCacheFactory (class: javax.naming.Context)<br/>Failed to lookup: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy cannot be cast to javax.naming.NamingEnumeration<br/>&#160; +- module (class: javax.naming.Context)<br/>&#160; |&#160;&#160; +- TransactionSynchronizationRegistry[link -&gt; java:TransactionSynchronizationRegistry] (class: javax.naming.LinkRef)<br/>&#160; |&#160;&#160; +- UserTransaction[link -&gt; UserTransaction] (class: javax.naming.LinkRef)<br/>&#160; |&#160;&#160; +- env (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; |&#160;&#160; +- security (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; |&#160;&#160; |&#160;&#160; +- securityMgr[link -&gt; java:/jaas/jboss-web-policy] (class: javax.naming.LinkRef)<br/>&#160; |&#160;&#160; |&#160;&#160; |&#160;&#160; +- subject[link -&gt; java:/jaas/jboss-web-policy/subject] (class: javax.naming.LinkRef)<br/>&#160; |&#160;&#160; |&#160;&#160; |&#160;&#160; +- realmMapping[link -&gt; java:/jaas/jboss-web-policy/realmMapping] (class: javax.naming.LinkRef)<br/>&#160; |&#160;&#160; |&#160;&#160; |&#160;&#160; +- security-domain[link -&gt; java:/jaas/jboss-web-policy] (class: javax.naming.LinkRef)<br/>&#160; |&#160;&#160; |&#160;&#160; |&#160;&#160; +- authorizationMgr[link -&gt; java:/jaas/jboss-web-policy/authorizationMgr] (class: javax.naming.LinkRef)<br/>&#160; |&#160;&#160; +- ORB[link -&gt; java:/JBossCorbaORB] (class: javax.naming.LinkRef)<br/>&#160; |&#160;&#160; +- BeanManager (class: org.jnp.interfaces.MarshalledValuePair)<br/>&#160; |&#160;&#160; +- ModuleName (class: java.lang.String)<br/>&#160; +- internal (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- EJBContext (class: javax.ejb.EJBContext)<br/>&#160; |&#160;&#160; +- TimerService (class: javax.ejb.TimerService)<br/>&#160; +- MySqlVasProfile (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)<br/>&#160; +- global (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- jmx-console (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- ozcommons (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- freemarker (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- ROOT (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- twitter4j-core-2.1.3-SNAPSHOT (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- trial (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- admin-console (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- induspn (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- reports (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- uuid-key-generator (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- http-invoker (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; |&#160;&#160; +- invoker (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- abimporter (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- vasadmin (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- cdi (class: org.jnp.interfaces.NamingContext)<br/></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><h1>Global JNDI Namespace</h1><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="jive-pre">&#160; +- ozcommons (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- UserTransaction[link -&gt; UserTransaction] (class: javax.naming.LinkRef)<br/>&#160; |&#160;&#160; +- metaData (class: org.jboss.metadata.client.jboss.JBossClientMetaData)<br/>&#160; |&#160;&#160; +- classPathEntries (class: java.util.ArrayList)<br/>&#160; +- UserTransactionSessionFactory (proxy: $Proxy130 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory)<br/>&#160; +- persistence.unit:unitName=induspn.jar#vasdb (class: org.hibernate.impl.SessionFactoryImpl)<br/>&#160; +- freemarker (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- UserTransaction[link -&gt; UserTransaction] (class: javax.naming.LinkRef)<br/>&#160; |&#160;&#160; +- metaData (class: org.jboss.metadata.client.jboss.JBossClientMetaData)<br/>&#160; |&#160;&#160; +- classPathEntries (class: java.util.ArrayList)<br/>&#160; +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory)<br/>&#160; +- HiLoKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory)<br/>&#160; +- SecureDeploymentManager (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- remote[link -&gt; DeploymentManager] (class: javax.naming.LinkRef)<br/>&#160; +- SecureManagementView (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- remote[link -&gt; ManagementView] (class: javax.naming.LinkRef)<br/>&#160; +- DeploymentManager (class: org.jboss.aop.generatedproxies.AOPProxy$4)<br/>&#160; +- XAConnectionFactory (class: org.hornetq.jms.client.HornetQXAConnectionFactory)<br/>&#160; +- twitter4j-core-2.1.3-SNAPSHOT (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- UserTransaction[link -&gt; UserTransaction] (class: javax.naming.LinkRef)<br/>&#160; |&#160;&#160; +- metaData (class: org.jboss.metadata.client.jboss.JBossClientMetaData)<br/>&#160; |&#160;&#160; +- classPathEntries (class: java.util.ArrayList)<br/>&#160; +- ProfileService (class: org.jboss.aop.generatedproxies.AOPProxy$2)<br/>&#160; +- persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb (class: org.hibernate.impl.SessionFactoryImpl)<br/>&#160; +- SecureProfileService (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- remote[link -&gt; ProfileService] (class: javax.naming.LinkRef)<br/>&#160; +- queue (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- DLQ (class: org.hornetq.jms.client.HornetQQueue)<br/>&#160; |&#160;&#160; +- ExpiryQueue (class: org.hornetq.jms.client.HornetQQueue)<br/>&#160; +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction)<br/>&#160; +- ConnectionFactory (class: org.hornetq.jms.client.HornetQXAConnectionFactory)<br/>&#160; +- jmx (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- invoker (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; |&#160;&#160; +- RMIAdaptor (class: javax.management.MBeanServerConnection)<br/>&#160; |&#160;&#160; +- rmi (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; |&#160;&#160; +- RMIAdaptor (class: javax.management.MBeanServerConnection)<br/>&#160; +- persistence.unit:unitName=induspn.jar#vasdb1 (class: org.hibernate.impl.SessionFactoryImpl)<br/>&#160; +- abimporter (class: org.jnp.interfaces.NamingContext)<br/>&#160; |&#160;&#160; +- UserTransaction[link -&gt; UserTransaction] (class: javax.naming.LinkRef)<br/>&#160; |&#160;&#160; +- metaData (class: org.jboss.metadata.client.jboss.JBossClientMetaData)<br/>&#160; |&#160;&#160; +- classPathEntries (class: java.util.ArrayList)<br/>&#160; +- BeanValidatorFactories (class: org.jnp.interfaces.NamingContext)<br/>&#160; +- TomcatAuthenticators (class: java.util.Properties)<br/>&#160; +- XAThroughputConnectionFactory (class: org.hornetq.jms.client.HornetQXAConnectionFactory)<br/>&#160; +- ManagementView (class: org.jboss.aop.generatedproxies.AOPProxy$3)<br/>&#160; +- 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>