Different behaviour with 2 PC's when calling VIT via VI server

Hello,
I know there are a lot of posts about VI server and VIT on this forum, but i think my problem is not common.
I use Labview 6.1 on Windows XP Pro. Pentium 2.6GHz 512Mo.
My application load many instances of a template VI (vit) via VI server. All goes perfect in the development environment.
When I generate a redistributable exe via app Builder, the application seems not to load the different instance of the vit, but without Error (I have put an error handler when loading the vit).
The vit is included in a llb (the same as the main vi). I generate a single executable file (without external llb), i which i see the vit when opened.
The paths are OK for the 2 environment (debug and runtime),
vit is loaded in the app builder, and the VI Server Datasocket too. The Front Panel of the instance is opened before executing as explained in some posts.
The most interesting (crazy?) in this story, is that my application is correctly running (a little bit slower, it's true ... )) on an old PC (Pentium II 300MHz with 128Mo) !!!
Is there any relationship with the machine speed ?
If somebody has an explanation ... or a solution (my client has bought a modern PC !)
Thanks a lot.
-Michael- (my english is so poor ...)

Hi MickAltrel
When I was confronted to this kind of behavior, it was due to loops that where not timed... I know it makes it very basic, but did you check that such problems are not present ?
Doc-Doc
Doc-Doc
http://www.machinevision.ch
http://visionindustrielle.ch
Please take time to rate this answer

Similar Messages

  • FRM-40735 with ORA-105100 when calling JavaBean in Forms6i deployed to Web

    We are encountering an ORA_JAVA error during runtime in a new simple form when trying to call an imported JavaBean in Forms 6i.
    It works when in the Forms6i Builder Run Form Client/Server mode on Linux/Motif.
    The specific error is: FRM-40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-105100
    Our form incorporates the following simple example from Metalink Note:131964.1
    How to Create a Simple Java program with the ORA_JAVA Package of Forms?
    We have confirmed that we are downloading our custom JavaDev6i.jar file in the JInitiator console during runtime when deployed on the Forms Server using sockets.
    We have turned on Forms Runtime Diagnostics (FRD), which showed the following
    ORA_JAVA.LAST_ERROR: 121
    when attempting to execute the call to the JavaBean.
    I also ran strace on the forms processes:
    strace -o/tmp/f60srvm_trc.txt -afeT -p 21192 &
    strace -o/tmp/f60webmx_trc.txt -afeT -p 9172 &
    I found libjvm.so could not be found in the LD_LIBRARY_PATH,
    so I changed /d01/oracle/visappl/admin/adovars.env from:
    LD_LIBRARY_PATH=$ORACLE_HOME/network/jre11/lib/i686/native_threads:$ORACLE_HOME/network/jre11/lib/linux/native_threads:${LD_LIBRARY_PATH:=}
    to
    JDK131_HOME=/usr/java/jdk1.3.1_20
    export JDK131_HOME
    LD_LIBRARY_PATH=$JDK131_HOME/lib/i386:$JDK131_HOME/jre/lib/i386:$JDK131_HOME/jre/lib/i386/classic:$JDK131_HOME/jre/lib/i386/native_threads:${LD_LIBRARY_PATH:=}
    This solved that library problem, but it did not fix the original problem of not being able to run a JavaBean in a deployed Form.
    I've provided our environment below from txkMPcheck.sh, but please let me know what else you need to help us with this.
    Technology Validation Utility report for 11.5.9 Maintenance Pack (some info deleted to fit in forum 3.5K limit)
    Script : ./txkMPcheck.sh (115.20)
    Context : /d01/oracle/visappl/admin/VIS_hpbox.xml
    HTTP Server Node (hpbox):
    [PASS] Oracle JInitiator version from the Applications Context file is: 1.1.8.16
    [PASS] JDK version on HTTP server node is: 1.3.1_20
    [PASS] iAS version from the Applications Context file is: ias1022
    [PASS] iAS patchset version from the OUI inventory is: 1.3.19.0.0g
    [PASS] PERL is included in the PATH variable from the APPLSYS.env file.
    [PASS] DISPLAY variable from the Applications Context file is: :0.0
    Forms Server Node (hpbox):
    [PASS] Developer 6i version from f60gen executable is: 6.0.8.21.3
    [PASS] The 806 client library version from the f60gen executable is: 8.0.6.3.0
    [PASS] Checksum of file kpuex.o confirms back port 1227566 has been applied.
    [PASS] DISPLAY variable from the Applications Context file is: :0.0
    Administration Server Node (hpbox):
    [PASS] Database version from dbms_utility is: 9.2.0.3.0
    SUMMARY:
    [ALLPASS] All the technology checks on this node needed for the 11.5.9 Maintenance Pack
    have passed. You may now proceed with next steps in the Oracle
    Applications Release 11.5.9 Maintenance Pack Installation instructions.
    More env info...
    Oracle (Red Hat) Enterprise Linux Rel 4 Upd 6 (uname: 2.6.9-67.0.0.0.1.ELsmp #1 SMP)
    Forms6i Builder 6.0.8.21.3 (Production) (on Linux)
    Already posted this to Metalink forum, but no answer in 1 week.
    Thanks for your help!

    Looks like the CLASSPATH for the server is not set correctly. Does it include the directory where your JAR file resides?
    You say that the JavaDev6i.jar is downloaded the the JInitiator, which surprises me. It looks like you are trying to import/call Java from the server side, which means it is not necessary to load the JAR client side. You only have to include it in the client side JARs if you are using Pluggable Java Components (PJC) which run client side. You are using the Java Importer which creates a PL/SQL wrapper around a server side Java class.
    This might also explain why it does work in client/server mode. Then you might have a different CLASSPATH setup when starting Forms Runtime from within Forms Builder.

  • TS3367 Since updating to the new operating system I have had some issues with FaceTime.  When calling my Dad through FaceTime I have gotten someone else using my Dad's email.  This has happened on at least 4 occasions.  Has anybody else had this problem?

    Has anyone had an issue contacting someone through FaceTime?  Sometimes when I try to call my Dad I get a different party ( someone I don' t know).  This has happened when calling fro IPad (3) And IPhone 5s.

    In the terminal I go to /volumes/some_folder/test and I type "chmod 4711 test" so that the C++ program will be run as the admin account I'm logged in with. This admin account has privileges to create folders in /volumes/some_folder/test.
    I vaguely recall something about this - isn't it related to the execution of setuid scripts?
    There's a whole discussion on the security implications of doing this. It's generally not considered safe.
    It might be worth reading http://httpd.apache.org/docs/2.0/suexec.html for details of how to implement setuid within Apache.

  • Built in speaker not working with music , but when call come it will ring.

    HI , there is some problem with my Iphone 4s music wont play with built in speaker but when call is came it will ring. only problem with music play n game sound. i did basic steps like reset , restore but problem is still , kindly help.

    Clean iPhone charging port with toothbrush and small amount of Isopropyl Alcohol.

  • Different behaviour of Flash content when on server

    Hi
    I have noticed different behaviours of my Flash movie in case
    a/ I am checking offline content (SWF) using the fault view (Show All)
    b/ I am checking  the SWF in a HTML file on a server.
    More concrete: Depending on a number of conditions I attach a movieclip to a certain object. This works fine in offline mode.
    Another example: Depending on a certain zoom level of the application, I unload some SWF.
    All works fine offline.
    When I check this online, the attach movieclip function only works in some cases, the unload of SWF does not work .
    What can be the cause ?
    bestregards
    eG

    Not sure about most of your questions -- this is all new stuff for me, too. But on this one item, I hope this helps:
    For example it tells me that a plugin (which has already been installed) needs to be installed.If you installed the Mozilla browser after initially installing the java plugin in IE, then the plugin needs to be installed within the Mozilla browser's plugins directory. And I have never been able to get Netscape or Firefox to install a Forms plugin properly. It seems like I need to run IE to get the plugin installed automatically. Then I go back to the other browser and all is ok. Looking into the Mozilla-based browser's plugins folders, I can see that running the plugin install through IE also copies the corresponding .dll file into all the Mozilla-based browsers' plugins folders.
    But since you have already installed the plugin in IE, I am not sure how you would get it to work for the other browser. But if you can identify the .dll required, just copy it yourself into your Mozilla browser's folder.

  • Using XML sequence Tag with updatexml() errors when called as function?

    Hello,
    I'm having a very difficult time with this error. I was hoping someone could shed some light onto why this is happening. It is 100% reproducible on my end. When I run the problematic code, I am given a "ORA-03113: end-of-file on communication channel" which is actually due to
    "ORA-07445: exception encountered: core dump [kolasaRead()+66] [SIGSEGV] [ADDR:0x64] [PC:0x2250968] [Address not mapped to object] []"
    Set up scripts:*
    CREATE TABLE test (id   NUMBER
                            ,xml  XMLTYPE);
    CREATE OR REPLACE FUNCTION test_replace_metadata(p_metadata                 IN XMLTYPE)
          RETURN XMLTYPE
       IS
          l_metadata_xml                          XMLTYPE;
       BEGIN
          l_metadata_xml := p_metadata;
          SELECT UPDATEXML(l_metadata_xml
                          ,'/DICOM_OBJECT/*[@tag="00100020"]/text()'
                          ,'1010101010101010101'
                          ,'xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0"')
            INTO l_metadata_xml
            FROM DUAL;
          RETURN l_metadata_xml; 
      END test_replace_metadata;
    To select the resulting rows:*
    select rownum
               ,id
               ,xml
               --,var
               ,TO_CHAR(EXTRACTVALUE(xml
                   ,'/DICOM_OBJECT/*[@name="Patient ID"]'
                   ,'xmlns=http://xmlns.oracle.com/ord/dicom/metadata_1_0')) "PatientID"
           from test
          order by rownum desc
    The following code works:*
    DECLARE                
    l_metadata VARCHAR2(32767)
                := '<?xml version="1.0"?>
    <DICOM_OBJECT xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/ord/dicom/metadata_1_0 http://xmlns.oracle.com/ord/dicom/metadata_1_0">
      <LONG_STRING tag="00100020" definer="DICOM" name="Patient ID" offset="816" length="6">#00100020#</LONG_STRING>
      <SEQUENCE xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0" tag="00082218" definer="DICOM" name="Anatomic Region Sequence" offset="694" length="76">
                        <ITEM>
                          <SHORT_STRING tag="00080100" definer="DICOM" name="Code Value" offset="722" length="8">T-AA000</SHORT_STRING>
                          <SHORT_STRING tag="00080102" definer="DICOM" name="Coding Scheme Designator" offset="738" length="4">SRT</SHORT_STRING>
                          <LONG_STRING tag="00080104" definer="DICOM" name="Code Meaning" offset="750" length="4">Eye</LONG_STRING>
                        </ITEM>
                      </SEQUENCE>
    </DICOM_OBJECT>';
    l_metadata_xml XMLTYPE;
    BEGIN   
         l_metadata_xml := xmltype(l_metadata, 'http://xmlns.oracle.com/ord/dicom/metadata_1_0');
          SELECT UPDATEXML(l_metadata_xml
                          ,'/DICOM_OBJECT/*[@name="Patient ID"]/text()'
                          ,'dayodayodayo'
                          ,'xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0"')
            INTO l_metadata_xml
            FROM DUAL;
       INSERT INTO test(id
                        ,xml)
           VALUES (7
                  ,l_metadata_xml);       
    END;    
    This code doesn't work, and gives the error mentioned:*
    DECLARE                
    l_metadata VARCHAR2(32767)
                := '<?xml version="1.0"?>
    <DICOM_OBJECT xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/ord/dicom/metadata_1_0 http://xmlns.oracle.com/ord/dicom/metadata_1_0">
      <LONG_STRING tag="00100020" definer="DICOM" name="Patient ID" offset="816" length="6">#00100020#</LONG_STRING>
      <SEQUENCE xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0" tag="00082218" definer="DICOM" name="Anatomic Region Sequence" offset="694" length="76">
                        <ITEM>
                          <SHORT_STRING tag="00080100" definer="DICOM" name="Code Value" offset="722" length="8">T-AA000</SHORT_STRING>
                          <SHORT_STRING tag="00080102" definer="DICOM" name="Coding Scheme Designator" offset="738" length="4">SRT</SHORT_STRING>
                          <LONG_STRING tag="00080104" definer="DICOM" name="Code Meaning" offset="750" length="4">Eye</LONG_STRING>
                        </ITEM>
                      </SEQUENCE>
    </DICOM_OBJECT>';
    l_metadata_xml XMLTYPE;
    BEGIN   
       l_metadata_xml := xmltype(l_metadata, 'http://xmlns.oracle.com/ord/dicom/metadata_1_0');
       --This is the difference from the above code                       
       l_metadata_xml := test_replace_metadata(l_metadata_xml);                                   
       INSERT INTO test(id
                        ,xml)
           VALUES (7
                  ,l_metadata_xml);       
    END;            
    This is the full text of the error message:*
    "ORA-03113: end-of-file on communication channel
    Process ID: 10847
    Session ID: 321 Serial number: 33192"Looking into the trace files, I saw this information (This is from a different occurance, but it has remained the same):
    Trace file (omitted)
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORACLE_HOME = /opt/app/oracle/product/11.1.0/db_1/
    System name:     Linux
    Node name:     (omitted)
    Release:     2.6.18-92.el5
    Version:     #1 SMP Tue Apr 29 13:16:15 EDT 2008
    Machine:     x86_64
    Instance name: (omitted)
    Redo thread mounted by this instance: 1
    Oracle process number: 53
    Unix process pid: 22883, image: (omitted)
    *** 2009-06-24 13:47:31.198
    *** SESSION ID:(omitted)
    *** CLIENT ID:(omitted)
    *** SERVICE NAME:(omitted)
    *** MODULE NAME:(omitted)
    *** ACTION NAME:(omitted)
    Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x64] [PC:0x2250968, kolasaRead()+66]
    DDE: Problem Key 'ORA 7445 [kolasaRead()+66]' was flood controlled (0x6) (incident: 70951)
    ORA-07445: exception encountered: core dump [kolasaRead()+66] [SIGSEGV] [ADDR:0x64] [PC:0x2250968] [Address not mapped to object] []
    ssexhd: crashing the process...
    Shadow_Core_Dump = PARTIAL  Why is this happening? Also, When I remove the call to the function or if I remove the SEQUENCE element from the xml everything works fine.
    Any ideas?
    Edited by: rcdev on Jun 25, 2009 2:17 PM - Added code blocks for readability.
    Edited by: rcdev on Jun 25, 2009 2:28 PM

    In short, something inside Oracle is blowing up that shouldn't be, hence the ORA-7445. I did a search on MetaLink but it didn't turn up anything for your version and the internal function that is blowing up. Given you are on 11.1.0.7, I'm going to assume you have some service contract with Oracle and so can open a SR with them. That would be your best bet for getting it resolved given the internal Oracle error you are encountering.
    The next best option would be to post this question on the {forum:id=34} forum given some of the people that watch that forum.

  • Using ajax/servlets, different behaviour with different systems

    I have written a small web application using servlets and ajax. I used the tomcat bundled with netbeans for deploying it. In the front end I create a timer which keeps running. I also have a form containing a paragraph that displays a question, followed by radio buttons and two buttons - a next and a submit. When I click the next button, I call a javascript function that creates an xmlHttp Object and sends the request for the next question and options from the servlet. when I request I also pass what the user has selected for the current question. when the timer reaches twelve or the user has finished attending all questions, the function would request for score through another xmlHttp Object. This program works fine in my computer. I also installed another tomcat server and ran it on another port and tested it. It works fine. But when I ran it college, the page was not displayed properly. When I click an option the contents of the form moves and only when I click the Next button twice, the corresponding javascript function is called.
    I am pasting the html file and the servlet. What could be the reason?
    This is qns.html
    <html>
      <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    //styles
        <script type ="text/javascript">
            <!--
            var no_of_qns = 2;
            var s = 1;
            var m = 0;
            var h = 0;
            var jsqno = 0;
            var flag = 0;
            var jsnds;
            var jmin;
            var sid;
            var cont;
            var oldhtml;
            function load(){
                cont = document.getElementById('container');
                oldhtml = cont.innerHTML;//backup the content to display it after the user accepts the rules
                var ins = "<ul><li>You have to complete 30 qns in 30 mins</li><li>Click finish to quit</li><li>All the best</li></ul>";
                cont.innerHTML = "<p style =\" text-align: center; font-size : 17px \">Instructions</p>"+ins+"<form action=\"javascript:funct()\"><input type=\"submit\" value = \"I have read the instructions\"></form>";
            function funct(){
                    //alert('why?');
                    cont.innerHTML = oldhtml;//replace back the question after user has accepted to the terms and conditions.
                    sid = setInterval("updateClock()",1000);
                    ajaxFunction(0);
            function ajaxFunction(chz)
                jsnds = document.getElementById('snds');
                jmin = document.getElementById('min');
               var back;
                var ans = 'arunkumar c';
                try
                    var xmlHttp=new XMLHttpRequest();
                catch (io)
                    alert("Your might be using IE or your browser does not support AJAX!.");
                    return false;
                xmlHttp.onreadystatechange=function()
                    if(xmlHttp.readyState==4)
                           // Get the data from the server's response
                           back = xmlHttp.responseText;
                           if(flag == 0){
                                var values = back.split("|");
                                document.getElementById("question").innerHTML=values[0];
                                document.getElementById("choicea").innerHTML=values[1];
                                document.getElementById("choiceb").innerHTML=values[2];
                                document.getElementById("choicec").innerHTML=values[3];
                                document.getElementById("choiced").innerHTML=values[4];
                                return true;
                                else{
                                    //alert('what');
                                    document.getElementById("container").innerHTML = "<p>You have completed the test and your score is "+back+".</p><p><a href=\"/OnlineApti/login.html\">Go Back</a> to login page! Thank you!";
                if(uform.choice[0].checked == true){
                    ans = document.getElementById("choicea").innerHTML;
                else if(uform.choice[1].checked== true){
                    ans = document.getElementById("choiceb").innerHTML;
                else if(uform.choice[2].checked == true){
                    ans = document.getElementById("choicec").innerHTML;
                else if(uform.choice[3].checked == true){
                    ans = document.getElementById("choiced").innerHTML;
                if(chz == 1){
                    jsqno = no_of_qns;
                if(jsqno == no_of_qns)
                    clearInterval(sid);
                     //alert(clearInterval(sid));
                     flag = 1;
                jsqno = jsqno + 1;
                var url = "http://localhost:8084/OnlineApti/test";
                url = url+"?qno="+jsqno+"&ans="+ans;
                //alert(url);
                xmlHttp.open("GET",url,true);
                xmlHttp.send(null);
            function updateClock(){
                //alert('why');
                s++;
                jsnds.innerHTML=" "+s;
                if(s == 60){
                    m++;
                    s = 0;
                    jmin.innerHTML =" "+m;
                //alert("http://localhost:8084/OnlineApti/test?qno="+(no_of_qns+1)+"&ans=final");
                if(m == 30){
                    alert ('The quiz is over!! You failed to complete it within the time limit');
                    var xmlHttp;
                    try
                        xmlHttp=new XMLHttpRequest();
                    catch (io)
                        alert("Your might be using IE or your browser does not support AJAX!.");
                        return false;
                    xmlHttp.onreadystatechange=function()
                        if(xmlHttp.readyState==4)
                            var back = xmlHttp.responseText;
                            document.getElementById("container").innerHTML = "<p>You have completed the test and your score is "+back+".</p><p><a href=\"/OnlineApti/login.html\">Go Back</a> to login page! Thank you!";
                    xmlHttp.open("GET","http://localhost:8084/OnlineApti/test?qno="+(no_of_qns+1)+"&ans=final",true);
                    xmlHttp.send(null);
                    clearInterval(sid);
      //-->
      </script>
      </head>
      <body onload="load()">
        <div class="top">
         <h1>Welcome to Online Quiz</h1>
        </div>
        <div class="main" id="container">
            <form name ="uform" action="javascript:ajaxFunction(1)">
            <table cellpadding ="5" cellspacing ="20">
                <thead></thead>
                <tbody>
                    <tr>
                        <td></td>
                        <td></td>
                        <td></td>
                        <td align="right">
                            <p style="text-align:right" id="clock">Time: 0:<span id="min">0</span>:<span id ="snds">0</span></p>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4">
                            <p id="question"></p>                 
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <input type="radio" name ="choice"><span id="choicea"></span>
                        </td>
                        <td>
                            <input type="radio" name ="choice"><span id="choiceb"></span>
                        </td>
                        <td>
                            <input type ="radio" name ="choice"><span id="choicec"></span>
                        </td>
                        <td>
                            <input type ="radio" name="choice"><span id="choiced"></span>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <input type ="button" value ="Next" name ="nxt" onclick="ajaxFunction(0)">
                        </td>
                        <td colspan="2">
                            <input type = "submit" value ="Finish">
                        </td>
                    </tr>
                </tbody>
            </table>
        </form>
        </div>
      </body>
    </html>
    import java.io.*;
    import java.net.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    import java.lang.*;
    * @author arun
    public class test extends HttpServlet {
        * Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
        * @param request servlet request
        * @param response servlet response
            Connection con;
            int marks = 0;
            StringBuffer qn;
            int qno;
            String prevAns = "wow";
            String choice = new String();
            //To be updated based upon the number of questions!!
            int no_of_qns = 2;
        public void init(ServletConfig config) throws ServletException {
            try {
                Class.forName("org.gjt.mm.mysql.Driver");
                con = DriverManager.getConnection("jdbc:mysql://localhost:3306/mysql", "root", "");
                Statement qry;
                qry = con.createStatement();
                qry.executeQuery("use login;");
            } catch (Exception io) {
                System.out.println(io);
                System.exit(0);
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            response.setContentType("text/html;charset=UTF-8");
            PrintWriter out = response.getWriter();
            qn = new StringBuffer();
            try {
                Statement qry;
                qry = con.createStatement();
                qno = Integer.parseInt(request.getParameter("qno"));
                choice = request.getParameter("ans");
                if(prevAns.equalsIgnoreCase(choice)){
                      marks++;               
                if(qno == (no_of_qns +1)){
                    out.println(marks);
                    marks = 0;
                String qryString = "select * from questions where questionno="+qno+";";
                ResultSet rs = qry.executeQuery(qryString);
                while(rs.next()){
                    qn.append(rs.getString(1));
                    qn.append(") "+rs.getString(2));
                    qn.append("|"+rs.getString(3));
                    qn.append("|"+rs.getString(4));
                    qn.append("|"+rs.getString(5));
                    qn.append("|"+rs.getString(6));
                    prevAns =rs.getString(7);
                out.println(qn.toString());
            catch(SQLException io){
                System.out.println(io);
            finally {
                out.close();
        // <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
        * Handles the HTTP <code>GET</code> method.
        * @param request servlet request
        * @param response servlet response
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        * Handles the HTTP <code>POST</code> method.
        * @param request servlet request
        * @param response servlet response
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        * Returns a short description of the servlet.
        public String getServletInfo() {
            return "Short description";
        // </editor-fold>
    }What might be the problem?
    Edited by: carunkumar on Oct 4, 2008 8:21 AM

    carunkumar wrote:
    function ajaxFunction(chz)
    jsnds = document.getElementById('snds');
    jmin = document.getElementById('min');
    var back;
    var ans = 'arunkumar c';
    try
    var xmlHttp=new XMLHttpRequest();
    catch (io)
    alert("Your might be using IE or your browser does not support AJAX!.");
    return false;
    }First thing is that the Ajax request you are building is not browser specific.
    Go to this site it will give you the specific code www.tizag.com/ajaxTutorial/
    And do try and test your program on diff browser from your pc only. Its a ajax world so be careful while dealing with browsers
    and there settings. Just check your browser setting on your pc and check the same setting at your college also.
    Buddy this ajax give a trick in big presentation also :) So no need to worry and test it and do it, its real fun when you just
    cross this browser secific dependencies.
    Cheers
    Sachin Kokcha

  • Problem with special characters when calling web services via ISG

    Hi all,
    I have a problem when trying to send or retrieve strings containing some special characters via Integrated SOA Gateway.
    For example, when I call a PL/SQL function via ISG that returns a string containing curling single and double quote characters, these are not represented by valid XML character entity references. So when trying to open the response XML (returned by ISG) in a browser, I get a parser error...
    Has anybody had a similar experience with ISG? How can I resolve that - is it an ISG bug?
    Thanks
    Carolin

    XML Parsing Error: not well-formed
    Location: file:///C:/Users/sanders/Desktop/Text3.xml
    Line Number 4734, Column 54: <DESCRIPTION>Overhead Track Lighting 4?</DESCRIPTION>Do you get the same error if you change the description from "Overhead Track Lighting 4?" to "Overhead Track Lighting 4"?
    Do you have any invalid characters?
    BI Publisher Reports End With Error When There Is An Ampersand Character ( & ) On The Xml Data File [ID 1081175.1]
    Journal Entries Report Doesn'T Yield Output: Java Heap Error [ID 1115663.1]
    Thanks,
    Hussein

  • Strange behaviour on Store procedure when calling from VB6 application

    Hi,
    I have a SP (thanks for the one who helped me out in this forum)
    Declare @Temp Table (sensorname varchar(20),reading float,Date_Reading DatetIme,SAP float,SAN float) Insert @Temp select sensorname, reading, date_reading,(select alert_positive from sensor where sensor.sensorname = sensorreading.sensorname) as SAP, (select
    alert_negative from sensor where sensor.sensorname = sensorreading.sensorname) as SAN from sensorreading where date_reading between '2014-12-03 23:59' and '2014-12-04 23:59'; SELECT sensorname, MAX(CASE WHEN BSeq = 1 THEN reading END) AS MaxReading, MAX(CASE
    WHEN BSeq = 1 THEN Date_Reading END) AS MaxDateReading, MAX(CASE WHEN Seq = 1 THEN reading END) AS MinReading, MAX(CASE WHEN Seq = 1 THEN Date_Reading END) AS MinDateReading, MAX(CASE WHEN BSeq = 1 THEN SAP END) AS SAP, MAX(CASE WHEN BSeq = 1 THEN SAN END)
    AS SAN From ( SELECT ROW_NUMBER() OVER (PARTITION BY sensorname ORDER BY reading) AS Seq, ROW_NUMBER() OVER (PARTITION BY sensorname ORDER BY reading DESC) AS BSeq,* FROM @Temp )t GROUP BY sensorname
    I tried to run the SP from SQL server no matter to set parameters on DateFM / DateTO to any date, the data can returned from SQL.
    However, when I call it in my VB6 program using ...
     Set cmd = Nothing
        Set rs = Nothing
        Set cmd = New ADODB.Command
        Set rs = New ADODB.recordset
        cmd.ActiveConnection = mdbcnn
        cmd.CommandType = adCmdStoredProc
        cmd.CommandText = "dbo.SP_DailyReports"
        dateTO = Now
        dateFM = DateAdd("d", -1, dateTO)
        'don't know why is only work on the below date range
        cmd.Parameters.Append cmd.CreateParameter("@DateFM", adDBTimeStamp, adParamInput, 255, Format(DateFM,"yyyy-mm-dd hh:mm:ss"))
        cmd.Parameters.Append cmd.CreateParameter("@DateTO", adDBTimeStamp, adParamInput, 255, Format(DateTO, "yyyy-mm-dd hh:mm:ss"))
        Set rs = cmd.Execute
    The recordset contains return values on the date @2014-10-10 to 2014-10-11, other dates will not returned any values.
    I tried to remove the 255
        cmd.Parameters.Append cmd.CreateParameter("@DateTO", adDBTimeStamp, adParamInput, , Format(CDate("2014-10-11 11:49"), "yyyy-mm-dd hh:mm:ss")) but still hasn't return data
    Do you have any idea of this .. ?!
    2014-10-10 to 2014-10-11 returned data sample from SQL
    sensorname MaxReading MaxDateReading MinReading MinDateReading SAP SAN
    DL-01-BAT 13.03485 2014-10-10 22:00:00.000 13.00753 2014-10-10 23:00:00.000 16.6000003814697 13
    DL-02-BAT 12.063684 2014-10-10 20:00:00.000 12.057724 2014-10-10 23:00:00.000 13 10
    DL-03-BAT 12.09362 2014-10-10 22:00:00.000 12.03034 2014-10-10 19:00:00.000 13 10
    DL-04-BAT 12.49362 2014-10-10 22:00:00.000 12.43034 2014-10-10 19:00:00.000 13 10
    DL-05-BAT 12.89362 2014-10-10 22:00:00.000 12.83034 2014-10-10 19:00:00.000 13 10
    SVD-D045-P 414.2 2014-10-10 19:00:00.000 414.2 2014-10-10 19:00:00.000 450 350
    SVD-D048-P 434.72 2014-10-10 19:00:00.000 434.72 2014-10-10 19:00:00.000 450 350
    2014-12-03 to 2014-12-04 returned data sample from SQL
    sensorname MaxReading MaxDateReading MinReading MinDateReading SAP SAN
    DL-01-BAT 0.0027716304 2014-12-03 21:00:00.000 -0.0018678124 2014-12-04 08:00:00.000 16.6000003814697 13
    DL-02-BAT 13.040122 2014-12-03 22:00:00.000 13.033486 2014-12-04 07:00:00.000 13 10
    DL-03-BAT 13.067996 2014-12-03 21:00:00.000 13.061132 2014-12-04 09:00:00.000 13 10
    DL-04-BAT 13.041772 2014-12-03 19:00:00.000 13.034222 2014-12-04 06:00:00.000 13 10
    DL-05-BAT 13.042852 2014-12-03 17:00:00.000 13.036274 2014-12-04 09:00:00.000 13 10
    SVD-D045-P -1.9226320056 2014-12-03 18:00:00.000 -2.80430085834 2014-12-04 09:00:00.000 450 350
    SVD-D048-P 4.37950852736 2014-12-03 18:00:00.000 3.47056593536 2014-12-04 09:00:00.000 450 350
    SVD-D049-P -2.09270840792 2014-12-03 17:00:00.000 -3.00283002844 2014-12-04 09:00:00.000 450 350

    Hi,
    The SP is
    USE [CEDD2014]
    GO
    /****** Object: StoredProcedure [dbo].[SP_DailyReports] Script Date: 04/12/2014 2:42:57 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    -- =============================================
    -- Author: <Author,,Name>
    -- Create date: <Create Date,,>
    -- Description: <Description,,>
    -- =============================================
    ALTER procedure [dbo].[SP_DailyReports] @dateFM smalldatetime, @dateTO smalldatetime
    AS
    BEGIN
    -- SET NOCOUNT ON added to prevent extra result sets from
    -- interfering with SELECT statements.
    SET NOCOUNT ON;
    -- Insert statements for procedure here
    Declare @Temp Table
    sensorname varchar(20),
    reading real,
    Date_Reading DatetIme,
    SAP real,
    SAN real)
    Insert @Temp
    select sensorname, reading, date_reading,
    (select alert_positive from sensor where sensor.sensorname = sensorreading.sensorname)
    as SAP,
    (select alert_negative from sensor where sensor.sensorname = sensorreading.sensorname)
    as SAN
    from sensorreading where date_reading between @DateFm and @DateTo;
    SELECT sensorname,
    MAX(CASE WHEN BSeq = 1 THEN reading END) AS MaxReading,
    MAX(CASE WHEN BSeq = 1 THEN Date_Reading END) AS MaxDateReading,
    MAX(CASE WHEN Seq = 1 THEN reading END) AS MinReading,
    MAX(CASE WHEN Seq = 1 THEN Date_Reading END) AS MinDateReading,
    MAX(CASE WHEN BSeq = 1 THEN SAP END) AS SAP,
    MAX(CASE WHEN BSeq = 1 THEN SAN END) AS SAN
    FROM
    SELECT ROW_NUMBER() OVER (PARTITION BY sensorname ORDER BY reading) AS Seq,
    ROW_NUMBER() OVER (PARTITION BY sensorname ORDER BY reading DESC) AS BSeq,*
    FROM @Temp
    )t
    GROUP BY sensorname
    END

  • Problem with Transaction iView when calling R/3(Personalization)

    Hi
    I have created several Transaction iViews , where I am calling different Backend Systems like R/3 , BW, etc.
    My problem is , when I launch the iView, I can able to see the SAP Easy Access for R/3 , BW etc. But the language that user have in the backend is over writed by English.
    In the iView properties, I have not selected any language.
    In the Portal Personalization /UME also I have not selected any language.
    But in R/3 I have selected "de" as my language but the R/3 SAP Easy Access showing only English.
    Any advice please? should we have any settings in the portal without touching iview properties or portal personalization to view the backend GUI in the same language that is set in the backend profile?
    Thanks in advance.

    Hi,
    The following way might help you.
    Go to Internet web browser, select Tools in the menu, then select Internet options --> General Tab --> Languages --> Add --> German(de) . finally move up the German(de)
    Deep

  • Problem with BAPI BAPI_MATERIAL_SAVEDATA when calling from other system

    Hi All,
    I able create new material using the BAPI BAPI_MATERIAL_SAVEDATA in development system.
    but when i am calling this BAPI from other systems by passing the same values that i used in the development system . system is giving me an error ( in the return statement) saying that material number doesn't exists .
    Can any one have some pointers towards this ?
    Thanks & Regards,
    Praveen

    Hi,
    this FM BAPI_MATERIAL_SAVEDATA
    is used to extend a material to another plant
    for that you need to read the original data via BAPI_MATERIAL_GET_DETAIL and then select additional data from MKVE and save it via BAPI_MATERIAL_SAVEDATA with table parameter SALESDATA
    also check with
    BAPI_STANDARDMATERIAL_CREATE Create/Extend Material
    BAPI_MATERIAL_SAVEDATA - QM - Inspection Setup
    Problem in BAPI_MATERIAL_SAVEDATA
    Thanks&Regards,
    Naresh

  • SecurityManager different in init(), start() or when called by javascript

    I have an applet loaded via JNLP and running on jre 1.6.0_16 on IE7 or FF3.5 on Windows XP SP3 32bit.
    In this applet. JNLP file specify all-permission, but I am unsure if this tag is relevant to applet or only to application. Anyway, it is in the jnlp file. This jnlp file is not signed.
    Currently I am unsure about the SecurityManager that should control my applet. When I try to call File.createTempFile("aaaa", "bbb") in method init() ot start(), I get no problem at all: I create the file, I write to the file, I then delete it.
    Then, I do have a method being called from javascript. This new method cannot create any file since it always get a SecurityException.
    I am quite confident this is a bug, but I don't know what should be the correct behaviour.
    Any hint?
    Giuseppe

    So, it seems this is a known and expected behavior as discussed here:
         http://bugs.sun.com/view_bug.do?bug_id=6559401
         http://bugs.sun.com/view_bug.do?bug_id=5011139
         http://bugs.sun.com/view_bug.do?bug_id=5018024
    Bye,
    Giuseppe

  • Outlook client behaviour with load balancers when moving DB

    Hi there,
    My setup is 3 mailbox servers in a CAS array. I use hardware load balancers pointing outlook clients at the CAS array (mail.company.com). I am doing some maintenance which is involving moving certain DBs to different drives. I dismount the DB and change
    the DB path to begin the move. When I do this within minutes of starting the maintenance, our hardware load balancers get almost flooded to capacity with client connections. We need to understand exactly what is happening here. My guess is that as the
    DB is offline, the clients just sit there and attempt to constantly reconnect. We have hundreds of thousands of available connections which get saturated almost instantly.
    Why do the clients attempt so many connections? Can this be prevented? I also dont understand why the load balancers arent keeping the connections open for longer so each time a client reconnects it just uses the same already open connection
    Does anybody have any thoughts/advice/experience with this?
    Thanks, Lamby.

    Hi,
    Hardware load balancers continuously monitor the load on the server and try to distribute the load evenly. Load balancing ensures that the load on your Client Access server is evenly distributed, not based on the database level. If one CAS server fails,
    Outlook would still access database. However, if one database is offline, Outlook client would continue to connect to the same RPC Client Access Server array to access database, even though this database is failed.
    If you want to keep the high availability for database level, you can deploy a DAG.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • Problem with redirect script when calling from external - UCCX

    Hi,
    I have a problem with external calls not being redirected when the call comes from an external that begins with a certain prefix on teh ANI.
    The call path goes PSTN - VGW - UCM SUB - UCCX.
    To give you info this should be redirected to a auto attendant on unity but it just hits the fourth option unsuccessful.
    If i change it to match an internal ANI and test it works.
    What trace and log do i look at to see the call coming in from the UCM and what is happening with it why this is failing when it trys to redirect a call coming from external?
    I have also attached my script.
    Thanks for the help.
    Kev

    Hi Martin Braun,
    Go to GUI status which you set in the PBO of your screen,
    and open "Function Keys" part.
    You should have set function key F4 for a button on your GUI status,
    delete this button and create with another function key again.
    I hope it helps.

  • Error CX_SY_CONVERSION_NO_DATE_TIME with value 99991231 when calling a WS

    I'm calling a Web Service in a SAP system from an external program which is written in Java. I got exception CX_SY_CONVERSION_NO_DATE_TIME when I tried to pass value 99991231 to a date field Bapie1Maw1Rt-ListStTo.
    Do you know other workarounds for this exception than using a simple CHAR(8) field as the parameter instead of a DATS field? I do not like the idea of copying the whole Bapie1Maw1Rt structure just because of this silly error...
    Another possible solution would be to use a legal value (perhaps 29991231 is valid???) instead of 99991231 and then convert that value to 99991231. But this is clumsy as well. The 99991231 is not a constant in my Java program, it is input to the program.
    What's your favorite workaround for this error?

    It turned out that the problem was not the value 99991231, but it was the format of the value. The WSDL clearly states that the format for type date is YYYY-MM-DD. Indeed, value 9999-12-31 does not produce an error!

Maybe you are looking for