JAX - ws with sqlj deploy not, but ok when removed?

I'm new to Jdeveloper (currently using 12.1.2.0.0) and I haven't used Java for some time. So I apologize if the question is stupid.


Because I have problems with the current project, I decided to write a very simple java jax - ws service the use of sqlj and make sure that it would work. JAX - ws compiles without error. It is only when you use GUI JDeveloper to test the web service when I am presented with the problem.


Please see ebelow the two very simple classes:


=============================== WebService class =============================


package sqlj.test3;


import java.sql.SQLException;
import javax.jws.WebMethod;
import javax.jws.WebService;


@WebService
public class Test_Main {
    public Test_Main() {
        super();
    }
   
    @WebMethod(action = "incrementNumber")
    public int incrementNumber( int i ) throws SQLException { 


        FRE_Handler fre = null;
        int tmpReply = 0;
       
        try{
            fre = new FRE_Handler();
            tmpReply = fre.add1ToNumber( i );
        } catch (SQLException e )        {
            System.out.println( "Error code: " + e.getErrorCode() + " Error msg: " + e.getMessage() );
            String sqlState = e.getSQLState();
            System.out.println( "SQL state: " + sqlState );       
        } finally {
            try {
                fre.getCtx().getConnection().close();
            }
            catch( SQLException e ) {
                System.out.println( "Error code: " + e.getErrorCode() + " Error msg: " + e.getMessage() );
                String sqlState = e.getSQLState();
                System.out.println( "SQL state: " + sqlState );   
            }
        }
        return tmpReply;
    }
}


======================================= sqlj class =========================

package sqlj.test3;

import java.sql.DriverManager;
import java.sql.SQLException;
import sqlj.runtime.ref.DefaultContext;

public class FRE_Handler {  

    private DefaultContext ctx;

    public FRE_Handler() throws SQLException {
        super();
    
        try{
            // Create the DB Connection
            java.sql.Connection conn = DriverManager.getConnection( "jdbc:oracle:thin:@ORACLE-DB:1521:orcl", "USER", "PASSWORD" );
            conn.setAutoCommit( true );
            DefaultContext.setDefaultContext( new DefaultContext( conn ) );
            ctx = DefaultContext.getDefaultContext();
        
        } catch( SQLException e ) {
            System.out.println( "Error code: " + e.getErrorCode() + " Error msg: " + e.getMessage() );
            String sqlState = e.getSQLState();
            System.out.println( "SQL state: " + sqlState );
        }
    }

    public int add1ToNumber( int i ) {
        return i + 1;
    }

    protected DefaultContext getCtx() {
        return ctx;
    }
}


as mentioned above, the source code compiles without error, but when I do use the JDeveloper feature 'test the Web Service', I get the following erros:

=============================== error message ====================================

[Running the application on IntegratedWebLogicServer SQLJ_TEST_3...]

[16: 50:03] SQL_Test_3WebApp.war of Module Web recognized in the project SQL_Test_3.jpr

[16: 50:03]-deployment began.  ----

[16: 50:03] the target platform's (Weblogic 12.x).

[16: 50:04] recovery of the existing application information

[16: 50:04] analysis of the dependence running...

[16: 50:04] deployment 2 profiles...

[16: 50:04] wrote on the Web for C:\Users\Dev\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\o.j2ee\drs\SQLJ_TEST_3\SQL_Test_3WebApp.war application Module

[16: 50:04] wrote the Module Enterprise Application to C:\Users\Dev\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\o.j2ee\drs\SQLJ_TEST_3

[16: 50:04] Application deployment...

< April 1, 2014 16:50:04 CEST > < WARNING > < Application customer > < BEA-2162200 > < no hand-class defined in the Java Module manifest file: empty.jar. This module will be treated as a utility JAR and subsequent initialization steps will be skipped. >

< April 1, 2014 16:50:06 CEST > < error > < com.sun.xml.ws.server.http > < BEA-000000 > < WSSERVLET11: impossible to analyze the length descriptor: A WebService annotation is not present on the class: sqlj.test3.FRE_Handler

