Objects passed over RMI?

When passing a serializable object over RMI (such as an ArrayList) which contains other objects, do the objects contained within this object (e.g. within the ArrayList) need to be serializable also?

RMI server is very easy, if you want to make clear
about this problem .
you must read two interface . RemoteCall , RemoteRef
Socket clientSecket = new Socket(RemoteHost ,port);
OutputStream outputStream = clientSecket
.getoutputStream();
ObjectOutputStream out = new
ObjectOutputStream(outputStream)
out.write(Object);//
then send a Object to server. if the object not be
implements java.io.Serialisize , Exception will
throw.
are you clear ????? Sha BI ! !!!!!!Are you clear? RMI servers are much simpler than this, and you certainly don't need to know anything about either the RemoteCall or the RemoteRef interface. All this is done behind the scenes for you in RMI, just do call and return. Everyything passed or returned must be serializable, otherwise you get a NotSerializableException.

Similar Messages

  • Transferring object graph over RMI

    Hi all,
    I'm designing a client-server thingy, and am intending it to communicate over RMI. I'm currently designing a filter mechanism to let the client see a certain subset of the state (essentially an object graph), manipulate this, and transfer updates of it back to the server, which then are propagated to the other clients and so on.
    Any tips and tricks to take into account when transfering interconnected objects over RMI? (They don't need remove references, apart from the state transfer process, all local references are sufficient.) Also, I'd like to not transfer the entire "graph", only updates to it as they happen.
    I have a couple of ideas, I'd just like to hear your input before I dwelve more into the mechanics of them..
    Thanks!
    /C

    Go for it.
    Just think clearly about where the objects exist, and what get's transferred:
    o What objects are on the clients?.
    o What is a shared remote object?
    o What objects get passed from client to server? What objects are returned to clients?

  • Object passed to RMI Server

    Hello
    I have a function in the RMI client that passes an object to the RMI server. The server updates one of the members of this object.
    When I try to get this memebr from the client, I get 0.
    This is the Object code:
    public class Progress implements Serializable {
              private static final long     serialVersionUID     = 8168473416653301292L;
                        private int mProgress = 0;
        /** Creates a new instance of Progress */
        public Progress() {
        public int getProgress()
            return mProgress;
        public void setProgress(int progress)
                  System.out.println("progress = "+progress);
            mProgress = progress;
    }This is the function that passes the Object to the server:
              public RequestResult executeAdminAPI(int aDbTypeOrdinal, String aHost, int aPort, String aUser, String aPassword,
                                  String aInput, Progress progress) throws RMIClientException, SCException {
                        try {
                                  if (mServerInitialised)
                                            return mJNICommRMIServer.executeAdminAPIWrapper(aDbTypeOrdinal, aHost, aPort, aUser, aPassword, aInput, progress);
                                  else {
                                            synchronized (mServerInitializedMutex) {
                                                      return mJNICommRMIServer.executeAdminAPIWrapper(aDbTypeOrdinal, aHost, aPort, aUser, aPassword, aInput, progress);
                        catch (RemoteException e) {
                                  // We'll restart the server on JNIFatalException
                                  // means that we should kill the process and restart it
                                  // JNIFatalException means that the cpp code send an error code which
                                  // We don't restart the server on SocketTimeOut like the other functions,
                                  // because this function may take a long time to execute
                                  if (e.detail instanceof JNIFatalException) {
                                            restartServer("executeAdminAPI got an exception: " + e.detail.getMessage());
                                  if ((e.detail instanceof ConnectException)) // RMI-TODO check perhaps it
                                            // should be restartServer()
                                            startServer("executeAdminAPI got an exception: " + e.detail.getMessage());
                                  if (e.detail instanceof JNIException)
                                            throw new SCException(((JNIException) (e.detail)).getErrorCode(), ((JNIException) (e.detail)).getErrorMessage());
                                  else
                                            throw new RMIClientException(e);
              }The "setProgress" (called by the server) prints the correct numbers, but the "getProgress" (called by the client) returns 0.
    Can anyone explain please?
    Thanks,
    Libby

    Arguments are passed by value in RMI unless they are exported remote objects. So the update took place at the server only. If you want it reflected at the client, either (i) return the updated object as the result of the method, or (ii) make the updatable object an exported remote object, i.e. a callback. But note that (ii) doesn't play with firewals in place.

  • Stupid NPE, passing over RMI, it is externalizable.

    Hi,
    I have an object (ObjectA) which holds a 2 element array of objects (ObjectB). Both objects are externalizable and have the read/writeExternal methods implemented. However when the server side receives the object the array of objects (ObjectB) contains all null values. Anyone any ideas?
    Thanks

    The null pointer exception occurs when I try to access a string in ObjectB. Its actually a 4 element array also. (Dont ask!).
    Code:
            //This is in the writeExternal
            if (objectBInstance!= null && objectBInstance.length > 0) {
                  oo.writeInt(objectBInstance.length);
                  oo.writeInt(objectBInstance[0].length);
                  oo.writeInt(objectBInstance[0][0].length);
                  oo.writeInt(objectBInstance[0][0][0].length);
                  for (int i = 0; i < objectBInstance.length; i++) {
                       for (int j = 0; j < objectBInstance.length; j++) {
                        for (int k = 0; k < objectBInstance[i][j].length; k++) {
                             for (int l = 0; l < objectBInstance[i][j][k].length; l++) {
                                  oo.writeObject(objectBInstance[i][j][k][l]);
         } else {
              oo.writeInt(0);
    //This is in the readExternal
    length = oi.readInt();
         if (length > 0) {
         int length2 = oi.readInt();
    int length3 = oi.readInt();
    int length4 = oi.readInt();
              objectBInstance= new ObjectB[length][length2][length3][length4];
              for (int i = 0; i < length; i++) {
                   for (int j = 0; j < length2; j++) {
                        for (int k = 0; k < length3; k++) {
                             for (int l = 0; l < length4; l++) {
                                  objectBInstance[i][j][k][l] = new ObjectB();
                                  objectBInstance[i][j][k][l] = (ObjectB)oi.readObject();
    Messy i know!
    The read/writeExternal in the objects used in ObjectB are ok too.

  • Sending Custom objects over RMI

    I am new to RMI and am having trouble sending customised objects over an RMI connection - I am trying to send an object of class DataFile which implements serializable, to a method on the server called loadPerformanceData(DataFile data). Here is the class DataFile:
    package org.twomey.fyp.loader;
    import java.io.*;
    import java.util.*;
    import java.text.*;
    import org.twomey.fyp.mail.*;
    * Class to accept a File Object to prepare a File for Data Loading.
    * It reads a Data File line-by-line and provides the functionality
    * to insert line records into the database.
    * @version 0.1
    * @author Sean Twomey
    public class DataFile implements Serializable{
    /** Data Loading Date */
    private String date;
    /** Log from Loading Process */
    private StringBuffer log;
    /** Array of lines from file */
    private String file[];
    * Constructs a Data File from a specified File Object.
    * Accepts the File object and Data Loading Date
    * @param inputFile Inputted File Object
    * @param date Data Loading Date
    public DataFile(File inputFile, Calendar date){
         // Formats the date into a form acceptable to Oracle DBMS
         SimpleDateFormat form = new SimpleDateFormat("dd-MMM-yy");
         this.date = form.format(date.getTime());
         String line;
         int count = 0;
         try{
              RandomAccessFile inFile = new RandomAccessFile(inputFile, "r");
              // Read until end-of-file counting lines
              while((line = inFile.readLine()) != null){
                   count++;
              // Initialise array size to number of lines.
              file = new String[count];
              // Return to start-of-file
              inFile.seek(0);
              for(int i=0;i < file.length;i++){
                   // Read line into array
                   file[i] = inFile.readLine();
              inFile.close();
         catch(IOException ie){
              System.err.println("IO Exception: " + ie);
    * Load the entire set of records into the Database.
    * Data is loaded line-by-line. A Data Record object
    * is initilised to perform record loading and the
    * insertRecord method is called for each record.
    * A log is compiled from the insertion process
    * @return The Process Log
    public StringBuffer loadData(){
         String record[];
         log = new StringBuffer("");
         System.out.println("HERE");
         System.out.println(file.length);
         // From the org.twomey.fyp.loader package
         DataRecord objRecord;
         objRecord = new DataRecord(date);
         // Line-by-Line
         for(int i = 0; i < file.length; i++){
              // Split the record into fields which have been tab-delimited
              record = file.split("\t");
              // Each record feed must be 12 fields for valid loading
              if(record.length != 12){
                   System.err.println("Invalid Feed for line " + (i+1));
                   log.append("Invalid Feed for Line " + (i+1) + "\n");
              else{
                   log.append("Line "+(i+1) + " " objRecord.insertRecord(record) "\n");
         return log;
    * Send an EMail upon Completion the Performance Data Loading Process.
    * The mail sents the log compiled during Data Loading.
    public void sendMailReport(){
         // Use the Mail class from the org.twomey.mail package
         Mail email;
         String from;
         String alias;
         String to[];
         String subject;
         email = new Mail("chara.ucc.ie");
         to = getAddresses();
         from = System.getProperty("user.name") + "@chara.ucc.ie";
         alias = "Sheet Generator System";
         subject = "Performance Data Loader Report";
         email.sendEMail(from,alias,to,null,null,subject,log.toString());
    * Returns Email addresses from file.
    * The <b>mail.config</b> file is read line-by-line.
    * Each line entry should correspond to an email address.
    * @return Email addresses in a <CODE>String</CODE> array
    private String[] getAddresses(){
         RandomAccessFile inFile;
    String strLine;
    String addresses[] = null;
         int count = 0;
    try{
         inFile = new RandomAccessFile(new File("mail.config"),"r");
              while((strLine = inFile.readLine())!= null){
                   count++;
              addresses = new String[count];
         inFile.seek(0);
              for(int i = 0; i < addresses.length; i++){
         addresses[i] = inFile.readLine();
    catch(IOException ie){
         System.err.println("IOException: " + ie.getMessage());
    return addresses;
    } // end getAddresses
    } // end Class

    You seem to be reading the file into a string array, then trying to pass the object that did the reading.
    Two alternatives:
    o Just pass the string array object.
    o Create a data only object, passing the string array as an argument to the constructor

  • Error passing a remote object in a rmi function call

    Hi,
    I've a problem passing an UnicastRemoteObject extended object in a rmi function call. I get the following error
    java.lang.IllegalArgumentException: argument type mismatch
    I've 2 Remote Objects: GalaxyRegistration and Station. I want to pass a Station Object as argument in a function from GalaxyRegistration. Does anyone know what the problem is?
    Here is the code:
    public class GalaxyRegistration
    extends UnicastRemoteObject
    implements GalaxyRegistrationInterface, Galaxy {
         public GalaxyRegistration() throws RemoteException {
         public void add(Station station) throws RemoteException {
              stations.addElement(station);
              System.out.println("Add Station " + station.getName());
    public class Station
    extends UnicastRemoteObject
    implements StationInterface {
         SystemInfo system;
         public Station(String name, String description, Coordinate position, Profile profile)
    throws RemoteException {
              system = new SystemInfo(name, description, position, profile);
    public class StationServer {
         Station station;
         public void run() {
              // create new Station
              System.out.println("Create new Station:");
              // register and bind new station
              try     {
                   station = new Station(name, descr, location, profile);
                   System.out.println("Station created ...");
                   GalaxyRegistrationInterface registry =
                             (GalaxyRegistrationInterface)
                             Naming.lookup
    ("//localhost/GalaxyRegistration");
                   System.out.println("Registry looked up ...");               
                   // >>>>>>>> NEXT LINE IS THE ERROR LINE <<<<<<<<<<<<<<     
                   registry.add(station);
              } catch(Exception e) {
                   System.out.println(e);
    }

    regardless of any other problems in your code, neither of the objects which you are subclassing from UnicastRemoteObject call the superclass constructor, which is a pretty basic flaw - in this case, it will lead to neither of these objects being exported properly.

  • How are objects and values passed in rmi?

    how are objects and values passed in rmi?

    In java there are two mwthods of passing aruguments and returning results.
    1) by value
    2) by reference.
    While invoking local methods, java passes primitive types by value and objects by reference.
    However while invoking remote methods both these data types are passed by value. Except for the objects being exported. Reason being two different JVM's are involved and thus memory addresses references of one are meaningles for the other. However "pass by value" for values of type object are implemented as deep copy.

  • Connection Aborted over RMI

    Hi All,
    I am sending some data over an RMI call to store it in to a File.
    i.e client sends an objcet over RMI and server saves this object in to a File.
    but some time the this call is terminated before it reaches the server and socket conncetion is closed.
    The stack Trace of this exception is :
    at $Proxy5.storeInitialCondition(Unknown Source)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                    at java.lang.reflect.Method.invoke(Unknown Source)
                    at com.pg.orion.basic.rmiservlet.DynamicProxy.invoke(DynamicProxy.java:346)
                    at $Proxy6.storeInitialCondition(Unknown Source)
                    at com.pg.orion.basic.simulation.adapter.SimulationAdapter.saveSnapshot(SimulationAdapter.java:1054)
                    at com.pg.orion.basic.simulation.adapter.SimulationAdapter.processSimulationEvent(SimulationAdapter.java:573)
                    at com.pg.orion.basic.simulation.adapter.SimulationAdapter.access$100(SimulationAdapter.java:44)
                    at com.pg.orion.basic.simulation.adapter.SimulationAdapter$1.run(SimulationAdapter.java:192)
                    at com.pg.orion.basic.threads.DefaultLoopThread.run(DefaultLoopThread.java:206)
                    at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.SocketException: Software caused connection abort: socket write error
                    at java.net.SocketOutputStream.socketWrite0(Native Method)
                    at java.net.SocketOutputStream.socketWrite(Unknown Source)
                    at java.net.SocketOutputStream.write(Unknown Source)
                    at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
                    at java.io.BufferedOutputStream.write(Unknown Source)
                    at java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown Source)
                    at java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(Unknown Source)
                    at java.io.ObjectOutputStream.writeFatalException(Unknown Source)
                    at java.io.ObjectOutputStream.writeObject(Unknown Source)
                    at sun.rmi.server.UnicastRef.marshalValue(Unknown Source)
                    ... 16 moreI thought that this is because of the size of the data,but in my testing some times i am able to store big size data.
    Is there any Threshold of RMI or socket to write data?
    If any of You have any idea pls Lat me know.
    Thanks

    It is likely that the other end has closed the connection for some reason.
    I would check if the server side has thrown an exception or closed the connection.
    The main limit for RMI is the max memory the server process. Anything you send needs to fit comfortably into memory. (from all the client requests combined)

  • Attempting to use SSL over RMI from a web application to a RMI server

    Hi,
    I am attempting to use SSL over RMI to a server. The client is the web
    application that is hosted on WebLogic and that attempts to connect to the
    server. There is no client or server verification at either the client or
    the server end. The code works outside of WebLogic 7/8 but has the following
    issues when running the web application inside weblogic:
    java.rmi.ConnectException: Connection refused to host: gkhanna1; nested
    exception is:
    java.net.ConnectException: Connection refused: connect
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
    at java.net.Socket.<init>(Socket.java:268)
    at java.net.Socket.<init>(Socket.java:95)
    at
    sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketF
    actory.java:20)
    at
    sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketF
    actory.java:115)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:494)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:169)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Naming.java:79)
    at
    com.hyperion.css.spi.impl.ntlm.NTLMConnectionClient.initConnection(NTLMConne
    ctionClient.java:59)
    at
    com.hyperion.css.spi.impl.ntlm.NTLMConnectionClient.getUsers(NTLMConnectionC
    lient.java:197)
    at com.hyperion.css.CSSAPIImpl.getUsers(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.initialize(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.initialize(Unknown Source)
    at jsp_servlet._jsp._app1.__app1signin._jspService(__app1signin.java:133)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1058)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :401)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :445)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :306)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:5445)
    at
    weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:780)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3105)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2588)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    The code at the client that initiates the connection:
    socketFactory = (SSLSocketFactory) SSLSocketFactory.getDefault();
    SSLSocket socket = (SSLSocket) socketFactory.createSocket(host, port);
    socket.setEnabledCipherSuites(CIPHERS);
    socket.setEnableSessionCreation(true);
    Any ideas?
    Thanks

    I don't see anything that indicates SSL was directly a factor in the
    failure.
    From the exception stack it looks like a more basic connectivity issue,
    maybe the URL for the
    RMI server is incorrect for some reason or the server was down.
    It looks like you are doing something like this:
    SSL client -> WLS server with servletA, servletA RMI client
    (com.hyperion.css) -> RMI server
    The connection failure appears to be the connection from servletA RMI client
    to the RMI server.
    Is that a correct picture?
    Tony
    "Gaurav Khanna" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I am attempting to use SSL over RMI to a server. The client is the web
    application that is hosted on WebLogic and that attempts to connect to the
    server. There is no client or server verification at either the client or
    the server end. The code works outside of WebLogic 7/8 but has thefollowing
    issues when running the web application inside weblogic:
    java.rmi.ConnectException: Connection refused to host: gkhanna1; nested
    exception is:
    java.net.ConnectException: Connection refused: connect
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
    at java.net.Socket.<init>(Socket.java:268)
    at java.net.Socket.<init>(Socket.java:95)
    at
    sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketF
    actory.java:20)
    at
    sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketF
    actory.java:115)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:494)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:169)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Naming.java:79)
    at
    com.hyperion.css.spi.impl.ntlm.NTLMConnectionClient.initConnection(NTLMConne
    ctionClient.java:59)
    at
    com.hyperion.css.spi.impl.ntlm.NTLMConnectionClient.getUsers(NTLMConnectionC
    lient.java:197)
    at com.hyperion.css.CSSAPIImpl.getUsers(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.initialize(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.initialize(Unknown Source)
    at jsp_servlet._jsp._app1.__app1signin._jspService(__app1signin.java:133)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1058)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :401)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :445)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :306)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:5445)
    at
    weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:780)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3105)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2588)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    The code at the client that initiates the connection:
    socketFactory = (SSLSocketFactory) SSLSocketFactory.getDefault();
    SSLSocket socket = (SSLSocket) socketFactory.createSocket(host, port);
    socket.setEnabledCipherSuites(CIPHERS);
    socket.setEnableSessionCreation(true);
    Any ideas?
    Thanks

  • Calling a function on an object passed as argument

    Hi everyone,
    i'm trying to call an actionscript function on an object passed as argument to a c function. Here are how I do :
    I have a class named test_class implemented as
    package
         public class test_class
              public var bliblou:int;
    and a C function that have to modify the bliblou var of an test_class object passed as argument. Here is my function :
    static AS3_Val test_obj_param( void* self, AS3_Val args )
         AS3_Val obj;
         AS3_ArrayValue( args, "AS3ValType ", &obj );
         AS3_Set( obj, AS3_String("bliblou"), AS3_Int( 123456 ) );
         return AS3_Null();
    Then I call the function in my actionscript main function like this :
    var loader:CLibInit = new CLibInit;
    var lib:Object = loader.init();
    var test:test_class = new test_class();
    lib.test_obj_param( test );
    But when the test_obj_param is trying to run, I obtain an error saying "unable to access a propriety of a null object".
    What am I doing wrong ? Is it possible to do what I try to (calling a function on an object passed as argument) ?
    Thanks in advance

    After a long trip to Alchemy possibilities and a lot of tests I have finally found a solution to my question.
    Instead of using AS3ArrayValue to get my objet, I use the AS3 function shift on the args array to get my object. Here is how I do
    static AS3_Val test_obj_param( void* self, AS3_Val args )
         AS3_Val emptyParams = AS3_Array("");
         AS3_Val obj = AS3_CallS( "shift", args, emptyParams );
         AS3_SetS( obj, "bliblou", AS3_Int( 123456 ) );
         AS3_Release(emptyParams);
         return AS3_NULL();
    Maybe there is a bug in the AS3ValType getter.

  • Hi. Whenever I go through one of the menus in firefox, the links remain highlighted after my mouse passes over them. Is there a bug fix for this or is there something wrong with my computer? I am running windows 7 if that helps.

    Hi. Whenever I go through one of the menus in firefox, the links remain highlighted after my mouse passes over them. Is there a bug fix for this or is there something wrong with my computer? I am running windows 7 if that helps. This problem started ever since I upgraded to version 5.

    I have downloaded and used the iPod Reset Utility, alot that did. My current state is iTunes on my XP Home with SP3 sees the iPod. When I drag a song to the iPod, the Sync message appears for about 5 minutes, then the Apple symbol appears. But no song has been transferred to the iPod.
    I tried to tap into the XP iTunes database from my iBook, but although it acted like it would add the XP library to the iBook library, it did not. I've got 19 Gs of songs on the XP. If I have to load each song from its original CD to get it on my iBook I'm going to start looking for some other app or device so that I can listen to my music.
    It is a shame, in the old days, Apple techs use to look at what was going on, now it appears they don't, so they never know they have problems until Apple's profits fall.

  • IMac 27 on the USB cable and electric current passing over me.

    Guys, I have touched on my iMac 27 on the USB cable and I have got an electric current passing over me. My feet were naked. When I got my shoes back the problem gone. Is this normal? Is it safe for my iMac and external devices?

    hmmm, I have nothing attached on them, it is just two usb cables one for my Nikon the other for my multipad and nothing was attached on them. And I have touched by accident on the one and i have this small current passing though my hands and then i have touched on the other one to see whats happening and same result. I had just took a shower and barefoot. Then when i put my shoes on. Problem gone!
    thank you

  • Load balancing over rmi requests

    On a cluster of ias10g (9041), Is it possible that all requests over RMI use a "virtual" hostname and port which directs them to a load balancing mechanism which then determines which of the operational OC4J instances should process this request?

    Does anyone know anything on this question?

  • Image reference vs image "value" to pass over

    I have an issue  (or so I believe) with image references or pointers as I prefer to call them.
    Majority of the functions use the reference and it is fine for efficiency, however...
    I have two fast parallel loops working on an image. The first one, once it is done with the image, it passes it to the next loop and itself gets another image etc. The problem with this situation I have is that the second loop gets the reference and in the mean time the first one is changing the value of the image since it is working with the same reference. At least I assume it is what is happening.
    The only real solution to this problem would be (imho) to pass a copy of the image (a vale instead of a pointer) to the second loop. This way each one is working on its own chunk of memory. Using queues seem reasonable to me here. The problem is I do not see a quite clear way to get to the so called value of the image instead of a pointer. I was thinking about using "Flatten to Image" and passing it over to the next loop. Is there a better way to deliver a "value" copy of the image?
    Also the architecture of two loops must be kept the way it is. Do I have a more brilliant way of having two loops working in parallel and then passing over image data? Thanks a lot.
    Solved!
    Go to Solution.

    This is my version of the image ring buffer. I briefly tested it and it seems to work. If not please let me know. If you know how to improve it, please post. Thanks
    Attachments:
    CirImBuf.vi ‏11 KB
    CirImBufCreate.vi ‏14 KB

  • Finder does not open when a file passes over (mac os X 10.8.3)

    Just installed mac os 10.8.3 mountain lion. As such, it seems with this OS X version the "finder" does not open when a file passes over (in order to move it from desktop).
    The screen dims a little and nothing else happens.
    How can I recover the "finder" functionality that apparently doesn not exist anymore?
    Is it something wrong that I am doing?
    Regards
    José

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    This time you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

Maybe you are looking for

  • How can I get rid of the dirt in my camera?

    Apparently I've got a dirt particle in my front camera: a little black dot is showing up when I use it. Is this fixable or covered by my warranty?

  • DBCA (10gR2) in solaris 10 doesn't create DB, has 0 errors

    Hi, I have oracle 10.2.0.1 installed on a Solaris 10 SPARC box, and am trying to create a database. When I installed Oracle, I originally opted to create a new database, but when it got to the DBCA section, the installer seems to pause with the resul

  • Sender PROXY- Receiver SOAP AXIS

    Dear Experts, we are gettting below error in SXMB_MONI   <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!--  Technical Routing   --> - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/env

  • Help: Dosen't work...

    This is giving me bad errors: import javax.swing.*; public class payEmployee public static void main(String args[]) String strbooks; String strmovies; String strcd; double books = 0; double movies = 0; double cd = 0; double sum = 0; double parseNum =

  • SMS service setup

    Does anyone know how to set up SMS service from the JMS server? I am working on an application which require a SMS alerts. Thanks