Exception : SubjectManager not installed when doing Security.runAs()

Hi
I am getting an exception : Subjectmanager not installed while running Security.runAs(new Subject , .....
The problem occurs onley when there is only wlclient.jar in the classpath .
Anyone knows the solution
I don't want to add weblogic.jar in the classpath .

Sachin Shukla <> writes:
Initialization of the client jar is a hairy dance. It generally
happens implicitly when an ORB is created. This sounds like a use-case
we missed. If you create your initial context first it should probably
resolve itself.
andy
I am getting the exception "SubjectManager not installed" when calling Security.runAs with thin client jar. This is the first statement on entering main(). This error doesnt occur when using weblogic.jar.
I was doing this because the principal and credentials set on main thread, for JNDI authentication were getting passed to all the child threads. To evade this, I thought of calling the following code in every new thread - Security.runAs(new Subject(), new PriviledgedAction(){
public Object run(){
//do stuff
Thanks in advance
Sachin

Similar Messages

  • SubjectManager not installed exception

    I am getting the exception "SubjectManager not installed" when calling Security.runAs with thin client jar. This is the first statement on entering main(). This error doesnt occur when using weblogic.jar.
    I was doing this because the principal and credentials set on main thread, for JNDI authentication were getting passed to all the child threads. To evade this, I thought of calling the following code in every new thread - Security.runAs(new Subject(), new PriviledgedAction(){
    public Object run(){
    //do stuff
    Thanks in advance
    Sachin

    Sachin Shukla <> writes:
    Initialization of the client jar is a hairy dance. It generally
    happens implicitly when an ORB is created. This sounds like a use-case
    we missed. If you create your initial context first it should probably
    resolve itself.
    andy
    I am getting the exception "SubjectManager not installed" when calling Security.runAs with thin client jar. This is the first statement on entering main(). This error doesnt occur when using weblogic.jar.
    I was doing this because the principal and credentials set on main thread, for JNDI authentication were getting passed to all the child threads. To evade this, I thought of calling the following code in every new thread - Security.runAs(new Subject(), new PriviledgedAction(){
    public Object run(){
    //do stuff
    Thanks in advance
    Sachin

  • Junitreport 'redirect' is not allowed when the secure processing feature is set to true.

    junitreport 'redirect' is not allowed when the secure processing feature is set to true.
    Hello,
       I'm running flexunit4.1.0-8 and I have an ant script running the test suite.    I recently upgraded from FB 4 to 4.5 and now I'm getting
    failures on junitreports.  Here's the full error: 
    [junitreport] : Error! Use of the extension element 'redirect' is not allowed when the secure processing feature is set to true.
    [junitreport] Failed to process C:\TDMSE_2_6\tdmse\flex-test\flex_unit_reports\TESTS-TestSuites.xml
    BUILD FAILED
    C:\TDMSE_2_6\tdmse\build\flexunitbuild.xml:116: Errors while applying transformations: javax.xml.transform.TransformerException: java.lang.RuntimeException: Use of the extension element 'redirect' is not allowed when the secure processing feature is set to true.
    Here's the junitreport section:
    [code]
    <target name="flex-unit-execute-tdmse-test-runner"
                                  description="executes the test runner app">
              <flexunit swf="${FLEX_UNIT_TEST_HOME}/TDMSETestRunner.swf"
                                  toDir="${FLEX_UNIT_REPORTS_HOME}"
                                  haltonfailure="false"
                                  localTrusted="true"
                                  verbose="true"
                                  headless="false"/>
              <junitreport todir="${FLEX_UNIT_REPORTS_HOME}">
                        <fileset dir="${FLEX_UNIT_REPORTS_HOME}">
                                  <include name="Test-*.xml"/>
                        </fileset>
                        <report format="frames" todir="${FLEX_UNIT_REPORTS_HOME}/html"/>
              </junitreport>
    </target>
    [/code]
    And here's the full ant build:
    [code]
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE project>
    <!--
                             TDMS flex unit test suite
    $Author:: hermannee                                                            $
    $Revision:: 10963                                                              $
    $Date:: 2011-11-15 13:38:46 -0500 (Tue, 15 Nov 2011)                           $
    $URL:: svn://ehsntpvld03.niehs.nih.gov/dev/tdmse_test_suite/trunk/build/flexun#$
    -->
              <!-- **** ADD THIS TO tdmes/build/build.xml *************
              <property name="FLEX_UNIT_HOME" value="${tdmsedir}/../tdmse_test_suite" />
              <target name="run_flex_units">
                  <ant antfile="${FLEX_UNIT_HOME}/build/build.xml" />
              </target>
              ********************************************************* -->
    <project name="flexunitbuild" basedir="." default="flex-unit-start-test-runner">
              <tstamp>
                        <format property="build.date" pattern="MMMMM dd, yyyy" />
                        <format property="build.time" pattern="HH:mm:ss" />
              </tstamp>
              <property name="tdmsedir" value="${basedir}/.." />
              <property name="builddir" value="${tdmsedir}/../build" />
              <property name="FLEX_HOME" value="${builddir}/tools/flex-4.5.0" />
              <property name="PARSLEY_HOME" value="${builddir}/tools/parsley-2.4.0" />
              <property name="FLEX_UNIT_HOME" value="${tdmsedir}/flex-test" />
              <property name="FLEX_UNIT_LIBS_HOME" value="${builddir}/tools/flexunit-4.1.0-8" />
              <property name="FLEX_UNIT_REPORTS_HOME" value="${FLEX_UNIT_HOME}/flex_unit_reports" />
              <property name="FLEX_UNIT_TEST_HOME" value="${FLEX_UNIT_HOME}/flex_unit_tests" />
              <!-- ==== tasks ============================ -->
              <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
              <taskdef resource="flexUnitTasks.tasks" classpath="${FLEX_UNIT_LIBS_HOME}/flexUnitTasks-4.1.0-8.jar" />
              <!-- dev -->
              <echo>basedir: ${basedir}</echo>
              <echo>tdmsedir: ${tdmsedir}</echo>
              <echo>builddir: ${builddir}</echo>
              <echo>FLEX_HOME: ${FLEX_HOME}</echo>
              <echo>FLEX_UNIT_HOME: ${FLEX_UNIT_HOME}</echo>
              <echo>FLEX_UNIT_LIBS_HOME: ${FLEX_UNIT_LIBS_HOME}</echo>
              <echo>FLEX_UNIT_REPORTS_HOME: ${FLEX_UNIT_REPORTS_HOME}</echo>
              <!-- =================================
              target: run-tdmse-test  
              ================================= -->
              <target name="flex-unit-start-test-runner"
                                  description="clean, compile and run tdmse flexunit tests"
                                  depends="flex-unit-clean-tdmse-tests,
                                  flex-unit-tdmse-compile-test-suite,
                                  flex-unit-execute-tdmse-test-runner"/>
              <target name="flex-unit-clean-tdmse-tests" description="Cleans the FlexUnit test and reports directories">
                        <delete dir="${FLEX_UNIT_REPORTS_HOME}" failOnError="false"
                                            includeEmptyDirs="true" />
                        <mkdir dir="${FLEX_UNIT_REPORTS_HOME}" />
                        <delete dir="${FLEX_UNIT_TEST_HOME}" failOnError="false"
                                            includeEmptyDirs="true" />
                        <mkdir dir="${FLEX_UNIT_TEST_HOME}" />
              </target>
              <target name="flex-unit-tdmse-compile-test-suite">
                        <mxmlc file="${tdmsedir}/flex-src/TDMSETestRunner.mxml"
                                            output="${FLEX_UNIT_TEST_HOME}/TDMSETestRunner.swf">
                                  <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
                                  <!-- ==== include tdmse resource bundles ====== -->
                <locale>en_US</locale>
                <source-path path-element="${tdmsedir}/flex-src/locale/{locale}" />
                <include-resource-bundles>COMMON</include-resource-bundles>
                <include-resource-bundles>OW</include-resource-bundles>
                <include-resource-bundles>PREF</include-resource-bundles>
                <include-resource-bundles>RD</include-resource-bundles>
                <include-resource-bundles>RG</include-resource-bundles>
                                  <!-- ==== compile parsley library ============= -->
                                  <compiler.library-path dir="${PARSLEY_HOME}" append="true">
                                            <include name="parsley-flex4-2.4.0.swc" />
                                            <include name="spicelib-flex-2.4.0.swc" />
                                  </compiler.library-path>
                                  <!-- ==== compile all tdmse flex-src ========== -->
                                  <source-path path-element="${tdmsedir}/flex-src" />
                                  <source-path path-element="${tdmsedir}/flex-test" />
                                  <!-- ==== compile all flexunit swc's ========== -->
                                  <compiler.library-path dir="${FLEX_UNIT_LIBS_HOME}" append="true">
                                            <include name="*.swc"/>
                                  </compiler.library-path>
                                  <!-- ==== compile all flexunit swc's ========== -->
                                  <compiler.library-path dir="${FLEX_UNIT_LIBS_HOME}/mocklibs" append="true">
                                            <include name="*.swc"/>
                                  </compiler.library-path>
                                  <compiler.verbose-stacktraces>true</compiler.verbose-stacktraces>
                                  <compiler.headless-server>true</compiler.headless-server>
                        </mxmlc>
              </target>
              <target name="flex-unit-execute-tdmse-test-runner"
                                            description="executes the test runner app">
                        <flexunit swf="${FLEX_UNIT_TEST_HOME}/TDMSETestRunner.swf"
                                            toDir="${FLEX_UNIT_REPORTS_HOME}"
                                            haltonfailure="false"
                                            localTrusted="true"
                                            verbose="true"
                                            headless="false"/>
                        <junitreport todir="${FLEX_UNIT_REPORTS_HOME}">
                                  <fileset dir="${FLEX_UNIT_REPORTS_HOME}">
                                            <include name="Test-*.xml"/>
                                  </fileset>
                                  <report format="frames" todir="${FLEX_UNIT_REPORTS_HOME}/html"/>
                        </junitreport>
              </target>
              <!-- ======================================================== -->
    </project>
    [/code]
    I haven't seen much info about this problem anywhere on google except for this forum post:
    http://forums.adobe.com/thread/740146
    Thanks for any help!

    If you include the xalan.jar library to the build.xml execution classpath everything works!!!!!!.
    I hope it will be userfull.

  • Strange issue encountered when doing costing run

    Dear experts,
    I encountered a strange problem when doing costign run use CK40N.
    I created a costing run on 23.12.2010 In the costing  run the validity was set  from 01.01.2011 to 31.12.2011, I did all the steps except release, all steps were done successfully
    I released costing run on 01.01.2011, but when I hit a material to check the costing date, found the costing was only avaliable to 31.01.2011 not 31.12.2011.
    I was wondering if any actions or modifications done will affact on the costing date of material?
    Have you ever meet this problems?
    Please give me some help.
    Thanks for your time and concern.
    Regards,
    Anna

    Hi Sarada & ajay
    Thanks for your comment.
    The most strange thing is...
    When I display costing run, the valid to date is 31.12.2011, but in material, it shows 31.01.2011....
    I did test again, to change the valid to date in CK40N of the costing run, but the result is, date in material alway the same with what displayed in costing run in T-code CK40N.
    One more information, we usually do costing run per month, and we just change to valid date to end of year from 2011.
    At first I thought it might have some relation with modifications to costing variant, but after doing test, the modifications will not affect.
    The valid date in material should always be the same with what displayed in costing run.
    And after the first step 'Selection' in costing run, the date will not be changed.
    So I could not come out with any idea with issue......

  • Screensaver not starting when iTunes is running. Works otherwise...

    Hi everyone,
    My screensaver will not start when iTunes is running (also Spotify). When the app is closed, the screensaver starts when it's supposed to (5 min. in my case, but have tried other time limits). I've tried changing mouse settings and even shutting it off to see if that's the cause but it didn't help. I use the MacMini as a home theater computer hooked up to my plasma so I need the screensaver to work. In the meantime, I've been using hot corners to force screensaver, but I would love for it to start automatically when music is playing. I've tried rebooting, resetting, but to no avail.
    Has anyone else had this issue or know what the problem is?
    I'm running MacMini brand new. Mavericks 10.9.1. Latest iTunes.
    Thanks.

    I don't normally use the screensaver. However when I tested it, I get the same results while iTunes is running.
    I encourage you to report it using > Apple - Mac OS X - Feedback

  • Number range not foung when doing profit center distribution

    hi
    iam getting error message profit center number range not found when doing distribution in profit centers. can any one help me with this.
    thanks
    monica

    issue is solved
    thanks

  • My iphone 4 has a SIM card and lately is saying that it is not installed when it is, and it has a small light in the screen where the card goes into the slot, why is this happening?

    my iphone 4 has a SIM card and lately is saying that it is not installed when it is, and it has a small light in the screen where the card goes into the slot, why is this happening?

    Hi cosmoph1,
    If you are having issues with your iPhone not recognizing the installed SIM, you may find the following article helpful:
    iPhone: Troubleshooting No SIM
    http://support.apple.com/kb/ts4148
    Regards,
    - Brenden

  • Touch Panel , CE, support VISA et PNG : was not installed successfully. Please run setup again

    Pour ceux qui ont tentés d’installer les supports PNG et VISA sur des « touch panels » qui ne sont pas distribués par NI (ou non Advantech) :
    Si vous avez une connexion ActiveSync, il est alors possible de les installer automatiquement et facilement via le projet LabVIEW ou démarrer -> programmes -> National Instruments -> VISA -> ….
      Mais si ActiveSync n’est pas installé sur le « touch panel » (par exemple afin de limiter la taille mémoire et donc les prix), il est fréquent que les problèmes commencent.
      En effet il faut copier les données de
    C:\Program Files\IVI Foundation\VISA\WinNT\NIvisa\WinCE » pour le VISA et C:\Program Files\National Instruments\LabVIEW X.Y\PDA\Utilities pour les autres
     ceci correspondant au processeur  du « touch panel » via une clé USB (par toujours reconnue car sous CE), via FTP ou autres.
      Si vous lancez alors le setup, il est fréquent d’obtenir le message : « XXXX was not installed successfully. Please run setup again. »
      Après quelques énervements, j’ai réussi à comprendre le problème. Les Panels distribués par NI ont le disque système qui porte le nom « HardDisk ». Pour que le setup fonctionne, il faut le lancer depuis un dossier sous la racine de « My Device » qui porte le nom « HardDisk ». Si votre disque dur ou  clé USB ne porte pas ce nom, inutile de chercher à les renommer, il faut simplement créer un dossier « HardDisk » copier les dossiers d’installation dedans.
    Comme les fichiers d’installation doivent être copiés dans une zone non volatile, et qu’il est difficile de naviguer dans un écran de 6’’, je vous conseille de faire un raccourci du dossier non volatile, dans le dossier ainsi créé « HardDisk ». Il suffit alors de lancer le setup, et de choisir pour le chemin d’installation le raccourci créé.
    Luc Desruelle | Voir mon profil | LabVIEW Code & blog
    Co-auteur livre LabVIEW : Programmation et applications
    CLA : Certified LabVIEW Architect / Certifié Architecte LabVIEW
    CLD : Certified LabVIEW Developer / Certifié Développeur LabVIEW
    Résolu !
    Accéder à la solution.
    Pièces jointes :
    27082009043.jpg ‏22 KB
    27082009045.jpg ‏11 KB

    résolu de le post...
    Luc Desruelle | Voir mon profil | LabVIEW Code & blog
    Co-auteur livre LabVIEW : Programmation et applications
    CLA : Certified LabVIEW Architect / Certifié Architecte LabVIEW
    CLD : Certified LabVIEW Developer / Certifié Développeur LabVIEW

  • Elements Organizer does not install when reinstalling PSE10

    I have a problem that I cannot seem to resolve. Previously Adobe Photoshop Elements 10 had been running flawlessly on my computer and was easily opened by clicking the desktop icon which had a "C:\Program Files (x86)\Adobe\Elements 10 Organizer\Photoshop Elements 10.0.exe" target. After uninstalling and reinstalling Photoshop Elements 10, when I click on the Desktop icon to start the application, I get a dialog box that says "The item 'Photoshop Elements 10.0.exe' that this shortcut refers to has been changed or moved so this shortcut will no longer work properly". If I right click the Photoshop Elements 10 desktop icon and check properties, the Target says "C:\Program Files (x86)\Adobe\Elements 10 Organizer\Photoshop Elements 10.0.exe". When I open Explorer and navigate to where the target says the application file should be, the "Elements 10 Organizer" directory does not exist. The only directory that does exist is the "Photoshop Elements 10" directory and it contains the 'PhotoshopElementsEditor.exe'. Yes if I click on that file the Editor opens, however when I try to load the Organizer workspace once the editor is open, it does not load because the entire folder and application is missing. I even tried searching the entire C-Drive to find the Photoshop Elements 10.0.exe file but it was nowhere to be found.
    To be specific, I had PSE8, PSE9, and PSE10 installed on my 64-bit Windows 7 Professional w/SP1 computer. I decided to uninstall PSE8 & 9 because I had just purchased PSE12 and wanted to make room for the PSE12 installation. When I tried to first uninstall PSE8, the uninstaller stopped with the warning that PSE8 was installed in the same directory as PSE10. The uninstall then terminated when I clicked on OK. Next tried to uninstall PSE9 and received the same warning and uninstaller termination. The same thing happened when I tried to uninstall PSE10. Faced with the situation that all three products were installed in the same directory and would not uninstall individually, I found it necessary to uninstall all three applications manually according to the directions on the Adobe's knowledgebase.
    To uninstall PSE8, PSE9, & PSE10, first thing I did was create a system restore point which is something I always do just in case something goes wrong. Then starting with PSE8, I first printed out the Photoshop Elements Help "Manually remove Photoshop Elements 8 | Windows that I found at http://kb2.adobe.com/cps/826/cpsid_82673.html. Subsequently I printed out the directions for each product, PSE8, PSE9, and PSE10, are all on the Adobe website. Next I followed the directions contained in each article except for running the product uninstaller as I mentioned above and removed all three applications then rebooted my machine.
    Next I reinstalled PSE10 and tried to open it only to find that it did not fully install especially the Elements Organizer. As mentioned you can open the Editor by going directly to the executable file however you cannot access the Organizer because it did not install and cannot be found anywhere on the computer. I have uninstalled and reinstalled PSE10 five time now each time using the product Uninstaller plus the "Manually remove PSE10" directions and I still cannot get the Elements Organizer to install.
    My question is does Adobe have a utility that can be run after manually installing a specific product that would find registry entries that were not removed after completing the manual removal process? The problem I see is the manual removal process which shows possible registry entries to remove manually is built on the assumption that you were able to run the Uninstaller which is not the case with my problem.
    Secondly does anyone have any suggestions on how to install both the PSE10 Organizer and Editor?

    I believe I found a solution but I need help in changing some of the parameters to reflect for a United States program install.
    If you go to "Elements 10 Organizer is not installed [SOLUTION]" at http://forums.adobe.com/message/4745941 you will note the Poster says it is possible to force the install of Elements Organizer 10 by using the command line:
    msiexec /i "E:\Adobe Photoshop Elements 10\ElementsOrganizer\Elements 10 Organizer.msi" TRANSFORMS=1031.mst ELEMENTS_DE_DE=1 ORGANIZER_DE_DE=1 STARTWATCHSERVICE=1 SUPPRESSREBOOT=0 NOT_STANDALONE=1 /l*v "C:\Users\<username>\AppData\Local\Temp\OrganizerInstall.log".
    I found that the above command line input does in fact start the setup for the PSE10 "Elements Organizer" Installer except it is in a language other than English.
    Is there anyone familiar enough with coding and command line prompts to change whatever paramenters are necessary to have the installer run in English.
    Hopefully there are some Adobe Staff monitoring this message that can answer the question for me.
    Message was edited by: DAllenJ2215

  • Create a file if it does not exist when a script runs

    I have a shell script I run using automator that puts on the clipboard a string like Page 001, Page 002 and so forth incrementing the number 00x everytime it runs. I use it when I need to sequentially name files when doing things like scanning documents and so forth.
    Presently, I have to manually create a file "~/counter" and enter the integer to start counting from. So if ~/counter contains 0, pbcopy places "Page 001" on the clipboard and so forth
    The shell script
    <pre class="jive-pre">
    #!/usr/bin/env bash
    myvar=$(cat ~/counter);
    let myvar=$myvar+1;
    mycopy=$(printf "Page %03d" $myvar);
    echo "$mycopy" | pbcopy;
    echo "$myvar" > ~/counter;
    </pre>
    works fine now.
    I want to modify the script so that if ~/counter does not exist, the script creates a file and initializes an integer value say 1 in the file. If the file exists, the script uses the integer used in the file.
    How can I get this done?

    And because I can not leave "Well Enough Alone"
    #!/usr/bin/env bash
    count=0
    [[ -r ~/counter ]] && read count anyjunk_aftercount <~/counter
    count=$((count+1))
    echo "$count" >~/counter
    printf "Page %03d" $count | pbcopy
    The anyjunk_aftercount is just in case something else gets into ~/counter. Assuming the first non-blank field on line 1 is the count, then anything following the count will be stuffed into anyjunk_aftercount and since the script ignores it, it will go away when the script re-writes ~/counter with just $count

  • AMDS not installing when installing iTunes 10.5 64bit from scratch

    Sorry for creating yet another thread on the 10.5 update, but I'm running out of options (and patience ) here.
    I was happily running iTunes 10.4 64bit on Windows 7 ultimate when I saw that I had to update to 10.5 in order to install iOS5 on my iPhone 4.
    I tried automatic and manual update, didn't work. So I went through the hoops, uninstalled everything Apple related in the correct order, and finally managed to install iTunes 10.5 64bit. Installation went seemingly smoothly, except that at some point the installer window said "rolling back", then went on with its business.
    I started iTunes, and connected my iPhone. A message appeared saying something among the lines of "this device cannot be used because the required software is not installed" (I'm translating here, sorry). I then realized that Apple Mobile Device Support hadn't been installed. I tried installing it manually (extracting the installer from the itunes64setup), no dice. I tried uninstalling and reinstalling iTunes a dozen times, using iobit uninstaller or not, still no dice.
    Is there something I didn't think of? Any bit of help would be much appreciated. Thanks for your time.

    I've done it a couple times, Windows 7 Pro and even Windows 7 Preview, and it does install just fine.
    Of course it could be your security suite - mine is MS Security Essentials on two PCs but also Kaspersky PURE on 3rd
    AMS is or can get screwed or damaged which was why I went with a clean install in one case.
    Once it showed yellow alert in Device Manger for iPod USB  deivce, and in Devices & Printers (control panel). Might be when I told Windows "always do xyz when it detects iPod" (which I now don't select any default action for.
    To be sure the iPod will be detected, some people do it slightly different but basically:
    before launch iTunes or connecting iPod -
    Services: Restart AMS, Bonjour and iPod
    Launch iTunes
    Connect iPod
    But once Device Manger complains, I could never get it 'fixed.'
    Try a clean install on another partition of Windows for test.
    Then if that works you can decide what to do. Backup, move, resize.
    It took me 20 minutes to install Windows but a day to add, update and install everything else, and make some backup images ($20 Paragon Clone OS utility, which ARE bootable and take 10 minutes to copy 50GB )

  • Adobe Download Manager will not install when installing Flash Player

    I recieve the following error after selecting to install the Active X ADM install.
    I am running Windows XP Professional and Internet Explorer 7.
    Any thoughts?

    Hi J, Unless you think there is some reason you need the DLM or GetPlus, I would suggest you Remove them from Add/Remove. Both of those are causing problems. You don't need them to uninstall/install Flash Player. Reboot after
    removing them and then use the following links to Uninstall/Install.
    Download and put the Uninstaller on your Desktop http://kb2.adobe.com/cps/141/tn_14157.html
    Download and SAVE this Installer to your Desktop http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe
    Read over the Uninstall instructions and be sure to follow the last 2 NOTES. Check your security settings and the Anti-Virus info-Norton. You don't want any Flash programs running while Uninstalling, so this would be your Anti-Virus/Spyware that runs in realtime; also check the system tray. Since you don't want to Disable your Security while online, disconnect from the Internet after you have the Uninstaller and Installer on your Desktop. When you are off line
    then Disable the Firewall as well as any Anti-Virus/Spyware. Then Run the Uninstaller, Reboot & follow that last NOTE per the Uninstall instructions. Then Run the Installer, Reboot. Then Enable your Firewall & Security, connect back to the Internet. Test here http://www.adobe.com/products/flash/about
    Thanks,
    eidnolb

  • Insert statement not working when Interface is run through PI ..

    Hi Every one,
    There is an interface(Server proxy) which updates a ztable in the program. Updates are happening when we are running this interface manually(putting Payload manually) but in case there are already entries in ztable and we are trying to update these records, even after handling exception z table is not getting updated when run through PI and happening manually.
    Please suggest me for the same.
    Vivek

    Tobias from this forum had the answer!
    http://powershell.com/cs/forums/p/5438/8786.aspx#8786
    His fix:
    Whenyou putput text from powershell, the console width is assumed. Since task scheduler runs its own hidden console, the width of that console is used to truncate the text.
    You can work by this issue by setting the width yourself. Try using a combination of Format-Table -auto / Format-List -auto and Out-File -width like this:
    get-process | Format-Table -Auto | Out-File c:\test.txt -Width 10000
    The format-cmdlet with -Auto makes sure the file uses only as much width as is truly needed. The -Width parameter sets the maximum width available.
    If you must redirect the output to something else, replace Out-File with Out-String -Stream -Width 10000 and then redirect the result to whereever you want.
    Note that multiline strings will still be truncated after the first line.
    My code looks like this:
    #Export Dataset Table to a text file       
    $DataSet.Tables[0] | Format-Table -Auto | Out-File $rcvrFileName -Width 10000
    This worked like a charm.
    Thanks!

  • The dreaded "Video Error-File Not Installed" When trying to watch LiveTV in WMC

    I'm getting the following error message when trying to use Live TV in WMC:
    Video Error
    Files needed to display video are not installed or are not working correctly. Restart Windows Media Center or restart the computer.
    On this system my tuners are the Hauppauge HVR 2250 and the Hauppauge HD PVR.  It took awhile to set up, but when I click play on a channel I get 10 seconds of video, an audio loop of the same sound over & over followed by the above error message.
    I ran into this problem once before on my Home Theater HTPC when trying to access the ATI Cable Card solution.  To get that to work I had to uninstall and reinstall Playready.  I tried 3 different ways of doing this on my new build & it did
    not fix the problem.  The only fix I didn't try was the one on Ceton's website that involves a whole lot of deleting of folders.
    Since this current build doesn't have a cablecard installed, and gets the non-clear QAM stations from settop box through HD PVR, would it still be the Playready needing to be reset?  The symptoms look identical to when I had the previous problem.
    These same files play in the BeyondTV that I'm trying to migrate from, so all codecs appear to be onboard.  I am using the latest HDPVR MediaCenter driver from the Hauppauge website & the latest drivers on the HVR-2250.
    Thanks for any help!

    I had this problem after upgrading my graphics card to an AMD 5450 and the solution after a couple of days of hair pulling was one I hadn't come across before in relation to this problem.
    It turned out that the problem was caused by the screen refresh rate, it was set to 60Hz by default and I got the Video Error message but if I changed it to 50Hz then playback of recorded programs or watching live TV worked.

  • Error : Patch 9.4.2 not installed. when trying to install AcrobatPatchApplication.exe

    All is in the titles.
    I'm deploying Acrobat Reader and Pro on several thousand of machines, usually without big troubles.
    last month I deployed the 9.4.2 update and everything went fine until we discovered the printing problem.
    This month I'm trying to deploy the patch, but it seems to not work as expected.
    When i run it on few machines with Adobe Acrobat 9.4.2 and Adobe reader 9.4.2 it returns to me the following message in the log file:
    03/09/11  11:14:21   INFO              =~=~=~=~=~=~ Start : Acrobat Patching Application.. =~=~=~=~=~=~=~=~=~
    03/09/11  11:14:21   INFO              Silent Mode : 1
    03/09/11  11:14:21   INFO              Found product : {AC76BA86-1033-0000-7760-000000000004}, installed on the machine.
    03/09/11  11:14:21   ERROR             Error : Patch 9.4.2 not installed. Acrobat 9.4.2 patch should be applied before running this executable.
    03/09/11  11:14:21   INFO              =~=~=~=~=~=~ Logging finished... =~=~=~=~=~=~=~=~=~
    For info :  {AC76BA86-1033-0000-7760-000000000004} is the code for Adobe Acrobat Pro 9.4.2 in the registry key.
    What's wrong??

    Installation howto you can find on http://www.puschitz.com
    Try use "Search" function before you create new topic. This one was discussed many times.

Maybe you are looking for

  • Mirroring with Apple TV to an Interactive Whiteboard

    I'm using the latest gen Apple TV and want to mirror my MacBook Pro to an Interactive Whiteboard. It mirrors okay but I want the display output to almost fill the entire screen. The 2 choices don't give me any better options, is there a work around s

  • My microphone Icon is no longer  available on my iPad 4

    My iPad 4  icon is no longer available  I'm running  7.0.4(11b554a) I just bought my iPad last Week The microphone was working The day I try to use my On my note app And it is not there I went to settings but there's no Button to turn it off Someone

  • How to modify a namespace

    hi to all! We have a namespace in our system, and my manager wants me to research on how to update a namespace, as what I've researched, I need to go to se03 then change namespace, I did that and I transported it last friday,,, however up to now, It

  • Nokia N8 music player not working properly (firmwa...

    I have just updated my N8 to Belle. It was working fine untill few days ago i added some mp3 file to my phone. I was trying to refresh the music player bt i won't stop refreshing. Please need help ASAP cuz it's really **bleep** me off  thanks in adva

  • Third party apps will not display pictures upon OS upgrade

    Hi I recently upgraded my 8520 to OS 5 and I've noticed that my Time Mobile App and Viigo will not display pictures in the articles or news feeds anymore. I've tried the apps support but no luck. Is there a possible solution for this?