Ds writer example problem

Whenever I run the "DS writer.vi" example VI, I get an error pop-up stating "Cwdss has caused and error in MFC42.DLL" Cwdss will now close." I am running Windows ME and LabVIEW7. Has anyone else experienced this?

This doesn't really answer your question, but I would recommend ditching Windows ME, if you can afford to do so. It is an orphaned product, which is full of problems and was simply a money grab by MS before they could release Windows XP.
Good luck,
-Jim

Similar Messages

  • Problems using AVI read/write example

    I would like to test some vision processing software I wrote by reading an AVI file rather than a live stream. I found the "AVI read/write example" mentioned on this forum and it sounds like exactly what i need, but I cannot get it to read my avi files. When I run the example read VI, it says "An exception occured with the external code called by a call library node". Doing further testing, I found one AVI on my computer that would work, all others crash the VI. Another odd behavior is that the "avi init read" subvi will return the wrong frame rate for some AVIs. I have tried both compressed and uncompressed AVIs all in RGB format. I have also tried different frame rates and encoding options for my AVI file with no luck. I am just a stud
    ent, so buying software is not an option for me.
    Has anyone had problems reading AVIs with this? Are there AVI encoding options that will make this VI work?

    Hello,
    I think the avi functions that you get are VFW based, it can not read
    any format of compression codec. But it should be able to read
    uncompressed AVI files. But anyway, if you can't get IMAQ-vision 7.0
    avi functions to try (I don't have, I don't know how it works), you
    can always get my IVision to try out. In IVision, there are two groups
    of avi functions. One is called "AVI functions", they are VFW based,
    so not always work for all kind compressed avi files, but I have
    another group called "Media files", the functions there work for all
    format compressed AVI files, including mpeg, asf, avi... you can
    access the frame image by using a callback vi (example included), seek
    the media position, change play rate, etc.
    Go to get a download at:
    http://www.hytekautomatio
    n.com/Products/IVision.html
    Irene
    excube wrote in message news:<50650000000800000028B00000-1068850981000@exc​hange.ni.com>...
    > I would like to test some vision processing software I wrote by
    > reading an AVI file rather than a live stream. I found the "AVI
    > read/write example" mentioned on this forum and it sounds like exactly
    > what i need, but I cannot get it to read my avi files. When I run the
    > example read VI, it says "An exception occured with the external code
    > called by a call library node". Doing further testing, I found one AVI
    > on my computer that would work, all others crash the VI. Another odd
    > behavior is that the "avi init read" subvi will return the wrong frame
    > rate for some AVIs. I have tried both compressed and uncompressed AVIs
    > all in RGB format. I have also tried different frame rates and
    > encoding options for my AVI file with no luck. I am just a student, so
    > buying software is not an option for me.
    >
    > Has anyone had problems reading AVIs
    with this? Are there AVI encoding
    > options that will make this VI work?

  • Write access problem with external Storage Device Connected to macbook

    Hi All,
    I have write access problem ( gives only read-access, but no write access) with an external HDD device (NTFS formatted ) connected to my macbook.
    Could anyone suggest me a file system ( apart from FAT32) which is compatiable with both Mac OS as well windows ;also this file system should allow me to create partitions of size more than 100 GB
    (My external storade devcie capacity is 500 GB )
    Thanks
    Nelson

    Hi Nelson,
    simply said there is no such file system.
    Regardless what you choose, only FAT32 is fully read-/writeable from both Mac OSX and Windows.
    Third-Party helper for access to certain file systems are:
    MacDrive (for Windows using HFS+, the OSX file system)
    MacFuse with 3G (for fully usage of NTFS in OSX)
    Paragon NTFS for OSX (also for fully usage of NTFS in OSX)
    Only MacFuse is freeware, the other two are Commercial apps.
    And just in case you are thinking of any Linux file system, like Ext3 or ReiserFS, you will at least need driver for Windows if not also for OSX (not sure about that).
    Regards
    Stefan

  • Is anybody has the example problem for AD/DA converter controled by PIC16F84?

    In my circuit( Multisim 9), I use PIC16F84 as the
    MCU to control the DAC and ADC. I want to ask if anyone has the example
    problem for the controlling?
    Further more, the I/O port of
    PIC16F84 seems can not be connected with the digital output of DAC, so
    I asked myself, is it right that for PIC16F84, the I/O port can only
    connected with the serial port of DAC and ADC? Or it needs a converter
    to adapt to the  input  port of DAC?
    Looking for any help! Thanks!

    You can test the new Design Circuit Suite (includes Multisim10 with MCU10 and Ultiboard 10 with Ultiroute10). When you open Samples you find the folder MCU with PIC folder. In these you can find some examples to PIC16F84. With that as pattern you should solve the problem.
    I attached you here the MCU examples in the *.zip
    For downloading the 30 days free test version you can use the link:
    http://www.ni.com/academic/multisim/ and click to evaluation software
    or these link:
    https://sine.ni.com/apps/utf8/nigb.confirm?p_gb_prof_id=7350&p_lang=US&p_dl_url=&p_dwnld=N&p_code=GB...
    Attachments:
    MCUPicScreenshot.zip ‏964 KB

  • JWSDP 2.0 JAX-RPC example problem Fast Infoset

    Hi,
    I installed JWSDP 2.0 and and Tomcat 5.0 for JWSDP. The server runs fine and the example HelloWorld is accessible (I can see the WSDL file in my browser: http://localhost:8080/jaxrpc-HelloWorld/hello?WSDL).
    The Problem is that I can not run the client: I tried "ant run-client". The error occurs while trying to create a stub in the file "HelloClient.java" with the following line of code:
    stub = (HelloIF_Stub) (helloWorldService.getHelloIFPort());
    This is the error I get:
    [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/jvnet/fastinfoset/FastInfosetSource
    [java] at hello.HelloWorldService_Impl.getHelloIFPort(HelloWorldService_Impl.java:59)
    [java] at hello.HelloClient.setUp(HelloClient.java:68)
    [java] at hello.HelloClient.main(HelloClient.java:45)
    [java] Java Result: 1
    I am not sure about the structure of the application, so I don't know where to look for the "FastInfosetSurce" file.
    Thanks for any help.
    Best regards.

    Hi,
    I reselved the problem by just copying the FastInfoset to the jaxrpc\lib directory (I am sure this should work in a different way).
    Well, the next problem I am getting is that the "XMLStreamWriter" class cannot be found. This class is contained in jsr173_api.jar.
    I guess my main question is the following:
    Which projects are necessary to get this simple helloWorld example to work?
    I did set the JWSDP_HOME varible. Is there another setting I have to make to have all necessary jar-files available and to be able to run the samples?
    Could anybody point me to a tutorial that does not only show a few lines of code (as the HelloWorld sample in the JWSDP-Tutorial) but that would instead lead me through a step-by-step sample application that I write by myself and actually runs at the end? The example in the JWSDP-Tutorial uses all kinds of existing config files which are not explained.
    Thanks for your help.

  • How to build a working executable of the DataSocket writer example VI

    I'm trying to build an executable of the "DS Writer.vi" example.  The first problem was that the "DataSocket Server Control.vi" was not distributed with my build/install script.  I fixed that (thanks Dennis) but now I get the following error message.
    LabVIEW:  (Hex 0x626) Cannot open a VI with separated compiled code in a Run Time Engine that has no access to the VIObjCache.
    There is a solution to that (http://forums.ni.com/t5/LabVIEW/Getting-LabVIEW-load-error-code-59-using-LabVIEW-2010-with-a-Run/td-...), but it involves changing a property of a VI in the DataSocket library (if I understand that correctly).  I'm reluctant to make a change to a standard NI library as it could cause maintenance problems in the future (other developers not having the same change, or updating LabVIEW versions).
    Has anyone successfully built an executable using DataSocket?  If so, can you offer any advice?  I'm using LabVIEW 2011.
    Thanks, Mark
    Solved!
    Go to Solution.

    Thanks Nathan.  I was able to build and deploy an executable with DataSocket.  The last hurdle was to "Uncheck the 'Separate compiled code from source file' option in VI Properties" for the "DataSocket Server Control.vi".  The only problem with that solution is that I now have a customized DataSocket library.  I think one solution might be to copy that VI or the library into my project folder so that the solution is transferrable to others in the future.  I would like to hear how other LabVIEW developers deal with customized libraries, either by strictly avoiding that, maintaining their own copies, or some other solution.  But that is probably a topic for a new thread.

  • NIO write flush problem?

    Hello there,
    I've got a odd problem here, and it's going to be hard to explain so please excuse me if I haven't explained correctly. I'm writing a Java application, which uses nio, with non blocking sockets, to handle its networking. I presumably have a problem with writing data. Quick recap of the problem is that for some reason, data gets concatenated to each other and then sent. So for example, let's say I'd want to send 'hello' and 'there'. What my application sometimes does, is sending 'hellothere' instead of sending 'hello', and then, in a new packet, 'there'.
    What now happens on the server side is that it receives 'hellothere' and doesn't know what do with it, while it would have worked fine if they were separated.
    This is a snippet coming from the server. This is always running on background (in a thread), in a loop.
    synchronized (m_ChangeRequests)
                        Iterator changes = m_ChangeRequests.iterator();
                        while (changes.hasNext())
                            ChangeRequest change = (ChangeRequest)changes.next();
                            switch (change.getType())
                                case ChangeRequest.CHANGEOPS:
                                    SelectionKey key = change.getSocket().keyFor(m_Selector);
                                    try
                                        key.interestOps(change.getOps());
                                    catch (NullPointerException e)
                                        disconnectClient(getClientWithChannel(change.getSocket()));
                        m_ChangeRequests.clear();
    // Waiting for events
                    m_Selector.select(1000);
                    // Get keys
                    Set keys = m_Selector.selectedKeys();
                    Iterator i = keys.iterator();
                    // For each keys...
                    while(i.hasNext())
                        SelectionKey key = (SelectionKey) i.next();
                        // Remove the current key
                        i.remove();
                        // if isAccetable = true
                        // then a client required a connection
                        if (!key.isValid())
                            continue;
                        if (key.isAcceptable())
                            accept(key);
                        else if (key.isReadable())
                            read(key);
                        else if (key.isWritable())
                            write(key);
                    }Now, I suppose the important method here is write().
    private void write(SelectionKey key)
            SocketChannel socketChannel = (SocketChannel)key.channel();
            synchronized (m_PendingData)
                List queue = (List)m_PendingData.get(socketChannel);
                while (!queue.isEmpty())
                    try
                        ByteBuffer buf = (ByteBuffer)queue.get(0);
                        System.out.println(socketChannel.write(buf));
                        if (buf.hasRemaining())
                            continue;
                        queue.remove(0);
                    catch (IOException ioe)
                        ioe.printStackTrace();
                if (queue.isEmpty())
                    key.interestOps(SelectionKey.OP_READ);
                  As you can see I'm using a variable m_PendingData there, which is simply a HashMap. There is another important method, which is the send method.
    public void send(SocketChannel socket, byte[] data)
            synchronized (m_ChangeRequests)
                m_ChangeRequests.add(new ChangeRequest(socket, ChangeRequest.CHANGEOPS, SelectionKey.OP_WRITE));
                synchronized (m_PendingData)
                    List queue = (List)m_PendingData.get(socket);
                    if (queue == null)
                        queue = new ArrayList();
                        m_PendingData.put(socket, queue);
                    queue.add(ByteBuffer.wrap(data));
            m_Selector.wakeup();
        }You might have noticed the m_ChangeRequests variable. Please see the first code snippet for what it does. It's a LinkedList.
    Sorry if I have not explained it clear enough. I suppose this problem could also be in the read method, I assume it is in the write method though.
    Thanks,
    Lars

    Basically you can't think of reading and writing to/from sockets in terms of packets - you write some bytes to the socket at one end, and read some bytes at the other. This is true for both blocking and non blocking sockets.
    If you want your bytes to be split into meaningful packets, then you have to encode the packet format yourself. A really simple way to do that is to start each message with a fixed number of bytes that contain the number of data bytes in the packet - from your example this would give:
    5 hello 5 there
    On the reading end, your server will then be able to read the initial byte count of each packet and know how much data is expected.

  • Anygantt with javascript 32k example problem

    Dear all,
    I have tried the example from Tobias http://apex-at-work.blogspot.com/2011/04/handling-32k-problem-in-apex-charts.html.
    Unfortunately the chart will not be displayed. I have set the textarea to visible. The XML is correct. The XML (short version) works fine in the normal apex gantt chart procedure.
    I am not sure if the swf file will be found...
    HTML Page source:
    </periods>
    </resource_chart>
    </anygantt></textarea>
    <div id="chartDiv"></div>
    <script type="text/javascript" language="javascript">
    /* Set default swf path */
    AnyChart.swfFile = '/i/flashchart/anygantt_4/swf/AnyGantt.swf';
    /* Create new gantt chart */
    var chart = new AnyChart();
    chart.width="2500";
    chart.height="1400";
    /* Get string data from text area */
    var data = document.getElementById('rowData').value.toString();
    /* Set data */
    chart.setData(data);
    /* Write chart to "chart" div */
    chart.write("chartDiv");
    </script>
    Using Application Express 4.0.2.00.08
    Linux system
    Thanks for your help.
    Birthe

    Hi all,
    I got the solution this morning...
    The problem of the example is the JS command for the header.
    I have changed it this way :
    <script src="/i/flashchart/anygantt_4/js/AnyChart.js" language="javascript"></script>
    Bye,
    Birthe

  • Read and write file problem

    hello
    I have web application and I try using servlet to upload an image
    upload proccess works fine
    example
    1. I upload the the file C:\images\books\mybook.gif into
    temp folder
    2. other actions
    3. I want to write the fole mybook.gif into othet folder
    this process oerks fine on my home pc
    but I becom an ecxeption by webprovider
    /home/mydomain/public_html/projects/tempData/C:\images\books\mybook.gif(No such file or directory)what shoud be the problem and how to solve this issue
    thanks

    here is the code of the uploadservlet
    public void doPost(HttpServletRequest request, HttpServletResponse response)
                   throws ServletException, IOException
        PrintWriter out = null;
        String tempUploadDir = request.getSession().getServletContext().getRealPath("/")+"MyTemp"+File.separator;
         try
              out = response.getWriter();
             response.setContentType("text/html");
             MultipartRequest parser = new ServletMultipartRequest(request,
                                                                               MultipartRequest.MAX_READ_BYTES,
                                                                               MultipartRequest.IGNORE_FILES_IF_MAX_BYES_EXCEEDED,
                                                                               null);
                 Enumeration files= parser.getFileParameterNames();
                      while(files.hasMoreElements()){
                                boolean sizeOK    = true;         
                                String name       = (String)files.nextElement();
                                String filename   = parser. getBaseFilename(name);
                              InputStream ins   = parser.getFileContents(name);
                              if((parser.getFileSize(name) / 1024) > AppConstants.MAX_READ_BYTES){sizeOK = false;}
                         if(sizeOK){
                              if (ins!=null)
                                      BufferedInputStream input = new BufferedInputStream(ins);
                                   FileOutputStream outfile = new FileOutputStream(new File("MyTemp",filename));
                                             int read;
                                             byte[] buffer = new byte[4096];
                                             while ((read=input.read(buffer))!=-1){
                                                        outfile.write(buffer, 0, read);
                                             outfile.close();
                                             input.close();
             }// end out while
         }catch (Exception e) {  out.flush(); }
    what is to change here thanks

  • Using javascript to call a signed applet's read/write functions problem.

    Hi, I wan't to use javascript to call the read/write functions of my signed java applet.
    The applet can read/write fine, if its called from inside the applet, but when I make public functions to do the read/write and then call those functions from javascript, i get the old security exception.
    Has anyone done this before?
    Thanks

    From what I understand is that for example file IO can only be done if the current method
    has this privilege and the stack that called the current method had this privilege.
    Javascript doesn't have any privilege and calling methods that do file IO directly from
    javascript should not work, this bug was fixed in 1.4.2.
    The workarround AccessController.doPrivileged(new PrivilegedAction() { might allso be
    fixed in later versions since changing the privileges of currently executing code is
    someting that should not be possible when the currently executing code is called from
    "untrusted" (javascript) code.
    http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
    second post

  • Oracle BPM - Expense Management Example problem

    Hi,
    I have just started to explore Oracle BPM Version 10.3.2 and I am trying to execute the Expense Management Project as given in the starters documentation.
    http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/tutorial/index.html
    After deploying the process and going into the workspace using
    http://localhost:8585/workspace
    I am not getting anything listed in the Applications tab. It is showing the following error:-
    Could not retrievePrincipal applications for process '/ExpenseReporting'.
    I searched in this same forum and came across this post:-
    Re: Why there is no application in workspace?
    which says that it may be due to version conflicts or some error coming up in the problems tab.
    I checked my problems tab but it is not showing anything.
    Eliminating this I thought it may be due to version conflicts (as i am following the post) so I uninstalled all my JDK's and just installed jdk 1.6 update 21 but still I got the same problem - i think this solved the issue for some users (Satya Anareddy)
    Then in one comment in the same post given by Dan (Daniel Atwood ) i tried using the default 1.5 JM.
    But still I am getting the same error.
    I am completely confused as to what the problem could be.
    Please could anyone give me some directions.
    Thanks,
    Rohit
    Edited by: 801493 on Oct 11, 2010 6:02 AM
    Edited by: 801493 on Oct 11, 2010 6:03 AM

    Please follow this step may this solve your problem.
    please modify any thing in process "ExpenseReporting" for example any transition or any activity to place some where else or any other modification and then save that process. Then clean the project and build and deploy it.
    if this also not solve the problem then export that project to and import it again in your workspace (Create new workspace or change the project name in same workspace ) and then again clean, build and deploy the application then test in work space.
    Thanks,
    Brijesh Kumar Singh

  • File Adapter Write Compilation problem JDev 11.1.1.6 and BPEL 2.0

    Hi,
    Im creating a simple BPEL Project with a One-way Process template project.
    I have added just one Partnerlink with a File Adapter to do a write operation.
    I have assigned the main process input to the file Write Invoke operation.
    But I am getting a compilation error.
    Error(81): inputVariable "inputVariable" of type "client:BPELProcessWriteToFileRequestMessage" is not compatible with WSDL message "ns1:Write_msg".
    Can you pl help ?
    Here is the BPEL syntax :
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <process name="BPELProcessWriteToFile"
    targetNamespace="http://xmlns.oracle.com/FirstApplication/FileWriter/BPELProcessWriteToFile"
    xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:client="http://xmlns.oracle.com/FirstApplication/FileWriter/BPELProcessWriteToFile"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/file/FirstApplication/FileWriter/WriteTextToFile"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:bpm="http://xmlns.oracle.com/bpmn20/extensions"
    xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap">
    <import namespace="http://xmlns.oracle.com/FirstApplication/FileWriter/BPELProcessWriteToFile" location="BPELProcessWriteToFile.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
    <partnerLinks>
    <partnerLink name="bpelprocesswritetofile_client" partnerLinkType="client:BPELProcessWriteToFile" myRole="BPELProcessWriteToFileProvider"/>
    <partnerLink name="WriteTextToFile" partnerLinkType="ns1:Write_plt"
    partnerRole="Write_role"/>
    </partnerLinks>
    <variables>
    <variable name="inputVariable" messageType="client:BPELProcessWriteToFileRequestMessage"/>
    </variables>
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in BPELProcessWriteToFile.wsdl) -->
    <receive name="receiveInput" partnerLink="bpelprocesswritetofile_client" portType="client:BPELProcessWriteToFile" operation="process" variable="inputVariable" createInstance="yes"/>
    <assign name="Assign">
    <copy>
    <from>string('$inputVariable.payload/client:input')</from>
    <to>$inputVariable.payload/client:input</to>
    </copy>
    </assign>
    <invoke name="InvokeWriteTextToFile"
    partnerLink="WriteTextToFile" portType="ns1:Write_ptt"
    operation="Write"
    inputVariable="inputVariable" bpelx:invokeAsDetail="no"/>
    </sequence>
    </process>

    The error seen in your case typically occurs when the schemas of BPEL valriable and the schema of message in file adapter WSDL are different. You may use a transform activity in BPEL to map the fields of the two schemas.
    You may also like to have a look at various file adapter examples at
    http://java.net/projects/oraclesoasuite11g/pages/FileAdapters
    These samples provide working examples of how to handle various kinds of data when using file adapter.
    Regards.

  • Beginner running RMI example problem

    I am trying to test this RMI code from Thinking in java and it is giving this error
    Exception in thread "main" java.lang.NoClassDefFoundError: DispatchPerfectTime (
    wrong name: project3/rmi/DispatchPerfectTime)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:10
    6)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
    I compiled the 3 files below and also called rmic and created a stub and skeleton..... Only it doesnt run..
    Any ideas why ?
    INTERFACE
    package project3.rmi;
    import java.rmi.*;
    interface PerfectTimeI extends Remote
         long getPerfectTime() throws RemoteException;
    }Implementation of Remote interface
    package project3.rmi;
    import java.rmi.*;
    import java.rmi.server.*;
    import java.rmi.registry.*;
    import java.net.*;
    public class PerfectTime extends UnicastRemoteObject implements PerfectTimeI
         public long getPerfectTime() throws RemoteException
              return System.currentTimeMillis();
         //constructor to throw remote exceptions
         public PerfectTime() throws RemoteException
              //super(); called automatically
         //register for rmi server
         public static void main(String args[]) throws Exception
              LocateRegistry.createRegistry(2005);
              System.setSecurityManager(new RMISecurityManager());
              PerfectTime pt = new PerfectTime();
         Naming.rebind("//200.23.23.2:2005/PerfectTime",pt); //I put dummy IP instead of my real IP
              System.out.println("Ready to do time");
    }USING REMOTE OBJECT
    /**Using the remote object**/
    package project3.rmi;
    import java.rmi.*;
    public class DispatchPerfectTime
         public static void main(String args[]) throws Exception
              System.setSecurityManager(new RMISecurityManager());
              PerfectTimeI t = (PerfectTime)Naming.lookup("//200.23.23.2:2005/PerfectTime");
              for(int i =0;i<10;i++)
              System.out.println("Perfect Time is "+t.getPerfectTime());
    }

    I am just using another RMI example from class now...
    All files are compiling but this is error.....
    C:\>java -classpath c:\ RMIServer
    Starting Server
    Started Server...
    Binding to RMI Registry
    Error RemoteException occurred in server thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
    tion is:
    java.lang.ClassNotFoundException: RMIServer_Stub
    I doono if my host is correct...... I donno what to write in place of test... its some service??
    import java.rmi.*;
    import java.rmi.server.*;
    import java.rmi.registry.*;
    public class RMIServer extends UnicastRemoteObject implements RMIInterface
      static String host = "rmi://IPAddress/test";
      static String data[] = {"c","c++","java"};
      public RMIServer() throws RemoteException
                super();
      //implement methods
      public int getNumData() throws RemoteException
                return data.length;
      public String getData(int index) throws RemoteException
              if(index>=0 && index<data.length)
                   return data[index];
              else
                   return "N/A";
      public static void main(String args[])
           RMIServer server;
           try{
                System.out.println("Starting Server");
                server = new RMIServer();
                System.out.println("Started Server...");
                  System.out.println("Binding to RMI Registry");
                Naming.rebind(host,server);
                System.out.println("Remote methods registered successfully");
           catch(Exception e){
                System.out.println("Error "+e.getMessage());
      }//main
    } //class

  • LabVIEW example problem

    i have install labview 7.1 development software with driver , on windows xp
    i am not able to open example . it shows following errors "CAN NOT FIND LabVIEW SERVICE PORT FROM SERVICE LOCATER YOU WILL BOT BE ABLE TO BROWS DIRECTRY STRUCTRY" while when i make any programme it works
    please help to solve this problem
    thanks
    R.R.YADAV
    [email protected]

    Hi,
    LabVIEW Example Finder uses NI Service Locator in the background. Try to restart the Service Locator and see if that helps. More information on this can be found at the following link.
    http://digital.ni.com/public.nsf/websearch/8C00F1144B2CD73E86256DEF00698AC3?OpenDocument
    Also, make sure that there is no antivirus or firewall application running in the background when you try to open the example.
    Regards,
    Ankita A.

  • PI Demo Examples problems with executing CTC template for client setup

    Dear SAP community,
    I use PI 7.30 SP 4 and get the following exception if I use the CTC template to set up the PI demo examples in client 105
    and 106
    Web Services Configuration
    Description
    Exception in step "SRT_TECHNICAL_SETUP"
    Exception details : java.lang.Exception: BAPIRET2 SRT_ADMIN 050 Could not create service destination
    State
    Step was skipped
    In client 107, the template works after I delete the SAP_WSRT user. In clients 105 and 106, this leads to the exception above,
    If the  SAP_WSRT user exists, I get the exception that this user alreadz exists if I run the template.
    What should I do to fix this problem and properly implement the template on all clients?
    PS: I use admin users with SAP_ALL  rights. Maybe I use the wrong master password, because I use the one of my SAP_ALL user. This works at least for using the template within client107.
    Andreas

    Hi Mark,
    in my case the workaround of deleting the service user works only in Client 107.
    The additional problem with a missing service destination occurs already after deleting the service user in Clients 105 and 106. Will this additional problem also be treated in the new note?
    Joerg-Joachim Klossika already added the workaround to this note for the existing service user I proposed to him.
    I still cannot resolve the problem with the missing service destination.
    regards
    Andreas

