RMIRegistry and rmiserver running  on different machines

hi,
Is it possible that RMIRegistry and rmiserver run on different machines?

Its possible, but you cannot bind objects into the registry from a remote machine, due to security restrictions in force in Sun's RMI implementation.

Similar Messages

  • Why Mac crashes when I run the clean speech ring of osx and then run the RestoreTime Machine?

    Why Mac crashes when I run the clean speech ring of osx and then run the RestoreTime Machine? Could it be that I run restore the setup from a usb drive. I've done thisbefore and when it has not been a problem.
    Does anyone have a good answer on this so I'm happy.

    kjell-einar wrote:
    Why Mac crashes when I run the clean speech ring of osx
    What is that?
    run the RestoreTime Machine?
    What are you restoring? 
    Do you mean a full system restore?  Or something else?
    When does your Mac crash -- during the restore, when you try to start up afterwards, or ?

  • Installing Oracle8i (EE) and Oracle9iAS (EE) on different machines (Windows 2000)

    Hi, All:
    Greetings! We are new to Oracle9iAS and we need your help.
    We want to try all of the Oracle9iAS components for our Oracle8i (8.1.7) data warehouse, so we use two Windows 2000 server machines to do the test. One is for the Oracle8i database (8.1.7) and another is for the Oracle9iAS. However, we have not found the installation guide on the Oracle sites for installing Oracle8i (EE) and Oracle9iAS (EE) on different machines. We have no problem installing the Oracle8i (EE). Our questions are:
    1. Is there any installation guide for installing Oracle8i (EE) and Oracle9iAS (EE) on different machines (Windows NT/2000)?
    2. Should we follow the steps in the Oracle9i Application Server Installation Guide for Windows NT/2000?
    3. Is there anything or tips for the installation we should know?
    Please help us if you know anything about the installation. Thanks for your time and kindness!
    Rong Bi
    [email protected]

    Hello,
    You can install oracle databaes and oracle 9ias on seperate machines which will have less problems indeed.
    All the documentation you get in technet is the latest !!!
    It is better you have 1.0.2.2 which is the latest release for Oracle 9IAS.
    The steps to install Oracle 9IAS in brief are as follows !!!
    > Install 8i database (which is not necessary in your case), but notedown the hostname, port, sid etc
    > Install 9IAS which requires the info of database which you have noted in step 1
    Follow the Installation documentation provided with Oracle 9IAS 1.0.2.2 which has screen shots !!!
    Also in technet a new folder 'Oracle9i by Example: Tutorial' has been added which has installation instructions !!!
    Hope this helps !!!
    A.Kishore

  • Running weblogic server and workshop on 2 different machines

    hi all,
    My computer cannot handle both the server and workshop running on it, at the same time.
    1) installed weblgic server, created domain on computer A.
    2) mapped the domain\source code(working in dev mode) on computer A to computer B.
    3) I open up the .work file in the mapped drive from workshop on computer B.
    Problem:
    Computer B never completes "Scanning .. source...", very processor intensive.
    Any help, very much appreciated.
    Novice!

    Workshop is a pig and the scanning thing spikes my CPU everytime (1.8Ghz P4 and 1G memory). Please make it better.

  • RMI client running from different machine giving error

    HI all
    I am trying to run the sample application getStart hello world.
    I am able to run the java applet from the same machine ....
    but i am get error when i am trying run client applet from the different machine .
    (HelloApplet exception: access denied (java.net.SocketPermission)
    client applet on machine1 and server and registory on machine2 in same lan .
    i copied the Helloapplet.class and Helloclient.html to machine1.
    appletviewer Helloclient.html
    but the java version is different in both machines.......
    can any one give some idea ....
    the errror i am geting is :
    HelloApplet exception: access denied (java.net.SocketPermission Neind-ws-003 res
    olve)
    java.security.AccessControlException: access denied (java.net.SocketPermission N
    eind-ws-003 resolve)
    at java.security.AccessControlContext.checkPermission(AccessControlConte
    xt.java:272)
    at java.security.AccessController.checkPermission(AccessController.java:
    399)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.lang.SecurityManager.checkConnect(SecurityManager.java:1042)
    at java.net.InetAddress.getAllByName0(InetAddress.java:559)
    at java.net.InetAddress.getAllByName0(InetAddress.java:540)
    at java.net.InetAddress.getByName(InetAddress.java:449)
    at java.net.Socket.<init>(Socket.java:100)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirect
    SocketFactory.java:25)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMaster
    SocketFactory.java:120)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:499)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:190
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:174)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:318)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Naming.java:84)
    at examples.hello.HelloApplet.init(HelloApplet.java:23)
    at sun.applet.AppletPanel.run(AppletPanel.java:344)
    at java.lang.Thread.run(Thread.java:484)
    The helloapplet.java code is :
    package examples.hello;
    import java.applet.Applet;
    import java.awt.Graphics;
    import java.rmi.Naming;
    import java.rmi.RemoteException;
    public class HelloApplet extends Applet {
    String message = "blank";
    // "obj" is the identifier that we'll use to refer
    // to the remote object that implements the "Hello"
    // interface
    Hello obj = null;
    public void init() {
         try {
              System.out.println("Path looking: " +getCodeBase().getHost());
         //obj = (Hello)Naming.lookup("//" +
              //     getCodeBase().getHost() + "/HelloServer");
                   obj = (Hello)Naming.lookup("//Neind-ws-003/HelloServer");
         message = obj.sayHello();
         } catch (Exception e) {
         System.out.println("HelloApplet exception: " +
                        e.getMessage());
         e.printStackTrace();
    public void paint(Graphics g) {
         g.drawString(message, 25, 50);
    The helloclient.html code:
    <HTML>
    <title>Hello World</title>
    <center> <h1>Hello World</h1> </center>
    The message from the HelloServer is:
    <p>
    <applet
              code="examples.hello.HelloApplet"
    width=500 height=120>
    </applet>
    </HTML>

    Your problem is at the following line.
    obj = (Hello)Naming.lookup("//Neind-ws-003/HelloServer");
    The line you had commented beforehand is
    //obj = (Hello)Naming.lookup("//" +
    // getCodeBase().getHost() + "/HelloServer");
    This worked because the applet was being retreived from the same server where the RMI server exists.
    Remember, applets can only connect themselfs to the same host they are stored in and retreived from. This is because of VM, the sandbox does not allow you to connect to other machines other than the server where it resides on. If you use a applet viewer it might work if you loosen the security features. On a browser i do not belive it can be done. Maybe if you modify your security options for the VM you are able to achieve something, but personally i'm going for the "It cannot be done " answer because of what I said before.
    Hope this helps
    If any trouble then reply and I'll answer later.
    Rui P.

  • Win_Api_Session functions and processes running on a machine

    Hi all,
    We all know that it is allowed to launch only one synchronous reports from forms on a machine. And instead of displaying the default reports alert message error , I want to display a formal alert because our customers do not like to see the standard alert message. One workaround I found is to use the Win_Api_Session package supplied in the d2kwutil library. We use Forms release 6i with patch 17 and reports release 6i with patch 17. But I do not know exactly what are the values to give for each parameters of the function one_session which returns true if a process is already running on a machine. The documentation of the arguments are the MDI window title, the name of the process, the active boolean flag, the window class, and the raise no_data_found boolean flag.
    So if I want to test if reports release 6i , RWRUN60.EXE , is already running , and the title of the reports window previewer is for example "COM_B_R: Previewer" , what should I put for each arguments ?
    Thank you very much indeed.

    Still no response.
    Is there another way to detect processes already running on a machine ?

  • Help required to put message to a queue running on different machine.

    Hi,
    I need to put a message to a queue which is on Queue manager running at different server. What I have are name of queue manager, name of queue and message to be put on the queue.
    Can you please help me as I m new to this area.
    Thanks alot.
    Omesh

    Your question is not about scripting. It is about how to use a third party system utility.  Post your questions here:
    http://forum.sysinternals.com/miscellaneous-utilities_forum11.html
    ¯\_(ツ)_/¯

  • Static field for apps running on different machines

    Hi:
    Let us say I have a class
    public class Client(){
    private int static someField;I know if you are running Client.java on a single machine, obviously you will only get ONE incarnation of someField because it is static.
    Now, let us say I run the Client.java on different machines, then there will be one someField genearted per each JVM , is that right??
    can someone confirm??
    I did a serach on Static field on the Forum, but nobody really touched on running it on different machines, so I thought I ask...

    There will be one instance of the static variable per JVM regardless of whether the JVMs are running on the same machine or different machines.

  • How do we invoke method of ejb which is on websphere through a jsp running on iplanet and both are on different machine

     

    Hi Kathryn,
    Yes, this is EXACTLY what I want to accomplish...
    So it would basically run:
    State 1
    Read input
    Determine next state (say 3)
    State 3
    Read input
    Determine next state
    State
    Read input
    Determine next state
    And so on...
    But, I am quite new to programming Labview state machines, and can't figure out how to even start when the sequence of states is random instead of fixed!!! I can do 1,2,3,4, like the vending machine VI example, but,  not 1,3,2,2,2,5,2,1 etc. based on external input.  Is there some simple example case I can study?  I can't believe I am inventing this for the first time.
    "select the state to run" 
    But, HOW do I do this???????   This is exactly the question I am asking...how is this done?  Please see the attached 3-state system....how do I hook this up????  I am totally lost here...can you help me understand how to wire this thing??  In this simpe RED/GREEN/BLUE case, my input is just the number a user would input on the front panel....  Apparently, there are two files necessary... a vi and .ctl???  What  is .ctl?
    Thanks,
    Dave
    Attachments:
    forum nov 12 red green blue.vi ‏7 KB
    forum nov 12 red green blue.ctl ‏5 KB

  • How do we invoke method of ejb which is on websphere through a jsp running on iplanet and both are on different machines?

     

    If you open the Example Finder and enter "dialog" you will find a "Login Dialog" VI that is a popup with a Close button. It is setup as a dialog, but this can be easily changed from the VI Properties->Window Appearance.
    An alternative approach if you want the stuff displayed all the time is to use subpanels. This embeds a subVI's front panel in a subpanel on a main VI. Another option is to use a tab control.
    You need to think beyond how to popup windows. You need to think architecture, which is where 90% of your programming is going to be concentrated. The best approach for you is a producer-consumer architecture. Search this group for "producer consumer" and you'll come up with many examples.
    This may seem like a cop-out answer, but your manager needs to seriously consider hiring an experienced LabVIEW developer who has done plant automation to act as a consultant and guide you. Anytime you're dealing with hardware there are always safety issues, even if you don't think there are. When you say "there is no major interlocks", that scares me.
    What you're describing isn't overly difficult, but for someone who's just starting out it can be overwhelming, especially if you have no prior programming experience. And I don't mean LabVIEW experience - I mean basic programming knowledge and experience. 90% of the problems people have programming in LabVIEW is that they simply don't know how to program in the first place.
    Message Edited by smercurio_fc on 06-20-2007 09:21 AM

  • Web server and apex running on same machine - port 8080 possible conflict

    Hi Guys,
    I have installed Apache Tomcat and currently in the process of installing Oracle 11G in the same machine.
    The tomcat is using port 8080 and I understand from other installs, that APEX uses 8080 as well.
    Is there way after installing Oracle 11G XE database, to shut down APEX so it doesn't conflict with Tomcat's use of 8080? I have no use for APEX at this point want to shut it down if its possible.
    Alternatively, can it be configured to use another port?
    Many thanks.

    You can do either, shut it down or change the port. So sad that you said you "have no use for Apex...". :(
    What gateway are you using for Apex? Is it the EPG, OHS or the Apex Listener? If you're using the EPG then there is a whole command structure/API for that. Here are a couple that you can run from a SQLPlus session:
    SELECT DBMS_XDB.GETHTTPPORT FROM DUAL;
    EXEC DBMS_XDB.SETHTTPPORT(port);
    For example:
    EXEC DBMS_XDB.SETHTTPPORT(8080);
    OR
    EXEC DBMS_XDB.SETHTTPPORT(8181);If you're using OHS then you go to your OHS/Apache directory and find the OPM path and issue your shutdown startup commands from there. If it's the Apex Listener with Glassfish then you go to the Glassfish admin console and shutdown your Apex deployment from there. Specifics I'll leave to you.
    Earl

  • UDP server and client running on same machine

    Hi all,
    I can't get the QuoteServer example to work. I am trying to run both server and client on same machine since I only have one machin available at the moment.
    I am using win xp behind a firewall. Anything that might interfere?
    With some System outs I can see that the server is waiting for request but never getting any...

    Restarted computer and now it works. Are ports locked up if I get an exception in the 'wrong' place?

  • ODI, can't start scenario running in different machines

    Hello All
    Well i am working in a consulting proyect where I need ODI and BPEL to connect each other.
    I have installed Oracle SOA Suite for weblogic 9.2 in a machine with ip 192.168.1.108
    I have installed ODI as a server in another machine ip 192.168.1.109
    I have installed Oracle Data Base in the of ODI 192.168.1.109
    Then I installed ODI CLIENT in my laptop (i mean, the topology manager, designer, operator all in my laptop)
    I have made a simple example where i created a "interface in odi" using ODI designer and the a package in which a call a bpel process and it works fine
    Now i need to create a bpel process to call a ODI SCENARIO...but i am stock in it.
    I have done the following:
    1. I deployed the AXIS2 webservice and it's working ok.
    2. I have started and ODI agent and I tested it using the topology manager and it is OK
    3. I created and deployed a bpel process to call the ODI scenario
    When i execute the instance of bpel, i get the following error in the AGENT (which is running in the same machine where ODI SERVER is installed 192.168.1.109)
    Server Launched
    java.lang.NullPointerException
            at com.sunopsis.dwg.dbobj.SnpScen.getObjectLst(SnpScen.java)
            at com.sunopsis.dwg.dbobj.SnpScen.getScenarionByCodeAndVersion(SnpScen.java)
            at com.sunopsis.dwg.cmd.DwgCommandScenario.b(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
            at com.sunopsis.dwg.cmd.e.t(e.java)
            at com.sunopsis.dwg.cmd.h.y(h.java)
            at com.sunopsis.dwg.cmd.e.run(e.java)
            at java.lang.Thread.run(Thread.java:595)
    java.lang.NullPointerException
            at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
            at com.sunopsis.dwg.cmd.e.t(e.java)
            at com.sunopsis.dwg.cmd.h.y(h.java)
            at com.sunopsis.dwg.cmd.e.run(e.java)
            at java.lang.Thread.run(Thread.java:595)
    And of course, the Scenario doensn't start.
    I have done many many tests, but i can't make it work.
    In my last test, I tried to invoke an odi scenario using the STARTSCEN.bat
    I followed the instructions in the otn thread {thread:id=839508}
    I modified the odiparams.cmd like this
    set ODI_SECU_DRIVER=oracle.jdbc.driver.OracleDriver
    set ODI_SECU_URL=jdbc:oracle:thin:@192.168.1.109:1521:soadesa
    set ODI_SECU_USER=ODIMASTER
    set ODI_SECU_ENCODED_PASS=ccfHG.0VJJ73yntbtLhr7xxbls
    set ODI_SECU_WORK_REP=ODIWORK
    set ODI_USER=SUPERVISOR
    set ODI_ENCODED_PASS=fJyH6P1neaZHeWG1cxpicApI Launched the agent in my laptop (local)
    and i got the same error in the ms-dos console where I use the startscen.bat program
    startscen CREATE_BPEL_HWF_TASKS 002 Global
    Starting scenario CREATE_BPEL_HWF_TASKS 002 in context Global ...
    java.lang.NullPointerException
            at com.sunopsis.dwg.dbobj.SnpScen.getObjectLst(SnpScen.java)
            at com.sunopsis.dwg.dbobj.SnpScen.getScenarionByCodeAndVersion(SnpScen.java)
            at com.sunopsis.dwg.cmd.DwgCommandScenario.b(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
            at com.sunopsis.dwg.cmd.e.t(e.java)
            at com.sunopsis.dwg.cmd.e.y(e.java)
            at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
            at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
            at oracle.odi.Agent.main(Agent.java)
    java.lang.NullPointerException
            at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
            at com.sunopsis.dwg.cmd.e.t(e.java)
            at com.sunopsis.dwg.cmd.e.y(e.java)
            at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
            at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
            at oracle.odi.Agent.main(Agent.java)
    java.lang.NullPointerException
            at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
            at com.sunopsis.dwg.cmd.e.t(e.java)
            at com.sunopsis.dwg.cmd.e.y(e.java)
            at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
            at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
            at oracle.odi.Agent.main(Agent.java)Does anyone know what could the possible problem be???
    I have tested the connection to the schemas/user of the database (ODIMASTER and ODIWORK repositories) and it's OK
    I am kind of new using ODI, but i have made the same TEST in a Virtual Machine installed in my laptop, where i use a Express Edtion Database, a BPEL console, and ODI CLIENTE (everything local) and all the tests works ok.
    1. Call a bpel web service from ODI ....OK
    2. Call a ODI scenario from BPEL using the AXIS2 web service ....OK
    3. start an scenario using the msdos console STARTSCEN ....OK
    I also checked that the SNP_REM_REP and SNP_LOC_REPW columns are the same in the master and work repositories, but it's OK
    What could be my problem?
    I think i can be related to the MASTER and WORK repositories, but i don't know what more could i check
    Thanks in advance

    It was a mistake with the parameters using the ODIparams.sh

  • Can FCP 7 and 10 run on same machine?

    Need FCP for past projects, but for new ones is FCP10 a good thing? Can I install them both and run separately for different projects?

    You must install FCP7 first, run all its updates and then install FCPX.

  • Can more than one LV app running on different machines have open references to the same device at the same time?

    I want to control a bunch of FP devices from one PC and serve this info to some satelites PC who will be on the same network. Most of the time,only the one PC will be interacting with all of the FP devices.
    In the event this main PC fails, I want to be able to quickly tell all of my FP devices to go into a safe state. I have a mechanism that will tell me the main is down. When this happens, I want to write the correct state to all of the output relays.
    To pull this off, I wanted all of the satelites to open FP connections to the relays that have to be driven to the safe state at starrt-up. When the failure of the main is detected, I want to be able t
    o drive the relays to the correct state with a minimal amout of delay. My experiments with using FP explorer with a single PC controlling a FP device in a LV app has showed that I can write from ether place any time I wantedwith no apparent interfearence. I this same functionality available from multiple machines?
    The alternative to this approach would target a watch-dog app at each of the FP controllers and have them fail-safe their outputs but this means I need to include support of RT in this app, and I was hoping to keep this simple. Each of the FP controllers would also have to be smart enough to know which if outputs should be acted on. i would alsolike some mechanism of knowing this has happened (for trouble-shooting purposes)
    I thought I read this was built into FP, but that may have applied to specific devices. I am not sure.
    Question:
    What is the simplest approach to setting my outputs quickly to a safe state when then main PC goes down?
    Thank you for reading,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

    Ben,
    The FP-100X, FP-160X and FP-20XX series of network modules all have communication watchdogs. The communication watchdogs are used to monitor the communications between host computers and the network module. If there are no communications within the timeout period, pre-programmed settings can be applied to each channel as desired. For proper operation, a communications watchdog has to be enabled in three locations; in the network module (enable/disable and set timeout period), in the I/O module (Enable/Enable on Use (FP-100X series only)/Disable) and on each individual channel. For relays/discrete outputs, you can program what state the channel goes to (on/off), for analog outputs, you can set the exact output value the channel goes to.
    For more in
    formation, please see the following tutorial. It explains in detail how the watchdogs work.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/FB7AABACC2BAB99686256C7E0080E60A?opendocument&node=11590_US
    Regards,
    Aaron

Maybe you are looking for

  • Start up problems on iMac version 10.7.3

    i recently bought a brand new 27 inch imac intel core duo i5. it has the latest software 10.7.3. sometimes when i start it up it takes ages to load then i have to "log in" however i haven't selected to log in. when it finally loads its really glitchy

  • How to export XI messages to XML files?

    Is there any way to download/export a message from XI?. I am thinking on the lines click and "Save As" for example, a message that just arrived from R/3 via RFC but before it gets further processing. I know that you can examine the message in XI but

  • HT5918 how to connect 6 DVI Displays to MacPro

    Apple states can connect up to 6 DVI displays to a MacPro explanation is not clear. Mixes Mini-Display and USB terminology. What does it mean? 

  • How can I cause the images to become clear like on Internet Explorer?

    When using IE if a picture is blurred I can right click the picture and click on "Display Image with Full Quality." Or if all pictures on the page are blurred I can right click on the page and click on "Display all Images with Full Quality." These op

  • Wrong catch block is reach

    Hi, I encounter a strange behaviour in exception handling. My web app can generate pdf files, and download them. If client closes its browser window, a ClientAbortException is thrown (which is expected behaviour, I guess.) However, I can't catch it c