0 Replies Latest reply on Jun 27, 2007 12:34 PM by Vijay Sekhri

    Unexpected exception caught: javax.naming.NameNotFoundExcept

    Vijay Sekhri Newbie

      Hello,
      I am trying to develop a simple jsp web page that use ADF faces and an session EJB with toplink. The simple jsp page only displays the contents of the database table on the web. I followed a procedure mentioned in Jdeveloper tutorial to make 3 projects
      a) datamodel with seesion EJB and toplink, (ejb1.jar)
      b) userinterface (with dependency on datamodel project ) which have a simple jsp page that uses the seesion bean in datamodel project (webapp1.war)
      c) deployment project to deploy the whole application including the EJB as jar file and the JSP as war file (application.ear)


      I deploy application.ear that in turn deployes ejb1.jar and webapp1.war with it

      When I run page in the embedded oc4j container it works fine but when I run this on Jboss 4.0.5.GA, I get the following error

      *********************************************************************************************************************************************************

      oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: javax.naming.NameNotFoundException, msg=SessionEJB not bound
      oracle.adf.model.adapter.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:178)
      oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)
      oracle.adf.model.BindingContext.get(BindingContext.java:457)
      oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
      oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
      oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
      oracle.adf.model.binding.DCIteratorBinding.(DCIteratorBinding.java:127)
      oracle.jbo.uicli.binding.JUIteratorBinding.(JUIteratorBinding.java:60)
      oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.(JUMethodIteratorDef.java:138)
      oracle.jbo.uicli.binding.JUMethodIteratorDef.createIterBinding(JUMethodIteratorDef.java:93)
      oracle.jbo.uicli.binding.JUMethodIteratorDef.createIterBinding(JUMethodIteratorDef.java:84)
      oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
      oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
      oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
      oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
      oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
      oracle.adf.model.BindingContext.get(BindingContext.java:483)
      oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)
      oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)
      oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265)
      oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169)
      oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


      Here is what my web.xml looks like
      *********************************************************************************************************************************************************
      <?xml version = '1.0' encoding = 'windows-1252'?>
      <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
      Empty web.xml file for Web Application
      <context-param>
      <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
      <param-value>client</param-value>
      </context-param>

      <context-param>
      <param-name>CpxFileName</param-name>
      <param-value>userif.DataBindings</param-value>
      </context-param>

      <filter-name>adfBindings</filter-name>
      <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>


      <filter-name>adfFaces</filter-name>
      <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>

      <filter-mapping>
      <filter-name>adfBindings</filter-name>
      <url-pattern>*.jsp</url-pattern>
      </filter-mapping>
      <filter-mapping>
      <filter-name>adfBindings</filter-name>
      <url-pattern>*.jspx</url-pattern>
      </filter-mapping>
      <filter-mapping>
      <filter-name>adfFaces</filter-name>
      <url-pattern>*.jsp</url-pattern>
      </filter-mapping>
      <filter-mapping>
      <filter-name>adfFaces</filter-name>
      <url-pattern>*.jspx</url-pattern>
      </filter-mapping>


      <servlet-mapping>
      <servlet-name>javax.faces.FacesServlet</servlet-name>
      <url-pattern>*.faces</url-pattern>
      </servlet-mapping!-->


      <servlet-name>Faces Servlet</servlet-name>
      <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
      <load-on-startup>1</load-on-startup>


      <servlet-name>resources</servlet-name>
      <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>

      <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>/faces/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
      <servlet-name>resources</servlet-name>
      <url-pattern>/adf/*</url-pattern>
      </servlet-mapping>
      <session-config>
      <session-timeout>35</session-timeout>
      </session-config>
      <mime-mapping>
      html
      <mime-type>text/html</mime-type>
      </mime-mapping>
      <mime-mapping>
      txt
      <mime-type>text/plain</mime-type>
      </mime-mapping>



      <listener-class>com.sun.faces.config.ConfigureListener</listener-class>

      <ejb-local-ref>
      <ejb-ref-name>ejb/local/SessionEJB</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      oracle.srdemo.SessionEJBLocal
      <local-home>oracle.srdemo.SessionEJBLocal</local-home>
      <ejb-link>ejb/local/SessionEJB</ejb-link>
      </ejb-local-ref>
      </web-app>


      Here is what my jboss-web.xml looks like
      *********************************************************************************************************************************************************
      <?xml version='1.0' encoding='ISO-8859-1'?>
      <!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.3//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd">
      <jboss-web>

      <ejb-local-ref>

      <ejb-ref-name>ejb/local/SessionEJB</ejb-ref-name>
      <local-jndi-name>SessionEJBLocalHome</local-jndi-name>

      </ejb-local-ref>

      </jboss-web>


      Here is what the deployment to jboss snapshot looks like
      *********************************************************************************************************************************************************

      10:24:38,140 INFO [TomcatDeployer] undeploy, ctxPath=/test, warUrl=.../tmp/deploy/tmp19777application1.ear-contents/webapp1-exp.war/
      10:24:39,453 INFO [EARDeployer] Undeploying J2EE application, destroy step: file:/C:/Documents and Settings/Vijay Sekhri/Desktop/jboss-4.0.5.GA/
      jboss-4.0.5.GA/server/default/deploy/application1.ear
      10:24:39,468 INFO [EARDeployer] Undeployed J2EE application: file:/C:/Documents and Settings/Vijay Sekhri/Desktop/jboss-4.0.5.GA/jboss-4.0.5.GA/
      server/default/deploy/application1.ear
      10:24:39,640 INFO [EARDeployer] Init J2EE application: file:/C:/Documents and Settings/Vijay Sekhri/Desktop/jboss-4.0.5.GA/jboss-4.0.5.GA/server
      /default/deploy/application1.ear
      10:24:44,640 INFO [TomcatDeployer] deploy, ctxPath=/test, warUrl=.../tmp/deploy/tmp19778application1.ear-contents/webapp1-exp.war/
      10:24:45,468 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null)
      10:24:45,468 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(null,java.lang.Short)
      10:24:45,468 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(javax.faces.Byte,null)
      10:24:45,468 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(null,java.lang.Byte)
      10:24:45,468 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(javax.faces.Integer,null)
      10:24:45,468 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(null,java.lang.Integer)
      10:24:45,468 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)
      10:24:45,484 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)
      10:24:45,484 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)
      10:24:45,484 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)
      10:24:45,484 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)
      10:24:45,484 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)
      10:24:45,484 WARN [Digester] [ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)
      10:24:45,484 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null)
      10:24:45,484 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(javax.faces.Number,null)
      10:24:47,906 ERROR [STDERR] Jun 27, 2007 10:24:47 AM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
      INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
      10:24:47,937 INFO [EARDeployer] Started J2EE application: file:/C:/Documents and Settings/Vijay Sekhri/Desktop/jboss-4.0.5.GA/jboss-4.0.5.GA/ser
      ver/default/deploy/application1.ear
      *********************************************************************************************************************************************************


      Here is what the webapp.war contains
      *********************************************************************************************************************************************************

      C:\Program Files\Java\jdk1.6.0_01\bin>jar tf "C:\Documents and Settings\Vijay Sekhri\Desktop\jdevstudio10132\jdev\mywork\test3\userif\deploy\weba
      pp1.war"
      WEB-INF/adf-faces-config.xml
      WEB-INF/classes/META-INF/adfm.xml
      WEB-INF/classes/META-INF/mymap.xml
      WEB-INF/classes/META-INF/sessions.xml
      WEB-INF/classes/UpdateableCollection.xml
      WEB-INF/classes/UpdateableSingleValue.xml
      WEB-INF/classes/dm.cdi
      WEB-INF/classes/oracle/srdemo/DataControls.dcx
      WEB-INF/classes/oracle/srdemo/ExpertiseAreas.class
      WEB-INF/classes/oracle/srdemo/ExpertiseAreas.xml
      WEB-INF/classes/oracle/srdemo/Products.class
      WEB-INF/classes/oracle/srdemo/Products.xml
      WEB-INF/classes/oracle/srdemo/ServiceHistories.class
      WEB-INF/classes/oracle/srdemo/ServiceHistories.xml
      WEB-INF/classes/oracle/srdemo/ServiceRequests.class
      WEB-INF/classes/oracle/srdemo/ServiceRequests.xml
      WEB-INF/classes/oracle/srdemo/SessionEJB.class
      WEB-INF/classes/oracle/srdemo/SessionEJBBean.class
      WEB-INF/classes/oracle/srdemo/SessionEJBLocal.class
      WEB-INF/classes/oracle/srdemo/SessionEJBLocal.xml
      WEB-INF/classes/oracle/srdemo/Users.class
      WEB-INF/classes/oracle/srdemo/Users.xml
      WEB-INF/classes/userif.cdi
      WEB-INF/classes/userif/DataBindings.cpx
      WEB-INF/classes/userif/backing/Home.class
      WEB-INF/classes/userif/pageDefs/homePageDef.xml
      WEB-INF/faces-config.xml
      WEB-INF/jboss-web.xml
      WEB-INF/lib/adf-controller.jar
      WEB-INF/lib/adf-faces-api.jar
      WEB-INF/lib/adf-faces-impl.jar
      WEB-INF/lib/commons-beanutils.jar
      WEB-INF/lib/commons-collections.jar
      WEB-INF/lib/commons-digester.jar
      WEB-INF/lib/commons-logging-api.jar
      WEB-INF/lib/commons-logging.jar
      WEB-INF/lib/dc-adapters.jar
      WEB-INF/lib/jsf-api.jar
      WEB-INF/lib/jsf-impl.jar
      WEB-INF/lib/jstl.jar
      WEB-INF/temp/adf/styles/cache/oracle-desktop-10_1_3_2_0-en-ie-6-windows-s.css
      WEB-INF/web.xml
      home.jsp

      Here is what the ejb1.jar conatins
      *********************************************************************************************************************************************************
      C:\Program Files\Java\jdk1.6.0_01\bin>jar tf "C:\Documents and Settings\Vijay Sekhri\Desktop\jdevstudio10132\jdev\mywork\test3\dm\deploy\ejb1.jar
      "
      META-INF/MANIFEST.MF
      META-INF/adfm.xml
      META-INF/mymap.xml
      META-INF/sessions.xml
      UpdateableCollection.xml
      UpdateableSingleValue.xml
      oracle/srdemo/DataControls.dcx
      oracle/srdemo/ExpertiseAreas.class
      oracle/srdemo/ExpertiseAreas.xml
      oracle/srdemo/Products.class
      oracle/srdemo/Products.xml
      oracle/srdemo/ServiceHistories.class
      oracle/srdemo/ServiceHistories.xml
      oracle/srdemo/ServiceRequests.class
      oracle/srdemo/ServiceRequests.xml
      oracle/srdemo/SessionEJB.class
      oracle/srdemo/SessionEJBBean.class
      oracle/srdemo/SessionEJBLocal.class
      oracle/srdemo/SessionEJBLocal.xml
      oracle/srdemo/Users.class
      oracle/srdemo/Users.xml


      Here is what my application.ear file contains
      *********************************************************************************************************************************************************
      C:\Program Files\Java\jdk1.6.0_01\bin>jar tf "C:\Documents and Settings\Vijay Sekhri\Desktop\jdevstudio10132\jdev\mywork\test3\deploy\deploy\app
      ication1.ear"
      META-INF/application.xml
      adf-faces-impl.jar
      ejb1.jar
      jsf-impl.jar
      webapp1.war


      This is what the Jboss JMX MBean Operation Result list() lookis like
      *********************************************************************************************************************************************************


      Web Applications

      java:comp namespace of the console-mgr.sar/web-console.war application:

      +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
      +- 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 http-invoker.sar/invoker.war application:

      +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
      +- env (class: org.jnp.interfaces.NamingContext)
      | +- security (class: org.jnp.interfaces.NamingContext)
      | | +- realmMapping[link -> java:/jaas/jmx-console] (class: javax.naming.LinkRef)
      | | +- subject[link -> java:/jaas/jmx-console/subject] (class: javax.naming.LinkRef)
      | | +- securityMgr[link -> java:/jaas/jmx-console] (class: javax.naming.LinkRef)
      | | +- security-domain[link -> java:/jaas/jmx-console] (class: javax.naming.LinkRef)


      java:comp namespace of the jbossweb-tomcat55.sar/ROOT.war application:

      +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
      +- 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 jbossmq-httpil.sar/jbossmq-httpil.war application:

      +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
      +- env (class: org.jnp.interfaces.NamingContext)
      | +- security (class: org.jnp.interfaces.NamingContext)
      | | +- realmMapping[link -> java:/jaas/jbossmq] (class: javax.naming.LinkRef)
      | | +- subject[link -> java:/jaas/jbossmq/subject] (class: javax.naming.LinkRef)
      | | +- securityMgr[link -> java:/jaas/jbossmq] (class: javax.naming.LinkRef)
      | | +- security-domain[link -> java:/jaas/jbossmq] (class: javax.naming.LinkRef)


      java:comp namespace of the jbossws14.sar/jbossws-context.war application:

      +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
      +- 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 jmx-console.war application:

      +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
      +- 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 application1.ear/webapp1.war application:

      +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
      +- env (class: org.jnp.interfaces.NamingContext)
      | +- ejb (class: org.jnp.interfaces.NamingContext)
      | | +- local (class: org.jnp.interfaces.NamingContext)
      | | | +- SessionEJB[link -> SessionEJBLocalHome] (class: javax.naming.LinkRef)
      | +- 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 datatags.ear/webapp.war application:

      +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
      +- 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 webapp1.ear/webapp1.war application:

      +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
      +- env (class: org.jnp.interfaces.NamingContext)
      | +- ejb (class: org.jnp.interfaces.NamingContext)
      | | +- local (class: org.jnp.interfaces.NamingContext)
      | | | +- SessionEJB[link -> ejb/local/SessionEJBLocalHome] (class: javax.naming.LinkRef)
      | +- 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

      +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
      +- DefaultDS (class: javax.sql.DataSource)
      +- SecurityProxyFactory (class: org.jboss.security.SubjectSecurityProxyFactory)
      +- DefaultJMSProvider (class: org.jboss.jms.jndi.JNDIProviderAdapter)
      +- comp (class: javax.naming.Context)
      +- JmsXA (class: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl)
      +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
      +- jaas (class: javax.naming.Context)
      | +- other (class: org.jboss.security.plugins.SecurityDomainContext)
      | +- HsqlDbRealm (class: org.jboss.security.plugins.SecurityDomainContext)
      | +- jbossmq (class: org.jboss.security.plugins.SecurityDomainContext)
      | +- JmsXARealm (class: org.jboss.security.plugins.SecurityDomainContext)
      +- timedCacheFactory (class: javax.naming.Context)
      Failed to lookup: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy cannot be cast to javax.naming.NamingEnumeration
      +- TransactionPropagationContextExporter (class: org.jboss.tm.TransactionPropagationContextFactory)
      +- StdJMSPool (class: org.jboss.jms.asf.StdServerSessionPoolFactory)
      +- Mail (class: javax.mail.Session)
      +- TransactionPropagationContextImporter (class: org.jboss.tm.TransactionPropagationContextImporter)
      +- TransactionManager (class: org.jboss.tm.TxManager)


      Global JNDI Namespace

      +- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair)
      +- jmx (class: org.jnp.interfaces.NamingContext)
      | +- invoker (class: org.jnp.interfaces.NamingContext)
      | | +- RMIAdaptor (proxy: $Proxy42 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)
      +- 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)
      +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction)
      +- UILXAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef)
      +- UIL2XAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef)
      +- 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)
      +- topic (class: org.jnp.interfaces.NamingContext)
      | +- testDurableTopic (class: org.jboss.mq.SpyTopic)
      | +- testTopic (class: org.jboss.mq.SpyTopic)
      | +- securedTopic (class: org.jboss.mq.SpyTopic)
      +- console (class: org.jnp.interfaces.NamingContext)
      | +- PluginManager (proxy: $Proxy43 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)





      Any help will be appreciated.
      Thank you

      Vijay