Problems calling VIs remotely with RT-engine

I have problems when I call VIs remotely and I create executables to run with the Run Time Engine 7.0.
My program consists of a server that show some data (to the user) calling a VI that store such data. Another independent part of the program call such VI (which store the data) by remotely calling it with the VI Server. If I run the 2 programs under Labview 7.0 (directly installed) all goes well, but when I create the 2 executables and I run them, the data appeare only in the server. In the client I don't see any data even if I have no error detected.
In the past I used the same methodology with Labview 5.1 in some application and I never had such problem.
Could someone help me ?
Thanks in advance.
Linus

I send you (as attachment) a llb with 3 VIs (Labview 7.0) : a server VI that call directly the message VI, and a client VI that call the message VI indirectly.
I have compiled the server VI into an exe program (using the option that create the data.llb file).
After installing that program (in the directory C:\programmi\Test\ ) and running it (with the Run Time Engine), if now I run the client VI (in the same machine) the value of the message displayed by the panel is not the same of the server.
If I also compile the client VI into an exe program and then I run it (with the Run Time Engine), I obtain the same result (different values displayed).
Only if I run the server VI and the client VI directly under Labview (in the same machine) the two VIs
display the same message.
If I also run the compiled exe version of the server VI and the client VI in two different machines I obtain the same message displayed.
Best regads,
Linus
Attachments:
Test.llb ‏51 KB

