Connect Exception trying to connect to rmi registry on a Linux box

I have prepared the Sun tutroial for RMI, implementing the remote method on a Linux box, and a client on the XP box. Try as I may though, the XP client always comes back with a Connect exception indicating it cannot connect to 127.0.0.1. I am though trying to connect to 192.168.0.4
The firewalls on both machines are open on port 1099, and if I connect from the client with telnet to port 1099 on the server something happens, (well the CMD box screen goes blank, and I get a cursor).
I'm struggling here, being both a Java RMI newbie, and likewise for Linux. I have seen suggestions that the hosts files may need modifying on both machines, but I am not sure what I might need to do.
Any guidance would be appreciated. Thanks in anticipation
P.S. I have posted this previously, but it seems to have expired. So, sorry for repitition, but I don't seem to be alone with this kind of problem.

I have made some progress if you can call it that. Doing what you (ejp) suggested with regards to the hostname, and the following helped.
Elsewhere on these forums I read of a problem where the rmiregistry was not being invoked by the JDK version. I forced this to happen by using an explicit path, then tested my client.
My client now starts, and does not crash with an exception immediately, instead it runs slowly, and then stops with a NoRouteToHostException, and now it is referncing the correct IP address. I am not sure how to resolve the cause of this exception. Again I have read elsewhere about IPTABLES being the cause of this exception, but I don't know what these are, or how to configure them.
Can someone guide me a bit more please.
Thanks