Maybe you are looking for

  • Billing split for some cases

    Hi friends, We are using batch job to create billing documents. program used is SAPMV60S Everyday this batch job runs at night time but some times billing is getting split into TWO for only one delivery. There is no split criteria set in copy control

  • Installing Windows XP with a pen drive

    Hello all,  I am trying to install Windows XP in an old laptop, and i must do it using a drive pen cause the laptop doesn't have a disk reader.  So I already have a program which enables me to install it via pen drive but it does not recognize the DO

  • Fillable PDF form template?

    Hello, I was wondering if someone could help me out on a little problem I am having with Adobe Pro, LiveCycle Designer.  I am trying to create fillable PDF office forms.  I have succeeded as far as getting the forms fillable... However, I was wonderi

  • Oracle 11g XE listener does not start automatically during boot

    Hi, This happened to me recently I just wanted to share it with you. For development I was running Standard Edition, at some point I decided to run also XE on the same server for another reasons. Everything was working fine, except that after restart

  • Keyword tags for imported iPhone photos disappeared from LR5.7 catalog under OS 10.10.1Yosemite.

    I am using LR 5.7 on a Mac OS 10.10.1 with a Time Machine backup - the vast majority of my photos were taken on an iPhone 5 in the year 2014 and are in a folder on my computer internal hard drive. The structure is my Folders > Macintosh HD which has