[jboss-user] [JNDI/Naming/Network] - Re: Exception javax.naming.NameNotFoundException

ashusri000 do-not-reply at jboss.com
Thu Jun 28 09:39:43 EDT 2007


Hi All , 
    I am facing a similar problem after I deploy my datasource.xml file in the deploy directory . Then if I try to list the jndo tree from the server's web console then I face this error:




        
    18:50:34,953 ERROR [JNDIView] JNDIView.getHAJndiAttributes() failed
    java.lang.NullPointerException: name cannot be null
            at javax.management.ObjectName.construct(Unknown Source)
            at javax.management.ObjectName.(Unknown Source)
            at org.jboss.naming.JNDIView.getHAJndiAttributes(JNDIView.java:836)
            at org.jboss.naming.JNDIView.getHAUrl(JNDIView.java:811)
            at org.jboss.naming.JNDIView.listXML(JNDIView.java:327)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
    er.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
    or.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
    BeanOperationInterceptor.java:142)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
    java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:258)
            at org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:223)
            at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorSer
    vlet.java:262)
            at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdap
    torServlet.java:100)
            at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServl
    et.java:82)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:173)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
    lter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:202)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:173)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:213)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:178)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
    yAssociationValve.java:175)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
    e.java:74)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:126)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:105)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:107)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
    a:148)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
    :869)
            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
    rocessConnection(Http11BaseProtocol.java:664)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
    int.java:527)
            at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
    kerThread.java:112)
            at java.lang.Thread.run(Unknown Source)





View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058738#4058738

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058738



More information about the jboss-user mailing list