com.sun.xml.ws.model.RuntimeModelerException: a WebService annotation is not present on the class: sqlj.test3.FRE_Handler

at com.sun.xml.ws.model.RuntimeModeler.getServiceName(RuntimeModeler.java:1528)

at com.sun.xml.ws.server.EndpointFactory.getDefaultServiceName(EndpointFactory.java:545)

at com.sun.xml.ws.server.EndpointFactory.getDefaultServiceName(EndpointFactory.java:527)

at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:272)

at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:179)

Truncated. check the log file full stacktrace

>

< April 1, 2014 16:50:06 CEST > < error > < hats > < BEA-149265 > < error has occurred in the execution of the request of deployment with the ID "1396363804511" for "10" task Error is: ' weblogic.application.ModuleException: weblogic.management.DeploymentException: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: impossible to analyze the length descriptor: a WebService annotation is not present on the class: sqlj.test3.FRE_Handler.

weblogic.application.ModuleException: weblogic.management.DeploymentException: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: impossible to analyze the length descriptor: A WebService annotation is not present on the class: sqlj.test3.FRE_Handler

at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)

at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)

to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:213)

to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:208)

at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)

Truncated. check the log file full stacktrace

Caused by: weblogic.management.DeploymentException: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: impossible to analyze the length descriptor: A WebService annotation is not present on the class: sqlj.test3.FRE_Handler

at weblogic.servlet.internal.WebAppServletContext.initContainerInitializer(WebAppServletContext.java:1342)

at weblogic.servlet.internal.WebAppServletContext.initContainerInitializers(WebAppServletContext.java:1276)

at weblogic.servlet.internal.WebAppServletContext.initContainerInitializers(WebAppServletContext.java:1262)

at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1779)

at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2807)

Truncated. check the log file full stacktrace

>

< April 1, 2014 16:50:06 CEST > < error > < hats > < BEA-149202 > < encountered an exception while trying to commit the 1 task for the application "SQLJ_TEST_3". >

< April 1, 2014 16:50:06 CEST > < WARNING > < hats > < BEA-149004 > < failures have been detected all introducing deploy the task for the application "SQLJ_TEST_3" >.

< April 1, 2014 16:50:06 CEST > < WARNING > < hats > < BEA-149078 > < message 149004 track battery

weblogic.application.ModuleException: weblogic.management.DeploymentException: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: impossible to analyze the length descriptor: A WebService annotation is not present on the class: sqlj.test3.FRE_Handler

at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)

at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)

to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:213)

to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:208)

at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)

Truncated. check the log file full stacktrace

Caused by: weblogic.management.DeploymentException: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: impossible to analyze the length descriptor: A WebService annotation is not present on the class: sqlj.test3.FRE_Handler

at weblogic.servlet.internal.WebAppServletContext.initContainerInitializer(WebAppServletContext.java:1342)

at weblogic.servlet.internal.WebAppServletContext.initContainerInitializers(WebAppServletContext.java:1276)

at weblogic.servlet.internal.WebAppServletContext.initContainerInitializers(WebAppServletContext.java:1262)

at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1779)

at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2807)

Truncated. check the log file full stacktrace

>

[16: 50:06] undeployment.

[16: 50:06] - incomplete deployment.

[16: 50:06] remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

# Can't run application SQLJ_TEST_3 due to the deployment on IntegratedWebLogicServer error.

[16: 50:06] requested cancellation

[SQLJ_TEST_3 application stopped and cancelled IntegratedWebLogicServer]

If help or pointers in the right direction would be he really likes.

Thank you

The WSDL generator does not find the file source of class FRE_Handler.java.

Copy the class FRE_Handler.java of the C:\JDeveloper\mywork\Tutorials\webservice\Annotation\classes\annotation folder to the C:\JDeveloper\mywork\WebService\Annotation\src\annotation folder.

Tags: Java

