javax.naming.ServiceUnavailableException: null at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101) [na:1.6.0_17] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107) [na:1.6.0_17]

Sakai JIRA | Stephen Bayliss | 5 years ago
  1. 0

    If the log level is set to DEBUG, the resource index module fails to start. Also once the server has started in this state it fails to shutdown cleanly. Exceptions reported: Tomcat log: ************************** ** FEDORA STARTUP ERROR ** ************************** Fedora startup failed org.fcrepo.server.errors.ModuleInitializationException: Error initializing RI at org.fcrepo.server.resourceIndex.ResourceIndexModule.postInitModule(Re sourceIndexModule.java:127) at org.fcrepo.server.Server.<init>(Server.java:644) at org.fcrepo.server.BasicServer.<init>(BasicServer.java:41) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.fcrepo.server.Server.getInstance(Server.java:1239) at org.fcrepo.server.ServerController.init(ServerController.java:403) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper. java:1173) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:99 3) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex t.java:4350) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 659) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase .java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77 1) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja va:637) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j ava:563) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498 ) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java :321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl eSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445 ) at org.apache.catalina.core.StandardService.start(StandardService.java:5 19) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710 ) at org.apache.catalina.startup.Catalina.start(Catalina.java:581) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.UnsupportedOperationException: This MulgaraConnector is rea d-only! at org.trippi.impl.mulgara.MulgaraConnector.getWriter(MulgaraConnector.j ava:104) at org.fcrepo.server.resourceIndex.ResourceIndexImpl.<init>(ResourceInde xImpl.java:74) at org.fcrepo.server.resourceIndex.ResourceIndexModule.postInitModule(Re sourceIndexModule.java:120) ... 35 more Fedora log: DEBUG 2011-09-14 18:11:41.036 [main] (DefaultListableBeanFactory) Finished creating instance of bean 'org.fcrepo.server.resourceIndex.TripleGenerator' DEBUG 2011-09-14 18:11:41.067 [main] (SessionFactoryFinder) Attempting to connect via RMI DEBUG 2011-09-14 18:11:42.177 [main] (SessionFactoryFinder) Failed to connect via RMI javax.naming.ServiceUnavailableException: null at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101) [na:1.6.0_17] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107) [na:1.6.0_17] at javax.naming.InitialContext.lookup(InitialContext.java:392) [na:1.6.0_17] at org.mulgara.server.driver.SessionFactoryFinder.newSessionFactory(SessionFact oryFinder.java:147) [mulgara-core-2.1.4.jar:na] at org.trippi.impl.mulgara.MulgaraSessionFactory.<init>(MulgaraSessionFactory.j ava:75) [trippi-mulgara-1.5.4.jar:na] at org.trippi.impl.mulgara.MulgaraConnector.open(MulgaraConnector.java:242) [trippi-mulgara-1.5.4.jar:na] at org.trippi.impl.mulgara.MulgaraConnector.getWriter(MulgaraConnector.java:97) [trippi-mulgara-1.5.4.jar:na] at org.fcrepo.server.resourceIndex.ResourceIndexImpl.<init>(ResourceIndexImpl.j ava:74) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.resourceIndex.ResourceIndexModule.postInitModule(ResourceI ndexModule.java:120) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.Server.<init>(Server.java:644) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.BasicServer.<init>(BasicServer.java:41) [fcrepo-server-3.5.jar:na] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces sorImpl.java:39) [na:1.6.0_17] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc torAccessorImpl.java:27) [na:1.6.0_17] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17] at org.fcrepo.server.Server.getInstance(Server.java:1239) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.ServerController.init(ServerController.java:403) [fcrepo-server-3.5.jar:na] at javax.servlet.GenericServlet.init(GenericServlet.java:212) [servlet-api.jar:2.5.MR2] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:11 73) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java: 4350) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4659) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7 91) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563 ) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) [catalina.jar:6.0.29] at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor t.java:119) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardService.start(StandardService.java:519) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) [catalina.jar:6.0.29] at org.apache.catalina.startup.Catalina.start(Catalina.java:581) [catalina.jar:6.0.29] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) [na:1.6.0_17] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) [na:1.6.0_17] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) [bootstrap.jar:6.0.29] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) [bootstrap.jar:6.0.29] Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601) [na:1.6.0_17] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198) [na:1.6.0_17] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184) [na:1.6.0_17] at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322) [na:1.6.0_17] at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) [na:1.6.0_17] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97) [na:1.6.0_17] ... 43 common frames omitted Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) [na:1.6.0_17] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) [na:1.6.0_17] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) [na:1.6.0_17] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) [na:1.6.0_17] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) [na:1.6.0_17] at java.net.Socket.connect(Socket.java:525) [na:1.6.0_17] at java.net.Socket.connect(Socket.java:475) [na:1.6.0_17] at java.net.Socket.<init>(Socket.java:372) [na:1.6.0_17] at java.net.Socket.<init>(Socket.java:186) [na:1.6.0_17] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketF actory.java:22) [na:1.6.0_17] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketF actory.java:128) [na:1.6.0_17] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595) [na:1.6.0_17] ... 48 common frames omitted DEBUG 2011-09-14 18:11:42.239 [main] (SessionFactoryFinder) Attempting to fallback to local javax.naming.ServiceUnavailableException: null at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101) [na:1.6.0_17] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107) [na:1.6.0_17] at javax.naming.InitialContext.lookup(InitialContext.java:392) [na:1.6.0_17] at org.mulgara.server.driver.SessionFactoryFinder.newSessionFactory(SessionFact oryFinder.java:147) [mulgara-core-2.1.4.jar:na] at org.trippi.impl.mulgara.MulgaraSessionFactory.<init>(MulgaraSessionFactory.j ava:75) [trippi-mulgara-1.5.4.jar:na] at org.trippi.impl.mulgara.MulgaraConnector.open(MulgaraConnector.java:242) [trippi-mulgara-1.5.4.jar:na] at org.trippi.impl.mulgara.MulgaraConnector.getWriter(MulgaraConnector.java:97) [trippi-mulgara-1.5.4.jar:na] at org.fcrepo.server.resourceIndex.ResourceIndexImpl.<init>(ResourceIndexImpl.j ava:74) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.resourceIndex.ResourceIndexModule.postInitModule(ResourceI ndexModule.java:120) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.Server.<init>(Server.java:644) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.BasicServer.<init>(BasicServer.java:41) [fcrepo-server-3.5.jar:na] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces sorImpl.java:39) [na:1.6.0_17] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc torAccessorImpl.java:27) [na:1.6.0_17] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17] at org.fcrepo.server.Server.getInstance(Server.java:1239) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.ServerController.init(ServerController.java:403) [fcrepo-server-3.5.jar:na] at javax.servlet.GenericServlet.init(GenericServlet.java:212) [servlet-api.jar:2.5.MR2] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:11 73) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java: 4350) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4659) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7 91) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563 ) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) [catalina.jar:6.0.29] at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor t.java:119) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardService.start(StandardService.java:519) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) [catalina.jar:6.0.29] at org.apache.catalina.startup.Catalina.start(Catalina.java:581) [catalina.jar:6.0.29] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) [na:1.6.0_17] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) [na:1.6.0_17] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) [bootstrap.jar:6.0.29] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) [bootstrap.jar:6.0.29] Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601) [na:1.6.0_17] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198) [na:1.6.0_17] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184) [na:1.6.0_17] at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322) [na:1.6.0_17] at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) [na:1.6.0_17] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97) [na:1.6.0_17] ... 43 common frames omitted Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) [na:1.6.0_17] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) [na:1.6.0_17] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) [na:1.6.0_17] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) [na:1.6.0_17] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) [na:1.6.0_17] at java.net.Socket.connect(Socket.java:525) [na:1.6.0_17] at java.net.Socket.connect(Socket.java:475) [na:1.6.0_17] at java.net.Socket.<init>(Socket.java:372) [na:1.6.0_17] at java.net.Socket.<init>(Socket.java:186) [na:1.6.0_17] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketF actory.java:22) [na:1.6.0_17] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketF actory.java:128) [na:1.6.0_17] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595) [na:1.6.0_17] ... 48 common frames omitted

    Sakai JIRA | 5 years ago | Stephen Bayliss
    javax.naming.ServiceUnavailableException: null at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101) [na:1.6.0_17] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107) [na:1.6.0_17]
  2. 0

    If the log level is set to DEBUG, the resource index module fails to start. Also once the server has started in this state it fails to shutdown cleanly. Exceptions reported: Tomcat log: ************************** ** FEDORA STARTUP ERROR ** ************************** Fedora startup failed org.fcrepo.server.errors.ModuleInitializationException: Error initializing RI at org.fcrepo.server.resourceIndex.ResourceIndexModule.postInitModule(Re sourceIndexModule.java:127) at org.fcrepo.server.Server.<init>(Server.java:644) at org.fcrepo.server.BasicServer.<init>(BasicServer.java:41) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.fcrepo.server.Server.getInstance(Server.java:1239) at org.fcrepo.server.ServerController.init(ServerController.java:403) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper. java:1173) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:99 3) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex t.java:4350) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 659) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase .java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77 1) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja va:637) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j ava:563) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498 ) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java :321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl eSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445 ) at org.apache.catalina.core.StandardService.start(StandardService.java:5 19) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710 ) at org.apache.catalina.startup.Catalina.start(Catalina.java:581) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.UnsupportedOperationException: This MulgaraConnector is rea d-only! at org.trippi.impl.mulgara.MulgaraConnector.getWriter(MulgaraConnector.j ava:104) at org.fcrepo.server.resourceIndex.ResourceIndexImpl.<init>(ResourceInde xImpl.java:74) at org.fcrepo.server.resourceIndex.ResourceIndexModule.postInitModule(Re sourceIndexModule.java:120) ... 35 more Fedora log: DEBUG 2011-09-14 18:11:41.036 [main] (DefaultListableBeanFactory) Finished creating instance of bean 'org.fcrepo.server.resourceIndex.TripleGenerator' DEBUG 2011-09-14 18:11:41.067 [main] (SessionFactoryFinder) Attempting to connect via RMI DEBUG 2011-09-14 18:11:42.177 [main] (SessionFactoryFinder) Failed to connect via RMI javax.naming.ServiceUnavailableException: null at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101) [na:1.6.0_17] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107) [na:1.6.0_17] at javax.naming.InitialContext.lookup(InitialContext.java:392) [na:1.6.0_17] at org.mulgara.server.driver.SessionFactoryFinder.newSessionFactory(SessionFact oryFinder.java:147) [mulgara-core-2.1.4.jar:na] at org.trippi.impl.mulgara.MulgaraSessionFactory.<init>(MulgaraSessionFactory.j ava:75) [trippi-mulgara-1.5.4.jar:na] at org.trippi.impl.mulgara.MulgaraConnector.open(MulgaraConnector.java:242) [trippi-mulgara-1.5.4.jar:na] at org.trippi.impl.mulgara.MulgaraConnector.getWriter(MulgaraConnector.java:97) [trippi-mulgara-1.5.4.jar:na] at org.fcrepo.server.resourceIndex.ResourceIndexImpl.<init>(ResourceIndexImpl.j ava:74) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.resourceIndex.ResourceIndexModule.postInitModule(ResourceI ndexModule.java:120) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.Server.<init>(Server.java:644) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.BasicServer.<init>(BasicServer.java:41) [fcrepo-server-3.5.jar:na] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces sorImpl.java:39) [na:1.6.0_17] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc torAccessorImpl.java:27) [na:1.6.0_17] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17] at org.fcrepo.server.Server.getInstance(Server.java:1239) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.ServerController.init(ServerController.java:403) [fcrepo-server-3.5.jar:na] at javax.servlet.GenericServlet.init(GenericServlet.java:212) [servlet-api.jar:2.5.MR2] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:11 73) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java: 4350) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4659) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7 91) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563 ) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) [catalina.jar:6.0.29] at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor t.java:119) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardService.start(StandardService.java:519) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) [catalina.jar:6.0.29] at org.apache.catalina.startup.Catalina.start(Catalina.java:581) [catalina.jar:6.0.29] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) [na:1.6.0_17] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) [na:1.6.0_17] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) [bootstrap.jar:6.0.29] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) [bootstrap.jar:6.0.29] Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601) [na:1.6.0_17] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198) [na:1.6.0_17] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184) [na:1.6.0_17] at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322) [na:1.6.0_17] at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) [na:1.6.0_17] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97) [na:1.6.0_17] ... 43 common frames omitted Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) [na:1.6.0_17] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) [na:1.6.0_17] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) [na:1.6.0_17] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) [na:1.6.0_17] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) [na:1.6.0_17] at java.net.Socket.connect(Socket.java:525) [na:1.6.0_17] at java.net.Socket.connect(Socket.java:475) [na:1.6.0_17] at java.net.Socket.<init>(Socket.java:372) [na:1.6.0_17] at java.net.Socket.<init>(Socket.java:186) [na:1.6.0_17] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketF actory.java:22) [na:1.6.0_17] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketF actory.java:128) [na:1.6.0_17] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595) [na:1.6.0_17] ... 48 common frames omitted DEBUG 2011-09-14 18:11:42.239 [main] (SessionFactoryFinder) Attempting to fallback to local javax.naming.ServiceUnavailableException: null at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101) [na:1.6.0_17] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107) [na:1.6.0_17] at javax.naming.InitialContext.lookup(InitialContext.java:392) [na:1.6.0_17] at org.mulgara.server.driver.SessionFactoryFinder.newSessionFactory(SessionFact oryFinder.java:147) [mulgara-core-2.1.4.jar:na] at org.trippi.impl.mulgara.MulgaraSessionFactory.<init>(MulgaraSessionFactory.j ava:75) [trippi-mulgara-1.5.4.jar:na] at org.trippi.impl.mulgara.MulgaraConnector.open(MulgaraConnector.java:242) [trippi-mulgara-1.5.4.jar:na] at org.trippi.impl.mulgara.MulgaraConnector.getWriter(MulgaraConnector.java:97) [trippi-mulgara-1.5.4.jar:na] at org.fcrepo.server.resourceIndex.ResourceIndexImpl.<init>(ResourceIndexImpl.j ava:74) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.resourceIndex.ResourceIndexModule.postInitModule(ResourceI ndexModule.java:120) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.Server.<init>(Server.java:644) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.BasicServer.<init>(BasicServer.java:41) [fcrepo-server-3.5.jar:na] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces sorImpl.java:39) [na:1.6.0_17] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc torAccessorImpl.java:27) [na:1.6.0_17] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17] at org.fcrepo.server.Server.getInstance(Server.java:1239) [fcrepo-server-3.5.jar:na] at org.fcrepo.server.ServerController.init(ServerController.java:403) [fcrepo-server-3.5.jar:na] at javax.servlet.GenericServlet.init(GenericServlet.java:212) [servlet-api.jar:2.5.MR2] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:11 73) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java: 4350) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4659) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7 91) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563 ) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) [catalina.jar:6.0.29] at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) [catalina.jar:6.0.29] at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor t.java:119) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) [catalina.jar:6.0.29] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardService.start(StandardService.java:519) [catalina.jar:6.0.29] at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) [catalina.jar:6.0.29] at org.apache.catalina.startup.Catalina.start(Catalina.java:581) [catalina.jar:6.0.29] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) [na:1.6.0_17] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) [na:1.6.0_17] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) [bootstrap.jar:6.0.29] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) [bootstrap.jar:6.0.29] Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601) [na:1.6.0_17] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198) [na:1.6.0_17] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184) [na:1.6.0_17] at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322) [na:1.6.0_17] at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) [na:1.6.0_17] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97) [na:1.6.0_17] ... 43 common frames omitted Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) [na:1.6.0_17] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) [na:1.6.0_17] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) [na:1.6.0_17] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) [na:1.6.0_17] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) [na:1.6.0_17] at java.net.Socket.connect(Socket.java:525) [na:1.6.0_17] at java.net.Socket.connect(Socket.java:475) [na:1.6.0_17] at java.net.Socket.<init>(Socket.java:372) [na:1.6.0_17] at java.net.Socket.<init>(Socket.java:186) [na:1.6.0_17] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketF actory.java:22) [na:1.6.0_17] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketF actory.java:128) [na:1.6.0_17] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595) [na:1.6.0_17] ... 48 common frames omitted

    Sakai JIRA | 5 years ago | Stephen Bayliss
    javax.naming.ServiceUnavailableException: null at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101) [na:1.6.0_17] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107) [na:1.6.0_17]
  3. 0

    Exception when trying to stop Jboss using jboss-stop script. [Archive] - NetIQ Forums

    netiq.com | 7 months ago
    javax.naming.ServiceUnavailableException: Failed to connect to server /10.10.58.138:1099 [Root exception is java.net.ConnectException: Connection refused]]] at org.jnp.interfaces.NamingContext.checkRef(NamingCo ntext.java:1763) at org.jnp.interfaces.NamingContext.lookup(NamingCont ext.java:693) at org.jnp.interfaces.NamingContext.lookup(NamingCont ext.java:686)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Not Another Testing Blog: Common error messages for SOAP over JMS using SOA protocol in LoadRunner 11.0

    blogspot.com | 3 months ago
    javax.naming.ServiceUnavailableException: Failed to query JNDI: Failed to connect to the server at tcp://xxxx.xxx.xx:12345 [Root exception is javax.jms.JMSException: Failed to connect to the server at tcp://xxxx.xxx.xx:12345]
  6. 0

    I have Hudson 1.255 running in tomcat 6.0. Security is enabled in Hudson using Hudson's integrated LDAP authentication feature. Everything works fine for awhile and as long as I am active on the site. However, if I close the browser (firefox 3.0.3) and subsequently attempt to access the site after several hours of inactivity I consistently run into the following problem: Oct 17, 2008 10:46:03 PM hudson.security.LDAPSecurityRealm$1 loadUserByUsername WARNING: Failed to search LDAP for username=someuser org.acegisecurity.ldap.LdapDataAccessException: LdapCallback;directory.mycompany.com:389; socket closed; nested exception is javax.naming.ServiceUnavailableException: directory.mycompany.com:389; socket closed; remaining name '' at org.acegisecurity.ldap.LdapTemplate$LdapExceptionTranslator.translate(LdapTemplate.java:295) at org.acegisecurity.ldap.LdapTemplate.execute(LdapTemplate.java:128) at org.acegisecurity.ldap.LdapTemplate.searchForSingleEntry(LdapTemplate.java:246) at org.acegisecurity.ldap.search.FilterBasedLdapUserSearch.searchForUser(FilterBasedLdapUserSearch.java:119) at hudson.security.LDAPSecurityRealm$1.loadUserByUsername(LDAPSecurityRealm.java:187) at hudson.security.UserDetailsServiceProxy.loadUserByUsername(UserDetailsServiceProxy.java:21) at org.acegisecurity.ui.rememberme.TokenBasedRememberMeServices.loadUserDetails(TokenBasedRememberMeServices.java:308) at org.acegisecurity.ui.rememberme.TokenBasedRememberMeServices.autoLogin(TokenBasedRememberMeServices.java:218) at hudson.security.RememberMeServicesProxy.autoLogin(RememberMeServicesProxy.java:30) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:104) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:42) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:44) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:85) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:394) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:595) Caused by: javax.naming.ServiceUnavailableException: directory.mycompany.com:389; socket closed; remaining name '' at com.sun.jndi.ldap.Connection.readReply(Connection.java:410) at com.sun.jndi.ldap.LdapClient.getSearchReply(LdapClient.java:611) at com.sun.jndi.ldap.LdapClient.search(LdapClient.java:534) at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:1944) at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1806) at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1731) at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1748) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:394) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:376) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:358) at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:267) at org.acegisecurity.ldap.LdapTemplate$3.doInDirContext(LdapTemplate.java:249) at org.acegisecurity.ldap.LdapTemplate.execute(LdapTemplate.java:126) ... 35 more Any suggestions? Is there a place where I can configure this problem away?

    Jenkins JIRA | 8 years ago | jonathan_w_brown
    javax.naming.ServiceUnavailableException: directory.mycompany.com:389; socket closed; remaining name '' at org.acegisecurity.ldap.LdapTemplate$LdapExceptionTranslator.translate(LdapTemplate.java:295)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.naming.ServiceUnavailableException

      null at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101) [na:1.6.0_17] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107) [na:1.6.0_17]

      at javax.naming.InitialContext.lookup()
    2. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:392)
      1 frame