Deployment utility is not removing absolute path

I'm using the deployment utility in TestStand 3.5 to create an image.  When I run the imaged sequence file I get an error  because TestStand tries to load a vi that is already loaded.  This only seems to happen with VIs that have absolute paths defined in the original test sequence.  My understanding was that TestStand removed dependencies on absolute paths during the build.  Do I need to remove the absolute paths in the original sequence file before using the build function?

Ray,
the UUT_Control.vi is loaded from in another sequence step as you suggested (the first call to UUT_Control does not use an absolute path) .  I also found the following info in the users manual :
The TestStand Deployment Utility also performs processing on sequence
files in order to remove absolute paths. ....The deployment utility corrects this potential problem by changing
absolute path references in sequence files to relative paths that initiate from
one of the following search directories:
• Current sequence file directory
• TestStand installation directory
• Windows\System32 directory
• Windows directory
If the target file is located outside of these directories, TestStand uses a path
that is relative to the installation directory and then adds the installation
directory to the list of default search paths during the installation.
My target file is outside the directories and I'm not creating an installation directory, just an image, so that is probably why TestStand is leaving the absolute path reference.
Thanks for the help
Bill

Similar Messages

  • Uninstaller utility does not remove the installation from the registry

    In our environment, we publish a script in Group Policy so that both the ActiveX and Plugin installs for flash player are easily installed for staff that have limited user access on their computers.  I usually remove or replace the old MSI files from the path the above script installs from when I get new versions of Flash Player.  For a while, I've run into a problem where when the new MSI files are installed, they try to uninstall the existing installation and fail because the old MSI file is no longer at the original installation source path.  I've tried to remedy this by having the script use the uninstall_flash_player utility to manually remove the activex and plugin first, but this utility does not remove the installation details of each from the registry, and the subsequent installations of the MSI files fail.  I have to uninstall the existing flash player installations first or perform a registry hack to formally remove the installation from Windows, and then the new installation will succeed.
    Does anybody have any advice for making this process work better?  Would this be considered a bug with the uninstaller tool?

    Hi, Until someone can reply to your thread/question, you may want to see this thread.
    http://forums.adobe.com/thread/826773?tstart=0
    eidnolb

  • Is there a way to keep Deployment Utility from modifying sequence file paths?

    While the Deployment Utility appears to be a great tool, it does some things that I'd rather it didn't. One is that it modifies all paths in sequence that it is including from Absolute to Relative. While this is a nice feature for many reasons, it is a show-stopper for our uses. This is because as part of our distribution process, we also use a checksum routine to verify that the sequence files being run by the operators on the Test Stations we deploy to are running the correct (unmodified) version of the test software. By using Absolute paths, we can detect and prevent accidental editing/changing of the sequences or paths that we have deployed, but if we have to use relative paths that is something that we could work with also.
    So my questions are: 1. Can this path update 'feature' be disabled? and 2. If not, then will pre-setting all paths in a sequence cause the deployment utility to only copy the file and not update it (thus changing it's checksum)?
    I'm going to test the latter when I have time, and if there are any other suggestions that might be useful, I'm love to hear them.
    Thanks,
    -Jack 

    Rick,
    In my experimentation to see if using relative paths, I was able to prove that a sequence that uses them will not be updated - with one caveat; if the path that is referenced by the sequence is not itself in a sub-directory, i.e.; it's in a different branch of the relative directory structure with respect to the Target (such as the TestStand directory), then the sequence file is always updated and re-saved. An example is that we have a sequence in the Tools directory that calls a DLL in the FrontEnd directory of the Components\User path. This re-saving causes a checksum change and screws up our verification mechanism. 
    It is unfortunate that I cannot prevent the deployment utility from modifying sequence files - Since we control the entire Test environment, including the location that software gets installed to - Test Station custodians can't go installing the software in a different location, or worse, multiple locations, so we don't have the issue to worry about.
    Because of this 'better' method, we now have to re-evaluate how to control the installed version of the software, or use a different installer, such as CVI, which while it has been working for us, has it 's own issues that we're trying to get away from. I'm glad that I am finding out about this now before I've locked down the sequences so that I can probably move the features in the Tools to the Frontend Callback sequence. 
    It's almost always the case thought that one persons forced enhancement is another's 'feature' or worse 'bug'.
    Thanks for confirming the behavior on the Deployment utility for me.
    -Jack

  • PDX index - how to remove absolute path to it?

    I have a PDF and using File > Properties > Document Properties > Advanced tab have browsed to a Search Index, and added it to the PDF (I've added a big Search button that the user can press to search the entire, large, collection of PDFs).
    The search index path that the Browse form puts in the Search Index: field points to a location on our network e.g. \\Server1\application\PDFs\index.pdx
    This works fine when I'm running it locally, but when the PDF + index gets installed on a PC outside of our network the user gets a error telling them that it can't load the index.
    I want to edit the path in the Search Index: field so that it is relative e.g. PDFs\index.pdx (the same location as the PDFs and the index file + folder), but the Search Index: field is greyed out and uneditable!  I seem to be stuck with a useless absolute path.
    Question: Is there any way of making the path to the PDF relative and not absolute? We need to put the PDF collection onto our software distribution DVD, and the customers will install it to their own PCs/network locations.
    (I'm using Acrobat Pro X ver 10.1.8 on Windows 7 Ultimate SP 1, and the target audience will be using Acrobat Reader)

    I think the problem is kinda fixed.
    I created the library and index on a network drive and created a "start PDF" file at the same location.  I opened the "start" file and used Ctrl-D > Advanced > Search index to add the name of the .pdx file.
    I emailed the "start file" to someone else on the network.  They downloaded it and double clicked it.
    * They happened to be using the new 2015 Pro DC version.  The message about the index associated with this document (...) could not be located. appeared. The path was expecting the .pdx file to be below the download directory.
    * I clicked OK.
    * Pressed Ctrl-Shift-F for advanced search.
    * Clicked Show more options (because that user had never used Advanced Search) - and the index file was displayed in the look in field.
    * Entered a search term and it worked perfectly.
    I retested it using a Dropbox location.  Created the "start PDF" file and emailed another person, not on the same network, but sees the same Dropbox folder.  They use Acrobay XI v.11.0.10.
    * The file was downloaded and double-clicked.
    * Pressed Ctril-Shift-F - same index could not be located message - and again the .pdx file was assumed to below the download directory.  But nothing auto-magically fixed itself. 
    The only solution here is to provide user with a link to the .pdx file on their desktop.  When they double clicked it, Acrobat opens with the index loaded.
    (Depending on the user, the other alternative is to add the index to the index list.)

  • Oracle BI Publisher desktop - insert field does not make absolute path

    Hello everyone,
    I am using the Oracle BI Publisher desktop 11.1.1.5
    Lets have the given demodata
    <demodata>
         <person>
         <name>Peter</name>
         </person>
         <relative>
         <name>Mike</name>
         </relative>
    </demodata>
    As you can see the tag <name> is used as subchild in person, relative.
    next i start winword 2007 using the bip-extension. There is a button 'insered field' that opens a window with the demodata tree.
    When i pick person->relation->name there will be the expression <?name?> insered.
    Thats my problem, i need the absolute path to be insered, in this case <?/demodata/relation/name?>
    If the adressing is not absolute starting from the root the rendered Report will show 'Peter' as it is the first occurence of the <name> tag.
    I have not find out where to configure the word-plugin to make absolute paths in fields.
    Any ideas ?

    Thank you for your answer
    sure, it is possible to edit the fields by hand but my xml-structure is autogenerated (MDA-approach), nested and quiet complex. Manual tasks can lead to typing errors and sometimes i forget to edit one field afterwards.
    It would be just very handy when the tool does the work for me, it has all the information anyway.
    I wonder why am the first person that is having this request. In my opinion adressing starting from the root is clear and without ambiguity. In every field i can exactly read using the expression which element in the tree is used.
    In conclusion, it would be nice if the plugin let the user decide whether to use the short or the long syntax
    greetings,
    martin.

  • What is needed to run the deployment utility while not logged into Windows?

    I am running a bash script to perform nightly builds of our test s/w. This script calls the deployment utility via command line. The actual command I am using is:
    /cygdrive/c/Program\ Files/National\ Instruments/TestStand\ 4.1.1/Components/Tools/Deployment\ Utility/DeploymentUtility -- build "C:\Sandbox\ATE\Production_Test_Projects\eHLC_RX\Deployment\Unified_eHLC_RX_Test_Deployment_Config.tsd"
    It works flawlessly as long as I am logged into the PC. I have a cron job running to invoke my main script on a daily basis. As soon as I log out of the PC is when I am having the trouble. The script does get started but when looking at the processes on the PC I see my bash sessions open as well as the deployment utility open but it is not doing anything. If I end the deployment utility process the bash script continues and exits normally. Is there something I have to put in the command line to make the deployment utility work if I am not logged in? I have the cron running as a service and it is using my username and pw when required. But the deployment utility just hangs and does nothing. The deployment utility log is blank so it was basically opened but did not perform the build. Any ideas as to what may be causing this? Thanks in advance for any help.
    Troy

    Here is a little more information. I changed the service that is running my script which is calling the Deployment Utility via command line from This Account on the Log On tab which requires my username and password to Local System Account and checked Allow Service to Interact with Desktop. This time when I was logged out of the PC and the script started I logged back on and could see the message that was thrown when the Deployment Utility was initialized. I could not see this with the service set to the other parameter because it is running in the back ground. I am sure this is what is happening because in this state I check the processes on the PC and it is reflecting the same information. The memory usage is the same and the Deployment Utility is doing nothing obviously waiting for acknowledgement of this error. If I click OK the build does start but at the end I get all types of debug messages at the end which do not happen when I am logged in and this process completes. Does anyone have any idea what this error message is referring to and maybe how to fix it?
    Thanks again for any help.
    Attachments:
    Startup_Error.JPG ‏80 KB

  • Systemd Unit - Executable is not an absolute path

    I have installed powertop following this:
    How to improve battery life using powertop
    I have created file "/usr/local/bin/powertop_tuning.sh" and I have set some line within it.
    Then I have done this file as executable:
    sudo chmod +x /usr/local/bin/powertop_tuning.sh
    Finally I create a service using systemd:
    sudo $EDITOR /lib/systemd/system/powertop_tuning.service
    and I set its content to:
    [Unit]
    Description="PowerTop Tuning config"
    ConditionPathExists=/usr/local/bin/powertop_tuning.sh
    [Service]
    Type=oneshot
    RemainAfterExit=yes
    KillMode=none
    ExecStart=/usr/local/bin/powertop_tuning.sh
    ExecStop=exit
    [Install]
    WantedBy=multi-user.target
    and set it to start automatically:
    udo systemctl enable powertop_tuning.service
    When I reboot my system, on boot time below message is shown:
    systemd[1]: [/usr/lib/systemd/system/powertop_tuning.service:10] Executable path is not absolute, ignoring: exit
    Service status is:
    [toni@toni ~]$ systemctl status powertop_tuning.service
    ● powertop_tuning.service - "PowerTop Tuning config"
    Loaded: loaded (/usr/lib/systemd/system/powertop_tuning.service; enabled)
    Active: active (exited) since sáb 2014-11-22 15:35:43 CET; 1h 4min ago
    Process: 492 ExecStart=/usr/local/bin/powertop_tuning.sh (code=exited, status=0/SUCCESS)
    Main PID: 492 (code=exited, status=0/SUCCESS)
    CGroup: /system.slice/powertop_tuning.service
    nov 22 15:35:43 toni systemd[1]: Started "PowerTop Tuning config".
    Last edited by toni (2014-11-22 15:42:02)

    jjacky wrote:
    First of all, you shouldn't put files in /lib; put your own service files under /etc/systemd/system that's where they belongs.
    Then, I'm not sure what the line "ExecStop=exit" is supposed to do, but it's what's causing the error and since your service simply consist of running a script once, there's no need for an ExecStop here, so you can just remove it.
    Lastly, for such things you don't have to write your own service, you could also simply add a .conf file in /etc/tmpfiles.d with content such as:
    # NMI watchdog should be turned off
    f /proc/sys/kernel/nmi_watchdog - - - - 0
    See `man tmpfiles.d` for more about this.
    so what is the difference between using a service or using /etc/tmpfiles.d?
    "/usr/local/bin/powertop_tuning.sh" file is:
    #!/bin/bash
    # Tiempo límite de reescritura VM
    echo '1500' > '/proc/sys/vm/dirty_writeback_centisecs';
    # Vigilancia NMI se debe apagar
    echo '0' > '/proc/sys/kernel/nmi_watchdog';
    # Habilitar administración de energía del codec de Audio
    echo '1' > '/sys/module/snd_hda_intel/parameters/power_save';
    # Enable SATA link power management for host3
    echo 'min_power' > '/sys/class/scsi_host/host3/link_power_management_policy';
    # Enable SATA link power management for host4
    echo 'min_power' > '/sys/class/scsi_host/host4/link_power_management_policy';
    # Enable SATA link power management for host1
    echo 'min_power' > '/sys/class/scsi_host/host1/link_power_management_policy';
    # Enable SATA link power management for host2
    echo 'min_power' > '/sys/class/scsi_host/host2/link_power_management_policy';
    # Enable SATA link power management for host0
    echo 'min_power' > '/sys/class/scsi_host/host0/link_power_management_policy';
    # Autosuspender para dispositivo USB AS2105 [ASMedia]
    # echo 'auto' > '/sys/bus/usb/devices/4-3/power/control';
    # Autosuspender para dispositivo USB desconocido 3-6 (8087:07dc)
    # echo 'auto' > '/sys/bus/usb/devices/3-6/power/control';
    # Autosuspender para dispositivo USB Microsoft® Nano Transceiver v2.0 [Microsoft]
    # echo 'auto' > '/sys/bus/usb/devices/3-4/power/control';
    # Tiempo de ejecución PM para dispositivo PCI Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2
    echo 'auto' > '/sys/bus/pci/devices/0000:00:1a.0/power/control';
    # Tiempo de ejecución PM para dispositivo PCI Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller
    echo 'auto' > '/sys/bus/pci/devices/0000:00:00.0/power/control';
    # Tiempo de ejecución PM para dispositivo PCI Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller
    echo 'auto' > '/sys/bus/pci/devices/0000:00:01.0/power/control';
    # Tiempo de ejecución PM para dispositivo PCI Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
    echo 'auto' > '/sys/bus/pci/devices/0000:00:03.0/power/control';
    # Tiempo de ejecución PM para dispositivo PCI Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI
    echo 'auto' > '/sys/bus/pci/devices/0000:00:14.0/power/control';
    # Tiempo de ejecución PM para dispositivo PCI Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1
    echo 'auto' > '/sys/bus/pci/devices/0000:00:16.0/power/control';
    # Tiempo de ejecución PM para dispositivo PCI Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller
    echo 'auto' > '/sys/bus/pci/devices/0000:00:1b.0/power/control';
    # Tiempo de ejecución PM para dispositivo PCI Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1
    echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.0/power/control';
    # Tiempo de ejecución PM para dispositivo PCI Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3
    echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.2/power/control';
    # Tiempo de ejecución PM para dispositivo PCI Realtek Semiconductor Co., Ltd. RTS5249 PCI Express Card Reader
    echo 'auto' > '/sys/bus/pci/devices/0000:05:00.0/power/control';
    # Tiempo de ejecución PM para dispositivo PCI Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6
    echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.5/power/control';
    # Tiempo de ejecución PM para dispositivo PCI Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1
    echo 'auto' > '/sys/bus/pci/devices/0000:00:1d.0/power/control';
    # Tiempo de ejecución PM para dispositivo PCI Intel Corporation HM86 Express LPC Controller
    echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.0/power/control';
    # Tiempo de ejecución PM para dispositivo PCI Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]
    echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.2/power/control';
    # Tiempo de ejecución PM para dispositivo PCI Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller
    echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.3/power/control';
    # Tiempo de ejecución PM para dispositivo PCI Intel Corporation Wireless 3160
    echo 'auto' > '/sys/bus/pci/devices/0000:03:00.0/power/control';
    # Tiempo de ejecución PM para dispositivo PCI Intel Corporation 4th Gen Core Processor Integrated Graphics Controller
    echo 'auto' > '/sys/bus/pci/devices/0000:00:02.0/power/control';
    # Tiempo de ejecución PM para dispositivo PCI Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
    echo 'auto' > '/sys/bus/pci/devices/0000:04:00.0/power/control';
    # Tiempo de ejecución PM para dispositivo PCI Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4
    echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.3/power/control';
    # Estado Wake-on-lan para dispositivo enp4s0
    ethtool -s enp4s0 wol d;

  • Disk utility will not remove OS X Mavericks?

    Recently upgrade to OS X Mavericks from Snow Leopard, because Mavericks stated that Safari would be much faster, but lost all of my
    previous saved photos, my iPhoto app that came with my original OS X version 10.5.6., my small 80GB external hard drive for back-ups
    was no longer accessible after a few attempts. Also discovered many of my previous existing apps where "x'd-out as NO LONGER
    being compatible with the upgrade.
    Attempted to use Disk Utility to erase Mavericks, but found that feature greyed-out and unable to remove and make a clean re-install of
    Snow Leopard.
    While searching for possible fixes, I saw an "update" to "prepare Snow Leopard for Mavericks, but never received a normal update notice.
    Wondering if there's a work-around to fix my problem ???

    Hi Harry_42,
    sorry to hear that your not having a great experience with upgrade to Mavericks, it sounds like to me you install Mavericks to a different partition and is the reason your not seeing any of your bookmarks.
    To reinstall you can use the below link, I think if you want to go back to Snow Leporad would require the orginal installation media.
    http://support.apple.com/kb/PH3878?viewlocale=en_US
    Good luck,
    Dr. C.

  • Package com.sun.deploy.util does not exist, failed to import com.sun.deploy.util.VersionID;

    Java 1.6 JRE contains deploy.jar, which provides the VersionID class. However, Java 1.8u5 does not have it anymore.
    I cannot find any log w.r.t the change.
    Can anyone please point out whether the absence is deliberate or just an accident? If deliberate, what is the replacement of VersionID in Java 8?
    Many Thanks

    What type of operating system do you have? x32 or x64?

  • Ora:processXSLT xpath function and absolute paths

    It looks like ora:processXSLT xpath function does not honor absolute paths when specifying the location of the xslt to use in the first parameter. For example, if I call it like this:
    <copy>
    <from expression="ora:processXSLT('/u01/transforms/mytransform.xsl',bpws:getVariableData('xslInput','payload'))"/>
    <to variable="xslOutput"/>
    </copy>
    I get the following error in the bpel logs:
    Error while processing xpath expression, the expression is "ora:processXSLT('/u01/transforms/mytransform.xsl', bpws:getVariableData("xslInput", "payload"))", the reason is javax.xml.transform.TransformerException: java.io.FileNotFoundException: /u01/oracle/bpel/integration/orabpel/domains/test/tmp/.bpel_transformTest_1.0.jar/u01/transforms/mytransform.xsl (No such file or directory).
    Please verify the xpath query.
    It is assuming that the xsl will be relative to the bpel suitcase and just appending the supplied path to the relative path for the bpel process. Why would I want to do this? Well, I have hundreds of these maps and I want to be able to select one at runtime. I'm also adding new ones every day and I don't want to have to redeploy the process that uses them each time I add a new map. Is there any way to force this process to recognize the absolute path? I can work around it for now by using a bunch of ../../../../ stuff but that's a kludge and I'd like to find a better way to do it.
    I get the same error with xdk:processXSLT.
    Any suggestions?
    Thanks!
    Sean

    Hi Sean,
    Did you try to the file path with the file:// prefix and not just the path?
    ~ronen

  • Can not install the newest update to itunes gets error and backs off. also can not remove itunes to try to reload

    I am unable to update itunes on my pc. I also can not remove to try for new load. Help please

    Try the following steps:
    1. Go to Microsoft website to fix install and Unistall problems. Click "Run now" from Fix it to remove all iTunes & related installer files:
    http://support.microsoft.com/mats/Program_Install_and_Uninstall
    Be aware that Windows Installer CleanUp Utility will not remove the actual program from your computer. However, it will remove the installation files so that you can start the installation, upgrade, or uninstall over.
    2. You should remove all instances of iTunes and the rest of the components listed below:
    it may be necessary to remove all traces of iTunes, QuickTime, and related software components from your computer before reinstalling iTunes.
    Use the Control Panel to uninstall iTunes and related software components in the following order:
    iTunes
    QuickTime
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Follow the instructions from Apple article listed here: http://support.apple.com/kb/HT1923 to remove all components
    3. Reboot your computer. Next, download iTunes from here:http://www.apple.com/itunes/download/ and install from scratch

  • Robohelp HTML command-line utility overwrites merged files in .hhp file with absolute paths. Any way to prevent this?

    I have a Robohelp 11 HTML project which uses merged CHM files. I have a help build script which compiles this project using the RH command-line utility. Whenever this runs, RH overwrites the names of the merged CHM files in the .hhp file to use absolute paths (even if the .hhp file is read-only!). I've searched Adobe forums and this appears to be a RH bug. In my case, it doesn't stop the project performing the merge, but it looks like it causes problems when searching the resultant parent CHM (topics matching the search simply don't show up in child projects), as the search cannot necessarily find the merged files referenced in the .hhp when someone performs the search on a different machine. I notice that if I compile via the RH UI, the .hhp entries are not overwritten. So, a workaround is to do the build manually. However, we'd like to automate our help build. Is there any way to prevent the command-line compiler overwriting the merge file entries in the .hhp?

    This was a problem with Rh9, see Item 13 at Using RoboHelp 9
    I haven't seen it reported since but maybe something at that link will help.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Deployment utility gives file not found warning, but build completes succesfully.

    When running the deployment utility, I am able to analyze source files successfully; no problems there.  When I go to build, all appears to go well until I click the popup that has the message: "The build is finished."  After closing the popup, I get the following warning:
    "Warning: This problem will cause an error when building a deployable image or an installer. The following file(s) were not found:"
    It's followed by a list of dozens of files.  However, I verified that all files are included in the search directories.
    I installed the deployment as-is and it seems to run ok; it finds the files it's supposed to.  However, I'm going to have a hard time selling this procedure off to QA if the deployment shows a 'file not found' message.
    My question is: why do I get the 'file not found' warning during the deployment build process, yet the 'analyze source file' step finishes ok and the deployed files work ok?

      These files are all relative and are part of the workspace.  I did find a
    workaround to the problem.
    In the search directories selection box, the top-level entry is "Current
    sequence file" with subdir search enabled.  The next entry is the workspace
    directory with subdir search enabled; all files are in subdirs of the
    workspace directory.  The remaining entries are unchecked or not
    user-defined (ie.: other NI directories on my computer).  In order for the
    deployment to work, I had to enable the third entry on the list: "Initial
    directory" along with subdir enabled.  However, the initial directory is
    the same as the workspace directory (since I opened teststand by
    double-clicking on my .tsw file).  What I don't understand is why should it
    matter that I have initial directory on the path if it's the same as the
    entry before it?

  • How to read images in jsp from an absolute path not from the web app?

    hello there
    i want to read images from an absolute path on the hard disk not from the images folder in the web application
    how to do that?
    thank you

    Ok. You don't give the servlet the full path of an image. You just give an image id in query string. E.g.
    http://my.server.com/imageServlet?id=12Id can be whatever: number as well as name.
    Then, in your servlet You get this id, then read an image file that is mapped for this id and sends it to browser via servlet output stream.
    On the jsp page you write sth similar to:
    <img src="http://my.server.com/imageServlet?id=12"/>and your image will be displayed using your servlet. The image file path is needed only in the servlet code to open the stream to file (image file can be stored wherever you want in file system), read it and write to output stream. Read the tutorial accessible via link I provided in the previous post.

  • Deployment Utility - log file errors/warnings not clear

    Hi,
    I'm doing my first deployment and have few questions:
    1) I tried to deploy ONLY the TS user directories. I checked the 'Deploy Files in TestStand User Directories' option and did not check 'Install TestStand Engine' since I deploy it into a system with TS3.0+CVI7.0 software(same as the source).
    The process was successful by I get the following warnings in the log file.
    Starting Log.
    Building...
    5:47 PM
    An installer is being created.
    The installer is finished
    The build process is done.
    5:48 PM
    Warning: You may need to add any sequence files referenced by the following expressions:
    "reportgen_" + RunState.Root.Locals.ReportOptions.Format + ".seq" in step 'Process Step Result', sequence 'SequenceFilePostResultListEntry', sequence file 'C:\Program Files\National Instruments\TestStand 3.0\Components\User\Models\TELRAD_SequentialModel.seq'
    "reportgen_" + RunState.Root.Locals.ReportOptions.Format + ".seq" in step 'Process Step Result', sequence 'ProcessModelPostResultListEntry', sequence file 'C:\Program Files\National Instruments\TestStand 3.0\Components\User\Models\TELRAD_SequentialModel.seq'
    "ReportGen_" + Parameters.ReportOptions.Format + ".seq" in step 'Get Report Footer', sequence 'TestReport', sequence file 'C:\Program Files\National Instruments\TestStand 3.0\Components\User\Models\TELRAD_SequentialModel.seq'
    "ReportGen_" + Parameters.ReportOptions.Format + ".seq" in step 'Get Report Header', sequence 'TestReport', sequence file 'C:\Program Files\National Instruments\TestStand 3.0\Components\User\Models\TELRAD_SequentialModel.seq'
    "ReportGen_" + Parameters.ReportOptions.Format + ".seq" in step 'Get Report Body (Sequence)', sequence 'TestReport', sequence file 'C:\Program Files\National Instruments\TestStand 3.0\Components\User\Models\TELRAD_SequentialModel.seq'
    "ReportGen_" + Parameters.ReportOptions.Format + ".seq" in step 'Set Report Disabled Message', sequence 'TestReport', sequence file 'C:\Program Files\National Instruments\TestStand 3.0\Components\User\Models\TELRAD_SequentialModel.seq'
    RunState.ProcessModelClient in step 'MainSequence Callback', sequence 'Single Pass', sequence file 'C:\Program Files\National Instruments\TestStand 3.0\Components\User\Models\TELRAD_SequentialModel.seq'
    RunState.ProcessModelClient in step 'MainSequence Callback', sequence 'Test UUTs', sequence file 'C:\Program Files\National Instruments\TestStand 3.0\Components\User\Models\TELRAD_SequentialModel.seq'
    +++++++++++++++++++++++++++++++++++++++
    What does it mean? What to do about it?
    2) The utility does not include the cfg/TypePalettes where I have a my own file.
    Is there a reason to it? Do I need to include it manually?
    3) When I included workspace in the utility I get the following errors:
    Starting Log.
    Processing Workspace...
    Done processing workspace file
    +++++++++++++++++++++++++++++++++++++++
    Processing Workspace...
    Done processing workspace file
    Building...
    6:08 PM
    Error could not open LabVIEW
    Distributing VIs requires the LabVIEW Development System
    Class not registered
    in TestStand - Get LV Reference.vi->TestStand - Package VIs.vi->TestStand - Build.vi->TestStand - Distribution Wizard GUI.vi->TestStand - Deployment Utility Splash Screen.vi
    An installer was not created due to an error
    The build process is done.
    6:08 PM
    Error Code:-2147221164
    Class not registered
    in TestStand - Get LV Reference.vi->TestStand - Package VIs.vi->TestStand - Build.vi->TestStand - Distribution Wizard GUI.vi->TestStand - Deployment Utility Splash Screen.vi
    +++++++++++++++++++++++++++++++++++++++
    In order to eliminate the problem source I un-checked the files presented by the 'Analyze Source Files' until all of them are un-checked. Even in that case I get the error message.
    What does the message mean?
    What to do about it?
    I don't use any LV in my system!!!!!
    Thanks and my apology for the long message
    Rafi

    Hi Rafi,
    On #1 the warnings appear whenever you have an expression that specifies a sequence file because many expressions are not valid until runtime, you can ignore it as long as ALL sequences that expression may evaluate to are included in the Workspace.
    >2) The utility does not include the cfg/TypePalettes where I have a my own file.
    >Is there a reason to it? Do I need to include it manually?
    No it does not include it because it is not needed unless you plan to edit on the deployed sequence (generally not recommended). If you add a custom type to a sequence the sequence file will have a copy of the type. You can include the types palettes manually in the workspace if desired.
    >3) When I included workspace in the utility I get the following errors:
    >What does the message mean?
    The deployment utility thinks you have a VI to deploy, it is trying to load LabVIEW and failing because LabVIEW is not installed.
    >What to do about it? I don't use any LV in my system!!!!!
    Somewhere there is a .vi or .llb in the system. Find the VI(s) and uncheck them. I did find a bug that the deployment utility caches the flag indicating if a VI is present, but it is easily worked around: Save a tsd file, Press the New button and then reload the tsd.
    -Rick Francis

Maybe you are looking for

  • Problem installing Adobe Photoshop CS4. Please help me.

    Hi Geeks, I am stuck with Adobe Photoshop CS4 (Trial) installation since last two days. I am desperately looking for help to get rid of this problem. My Problem: At the end of installation of Adobe Photoshop CS4 (Trial) i was prompted with en error m

  • Bug in moving windows?

    Has anyone else noticed a problem with moving windows around by dragging them from the title bar: It used to be possible to move them off screen right, left, and down. Movement off the screen to the top was prevented, however: The pointer remaining a

  • Transaction KKF2

    hi, i have a problem with a process, want to change the system status of the order QM and this process dont modify the table "aufk" fields "PHAS2" , "IDAT2", just in the table "JEST" Transaction KKF2 until shows to end's tecnical the order if i do ma

  • Applying keywords to subdirectories

    I have a Videos folder with lots of subdirectories, each of which contain lots of video clips. I've applied keywords to the bulk of the clips. When I'm at the top directory, however, I can't filter based on the keywords.  Is there any way around this

  • TS1362 When selecting a song on my iphone, it skips ahead 2-3 songs and sometimes it does play. Can itunes be reset?

    When selecting a song from itunes, its goes to a song i did not pick then it begins to scroll on its own.