Similar Messages

  • Problems calling stored procedure with out ref cursors

    Hi,
    I am calling an oracle stored procedure and having problems. This is the code:
    ResultSet cursor1, cursor2, cursor3, cursor4,cursor5,cursor6;
    String sql = "BEGIN SYSADM.PKG_SERVICE.SERV_MAIN(:1,:2,:3,:4,:5,:6,:7,:8,:9) \n; END;";
    CallableStatement call = null;
    try
    call = conn.prepareCall(sql);
    call.setString(1,blah1);
    call.setString(2,blah2);
    call.setString(3,blah3);
    call.registerOutParameter(4,OracleTypes.CURSOR);
    call.registerOutParameter(5,OracleTypes.CURSOR);
    call.registerOutParameter(6,OracleTypes.CURSOR);
    call.registerOutParameter(7,OracleTypes.CURSOR);
    call.registerOutParameter(8,OracleTypes.CURSOR);
    call.registerOutParameter(9,OracleTypes.CURSOR);
    call.execute();
    cursor1 = ((OracleCallableStatement) call).getCursor(4);
    cursor2 = ((OracleCallableStatement) call).getCursor(5);
    cursor3 = ((OracleCallableStatement) call).getCursor(6);
    cursor4 = ((OracleCallableStatement) call).getCursor(7);
    cursor5 = ((OracleCallableStatement) call).getCursor(8);
    cursor6 = ((OracleCallableStatement) call).getCursor(9);
    on the cursor1 = line I get this exception:
    06/08/08 15:07:01 java.lang.ClassCastException: com.evermind.sql.FilterCallableStatement
    this is a web service running in JDeveloper 10.1.2
    Dennis

    Dennis,
    There is only one "data-sources.xml" file in my JDeveloper 10.1.3. It is in the "\j2ee\home\config" subdirectory.
    But the again, I have not used my JDeveloper to create any Web services.
    I really think you should try the JDeveloper and ADF forum.
    Also, there are several debug properties you can set for OC4J.
    Since you say you are using 10.1.2, the following Web page may be helpful:
    http://www.oracle.com/technology/tech/java/oc4j/htdocs/oc4j-logging-debugging-technote.html
    Good Luck,
    Avi.

  • Problem calling stored procedure with user-defined type of input parameters

    Hi,
    I have to call a stored procedure with IN parameters, but these are user-defined types of input parameters.
    function fv_createnews (
    pit_groups in T_APPLICATION_USER_GROUPS,
    pit_documents in T_DOCUMENTS
    return varchar2;
    TYPE T_APPLICATION_USER_GROUPS IS
    TABLE OF varchar2(500)
    INDEX BY binary_integer;
    TYPE T_DOCUMENT IS record (
    name varchar2(256)
    ,url varchar2(1024)
    ,lang varchar2(30)
    ,foldername varchar2(150)
    TYPE T_DOCUMENTS IS
    TABLE OF T_DOCUMENT
    INDEX BY binary_integer;
    How can I do this using the TopLink 10.1.3 API.
    I already found following related posts, but I still can' t make it up:
    Using VARRAYs as parameters to a Stored Procedure
    Pass Object as In/Out Parameter in Stored Procedure
    Or do I have to create my own PreparedStatement for this special stored procedure call using Java and Toplink?

    As the related posts suggest, you will need to use direct JDBC code for this.
    Also I'm not sure JDBC supports the RECORD type, so you may need to wrap your stored functions with ones that either flatten the record out, or take OBJECT types.

  • PAPI client calls - stuck threads with albpm57 engine

    PAPI client running on weblogic portal 10.3, connecting to ALBPM 5.7 engine (on weblogic 8.1 cluster).
    threads get stuck in WLP servers (where PAPI client runs), and the call is for getActiveInstances from default view. We have around 15000 active instances, and the papi cache size is configured for 25000.
    "[STUCK] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'" id=17 idx=0x7c tid=6615 prio=1 alive, in native, waiting, daemon
    -- Waiting for notification on: fuego/papi/impl/lock/SimpleLock@0x1f443568[fat lock]
    at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
    at java/lang/Object.wait(J)V(Native Method)[optimized]
    at java/lang/Object.wait(Object.java:485)
    at fuego/papi/impl/lock/SimpleLock.readLock(SimpleLock.java:50)
    ^-- Lock released while waiting: fuego/papi/impl/lock/SimpleLock@0x1f443568[fat lock]
    at fuego/papi/impl/InstanceCache$Entry.readLock(InstanceCache.java:708)
    at fuego/papi/impl/InstanceCache.getInstancesByFilter(InstanceCache.java:505)
    at fuego/papi/impl/InstanceCache.getInstancesByFilter(InstanceCache.java:231)
    at fuego/papi/impl/ProcessServiceImpl.getInstancesByFilter(ProcessServiceImpl.java:1084)
    at fuego/papi/impl/ProcessServiceNESessionImpl.getInstancesByFilter(ProcessServiceNESessionImpl.java:754)
    Please help how to resolve this.
    thanks in advance.
    Edited by: 811778 on May 17, 2013 5:05 PM

    support team suggested to use,
    -Dfuego.papi.lockManagerClass=fuego.papi.impl.lock.ParanoidLockManager for each java process, acting as PAPI client. This class available in fuegopapi-client.jar
    additional comments from support team,
    Implementing this property does not generate side-effects. This property detects and kills/recovers deadlocks in the PAPI instance cache

  • Problem calling java remotely

    Hi,
    I have developed an applet that allows online compiling of java codes. I also intend to make this applet capable of running the .class files online. I connected this applet to a servlet and the servlet calls javac using Runtime.exec() to compile the source code that the user entered through the applet. This works fine with javac. But when I tried to do the same for java to run the program that the user has compiled, I got the error stream that kept saying "Exception in thread "main" : java.lang.ClassNotDefined" .
    The line that I called java goes like this :
    Runtime.exec("java" + filenameWithoutExtension);
    Could it be that java could not find the .class file generated? But I tried putting the .class files at several places, but the same error still occur. Is it possible to call java like that ? Please help. Thanks a lot !
    skitties

    Thanks for your suggestion. Sorry that my earlier post had some mistakes. The error that I got was:
    java.lang.NoClassDefFound
    Exception in thread "main"
    error and not as mentioned earlier.
    I want to clarify some points. I use Tomcat 3.2 to host the servlet. First, the user enters the code through the applet. The applet calls the servlet and the servlet will invoke javac using Runtime.exec("javac sourcefile.java") on the server. It can compile and the .class file appears in the folder c:\jakarta\tomcat. I guess it appeared here coz i used c:\jakarta\tomcat\bin/startup to start tomcat in cmd.
    Now that I want to run the .class file using the same method as how I compiled, I couldn't. I keep getting the NoClassDefFound error. No matter where I put the .class file, I still could not get it to work. When I print the Classpath during runtime, this variable points to all the Tomcat 3.2 related values. And I have my PATH variable set to c:\jdk1.3\bin.
    I get this error when I invoke "java" using the servlet with tomcat on. But when I use Runtime.exec("java filename ") as an application it ran fine and the output is produced.
    These are the things that I have tried:
    1) put .class file into c:\jdk1.3\bin (same error appear)
    2) invoke java using Runtime.exec("cmd /c start jdk1.3/bin/java fileToBeRun") (no error appear but no output from running of .class file appear either)
    3) Change classpath using System.setProperty() to point to the directory where the .class file reside (same error appear)
    The server is using jdk1.3 on windows 2000 professional. Can someone tell me which java.exe is it calling when i call Runtime.exec("java filename") ? Issit the one in jdk1.3\bin or the one in winnt\system32 or elsewhere ?
    Please someone help me if they know the solution the the error i get to spare me from more sleepless nights.
    Thanks!

  • Problems calling stored procedure with DG4IFMX

    Hi guys,
    I am trying to call stored procedures from Informix Database which is connected through Oracle Database Gateway for Informix.
    I have run select,update,delete successfully but when i try to run a stored procedure nothing happens.
    for example :
    when i run
    call "branko"@link_informix(1)
    it returns that it is successfully executed, without any error, but as u can see bellow no entry is entered in the branko_test table
    at informix :
    drop procedure branko;
    create procedure "informix".branko(_vlez integer)
    returning boolean;
    if _vlez = 1 then
    insert into branko_test values('test uspesen','1');
    else
    insert into branko_test values('test uspesen 2','2');
    end if;
    end procedure;
    the procedure runs ok when called from informix.
    Thank you for any help
    P.S i have even tried running:
    declare
    ret integer;
    begin
    ret := DBMS_HS_PASSTHROUGH.EXECUTE_IMMEDIATE@link_informix('execute procedure branko(2)');
    end;
    but the same thing is happening, no entry in the table branko_test.

    Found the root cause:
    when using dbaccess to call the original procedure it reports on the screen (expression)
    => removing the return value as it is not handled
    -> looks like the unhandled return value boolean. Modifying the procedure to
    drop procedure branko;
    create procedure "informix".branko(_vlez integer)
    if _vlez = 1 then
    insert into branko_test values('test uspesen','1');
    else
    insert into branko_test values('test uspesen 2','2');
    end if;
    end procedure;
    allows me to execute the procedure using passthrough
    DECLARE
    result VARCHAR2(50);
    BEGIN
    result := DBMS_HS_PASSTHROUGH.EXECUTE_IMMEDIATE@dg4ifmx('execute procedure informix.branko(1)');
    END;
    Edited by: kgronau on May 6, 2011 7:31 AM

  • Problems calling designated country with Skype Pre...

    Greetings -
    I am new to Skype and subscribed to Skype Premium about a month ago and designated Belgium as the country for my unlimited calls.  When I try to call a number in Belgium, a window pops up and indicates that I need to purchase Skype credit in order to complete the call.  I have tried to make several calls, but they do not go through and they are logged in my call history for 0:00 minutes each at a $0.00 cost.  My profile has Belgium properly designated.
    Any advice on how I can fix this?
    Jeff
    Solved!
    Go to Solution.

    jp1450 wrote:
    Any advice on how I can fix this?
    Hello Jeff,
    The message you are receiving indicates that you are attempting a call not covered by your Plan. In the case of Belgium only calls to landlines are included (not cellphones).
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • Problems calling to China with subscription

    why i can't call my fd in iphone??i have bought the china planing!!but it still tell me that i don't have credits!pls help

    You are calling your friend in the Special Administrative Region of Hong Kong, which is not covered by the China subscription.
    Here's the Hong Kong subscription: http://www.skype.com/intl/en/prices/pay-monthly/#HK
    If you don't need the China subscription you can request a refund here: request a refund
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • About JDBC CALL STORE PROCEDURE with out parameter is greater than 4000

    Hi Guys,
    I have a problem call store procedure with a large string.
    as i know varchar2 can contain 32767 characters in pl/sql .
    But when i used varchar2 as a out parameter in a store procedure, if the out parameter is greater than 4000 characters , it always give me error message as 'the buffer is too small'.
    why it happened?
    I read some article that says i need configure a property in data-source.xml , and jdbc 10g driver already solved this problem, but i used jdev 10.1.3.2 ,the driver should be fine.
    How can i solve this problem?
    Thanks in advance,
    AppCat

    Object is Foundation, Execute Script
    This is for a query, you can change to a stored procedure call. Pull the value back in the Java code then put into the process variable.
    import javax.naming.InitialContext;
    import javax.sql.DataSource;
    import java.sql.*;
    PreparedStatement stmt = null;
    Connection conn = null;
    ResultSet rs = null;
    try {
    InitialContext ctx = new InitialContext();
    DataSource ds = (DataSource) ctx.lookup("java:IDP_DS");
    conn = ds.getConnection();
    stmt = conn.prepareStatement("select FUBAR from TB_PT_FUBAR where PROCESS_INSTANCE_ID=?");
    stmt.setLong(1, patExecContext.getProcessDataLongValue("/process_data/@inputID"));
    rs = stmt.executeQuery();
    rs.next();
    patExecContext.setProcessDataStringValue("/process_data/outData", rs.getString(1));
    } finally {
    try {
    rs.close();
    } catch (Exception rse) {}
    try {
    stmt.close();
    } catch (Exception sse) {}
    try {
    conn.close();
    } catch (Exception cse) {}

  • Db Adapter: problems by calling a procedure with type as parameter

    Hi,
    We using a db adapter in a bpel process.
    In that dapter we call a procedure with types as in and out parameter
    package.procedure(p_in IN in_t, p_rsult OUT result_t).
    When we calling the procedure, we don't call the procedure directly.
    We call that procedure in a schema who have the execute rigths for the package and the types.
    When we run the process we get the error message
    unable to convert the xsd element p_in whose user defined type is in_t
    cause: java.sql.SQLException: ora-01436 connect by loop in user data
    I am not shore if I draw the right conclusions.
    Is it rigth that bpel have a problem by using types as parameter when using two schematas? Isn't it a bug.
    For every help I was thankful.
    Thanks in advanced.
    Michael

    Hi,
    thanks for the hint. I have implemented a wrapper package and it's working well.
    Only one crux. The parameter of the called procedure are data types and not simple types.
    CREATE OR REPLACE TYPE pesa_db_return_t AS OBJECT
    (SUCCESS_MSG varchar2(255)
    ,FAULT_SQLCODE varchar2(255)
    ,FAULT_SQLMSG varchar2(255)
    Wrapper package...
    IS
    PROCEDURE prc_writeReOinDB (p_AuftragRechnungOnline IN pesa_data.pesa_tivu_reo_t
    ,p_result OUT pesa_data.pesa_db_return_t)
    IS
    BEGIN
    pkg_pesa_reo.prc_writeReOinDB (p_AuftragRechnungOnline => p_AuftragRechnungOnline
    ,p_result => p_result
    END prc_writeReOinDB;
    END pkg_pesa_wrapper;
    So I have to declare the parameter with the schema user in front of.
    Now, we have deployed thes sources on a second enviroment and get following error:
    <2008-04-22 15:01:25,749> <ERROR> <eweber.collaxa.cube.engine.dispatch> <BaseScheduledWorker::process> Failed to handle dispatch message ... exception ORABPEL-05002
    Message handle error.
    An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.instance.CallbackDeliveryMessage"; the exception is: Type class not found.
    Cannot find class for type "org.apache.xerces.dom.ElementNSImpl". Please check that the class is located in the classpath.
    You have a hint for me what I have to do?
    Thanks in advanced,
    Michael

  • Problem in run remote client with appclient

    I am having problems to execute remote clients (remote machines) using script of client conteiner: appclient. Local it functions perfectly, however when executed in a remote machine, the application not run wheel.
    Thanks!

    Have you looked at the Developer's Guide?
    http://docs.sun.com/app/docs?q=clients&p=doc%2F819-0079
    Specifically the section on creating clients with and without the app client container?
    http://docs.sun.com/source/819-0079/dgacc.html

  • Problem with configure engine in console-mode unix

    i have a problem, i tried to configure an engine of enterprise in HP_UX, but the grapical-mode doesn´t work, how can i start the admin console in console-mode??? i tried ./albpmadmcenter -console but not work!!!

    Hi,
    You would have to install using silent mode to configure the process administrator. This option is available in Oracle BPM (OBPM). Not sure if it exists even with ALBPM 6.0.
    http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/config_guide/index.html?t=modules/admin_center/config_wizard/c_Running_Config_Wiz_Silent.html
    Hope this helps.
    Sarat

  • Problems calling Landlines in France with Skype Un...

    Hi all,
    I've signed up for the free trial of Skype Unlimited and am having a few problems calling a couple of landlines in France. Both numbers begin +33 (0)9... but are both normal French landlines (at least, calls to them in France are charged the same as any other house phone). So I was wondering if anyone knew why this might be the case?
    Thanks in advance for any help/tips!

    I have also problems with +33 4 numbers and +33 5 numbers.
    This is recent and was not the case before.

  • My FaceTime doesn't work... I would call a person, they would accept, and then I would be stuck in a never ending "connecting".. And this problem has been according with not just my ipad, but with other people's iDevices that I know.

    My FaceTime doesn't work... I would call a person, they would accept, and then I would be stuck in a never ending "connecting".. And this problem has been according with not just my ipad, but with other people's iDevices that I know.
    -My wifi connection is running strong
    -All the devices run the same version of iOS

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Set Up Alert Sounds
    http://www.quepublishing.com/articles/article.aspx?p=1873027&seqNum=3
    Extra FaceTime IDs
    http://tinyurl.com/k683gr4
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Fix Can’t Sign Into FaceTime or iMessage iOS 7
    http://ipadtutr.com/fix-login-facetime-imessage-ios-7/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    iOS 7 allows you to block phone numbers or e-mail addresses from contacting you via the Phone, FaceTime, or Messages
    http://howto.cnet.com/8301-11310_39-57602643-285/you-can-block-people-from-conta cting-you-on-ios-7/
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457#19087457
    How to watch FaceTime calls on the big screen with Apple TV
    http://www.imore.com/daily-tip-ios-5-airplay-mirroring-facetime
    Send an iMessage as a Text Message Instead with a Quick Tap & Hold
    http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    How to Receive SMS Messages on an iPad
    http://yourbusiness.azcentral.com/receive-sms-messages-ipad-16776.html
    Apps for Texting http://appadvice.com/appguides/show/apps-for-texting
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • Problems with Quake3 engine

    Maybe you can solve this problem, we never know ...
    I have problems with my 3D games, mainly with those which use Quake3 engine : Unreal Tournament 2003, 2004, Wolfenstein ET, Serious Sam 2, Counter-Strike, Diablo 2, Warcraft 3, Jedi Knight 3, Command & Conquer ...
    Sometimes, the game only returns to Windows, sometimes I get the message "....exe encountered a problem and must be closed ...", sometimes a crash, and sometimes a reboot ; after 5 minutes to 2 hours of gaming.
    It looks to happen randomly. When I get down the graphic acceleration ( such as antialiasing or anisotorpy ), I can play longer, but the end will be the same.
    Tried all possible configurations of my grapgic cards ( with multiple tweakers ).
    Tried multiple drivers ( from nVidia, from Microsoft, from MSI, from OpenGL ) but no difference. Maybe a lttle award for the MSI which seems to work longer than the others.
    Formated. Updated the two BIOS ( video and motherboard ), the drivers of each part of my computer, from multiple websites.
    I thought it was a overheating problem, and I played with the computer opened, with a giant fan over it. No change. The other components look good, but maybe it is one of them which does not work.
    I would be pleased for your help.

    blackvise,
    My friend's car is having problems, the car has 4 wheels. What do think is the problem?
    I would largely appreciate any help . . . thanks in advance.
    Richard
    P.S. If you have trouble helping me with my problem. Think about how much trouble I am having helping you with yours. Especially when I do not have a clue what the specs of your Hardware, OS and Power Supply are.
    [Since you already have a thread running about the problem of not being able to get your GeForce4 Ti4200 into 8X mode. I am locking this thread, so we keep all your problems in one thread. You can copy and paste to that thread if you like.]

Maybe you are looking for

  • Re: Read only List-Field

    I'm not sure if this is what you're asking, but here it goes... Create a custom domain with IntegerNullable as the SuperClass From the properties of the custom domain, select Droplist or scrollistas the formwidget. Click on properties beside the form

  • Photoshop CS5.1 Pixelated on Macbook Pro Retina Display

    Hello! I am a photography student who just bought a new macbook pro retina display. I use Photoshop a lot for my course so need help with this as quick as possible. Everything on Photoshop seems to be pixelated which is not ideal right now. I also ha

  • FM for download in ECC

    Hi Experts, Is there any FM available for downloading from desktop to internal table <b>which takes filename in the runtime?</b> i don't want to give value for filename parameter...Just like 'DOWNLOAD' in lower versions Regards

  • Enhancement on STMS

    Dear experts, I have a requirement to enhance the process of importing transport request, as which whenever the transport request is imported into the target system... the creator of the transport request should be notified... Is there any user exit,

  • Row level security in OBIEE 11g

    Hi guys, We have a business intelligence project in OBIEE, and I have a question regarding row level security (RLS). Specifically, I have an hierarchical organization with users belonging to different structures. If one user belongs to a structure th