Similar Questions

  • ESXi 5.5 nic teaming/LAG with trunking does not but it works on ESX 4.0.  Both are on the same switch. What gives?

    I have two hosts (vhost1 = ESX 4.0, vhost2 = 5.5 ESX) both are configured for the Group and both connected to a switch of 1544 Adtran L3 (named sw01).  vhost1 has been in production for several years with the config below and has been solid as a rock.  I'm trying to reproduce the installation of grouping/collage on vhost2 and it does not work when are associated but will work when you are using a single NIC (with or without aggregation).

    To be more specific about what does not work, two virtual servers have "Network server" (vlan 8) defined as a group of ports. Both physical and virtual servers on the same vlan cannot ping or resolve queries arp for virtual machines on vhost2.    Everything that is sent from a different subnet can connect to the virtual machines on each virtual server.

    So the question is this: why not ESX 5.5 works as ESX 4.0 when the configs are also near identical, as I can make them and they are connected to the same switch?

    Thanks for any input you can provide!

    S

    This is the configuration for vhost1

    switch 1 (sw01)

    SW01 #sho run int port 3

    Building configuration...

    !

    !

    interface port-channel 3

    Description LAG for vhost1

    no downtime

    switchport mode trunk

    switchport trunk allowed vlan 1.8

    !

    end

    SW01 #sho run int 0/23 concert

    Building configuration...

    !

    !

    0/23 gigabit-switchport interface

    Vhost1 vmnic2 vswitch1 description

    no downtime

    channel-group mode 3 on

    !

    end

    SW01 #sho run int concert 0/24

    Building configuration...

    !

    !

    0/24 gigabit-switchport interface

    Vhost1 vmnic1 vswitch1 description

    no downtime

    channel-group mode 3 on

    !

    end

    vhost1

    [root@vhost1 ~] # esxcfg - NICS - l

    Name PCI Driver link speed Duplex MAC address MTU Description

    vmnic0 03:04.00 tg3 up to 1000Mbps Full 78:e7:d1:5f:01:f4 1500 Broadcom Corporation NC326i PCIe Dual Port Gigabit Server Adapter

    vmnic1 03:04.01 tg3 up to 1000Mbps Full 78:e7:d1:5f:01:f5 1500 Broadcom Corporation NC326i PCIe Dual Port Gigabit Server Adapter

    [root@vhost1 ~] # esxcfg - vmknic - l

    Interface Port Group/DVPort IP IP family address Netmask Broadcast MAC address MTU TSO MSS active Type

    vmk1 VMkernel - Server NetIPv4 10.1.8.31 255.255.255.0 10.1.8.255 00:50:56:78:9e:7e 1500 65535 true STATIC

    VMkernel - SAN Net IPv4 10.1.252.20 vmk0 255.255.255.0 10.1.252.255 00:50:56:7 c: d8:7e 9000 65535 true STATIC


    [root@vhost1 ~] # esxcfg - vswif - l

    Port Group/DVPort IP IP family name address Netmask Broadcast Enabled TYPE

    Service vswif1 - NetIPv4 management 10.1.1.12 console 255.255.255.0 10.1.1.255 true STATIC


    [root@vhost1 ~] # esxcfg - vswitch - l

    Switch name Num used Ports configured Ports MTU rising ports

    32 4 32 1500 vSwitch0

    Name PortGroup VLAN ID used rising Ports

    0 3 VM network

    Switch name Num used Ports configured Ports MTU rising ports

    vSwitch1 64 12 64 1500 vmnic1, vmnic0

    Name PortGroup VLAN ID used rising Ports

    Server network 8 7 vmnic1, vmnic0

    Console - management service vmnic1 Net0 1, vmnic0

    VMkernel - server 1 vmnic1 Net8, vmnic0

    On the Load Balancing vSwitch it Hash IP value.

    This is the configuration for vhost2

    switch 1

    SW01 #sho run int 4 port

    Building configuration...

    !

    !

    interface port-channel 4

    LAG description for vhost2

    no downtime

    switchport mode trunk

    switchport trunk allowed vlan 1.8

    !

    end


    SW01 #sho run int concert 0/17

    Building configuration...

    !

    !

    0/17 gigabit-switchport interface

    Description vhost2

    no downtime

    channel-group mode 4 on

    !

    end


    SW01 #sho run int concert 0/18

    Building configuration...

    !

    !

    interface gigabit-switchport 0/18

    Description vhost2

    no downtime

    channel-group mode 4 on

    !

    end

    vhost2

    ~ # esxcfg - NICS - l

    Name PCI Driver link speed Duplex MAC address MTU Description

    vmnic0 e1000e up to 1000Mbps Full 00:25:90:e7:0e:9 0000:08:00.00 1500 c Intel Corporation 82574 L Gigabit Network Connection

    vmnic1 0000:09:00.00 e1000e up to 1000Mbps Full 00:25:90:e7:0e:9 d 1500 Intel Corporation 82574 L Gigabit Network Connection

    ~ # esxcfg - vmknic - l

    Interface Port Group/DVPort IP IP family address Netmask Broadcast MAC address MTU TSO MSS active Type

    Management 10.1.1.15 IPv4 network vmk0 255.255.255.0 10.1.1.255 c 1500 65535 real STATIC 00:25:90:e7:0e:9

    ~ # esxcfg - road - l

    VMkernel itineraries:

    Interface of network gateway subnet mask

    10.1.1.0 255.255.255.0 subnet local vmk0

    by default 0.0.0.0 10.1.1.1 vmk0


    ~ # esxcfg - road - n

    Expiration type neighbor Interface MAC address

    10.1.1.1 00:a0:c8:8 has: ff: 3 b vmk0 19m13s unknown

    ~ # esxcfg - vswitch - l

    Switch name Num used Ports configured Ports MTU rising ports

    vSwitch0 4352 7 128 1500 vmnic0, vmnic1

    Name PortGroup VLAN ID used rising Ports

    Server network 8 1 vmnic0, vmnic1

    Management network 0 1 vmnic0, vmnic1

    On the Load Balancing vSwitch it Hash IP value.

    Hello

    Do you share the vmnic for ESXi management and network of the VM?

    Try to follow the steps in this KB: VMware KB: NICs using EtherChannel grouping allows intermittent network connectivity in ESXi

    Trying to team adapters using EtherChannel, network connectivity is disrupted on an ESXi host. This problem occurs because grouping NIC properties will not propagate to the network management portgroup in ESXi.

    When you configure the ESXi host for grouping of NETWORK cards in attributing to the road based on ip hashload balancing, this configuration is not propagated to the portgroup management network.

    Workaround

    Note: to reduce the possibility network loss please change the route based on the hash of IP using this method of balancing load vSwitch

    1. Close all ports in the physical switch team leaving a single port as active.
    2. Change the Route based on ip hash vSwitch and load balancing management Portgroup.
    3. Set up the physical switch port channel.
    4. Activate the physical switch ports.

    Notes: Using this method will avoid a loss of connection when you switch to a port channel. Also make sure that under the properties for vmk portgroup # used for network management you tick the box "Enabled".

  • Values with the HTML not getting informed when using AJAX in the APEX

    Hello

    I use AJAX to fill some values in a tabular report.

    I have a java script of this form (I took this example Denes http://apex.oracle.com/pls/otn/f?p=31517:241:1400877312570049) example

    < script language = "JavaScript" type = "text/javascript" >

    function f_set_multi_items_tabular (pValue, bow) {}
    get var = new htmldb_Get (null, html_GetElement('pFlowId').value,
    = Set_Multi_Items_Tabular', 0);
    {if (pValue)}
    Get.Add ('TEMPORARY_APPLICATION_ITEM', pValue)
    Get.Add ('T_ROWNUM', Prow)
    } else {}
    Get.Add ('TEMPORARY_APPLICATION_ITEM', 'null')
    }

    gReturn = get.get ('XML');

    {if (gReturn)}
    var l_Count = gReturn.getElementsByTagName("item").length;
    for (var i = 0; i < l_Count; i ++) {}
    var l_Opt_Xml = gReturn.getElementsByTagName ("item");
    var l_ID = l_Opt_Xml.getAttribute ('id');
    var l_El = html_GetElement (l_ID);
    {if (l_Opt_Xml.firstChild)}
    var l_Value = l_Opt_Xml.firstChild.nodeValue;
    } else {}
    var l_Value = ";
    }

    {if (l_El)}
    If (l_El.tagName == 'INPUT') {}
    l_El.value = l_Value;
    } Else if (l_El.tagName == 'SPAN' & & l_El.className == 'Raptor') {}
    l_El.parentNode.innerHTML = l_Value;
    l_El.parentNode.ID = l_ID;
    } else {}
    l_El.innerHTML = l_Value;
    }
    }
    }
    }
    get = null;
    }

    < /script >


    And I the process of application as follows
    BEGIN
    OWA_UTIL.mime_header ("text/xml", FALSE);
    HTP.p ('Cache-Control: non-cache');
    HTP.p ('Pragma: non-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ("< body >");
    HTP.prn ("< desc > This XML genericly defines several elements < / desc > '");
    HTP.prn ("< item id =" f05_000 "|: T_ROWNUM |" "> ' |: TEMPORARY_APPLICATION_ITEM |") ("< / item > ');
    HTP.prn ("< / body >");
    END;
    If I have: TEMPORARY_APPLICATION_ITEM as "Vikas" gets it displays correctly, but if I "& lt;" b & gt; Vikas & lt; b & gt;' it shows null. If she tags HTML function l_Opt_Xml.firstChild.nodeValue does not correctly work.
    Please tell me what modiifcation can I use in the l_Opt_Xml.firstChild.nodeValue function to get values with HTML tags also to are displayed.

    Thank you
    Vikas

    Vikas,

    Try to escape special characters:

    htf.escape_sc(:TEMPORARY_APPLICATION_ITEM)
    

    Kind regards
    Dan

  • Synchronize with Lightroom Mobile not an option when you create a collection

    Hey people,

    I am under Lightroom CC was last updated and I have installed and connected to Lightroom on my iPad and iPhone. I rechecked the connection on the laptop side news yet when I go to create a collection on the desktop, the 'Sync with Lightroom Mobile' box does not appear as an option. Ideally, I would have my complete Lightroom catalog available via mobile LR. Is this possible?

    Thanks in advance.

    The box isn't there because the synchronization is not available in the catalog. You can have suspended, for example.

  • I get an error, "there was a problem starting c:\users\jordsn\wgsdgsdgdsgsd" "the specified module could not be found" when removing malware.

    Original title: RunDLL error "there was a problem starting c:\users\jordsn\wgsdgsdgdsgsd.
     
    I tried to deleted manually scamware/malware (your computer has been locked by the U.S. Department of Justice) from my computer. After reboot I get this RunDLL error "there was a problem starting c:\users\jordsn\wgsdgsdgdsgsd" "the specified module could not be found" if I click ok or X it stays just black. Please help me if you can. in a lay mans language as much as you can.
    I'm not much more than a geek, but can still manage my own if you tell me exactly what to do. Please include the step by step instructions. Thank you

    Two things... one, take a look at this site for some information and instructions (where something is hanging out)
    http://www.selectrealsecurity.com/malware-removal-Guide/
    and to know exactly what is running at the start have a look at this tool.
    Autoruns from Sysinternals

    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx

    I hope this helps.

  • my iphone 6 is not the Japan but still having a problem with his camera shttuer. sound is not being muted when the phone is silent. Help!

    my iphone 6 is not the Japan but still having a problem with his camera shttuer. sound is not being muted when the phone is silent. Help!

    The Japan is by far the only country where the shutter is forced to be on

  • My Calendars ipad2 entries synchronize with my iphone 6, but the 6 s iphone calendar entries will not sync at ipad2?

    My Calendars iPad2 entries synchronize with my iPhone 6, but iPhone calendar entries will not sync to my iPad2?

    If you use iCloud for you calendar, then they must synchronize.  Is enabled on both devices under settings-> iCloud calendar?

  • 6 s iPhone Bluetooth will pair with El Capitan Mac but does not connect

    My employers very kindly gave me a brand new MacBook Pro running the most recent version (10.11.4) of Mac OS X.  What finish set up I need to pair my iPhone staff 6 (running iOS 9.3.1) to the computer I want to use MacID to secure my computer when I'm away from him.  While the phone would pair (pairing being initiated by the Mac) it would be briefly apply status 'connected' before going to "not connected".  When I then tried to establish a connection, I received the following message on the iPhone:

    Connection failure

    'MacBook Pro' is not supported

    and the only option to close this dialog box click the device forget .

    I therefore looked on my personal Mac which had previously been paired with the phone to find that he was is no longer listed in the devices Bluetooth, but when I looked in the settings for MacID running on my Mac it says "Looking for iPhone 6 s.  I tried to re-pair 6s iPhone to my personal machine and had the same results.  When I called in my TI guru we tried with his iPhone 6 (also installed 9.3.1) and had the same results.  As it's been a few months since I used MacID on my computer that I don't know when the link has been broken - after an update iOS or OS X update.  Bluetooth linking to my Apple Watch still works perfectly.  I was unable to try this out with any other Mac, I was looking for one with an older version of Mac OS X.

    Everyone is aware of this problem or have an idea for a fix?

    TIA

    An iPhone will not pair Bluetooth with a computer (Mac or Windows) for one use other than personal hotspot and it will only do that if the carrier is supported. However, there are a number of things will be using Bluetooth between the computer and the iPhone where the devices are NOT matched. More information in Bluetooth: why can not connect my iPhone or iPad with another iOS device or my computer?

    The following link for MacID support site has instructions on how to do the installation. It requires Bluetooth to be turned on in the computer and the iPhone, but the rest of the configuration/connection is done inside the MacID app on each device, not normal Bluetooth pairing as follows: http://macid.co/help/?c=Setup & sc = Pairing % 20A % 20device

  • My iphoto does not open. When I click on the circle still turns but nothing happens. I tried to open it with option to order and reconstruction, and nothing happened. I have version 9.2.3. Any advice will be greatly appreciated.

    My iphoto does not open. When I click on the circle still turns but nothing happens. I tried to open it with command + option and reconstruction and nothing happened. I have version 9.2.3. Any advice will be greatly appreciated.

    If you recently updated to El Capitan, your version of iPhoto is not compatible with this OS.

    What version of Mac OS X are you running?

  • Can connect to Skype with a single account, but not with the other

    I am able to connect to Skype with my own login but not with the credentials of my friend on his pc. I can however connect with her details as well as mine on my pc?

    You need to upgrade your Internet Explorer to the latest version of IE8 for Windows XP.

    http://filehippo.com/download_internet_explorer_xp/

  • I can not locate other vehicles with GM Dealerworld Firefox but I can't on explore

    I'm not able to locate other vehicles with GM dealerworld Firefox but I'm able to explore

    URL of affected sites

    http://gmdealerconnect

    Your link did not work. Please post the correct link.

  • Why the execution time increases with a while loop, but not with "run continuously?

    Hi all

    I have a problem of severe weather that I don't know how to fix it because I don't know exactly where it comes from.

    I order two RF switches via a data acquisition card (NI USB-6008). One job at the same time can be selected on each switch. Basically, the VI created for this feature (by a colleague) resets all the outputs of acquisition data and active then those desired. It has three entrances, two chain simp0le controls and a cluster table, that contains the list of all the outputs and some practical information to know what is connected (specific to my application).

    I use this VI in a complex application, and I have some problems with the execution time, which increased whenever I said the VI, so I did a test VI (TimeTesting.vi) to determine where the problem came. In this special VI I record the execution time in a csv file to analyze then with excel.

    After several tries, I found that if I run this criterion VI with the while loop, execution on every cycle time increases, but if I remove the while loop and use the funtionnality "Continuous run", the execution time remains the same. In my high level application, I have while loops and events, and so the runtime increases too.

    I someone could explain to me why execution time increases and how can we avoid this? I have attached my VI test and the necessary subVIs, as well as an image of a graph that shows the execution time with a while loop and «run permanently»

    Thanks a lot for your help!

    Your SetReset_DO VI creates a channel whenever it is called.  And that you never delete a task.

    When running continuously, that it's as if it only runs once and LabVIEW has internal mechanisms to close references that will not be used again.  When a VI is used as a Subvi, LV does not know if she will be called again, and lacks these things until the first level VI stops. You have a memory leak.

    Just as you open and close your file outside the loop for, create your channel out of the loop.

    Lynn

  • have replaced my HARD original with an SSD drive, but now my laptop does not recognize HP support assistant?

    Dear Forum,

    I replaced my original HARD with a SSD drive, but now HP support assistant recognizes my phone? The program runs but updates always fail and when I look at general specifications the serial number, product name, number of product, microprocessors, system memory, motherboard, bios system, drive hard (s), and optical drive (s) are all empty. Interestingly, it recognizes the device to display (s) as being mobile intel (R) HD graphics and current resolution of 1366 x 768 and refresh rate 60.

    My laptop is an Australian model HP DV4 3029tx, which is an intel i5 14 "(2ème génération) with AMD graphics 6750" I replaced the original 640 GB hd with a 180 GB ocz vertex 2 using acronis to clone the drive.

    I would be grateful is anyone know how to get hp support assistant to recognize my computer.

    Thank you very much

    Hello
    Try this: http://h30434.www3.hp.com/t5/Desktop-Operating-Systems/HP-Support-Assistant-not-working-on-Win7/m-p/736511#M34734
    I think that cloning might be the question because the original configuration has been changed. Simple uninstall and reinstall again could possibly solve the problem as well...

  • I installed Windows XP on my new computer (with Windows 7 PRO), but my USB does not work on Windows XP. It works fine on Windows 7

    I installed Windows XP on my new computer (with Windows 7 PRO), but my USB does not work on Windows XP. It works fine on Windows 7.

    Hello

    And much more: (XP mode requires professional, Ultimate or Enterprise).

    Get all the benefits of Windows 7 and continue to take advantage of your investments and more
    business and productivity programs that require a PC running Windows XP.

    Note: Windows XP Mode requires a download.
    http://www.Microsoft.com/Windows/Windows-7/features/Windows-XP-mode.aspx

    Windows XP mode
    http://www.Microsoft.com/Windows/Virtual-PC/Download.aspx

    Windows XP Mode is supported through Technet

    TechNet - Forums - Windows 7 virtualization
    http://social.technet.Microsoft.com/forums/en/w7itprovirt/threads

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • OCIEnvCreate failed with return code-1, but the text of the error message was not available. »

    OCIEnvCreate failed with return code-1, but the text of the error message was not available. »

    I get this message (error) after update my customer Oracle 9.0 to 10.1 (used in the .net Oracle connection)

    I would like to get a resolution? If someone has experiece with her.

    THX

    Hello

    To improve assistance to this subject, you can ask your question in the MSDN Forums.

    NET Framework

    http://social.msdn.Microsoft.com/forums/en-us/category/netdevelopment

Maybe you are looking for

  • PC HP omni 220: replace drive in hp Samantha 220-1080qd

    you want to replace the hard drive. How can I get off the back. How can I open lock? Thank you redsz

  • Mac mini (mid-2014) with Samsung Tv

    Hi I have a Mac Mini (mid-2014) I have 5 Core 2.6 IRIS graphics card HARD drive 1 TB *** and I have a samsung 32 LED Tv series 5st inche 1080 resolution I use a HDMI cable The picture is not very clear... Writing is not clear... can you help me

  • decimal in table

    Hello I have one to convert a float number U8 array format how to proceed? example of 0,6 should be XX XX XX XX. 1.2 should be YY YY YY YY size of the array must be 4 only. I tried using the string to byte array function, but I don't know if it's goo

  • create a stand-alone executable of a vision-generating project

    Hello I created an application for inspection. This application must run on another machine and I want to make a standalone executable out of my vision generator project. Just to be sure: Is it possible to export my Vision Builder Labview project and

  • conversion of scanned documents to pdf docs .tiff

    I'm scanning my docs of Canon MX860 all in one machine. I am not given the ability to scan on save to my computer in pdf format. How to convert these documents to pdf format?