Similar Messages

  • How to Connection CF10 to Apache on Separate Linux boxes

    Is there documentation on this? We have CF10 installed on one Linux server and would like to connect it to Apache installed on a second Linux box.

    Hi,
    I have done this in Windows and Linux both for CF 9, but you can follow the same for ColdFusion 10. The place where we have to enter the IP address, put in the IP address of Remote server where you have installed ColdFusion 10.
    In Web Server machine create the Identical directory as /opt/ColdFusion10/config/wsconfig and then place all the files,
    Manual Connector for Apache: http://helpx.adobe.com/coldfusion/kb/coldfusion10-apache-manual-connector-configuration.ht ml
    In ColdFusion server machine, you don't have to create this connector directory.
    Please check this article, this is for CF 9.
    http://helpx.adobe.com/coldfusion/kb/manually-configure-web-server-connector.html
    Hope this helps.
    Regards,
    Priyank

  • RMI registry on multiple net interfaces

    I'm interested in creating several RMI registry servers, each one listening in one different net interface of the same machine (two ethernet cards). Is there any way to do this without using custom RMI socket factories? From the documentation I have read, it looks like there's no possibility to choose a specific network interface. Instead, RMI registry chooses the one associated to localhost.
    Thanks in advance.
    Zealon

    You could use
    LocaeRegistry.createRegistry(port,csf,ssf) with an
    RMIServerSocketFactory that binds the ServerSocket to
    the appropriate network address, but you will then
    discover that you can only have one Registry per JVM
    because it has a fixed objectID, so don't bother.
    But actually, why do you want to do this? Your stated
    reason is not correct. By default any ServerSocket,
    including those created by the Registry and RMI, is
    bound to 'any', which means it should accept from all
    network interfaces. Perhaps you have the classic
    'hosts' hosts/DNS setup problem where your servers
    embed 127.0.0.1 in the stub? Use
    -Djava.rmi.server.hostname at the server JVM, or
    better still fix your 'hosts' file or DNS setup.
    EJPThanks for your reply. Maybe I didn't explain myself enough.
    I'm working in medical electrocardiography, and have a PC with two net interfaces. The first one is bound to a LAN IP address that belongs to a medical network. Each one of the hosts in this medical network is an electrocardiography monitor, attached to a patient..
    The second net interface is an external IP address (not LAN address).
    I created a remote class called MonitorFactory, that should provide information about the electrocardiography monitors existing into the medical network. It works OK, and I cand bind MonitorFactory objects to a RMI registry with no problem at all.
    There are some reasons I would like to use several RMI registries:
    - First one, I need to control access from external network to my medical network. Medical patient data must be handled very carefully. I thought I could do so by enabling/disabling an RMI registry bound to the external IP address. This way, I could enable access to medical data from outside the medical network, by registering my MonitorFactory objects to this external RMI registry, but only when I decide to do that.
    - Second one, I want an RMI registry always running bound to the medical LAN IP address, so I could use the applications that use MonitorFactory like a local application, not only like a remote one.
    This scheme represents the system I have to build:
    PC with two network interfaces
    External PC <----------->|213.xxx.xxx.xxx 192.xxx.xxx.xxx|<----------> Medical network
    MonitorFactory - Listens to medical data into 192.xxx.xxx.xxx network only. Bound to
    external RMI registry when available and always bound to internal RMI registry.
    External RMI registry - bound to 213.xxx.xxx.xxx. Enabled when I decide to do so.
    Internal RMI registry - bound to 192.xxx.xxx.xxx. Always enabled.
    If I create an RMI registry bound to "any" of the interfaces, I always risk my medical data to the Internet, because there is always a port open at 213.xxx.xxx.xxx accepting connections.
    One possible solution could be using SSL sockets for RMI. This way, only allowed clients could connect to RMI registry. But what worries me most is the fact that a port could be open to the Internet - what about attacks to this open port? If those attacks could make RMI registry fall, medical data flow to another information systems could be interrupted, including medical alarms like critical patient status.
    On the other way, I would like to maintain RMI default sockets for compatibility and future releases of my application.
    Any suggestions?
    Thanks in advance.
    Zealon.

  • Cannot connect to the RMI registry.

    SunMC 3.6.1 used to work fine, now get this error when running init.es_server start:
    main: Successfull in setting up firewall support
    Cannot connect to the RMI registry. Please check if the port myserver:2099 is in use or the interfaces are up.
    Listen failed on port: 0; nested exception is:
    java.io.IOException: Unable to get Any Free Port in the Range 2000-6000
    Details as below
    java.rmi.server.ExportException: Listen failed on port: 0; nested exception is:
    java.io.IOException: Unable to get Any Free Port in the Range 2000-6000
    * terminating execution *
    netstat shows nothing on this port. Even tried es-config -A but same results.
    Where to look for the source of this trouble?

    Hi wrobbins2,
    wrobbins2 wrote:
    SunMC 3.6.1 used to work fine, now get this error when running init.es_server start:
    main: Successfull in setting up firewall support
    Cannot connect to the RMI registry. Please check if the port myserver:2099 is in use or the interfaces are up.
    Listen failed on port: 0; nested exception is:
    java.io.IOException: Unable to get Any Free Port in the Range 2000-6000
    Details as below
    java.rmi.server.ExportException: Listen failed on port: 0; nested exception is:
    java.io.IOException: Unable to get Any Free Port in the Range 2000-6000
    * terminating execution *
    netstat shows nothing on this port. Even tried es-config -A but same results.
    Where to look for the source of this trouble?Did anything change with your NIC/interface settings? Or VPN software installed? IPMP set up? I've seen things like this happen when an interface had been flagged as online... but has no IP info assigned. SunMC is going to try to grab ports on each interface... and if one doesn't have an IP assigned it will fail.
    Regards,
    [email protected]

  • JNDI naming exception: Naming exception trying to connect to:help !!!!!!!!!

    Hi,
    Iam getting this exception and i have no clue what is this exception means.....and how to resolve this Naming Exceptions problem.
    what iam doing is.....Iam trying to deploy a war file from my unix system to a win2000 machine(amasdqyt095).
    This is where and how my script(myscript.sh) looks like:
    java -classpath /xyz/bea/wlserver6.1/lib/weblogic.jar weblogic.deploy -port 7001 -host amasdqyt095 -component myWebApp:myserver update weblogic myWebApp /export/home/applications/xyz.war
    i have created this script at: /xyz/bea/wlserver6.1/config/scripts/myscript.sh
    then i did chmod +x myscript.sh
    and the i did:
    ./myscript.sh
    and then iam getting this exception:
    JNDI naming exception: Naming exception trying to connect to: t3://amasdqyt095:7001 as: system: weblogic
    please help ????
    -sangita

    I had the same problem because the weblogic.jar's version in the server was diferent from my machine (SP2 and SP4). I stops when I updated the server to SP4.
    But now I'm having the same problem in another server, and the versions are ok. If anybody knows something else, please let me know.
    I'm using Weblogic 6.1
    []s
    Leonardo

  • Cant create JDBC Connections in RMI Server

    I am having a pretty weird problem which I am struggling with for the last three days. In the main method of the Server object, following three things are supposed to happen:
    1) Creation of a JDBC Connection
    2) Creation of a Remote Object and then publishing the same to Registry.
    3) Creation of another JDBC Connection (exactly same as in step1)
    step 1 and 2 successfully executes and the third one always errors out. I just simply get a NullPointerException.
    If I comment out step 2, step 3 executes successfully. Can someone please tell me the mystery? I need your response really urgently so please help me.
    TIA
    Code Snippet:
     public static void main(String[] args) {
      System.setSecurityManager(new RMISecurityManager());
      try {
       Properties dbProps = new Properties();
       dbProps.put("user", "SDAWOODI");
       dbProps.put("password", "SDAWOODI");
       java.sql.Connection connection =    java.sql.DriverManager.getConnection("jdbc:oracle:thin:@wonder.cisco.com:1521:ODSDEV", dbProps);
      catch (Exception sqle) {
       System.out.println("[11111]"+sqle.toString());
      Properties props = new Properties();
      props.put("java.rmi.server.codebase", rmiCodeBase);
      System.setProperties(props);
      try {
       SchedulerRImpl schedulerR = new SchedulerRImpl(ssce_sch1);
       String nameStr = "s-sce-scheduler";
       try {
        Naming.bind(nameStr, schedulerR);
        if (Scheduler.m_debug_flag) System.out.println("[Scheduler.main] Scheduler bound with RMI registry!!!");
       catch (AlreadyBoundException abe) {
        if (Scheduler.m_debug_flag) System.out.println("[Scheduler.main] Scheduler is already bound with RMI registry ... trying RE-bind ...");
        try {
         Naming.rebind(nameStr, schedulerR);
         if (Scheduler.m_debug_flag) System.out.println("[Scheduler.main] Scheduler RE-bound with RMI registry!!!");
        catch (Exception e) {
         if (Scheduler.m_debug_flag) System.out.println("[Scheduler.main] Rcheduler RE-binding failed :(((");
      catch (Exception e) {
       if (Scheduler.m_debug_flag) System.out.println("[Scheduler.main] SchedulerR instantiation failed:((( : "+e.toString());
      Properties dbProps2 = new Properties();
      dbProps2.put("user", "SDAWOODI");
      dbProps2.put("password", "SDAWOODI");
      try {
       java.sql.Connection connection2 = java.sql.DriverManager.getConnection("jdbc:oracle:thin:@wonder.cisco.com:1521:ODSDEV", dbProps2);
       if (connection2==null) {
       System.out.println("connection is NULL");
      else {
       System.out.println("connection is NOT null");
     catch (Exception sqle2) {
      System.out.println("[22222]"+sqle2.toString());
    }

    In reply to reply #4:
    You can also quote the other part of my reply when it comes to snippets. There are so many pieces of code missing from your snippet that I simply cannot guess what is wrong. (Please do not put your entire class structures here.)
    We get connections in many different classes at many different times. It is after all an application that does user work and the user work involves database accesses. Some of those accesses are before RMI (to establish repositories, etc). Most are after.
    This URL (jdbc:oracle:thin:@wonder.cisco.com:1521:ODSDEV) appears to use a network connection (yes?). Is the 1521 a port? Are you trying to reuse this port? (the first conn uses the same URL). What port does RMI use?
    There is nothing in your snippet that stands out obviously as "this is wrong".
    RMI uses networking. JDBC uses networking.
    Try substituting some other networking code in place of the RMI code and see if you still get a null trying the second connection. As you say, if you leave out the RMI code the second get.conn works.
    Try leaving out the first get.conn. Do the RMI and second get.conn.
    Try this and try that and try some more. I once had this problem with a network printer that would not print. The code was fine. The URL was fine. The response from the network and printer were both fine. The damn thing just wasn't printing. Turns out there was this bit, yes a single bit, in one word of a property called the "start print bit". If this bit wasn't on, nothing happened. I tried every combination until I finally found it.
    I wish you the best.

  • Connect Via RMI To A Remote Service?

    Has anyone connected, via RMI, to a remote service within an application module? Currently this seems to wreak havoc upon all future and current ORMI communication to and from the application server in which a model is deployed (or at least within a container). Does anyone have any idea on how to do this correctly?
    -Brian
    When a connection is initiated I get the following stack trace:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.security.AccessControlException, msg=access denied (java.net.SocketPermission ifd01-d.syd.nighthawkrad.net resolve)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.dispatchMethod(AbstractRemoteApplicationModuleImpl.java:6301)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.executeMethod(AbstractRemoteApplicationModuleImpl.java:6503)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgRequest(AbstractRemoteApplicationModuleImpl.java:4744)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgEntries(AbstractRemoteApplicationModuleImpl.java:4995)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage(AbstractRemoteApplicationModuleImpl.java:4176)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:2255)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7509)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:2221)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.doMessage(ServerApplicationModuleImpl.java:79)
         at oracle.jbo.server.ejb.SessionBeanImpl.doMessage(SessionBeanImpl.java:474)
         at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:840)
         at RemoteQCServicesAppModule_StatefulSessionBeanWrapper226.doMessage(RemoteQCServicesAppModule_StatefulSessionBeanWrapper226.java:1902)
         at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.security.AccessControlException: access denied (java.net.SocketPermission ifd01-d.syd.nighthawkrad.net resolve)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.SecurityManager.checkConnect(SecurityManager.java:1031)
         at java.net.InetAddress.getAllByName0(InetAddress.java:1117)
         at java.net.InetAddress.getAllByName0(InetAddress.java:1098)
         at java.net.InetAddress.getAllByName(InetAddress.java:1061)
         at java.net.InetAddress.getByName(InetAddress.java:958)
         at java.net.InetSocketAddress.<init>(InetSocketAddress.java:124)
         at java.net.Socket.<init>(Socket.java:178)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
         at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
         at net.nighthawk.ifd.client.communications.Communications.updateFaxViewerRMIServer(Communications.java:156)
         at net.nighthawk.talon.model.bc.autorad.QCServicesAppModuleImpl.sendReport(QCServicesAppModuleImpl.java:5560)
         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:585)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.dispatchMethod(AbstractRemoteApplicationModuleImpl.java:6279)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.executeMethod(AbstractRemoteApplicationModuleImpl.java:6503)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgRequest(AbstractRemoteApplicationModuleImpl.java:4744)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgEntries(AbstractRemoteApplicationModuleImpl.java:4995)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage(AbstractRemoteApplicationModuleImpl.java:4176)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:2255)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7509)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:2221)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.doMessage(ServerApplicationModuleImpl.java:79)
         at oracle.jbo.server.ejb.SessionBeanImpl.doMessage(SessionBeanImpl.java:474)
         at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:840)
         at RemoteQCServicesAppModule_StatefulSessionBeanWrapper226.doMessage(RemoteQCServicesAppModule_StatefulSessionBeanWrapper226.java:1902)
         at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Has anyone connected, via RMI, to a remote service within an application module? Currently this seems to wreak havoc upon all future and current ORMI communication to and from the application server in which a model is deployed (or at least within a container). Does anyone have any idea on how to do this correctly?
    -Brian
    When a connection is initiated I get the following stack trace:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.security.AccessControlException, msg=access denied (java.net.SocketPermission ifd01-d.syd.nighthawkrad.net resolve)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.dispatchMethod(AbstractRemoteApplicationModuleImpl.java:6301)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.executeMethod(AbstractRemoteApplicationModuleImpl.java:6503)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgRequest(AbstractRemoteApplicationModuleImpl.java:4744)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgEntries(AbstractRemoteApplicationModuleImpl.java:4995)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage(AbstractRemoteApplicationModuleImpl.java:4176)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:2255)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7509)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:2221)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.doMessage(ServerApplicationModuleImpl.java:79)
         at oracle.jbo.server.ejb.SessionBeanImpl.doMessage(SessionBeanImpl.java:474)
         at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:840)
         at RemoteQCServicesAppModule_StatefulSessionBeanWrapper226.doMessage(RemoteQCServicesAppModule_StatefulSessionBeanWrapper226.java:1902)
         at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.security.AccessControlException: access denied (java.net.SocketPermission ifd01-d.syd.nighthawkrad.net resolve)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.SecurityManager.checkConnect(SecurityManager.java:1031)
         at java.net.InetAddress.getAllByName0(InetAddress.java:1117)
         at java.net.InetAddress.getAllByName0(InetAddress.java:1098)
         at java.net.InetAddress.getAllByName(InetAddress.java:1061)
         at java.net.InetAddress.getByName(InetAddress.java:958)
         at java.net.InetSocketAddress.<init>(InetSocketAddress.java:124)
         at java.net.Socket.<init>(Socket.java:178)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
         at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
         at net.nighthawk.ifd.client.communications.Communications.updateFaxViewerRMIServer(Communications.java:156)
         at net.nighthawk.talon.model.bc.autorad.QCServicesAppModuleImpl.sendReport(QCServicesAppModuleImpl.java:5560)
         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:585)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.dispatchMethod(AbstractRemoteApplicationModuleImpl.java:6279)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.executeMethod(AbstractRemoteApplicationModuleImpl.java:6503)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgRequest(AbstractRemoteApplicationModuleImpl.java:4744)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgEntries(AbstractRemoteApplicationModuleImpl.java:4995)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage(AbstractRemoteApplicationModuleImpl.java:4176)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:2255)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7509)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:2221)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.doMessage(ServerApplicationModuleImpl.java:79)
         at oracle.jbo.server.ejb.SessionBeanImpl.doMessage(SessionBeanImpl.java:474)
         at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:840)
         at RemoteQCServicesAppModule_StatefulSessionBeanWrapper226.doMessage(RemoteQCServicesAppModule_StatefulSessionBeanWrapper226.java:1902)
         at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

  • Connect caught listing registry?

    I ctrl-c'd my running RMI server and, as expected, cannot create a new registry on this port.
    However, I created a small test app to attempt to 're-attach' to the registry:
    try {
         /* does one already exist? */
    serverRegistry = LocateRegistry.getRegistry("localhost");
    System.out.println ("\n\nReturn from locateReg = " + serverRegistry + " \n\n");
    try {
    /* show names bound in registry */
         serverRegistry.list();
    LocateRegistry succeeds in returning a Registry object.
    However, serverRegistry.list() throws the following exception:
    Exception java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
    java.net.ConnectException: Connection refused: connect caught listing registry
    I've probably oversimplified what needs to be done to regain access to the server, but does anyone know what's going on here?

    LocateRegistry.getRegistry() merely gives you a client stub to the registry. Because the registry uses a well-known remote ID, this call will always succeed and by itself does not guarantee that the registry is up and running. You need to execute an actual registry API call to make sure [and list() is a good choice, for example].
    Is your registry embedded into the server VM or running in a separate process [rmiregistry.exe]?

  • Unable to connect to Services Registry(error) while connecting from NWDS

    Hi SDN friends,
    I am trying to do WSDL import from NWDS (Developer Studio SAP NetWeaver 7.1 Composition Environment SP03 PAT0000 Build id: 200710302120 ) and i am getting  following error
    "Unable to connect to Services Registry"
    Below are  the service regsitry details i am passing
    window --> Preferences
    Service Registry (UDDI Service)
    Server Name:sr.esworkplace.sap.com
    Server Port:sr.esworkplace.sap.com
    Server Port:50000
    Server HTTPS Port:50043
    Inquiry Path:uddi/api/inquiry
    Publish Path:uddi/api/publish
    Security Path:uddi/api/security
    Classification Service
    Server Name:sr.esworkplace.sap.com
    Server Port:50000
    Server HTTPS Port:50043
    Classification Path:ClassificationService/CS?style=document
    I am using the following credentials for login to UDDI Service http://sr.esworkplace.sap.com
    login/pwd: sruser
    password: esword123
    I tried  with two different systems (office and Home) , bit still not connecting.
    Waiting for experts answer.
    Thanks
    Aravinda

    Hi,
    You wrote that you connect to the SAP uddi:
    Service Registry (UDDI Service)
    Server Name:sr.esworkplace.sap.com
    Server Port:sr.esworkplace.sap.com
    Server Port:50000
    Server HTTPS Port:50043
    Inquiry Path:uddi/api/inquiry
    Publish Path:uddi/api/publish
    Security Path:uddi/api/security
    sr.esworkplace.sap.com is not on your home pc. Its a SAP public uddi.
    If you want to connect to your own pc than your configuration would be sompething like this:
    Server Name:localhost
    Server Port:50000
    Server HTTPS Port:50043
    Inquiry Path:uddi/api/inquiry
    Publish Path:uddi/api/publish
    Security Path:uddi/api/security
    And you shouldn't use this login data
    login/pwd: sruser
    password: eswork123
    regards,
    v s
    Edited by: v s on Jul 2, 2008 9:31 AM
    Edited by: v s on Jul 2, 2008 9:34 AM

  • This OC4J is configured to make JMX connections via RMIS...error!

    Hello,
    I have just installed OBIEE and when I try to log into Oracle Enterprise Manager 10g and got the following error:
    This OC4J is configured to make JMX connections via RMIS and fall back to RMI if the RMIS port is not configured. The RMIS connection on the OC4J local instance is configured but a connection could not be established. The JMX protocol is specified by the oracle.oc4j.jmx.internal.connection.protocol property in opmn.xml
    I have tried to reinstall OBIEE a couple of times but still get this error. Please let me know what I need to do to get this up and running.
    Thanks!
    Linda

    This may be because of the host name. You might have any special characters in host name, remove any under scores in host name, restart computer and check it.
    if not let me know what URL you are using.
    - Madan

  • Event 31901 – The registry probe could not connect to the registry of the computer name

    Hi, I have been doing a weekly SQL query to try and find any high number of events I get in my SCOM environment.
    One of the events I have stumbled across is 31901 (“The registry probe could not connect to the registry of the computer <name>”) which comes from the “Collect Registry Probe Module Events”
    I have read a couple of previous suggestions on the forum and upon checking I found two different scenarios. For a couple of servers I checked the health and it looked like they had RPC issues. A restart got rid of these problems.
    However the ones left seem to have something in common. They relate to hosts referring to SQL “instances/clusters”. So the “logging computer” is the host and the probe cannot to the registry of the “virtual computer”. In other words the computers that can’t
    be connected to are all agentless and show as managed by the logging computer under “Agentless Managed”
    If I log onto the host with my SCOM action account and run something like “reg query” against the virtual “instance” I get “ERROR: The network path was not found”. I can ping the instance fine though. I don’t really understand how these instances work but
    I presume they don’t have services or a registry as such. Therefore is this normal or is there any way I can get rid of the events? I don’t really want to get rid of the rule itself as it did help me find a couple of RPC issues. I could override for that host
    if this is “normal” and how it should work.

    For issue "31901", you can check below link
    http://www.bictt.com/blogs/bictt.php/2011/01/17/error-31901-during-exchange-2003
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali | Facebook:
    Mai Ali

  • Error While Connecting through RMI

    Hi,
    I am getting the following error when connecting to the server through RMI.This problem is occurring only in Linux and when connecting remotely.In windows we are able to succeed and if both server and client in the same machine able to connect.The problem persists when connecting to the server remotely in Linux.
    Caused by: java.rmi.NoSuchObjectException: no such object in table
    at sun.rmi.transport.StreamRemoteCall.exceptionReceiv edFromServer(StreamRemoteCall.java:255)
    at sun.rmi.transport.StreamRemoteCall.executeCall(Str eamRemoteCall.java:233)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:1 42)
    Can anybody please help me regarding this.
    Thanks in advance,
    Thanks & Regards,
    Jyothi.

    The remote object has been unexported, probably via DGC action. The solution is to hold a static reference to it in the server JVM.

  • RMI registry reset

    Hi there,
    I'm writing a RMI application where I need to clean up the RMI registry as soon as the ip address of the server machine changes.
    Let's say that I want to make an object (class Obj) accessible from a RMI client through the following code:
    Obj obj = new Obj();
    UnicastRemoteObject.exportObject(obj,RMIPort); //export the new object
    registry = LocateRegistry.createRegistry(RMIPort); //Create a new registry
    registry.rebind("myObject", obj); //Bind the object to the registryOnce I detect an ip change I need to clean up the register and I need to publish a new Obj object on it. The new object has to accessible from a RMI client instead of the previous. I tried something like:
    UnicastRemoteObject.unexportObject(obj,RMIPort); //unexport the old object
    Obj obj2 = new Obj(); //Create a new object
    UnicastRemoteObject.exportObject(obj2,RMIPort); //export the new object
    registry = LocateRegistry.getRegistry(RMI_PORT);
    registry.rebind("myObject", obj2); //Bind the new object to the registry with the same name "myObject"But when the last line of code is executed, an exception "java.rmi.UnmarshalException: Error Unmarshaling return header" is thrown.
    Do you guys have any suggestions?

    This is the complete stack trace:
    java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
         java.net.SocketException: Connection reset
         at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
         at sun.rmi.server.UnicastRef.invoke(Unknown Source)
         at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
         at pack.net.stud.Stud.reset(Stud.java:184)
         at pack.net.connectors.IPChangeDetector.run(IPChangeDetector.java:74)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(Unknown Source)
         at java.io.BufferedInputStream.fill(Unknown Source)
         at java.io.BufferedInputStream.read(Unknown Source)
         at java.io.DataInputStream.readByte(Unknown Source)
         ... 6 moreThanks
    Francesco

  • RMI registry inside tomcat

    Hello,
    I'm wondering if any of you have previous experiences in the following situation.
    I have a linux server with tomcat 5.0.28 that is supposed to act as an RMI end point for clients connecting with the aforementioned RMI to do some persisting stuff. Now I figured that the easiest way is to create a servlet that creates the RMI registry and binds my server objects (so that's in the servlet's init(), with 1 load-on-startup, the servlet doesn't do anything else, at least yet).
    Now problems arise: my linux server is logging "context is read-only" when trying to bind the objects to RMI. Testing on my windows laptop doesn't show the same error for some reason (although it doesn't work properly either). This is apparently normal, as the contexts are supposed to be read-only.
    Thing is, I wouldn't want to run a separate rmiregistry on the server, if possible to do it with a simple servlet. But is this the easiest way?
    Thank you in advance,
    yours truly, in sickness and in health,
    Jussi

    'Context is read-only' is not a Registry error
    message. You are trying to bind to something else.
    Show us some code.Well, I'm not doing a lot of binding, so I'm assuming it's this part:
                   DDBServer stub = (DDBServer)UnicastRemoteObject.exportObject(this, 0);
                   Registry registry = LocateRegistry.getRegistry();
                   registry.rebind("DDBServer", stub);The error message is:
    2007-04-18 14:06:40 NamingContextListener[Catalina/localhost/DDBServer]: Creation of the naming context failed: javax.naming.NamingException: Context is read only

  • Exception in thread "main" java.rmi.NotBoundException: commandService

    Hello,
    I want to deploy two SNs on one machine, and I chose different port(5030,5031), when I run "runadmin", the exceptions happened.
    [sunyao@datanode1:~/oracle_nosql/tools]$ jps -m
    25392 Jps -m
    25145 kvstore-1.2.123.jar start -root KVROOT_2
    23099 kvstore-1.2.123.jar start -root KVROOT
    23265 ManagedService -root KVROOT/mystore/sn2 -store mystore -class RepNode -service rg1-rn2
    25220 ManagedService -root KVROOT_2/mystore2/sn1 -store mystore2 -class Admin -service admin1
    [sunyao@datanode1:~/oracle_nosql/tools]$ java -jar kv-1.2.123/lib/kvstore-1.2.123.jar ping -port 5030 -host datanode1
    SNA at hostname: datanode1 registry port: 5030 has no available Admins or RNs registered.
    [sunyao@datanode1:~/oracle_nosql/tools]$ java -jar kv-1.2.123/lib/kvstore-1.2.123.jar runadmin -port 5030 -host datanode1
    Exception in thread "main" java.rmi.NotBoundException: commandService
    at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:106)
    at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
    at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:386)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
    at sun.rmi.transport.Transport$1.run(Transport.java:159)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:359)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at oracle.kv.impl.util.registry.RegistryUtils.getAdmin(RegistryUtils.java:197)
    at oracle.kv.impl.admin.client.KVAdmin.connect(KVAdmin.java:883)
    at oracle.kv.impl.admin.client.KVAdmin.main(KVAdmin.java:2131)
    at oracle.kv.impl.util.KVStoreMain$6.run(KVStoreMain.java:188)
    at oracle.kv.impl.util.KVStoreMain.main(KVStoreMain.java:319)

    hi ,
    I have started two admin service in one group:
    but one admin service can't access from 5001, and the log is below:
    [sunyao@datanode1:~/oracle_nosql/tools/KVROOT/mystore/log]$ cat admin2_0.log
    02-09-12 17:48:46:696 CST INFO [admin2] Starting service process: admin2, Java command line arguments: [-XX:+DisableExplicitGC, -Xms96M, -Xmx96M]
    02-09-12 17:48:46:720 CST INFO [admin2] Starting AdminService
    02-09-12 17:48:46:881 CST INFO [admin2] Initializing Admin for store: mystore
    02-09-12 17:48:46:883 CST INFO [admin2] Created new admin environment dir: KVROOT/mystore/sn2/admin2/env
    02-09-12 17:48:46:884 CST INFO [admin2] JVM Runtime maxMemory (bytes): 96468992
    02-09-12 17:48:46:889 CST INFO [admin2] Non-default JE properties for environment: {je.rep.vlsn.logCacheSize=128, je.rep.envUnknownStateTimeout=10 s, je.tree.maxDelta=10, je.log.faultReadSize=4096, je.rep.vlsn.distance=1000000, je.env.runEvictor=true, je.cleaner.minUtilization=40, je.rep.replicaAckTimeout=5 s, je.cleaner.threads=2, je.evictor.lruOnly=false, je.rep.replayMaxOpenDbHandles=100, je.log.writeQueueSize=2097152, je.evictor.criticalPercentage=105, je.log.iteratorReadSize=1048576, je.log.numBuffers=16, je.nodeMaxEntries=128, je.evictor.nodesPerScan=200, je.rep.preHeartbeatTimeoutMs=5000000000, je.checkpointer.bytesInterval=200000000, je.cleaner.lazyMigration=false, je.txn.durability=write_no_sync,write_no_sync,simple_majority, je.cleaner.readSize=1048576, je.rep.txnRollbackLimit=10, je.log.fileCacheSize=2000, je.log.fileMax=1073741824}
    02-09-12 17:48:48:390 CST INFO [admin2] State change event: Thu Feb 09 17:48:47 CST 2012, State: REPLICA, Master: 1
    02-09-12 17:48:48:852 CST INFO [admin2] Shutting down monitor collector
    02-09-12 17:48:48:853 CST INFO [admin2] Replicated environment handle established. Cache size: 57881395, State: REPLICA
    02-09-12 17:48:48:854 CST INFO [admin2] Starting Command service on rmi://datanode1:5000/commandService
    02-09-12 17:48:48:950 CST INFO [admin2] Starting Web service on port 5001
    02-09-12 17:48:49:183 CST INFO [admin2] jetty-7.4.0.v20110414
    02-09-12 17:48:49:350 CST INFO [admin2] Extract jar:file:/home/sunyao/oracle_nosql/tools/kv-1.2.123/lib/kvstore-1.2.123.jar!/war/KVAdminUI/ to /tmp/jetty-0.0.0.0-5001-KVAdminUI-_-any-/webapp
    02-09-12 17:48:50:65 CST INFO [admin2] NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
    02-09-12 17:48:50:120 CST INFO [admin2] started o.e.j.w.WebAppContext{,file:/tmp/jetty-0.0.0.0-5001-KVAdminUI-_-any-/webapp/},jar:file:/home/sunyao/oracle_nosql/tools/kv-1.2.123/lib/kvstore-1.2.123.jar!/war/KVAdminUI
    02-09-12 17:48:50:201 CST INFO [admin2] Started [email protected]:5001 STARTING
    02-09-12 17:48:50:203 CST INFO [admin2] Started AdminService
    02-09-12 17:49:04:408 CST INFO [admin2] Redirect to master at http://namenode:5001
    02-09-12 17:49:24:427 CST INFO [admin2] Redirect to master at http://namenode:5001
    02-09-12 17:49:28:432 CST INFO [admin2] Redirect to master at http://namenode:5001
    02-09-12 17:52:16:974 CST INFO [admin2] Redirect to master at http://namenode:5001
    02-09-12 17:52:29:844 CST INFO [admin2] Redirect to master at http://namenode:5001
    02-09-12 17:54:03:343 CST INFO [admin2] Redirect to master at http://namenode:5001
    02-09-12 18:00:48:854 CST INFO [admin2] Redirect to master at http://namenode:5001
    02-09-12 18:02:10:25 CST INFO [admin2] Redirect to master at http://namenode:5001
    02-09-12 18:02:55:400 CST INFO [admin2] Redirect to master at http://namenode:5001
    02-09-12 18:02:59:708 CST INFO [admin2] Redirect to master at http://namenode:5001
    02-09-12 18:03:02:127 CST INFO [admin2] Redirect to master at http://namenode:5001
    02-09-12 18:03:05:644 CST INFO [admin2] Redirect to master at http://namenode:5001
    namenode is the hostname of 192.168.7.200, and I can access the admin service from http://192.168.7.200:5001
    and the topology is
    Pinging components of store mystore based upon topology sequence #612
    mystore comprises 300 partitions and 3 Storage Nodes
    Storage Node [sn1] on namenode:5000 Datacenter: Boston [dc1] Status: RUNNING Ver: 11gR2.1.2.123
    Rep Node [rg1-rn1] Status: RUNNING,REPLICA at sequence number: 625 haPort: 5011
    Storage Node [sn2] on datanode1:5000 Datacenter: Boston [dc1] Status: RUNNING Ver: 11gR2.1.2.123
    Rep Node [rg1-rn2] Status: RUNNING,REPLICA at sequence number: 625 haPort: 5010
    Storage Node [sn3] on datanode2:5000 Datacenter: Boston [dc1] Status: RUNNING Ver: 11gR2.1.2.123
    Rep Node [rg1-rn3] Status: RUNNING,MASTER at sequence number: 625 haPort: 5010
    Edited by: 912068 on 2012-2-9 上午2:06
    and when I shutdown namenode SN and admin service , and access 185:5001, the exceptions are belowed:
    Error
    Dismiss
    The Admin instance is unable to service this request, as it is not the master Admin instance. Furthermore, its state is such that it does not know the master Admin's forwarding address.
    Edited by: 912068 on 2012-2-9 上午2:24

