1 Reply Latest reply on Apr 28, 2004 5:21 PM by Matt Corey

    ExternalContext and NIS

    Matt Corey Newbie

      Can the ExternalContext MBean be used to attach to an external NIS installation? Ultimately I plan to use a JAAS LoginModule to access this for authentication, however when I attempt to configure it, I start seeing problems with the JNDIView MBean. The appropriate section in jboss-service.xml looks like:

      mbean code="org.jboss.naming.ExternalContext"
      name="jboss:service=ExternalContext,jndiName=external/nis"
      attribute name="JndiName" external/nis /attribute
      attribute name="PropertiesURL" nis.properties /attribute
      attribute name="RemoteAccess" false /attribute
      attribute name="CacheContext" false /attribute
      /mbean

      and the contents of 'nis.properties' looks like:

      java.naming.factory.initial=com.sun.jndi.nis.NISCtxFactory
      java.naming.provider.url=nis://master-svr/webfarm

      In this case, 'master-svr' is the server where the nis server daemon runs, and 'webfarm' is the domain that is configured. Everything appears to start up fine in this case, but when I invoke the 'list' operation from the JNDIView MBean, it spins for a while, and eventually gives me a NoClassDefFoundError on org.jboss.jmx.adaptor.control.OpResultInfo (full stack trace below).

      I also noticed that while it is spinning, the server that JBoss is installed on opens over 1000 connections to the 'master-svr', which I found by running netstat (I eventually start getting warnings about too many file handles open, because the open network connections count against my available OS file handles). These connections don't go away until I shut down JBoss.

      Is what I'm attempting possible? Is there a better way to authenticate against NIS? Is it a possible problem with our NIS config?

      Stack trace:
      java.lang.NoClassDefFoundError: org/jboss/jmx/adaptor/control/OpResultInfo
      at org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:235)
      at org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:200)
      at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:241)
      at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:79)
      at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:61)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:553)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
      at java.lang.Thread.run(Thread.java:534)

        • 1. Re: ExternalContext and NIS
          Matt Corey Newbie

          Found another interesting twist. If I configure the nis.properties file to point to nis://localhost/webfarm (NIS runs as a client on the JBoss machines), I get different results from the JNDIView MBean. In this case, it works, and it attempts to show the contents of the attached tree, but it gives errors at each entry underneith 'external/nis' (full tree below).

           +- external (class: org.jnp.interfaces.NamingContext)
           | +- nis (class: javax.naming.Context)
           | | +- user (class: com.sun.jndi.nis.NISCtxPasswd)
          error while listing context com.sun.jndi.nis.NISCtxPasswd@c2b8eb: javax.naming.CommunicationException [Root exception is java.io.IOException: com.sun.jndi.internal.onc.rpc.portmapper.getport: program 100004.2 not registered]
          
          javax.naming.CommunicationException [Root exception is java.io.IOException: com.sun.jndi.internal.onc.rpc.portmapper.getport: program 100004.2 not registered]
           at com.sun.jndi.nis.NISMap$GetAllWorker.(NISMap.java:121)
           at com.sun.jndi.nis.NISMap.getAllEntries(NISMap.java:174)
           at com.sun.jndi.nis.NISCtx.c_list(NISCtx.java:227)
           at com.sun.jndi.toolkit.ctx.ComponentContext.p_list(ComponentContext.java:555)
           at com.sun.jndi.toolkit.ctx.PartialCompositeContext.list(PartialCompositeContext.java:273)
           at com.sun.jndi.toolkit.ctx.PartialCompositeContext.list(PartialCompositeContext.java:262)
           at org.jboss.naming.JNDIView.list(JNDIView.java:293)
           at org.jboss.naming.JNDIView.list(JNDIView.java:404)
           at org.jboss.naming.JNDIView.list(JNDIView.java:404)
           at org.jboss.naming.JNDIView.list(JNDIView.java:404)
           at org.jboss.naming.JNDIView.list(JNDIView.java:157)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:324)
           at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
           at org.jboss.mx.interceptor.ObjectReferenceInterceptor.invoke(ObjectReferenceInterceptor.java:59)
           at org.jboss.mx.interceptor.MBeanAttributeInterceptor.invoke(MBeanAttributeInterceptor.java:43)
           at org.jboss.mx.interceptor.PersistenceInterceptor2.invoke(PersistenceInterceptor2.java:93)
           at org.jboss.mx.server.MBeanInvoker.invoke(MBeanInvoker.java:76)
           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
           at org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:234)
           at org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:200)
           at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:241)
           at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:79)
           at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:61)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
           at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:553)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
           at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
           at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
           at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
           at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
           at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
           at java.lang.Thread.run(Thread.java:534)
          Caused by: java.io.IOException: com.sun.jndi.internal.onc.rpc.portmapper.getport: program 100004.2 not registered
           at com.sun.jndi.internal.onc.rpc.portmapper.getport(portmapper.java:119)
           at com.sun.jndi.internal.onc.yp.service2.(service2.java:126)
           at com.sun.jndi.nis.NISMap$GetAllWorker.(NISMap.java:115)
           ... 68 more
          
          
           | | +- host (class: com.sun.jndi.nis.NISCtxHosts)
          error while listing context com.sun.jndi.nis.NISCtxHosts@1f67efb: javax.naming.CommunicationException [Root exception is java.io.IOException: com.sun.jndi.internal.onc.rpc.portmapper.getport: program 100004.2 not registered]
          
          javax.naming.CommunicationException [Root exception is java.io.IOException: com.sun.jndi.internal.onc.rpc.portmapper.getport: program 100004.2 not registered]
           at com.sun.jndi.nis.NISMap$GetAllWorker.(NISMap.java:121)
           at com.sun.jndi.nis.NISMap.getAllEntries(NISMap.java:174)
           at com.sun.jndi.nis.NISCtx.c_list(NISCtx.java:227)
           at com.sun.jndi.toolkit.ctx.ComponentContext.p_list(ComponentContext.java:555)
           at com.sun.jndi.toolkit.ctx.PartialCompositeContext.list(PartialCompositeContext.java:273)
           at com.sun.jndi.toolkit.ctx.PartialCompositeContext.list(PartialCompositeContext.java:262)
           at org.jboss.naming.JNDIView.list(JNDIView.java:293)
           at org.jboss.naming.JNDIView.list(JNDIView.java:404)
           at org.jboss.naming.JNDIView.list(JNDIView.java:404)
           at org.jboss.naming.JNDIView.list(JNDIView.java:404)
           at org.jboss.naming.JNDIView.list(JNDIView.java:157)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:324)
           at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
           at org.jboss.mx.interceptor.ObjectReferenceInterceptor.invoke(ObjectReferenceInterceptor.java:59)
           at org.jboss.mx.interceptor.MBeanAttributeInterceptor.invoke(MBeanAttributeInterceptor.java:43)
           at org.jboss.mx.interceptor.PersistenceInterceptor2.invoke(PersistenceInterceptor2.java:93)
           at org.jboss.mx.server.MBeanInvoker.invoke(MBeanInvoker.java:76)
           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
           at org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:234)
           at org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:200)
           at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:241)
           at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:79)
           at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:61)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
           at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:553)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
           at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
           at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
           at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
           at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
           at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
           at java.lang.Thread.run(Thread.java:534)
          Caused by: java.io.IOException: com.sun.jndi.internal.onc.rpc.portmapper.getport: program 100004.2 not registered
           at com.sun.jndi.internal.onc.rpc.portmapper.getport(portmapper.java:119)
           at com.sun.jndi.internal.onc.yp.service2.(service2.java:126)
           at com.sun.jndi.nis.NISMap$GetAllWorker.(NISMap.java:115)
           ... 68 more
          
          
           | | +- system (class: com.sun.jndi.nis.NISMapList)
          error while listing context com.sun.jndi.nis.NISMapList@1811015: javax.naming.NamingException [Root exception is java.io.IOException: com.sun.jndi.internal.onc.rpc.portmapper.getport: program 100004.2 not registered]
          
          javax.naming.NamingException [Root exception is java.io.IOException: com.sun.jndi.internal.onc.rpc.portmapper.getport: program 100004.2 not registered]
           at com.sun.jndi.nis.NISMapList.getMapList(NISMapList.java:329)
           at com.sun.jndi.nis.NISMapList.getNameClassList(NISMapList.java:102)
           at com.sun.jndi.nis.NISBaseCtx.c_list(NISBaseCtx.java:376)
           at com.sun.jndi.toolkit.ctx.ComponentContext.p_list(ComponentContext.java:555)
           at com.sun.jndi.toolkit.ctx.PartialCompositeContext.list(PartialCompositeContext.java:273)
           at com.sun.jndi.toolkit.ctx.PartialCompositeContext.list(PartialCompositeContext.java:262)
           at org.jboss.naming.JNDIView.list(JNDIView.java:293)
           at org.jboss.naming.JNDIView.list(JNDIView.java:404)
           at org.jboss.naming.JNDIView.list(JNDIView.java:404)
           at org.jboss.naming.JNDIView.list(JNDIView.java:404)
           at org.jboss.naming.JNDIView.list(JNDIView.java:157)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:324)
           at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
           at org.jboss.mx.interceptor.ObjectReferenceInterceptor.invoke(ObjectReferenceInterceptor.java:59)
           at org.jboss.mx.interceptor.MBeanAttributeInterceptor.invoke(MBeanAttributeInterceptor.java:43)
           at org.jboss.mx.interceptor.PersistenceInterceptor2.invoke(PersistenceInterceptor2.java:93)
           at org.jboss.mx.server.MBeanInvoker.invoke(MBeanInvoker.java:76)
           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
           at org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:234)
           at org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:200)
           at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:241)
           at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:79)
           at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:61)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
           at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:553)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
           at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
           at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
           at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
           at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
           at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
           at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
           at java.lang.Thread.run(Thread.java:534)
          Caused by: java.io.IOException: com.sun.jndi.internal.onc.rpc.portmapper.getport: program 100004.2 not registered
           at com.sun.jndi.internal.onc.rpc.portmapper.getport(portmapper.java:119)
           at com.sun.jndi.internal.onc.yp.service2.(service2.java:126)
           at com.sun.jndi.nis.NISMapList.getMapList(NISMapList.java:313)
           ... 68 more