3 Replies Latest reply on Dec 29, 2004 11:07 AM by Sacha Labourey

    Naming services not initialized

    Ranganaathan V V Newbie

      Hi All,
      My application is running on JBOSS-2.2.1_Tomcat-3.2.1. It says [Naming] Initialization failed. Its running on jdk1.3.1_10. OS - Win 2K. I'm pasting the error i got.

      Is there any security restriction on my JVM that is causing this problem ?

      Pls give me a immediate solution.

      Thx in advance
      Rangan VV
      ----------------------------------------

      [Webserver] Initializing
      [Webserver] Initialized
      [Naming] Initializing
      [Naming] Initialization failed
      [Naming] javax.naming.ServiceUnavailableException: Connection refused: connect.
      Root exception is java.net.ConnectException: Connection refused: connect

      [Naming] at java.net.PlainSocketImpl.socketConnect(Native Method)
      [Naming] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
      [Naming] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav
      a:137)
      [Naming] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
      [Naming] at java.net.Socket.(Socket.java:268)
      [Naming] at java.net.Socket.(Socket.java:95)
      [Naming] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java
      :94)
      [Naming] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:
      696)
      [Naming] at org.jnp.interfaces.NamingContext.(NamingContext.java:18
      0)
      [Naming] at org.jnp.interfaces.NamingContextFactory.getInitialContext(Nam
      ingContextFactory.java:38)
      [Naming] at javax.naming.spi.NamingManager.getInitialContext(NamingManage
      r.java:660)
      [Naming] at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.
      java:241)
      [Naming] at javax.naming.InitialContext.init(InitialContext.java:217)
      [Naming] at javax.naming.InitialContext.(InitialContext.java:173)
      [Naming] at org.jboss.naming.NamingService.initService(NamingService.java
      :94)
      [Naming] at org.jboss.util.ServiceMBeanSupport.init(ServiceMBeanSupport.j
      ava:67)
      [Naming] at java.lang.reflect.Method.invoke(Native Method)
      [Naming] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
      .java:1628)
      [Naming] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
      .java:1523)
      [Naming] at org.jboss.util.ServiceControl.init(ServiceControl.java:59)
      [Naming] at java.lang.reflect.Method.invoke(Native Method)
      [Naming] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
      .java:1628)
      [Naming] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
      .java:1523)