Maybe you are looking for

  • Printing a simple abap-list in panel-format (DIN A4)

    Hallo Ladies and Gentlemen, i have a simple abap-list. when i print it, the list will be printed in landscape-format. how can i change it? i have to print it in panel-format. Thanks a lot, Marcel

  • Photoshop CC crashing (post mavericks update)

    The issue is that Photoshop is crashing when coming back up from my machine going to sleep and this has only started happening since I updated to mavericks.  I have not had the app crash while working, however, which is nice.  I kind of expected ther

  • Elements 3 Not Opening.

    I am using photoshop elements 3 on windows vista.I got it from a bundle CD from a tablet.It worked for awhile, but now it doesn't open.It loads to 'Reading Text Global Resources....Done' and then it stops loading.When I open it from the desktop icon,

  • Itunes 4.9 wont open

    I recently downloaded itunes 4.9 and now it wont open. There are no error messages popping up at all when i am trying to open it. My computer is also having trouble shutting down now, weird "end program" messages keep popping up. I have been reading

  • How do I un-pillarbox 4:3 material broadcast in 16:9?

    In widescreen (16:9) digital TV broadcasts, source material which was originally 4:3 is simply pillarboxed. Is there any way of removing the pillarboxes to revert it to a 4:3 DV without losing resolution? Using Quicktime to convert 16:9 material to 4