Collect with 32bit JVM failed

Hi,
I am using collect tool from Sun Studio 12, i used it succeccfully on my system using 64-bit Sun JDK 1.6
but when i try to use it to collect Hardware counter data using 32-bit jvm it failes and shows error while i trying to analyze collect data using "Analyzer" tool
The error message it shows is *"test.1.er***Collector Error: Initializing Hardware counter profiling failed"*
OS version
$ uname -a
Linux m02 2.6.18-92.el5.src-PAPI #1 SMP Tue Jan 27 10:57:40 CET 2009 x86_64 x86_64 x86_64 GNU/Linux
Java version (32-bit version that is not working)
]$ java -version
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
the other Java version that is working fine (64-bit version)
]$ java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)
collect command output
]$ collect
NOTE: Linux-64-bit, 32 CPUs, CentOS_5.2 system "mi02" is supported by the Performance tools.
NOTE: The J2SE[tm] version 1.6.0_10 found at java (picked by PATH) is supported by the Performance tools.
usage:  collect <args> target <target-args>
        Sun Analyzer 7.7 Linux_i386 2009/06/03 [64-bit]
  -p <interval> specify clock-profiling
        clock profiling interval range on this system is from
        10.000 to 1000.000 millisec.; resolution is 10.000 millisec.
  -h <ctr_def>...[,<ctr_n_def>]
        specify HW counter profiling for up to 4 HW counters
        see below for more details
  -s <threshold>        specify synchronization wait tracing
  -r <option>   specify thread analyzer experiment; see man page
  -H {on|off}   specify heap tracing
  -M {version|off}      specify an MPI experiment
        Supported MPI versions: CT8.2, CT8.1, CT8, CT7, CT7.1, OPENMPI, MPICH2, MVAPICH2
  -m {on|off}   specify MPI tracing
  -j {on|off|path}      specify Java profiling
  -J <java-args>        specify arguments to Java for Java profiling
  -t <duration> specify time over which to record data
  -x    specify leaving the target waiting for a debugger attach
  -n    dry run -- don't run target or collect performance data
  -y <signal>[,r]       specify delayed initialization and pause/resume signal
        When set, the target starts in paused mode;
          if the optional r is provided, it starts in resumed mode
  -F {on|off|all|=<regex>}      specify following descendant processes
  -A {on|off|copy}      specify archiving of load-objects; default is on
  -S <interval> specify periodic sampling interval (secs.)
  -L <size>     specify experiment size limit (MB.)
  -l <signal>   specify signal for samples
  -o <expt>     specify experiment name
  -d <directory>        specify experiment directory
  -g <groupname>        specify experiment group
  -O <file>     redirect all of collect's output to file
  -v    print expanded log of processing
  -C <label>    specify comment label (up to 10 may appear)
  -R    show the README file and exit
  -V    print version number and exit
Default experiment:
        expt_name = test.3.er
        clock profiling enabled, 10.000 millisec.
        descendant processes will not be followed
        periodic sampling, 1 secs.
        experiment size limit 2000 MB.
        experiment archiving: on
        data descriptor: "p:10000;S:1;L:2000;A:1;"
                host: `m02', cpuver = 2501, ncpus = 32, clock frequency 1200 MHz.
                memory:  16518000 pages @ 4096 bytes = 64523 MB.
Specifying HW counters on `AMD Family 10h':
    <ctr_def> == [+]<ctr>[~<attr>=<val>]...[~<attrN>=<valN>][/<reg#>][,<interval>]
       <+>
          for memory-related counters, attempt to backtrack to find
          the triggering instruction and the virtual and physical
          addresses of the memory reference
       <ctr>
          counter name, must be selected from the available counters
          listed below.  On most systems, if a counter is not listed
          below, it may still be specified by its numeric value
       <attr>=<val>
          optional attribute where <val> can be in decimal or hex
          format, and <attr> can be one of:
             'umask'
             'os'
             'edge'
             'pc'
             'inv'
             'cmask'
       <reg#>
          forces use of a specific hardware register.  If not specified,
          collect will attempt to place the counter into the first
          available register and as a result, may be unable to place
          subsequent counters due to register conflicts.
       <interval> == {on|hi|lo|<value>}
          `on' selects the default rate, listed below
          `hi' specifies an interval ~10 times shorter than `on'
          `lo' specifies an interval ~10 times longer than `on'
Aliased HW counters available for profiling:
    cycles[/{0|1|2|3}],99999989 (`CPU Cycles', alias for BU_cpu_clk_unhalted; CPU-cycles)
    insts[/{0|1|2|3}],9999991 (`Instructions Executed', alias for FR_retired_x86_instr_w_excp_intr; events)
    ic[/{0|1|2|3}],100003 (`I$ Refs', alias for IC_fetch; events)
    icm[/{0|1|2|3}],100003 (`I$ Misses', alias for IC_miss; events)
    itlbh[/{0|1|2|3}],100003 (`ITLB Hits', alias for IC_itlb_L1_miss_L2_hit; events)
    itlbm[/{0|1|2|3}],100003 (`ITLB Misses', alias for IC_itlb_L1_miss_L2_miss; events)
    eci[/{0|1|2|3}],1000003 (`E$ Instr. Refs', alias for BU_internal_L2_req~umask=0x1; events)
    ecim[/{0|1|2|3}],10007 (`E$ Instr. Misses', alias for BU_fill_req_missed_L2~umask=0x1; events)
    dc[/{0|1|2|3}],1000003 (`D$ Refs', alias for DC_access; load events)
    dcm[/{0|1|2|3}],100003 (`D$ Misses', alias for DC_miss; load events)
    dtlbh[/{0|1|2|3}],100003 (`DTLB Hits', alias for DC_dtlb_L1_miss_L2_hit; load-store events)
    dtlbm[/{0|1|2|3}],100003 (`DTLB Misses', alias for DC_dtlb_L1_miss_L2_miss; load-store events)
    ecd[/{0|1|2|3}],1000003 (`E$ Data Refs', alias for BU_internal_L2_req~umask=0x2; load-store events)
    ecdm[/{0|1|2|3}],10007 (`E$ Data Misses', alias for BU_fill_req_missed_L2~umask=0x2; load-store events)
    fpadd[/{0|1|2|3}],1000003 (`FP Adds', alias for FP_dispatched_fpu_ops~umask=0x1; events)
    fpmul[/{0|1|2|3}],1000003 (`FP Muls', alias for FP_dispatched_fpu_ops~umask=0x2; events)
    fpustall[/{0|1|2|3}],1000003 (`FPU Stall Cycles', alias for FR_dispatch_stall_fpu_full; CPU-cycles)
    memstall[/{0|1|2|3}],1000003 (`Memory Unit Stall Cycles', alias for FR_dispatch_stall_ls_full; CPU-cycles)
    PAPI_l1_dcm[/{0|1|2|3}],100003 (`Level 1 data cache misses'; load-store events)
    PAPI_l1_icm[/{0|1|2|3}],100003 (`Level 1 instruction cache misses'; events)
    PAPI_l2_dcm[/{0|1|2|3}],100003 (`Level 2 data cache misses'; load-store events)
Raw HW counters available for profiling:
  *......  { I removed raw counter list to shorten this post}*
See section 3.15 of the "BIOS and Kernel Developer's Guide (BKDG) For AMD Family 10h Processors,"
AMD publication #31116
See the collect.1 man page for more information
analyzer tool version
$ analyzer -v
analyzer: Sun Analyzer 7.7 Linux_i386 2009/06/03
Any idea what is wrong with my configuration? Can we use collect for 32-bit and java apps?
Thanks a lot
Edited by: allo6 on Aug 20, 2009 3:25 AM

hi,
how to compile 32 bits libraries on a Centos5 64 bits running on AMD 64 bits (Family 10h)
running
make CC="gcc -m32" CFLAGS="-m32" LDFLAGS="-m32" ARCH=i386
or just
make CC="gcc -m32" CFLAGS="-m32" LDFLAGS="-m32" generate a 32 bit version
/usr/local/perfctr32/lib/libperfctr.so.5.2.6.35: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
but the "collect"command (from sun studio for collecting HW values) returns HW counter not suported.
the above generated library is 32 bit but it is intel architecture, The architecture i have is AMD, what "ARCH" flag to spefify for this
if i do not specify any ARCH value there there is this error in the make command
ake[4]: Entering directory `perfctr-2.6.x/examples/perfex'
gcc -m32 -m32 perfex.o x86.o ../../usr.lib/libperfctr.a -o perfex
../../usr.lib/libperfctr.a(event_set_x86.o):(.rodata+0x24): undefined reference to `perfctr_p5_event_set'
../../usr.lib/libperfctr.a(event_set_x86.o):(.rodata+0x28): undefined reference to `perfctr_p5mmx_event_set'
../../usr.lib/libperfctr.a(event_set_x86.o):(.rodata+0x2c): undefined reference to `perfctr_ppro_event_set'
../../usr.lib/libperfctr.a(event_set_x86.o):(.rodata+0x30): undefined reference to `perfctr_p2_event_set'
../../usr.lib/libperfctr.a(event_set_x86.o):(.rodata+0x34): undefined reference to `perfctr_p3_event_set'
../../usr.lib/libperfctr.a(event_set_x86.o):(.rodata+0x38): undefined reference to `perfctr_mii_event_set'

Similar Messages

  • Assignments to collection with user groups seems to be failing

    We have a collection with users and a collection with groups.  We assign a simple application to a collection with users, that seems to be fine, we can see the app in the application catalog. We then assign the same app to a collection with just a security
    group in the collection, the members of that security group cannot see the app in the application catalog.
    I am trying to trace what the server does when a the request user policy comes in, to see if there is a disconnect between the assignments and the members of the group.
    Any ideas how to debug/troubleshoot this issue?

    Hi,
    Some troubleshooting tips for client communication to the Application Catalog:
    Ensure that the Configuration Manager client is successfully assigned to a site and operational by checking LocationServices.log and ClientIDManagerStartup.log.
    Verify that the client can communicate with the management point. For example, check out any HTTP errors in the CcmMessaging.log file.
    Check the LocationServices.log file for any errors during the time you browsed to the Application Catalog. One typical reason for Application Catalog failures in this log is client communication failures to the management point, indicated by the following
    error: “Failed to send web service info Location Request Message.” In this case, verify that the management point is operational and reachable from the client computer.
    If you have recently installed the Application Catalog roles, the configuration on the site system server might take some time to complete. If you have a central administration site, make sure that sites are replicating successfully. In this scenario, information
    about the Application Catalog roles must replicate to the central administration site and then back to the primary site before the Application Catalog is fully operational. For example, until the replication is complete, users will not be able to request or
    install applications from the Application Catalog.
    Ensure that the domain and user name that is displayed in the top right corner of the Application Catalog matches the user that is logged in to Windows, especially if Internet Explorer prompts the user for credentials.
    Ensure that any required Internet Explorer plugins are enabled and not explicitly blocked in Internet Explorer. For more information, see
    Prerequisites for Client Deployment in Configuration Manager on TechNet.
    If you have configured client settings to add the URL to the trusted sites and the URL is not added to the trusted sites zone, check whether the client successfully downloads client policy and also check group policy settings in your environment to ensure
    that the Configuration Manager client can add the URL to the trusted sites zone.
    If the Application Catalog shows an error page, the error will also be displayed in the ConfigMgrSoftwareCatalog.log. You can find the log file by searching the user profile folder. For example, in Windows 7, you can find the log file inside the following
    folder:
    %systemdrive%\Users\<username>\AppData\LocalLow\Microsoft\Silverlight
    For more infomation, please review the link below:
    Tips and Tricks for Deploying the Application Catalog in System Center 2012 Configuration Manager
    http://blogs.technet.com/b/configmgrteam/archive/2012/07/05/tips-and-tricks-for-deploying-the-application-catalog-in-system-center-2012-configuration-manager.aspx
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Thread with static resources fails in Sun JVM. Why?

    Hi All,
    My applet uses threads to put locks on 2 static resources (a Hashtable and a Vector). It works smoothly in browsers with Microsoft JVM. When i changed browser plugin to Sun's JVM 1.3, the applet failed to run and following exceptions thrown to Java Console continuously:
    java.lang.NullPointerException
    at sun.awt.SunToolkit.postEvent(Unknown Source)
    at sun.awt.windows.WComponentPeer.postEvent(Unknown Source)
    at sun.awt.windows.WToolkit.eventLoop(Native Method)
    at sun.awt.windows.WToolkit.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source) Here is the code:
    Resource declaration:
    public static Hashtable stateTable = new Hashtable();
    public static Vector vtElementOrder = new Vector(); 2 methods to add/remove resource elements
    private static void addElementHashTable(String ObjectName, ViewPanel viewPanel)
            try
                stateTable.put(ObjectName, viewPanel);
                vtElementOrder.addElement(ObjectName);
            catch(Exception _ex) { }
    private static void removeElementHashTable(String s)
            try
                for(; stateTable.containsKey(s); stateTable.remove(s));
                for(; vtElementOrder.contains(s); vtElementOrder.removeElement(s));
            catch(Exception _ex) { }
        }Main method for manipulation
    private static synchronized void performHashTable(boolean flagInOut, String ObjectName, ViewPanel viewPanel)
            if(flagInOut)
                addElementHashTable(ObjectName, viewPanel);
            else
                removeElementHashTable(ObjectName);
        }The performHashTable() method is called at init() and stop() events of the Applet.
    Please note that if I remove "static" from all resources and methods above, the applet works smoothly.
    Please let me know the reason and how to fix it?
    Thanks in advance.
    Chinh

    egads!
    for(; stateTable.containsKey(s); stateTable.remove(s));
    time for thedailywtf.com !

  • I have creative suite 3 master collection with the licensing subsystem has failed catastrophically.  I've tried the FlexLicensing fix with no success.

    I have creative suite 3 master collection with the licensing subsystem has failed catastrophically.  I've tried the FlexLicensing fix with no success.

    I found this
    plumeragent, "Licensing has stopped working error durinng launch of Photoshop CS3" #2, 9 Jul 2007 2:20 pm
    if you read it it says to open the Flex folder and change the name. I did that and the apps work but I was not asked for the serial number again. I was in in 10.4.11 and just upgraded to 10.5.4 could that have caused this as I was running fine before.

  • RDS 2012 - Virtual desktop collection with powershell and custom answerfile fails on VDI deployment

    Hi Guys,
    I try to deploy a new virtual desktop collection with Win8 VDI's (pooled/managed) based on a custom answer file. Everything needs to automated so working with the server manager is not an option, that's why the answer file is needed.
    The lab environment is based on Windows Server 2012 and Win8 Enterprise only. So functional level etc. is off course Windows Server 2012.
    I Use the following command:
    New-RDVirtualDesktopCollection `
    -CollectionName "Pooled Managed Win8" `
    -Description "This collection contains Pooled and Managed Win 8 VDI machines." `
    -OU "VDI" `
    -ConnectionBroker "RDSCB01.lab.local" `
    -PooledManaged `
    -CustomSysprepUnattendFilePath "\\hyper02\_Unattend\OOBE-only.xml" `
    -VirtualDesktopAllocation @{"hyper02.lab.local"=3} `
    -VirtualDesktopNamePrefix "Pooled-Win8-" `
    -UserGroups "lab.local\domain users" `
    -MaxUserProfileDiskSizeGB 1 `
    -VirtualDesktopTemplateHostServer "hyper02.lab.local" `
    -VirtualDesktopTemplateName “_WIN8-Template” `
    -UserProfileDiskPath "\\hyper02.lab.local\_UserProfileDisks" `
    -StorageType LocalStorage `
    -LocalStoragePath "E:\_VDI" `
    -Force `
    -Debug
    $error[0]|format-list -force
    I tried multiple answer files, but even with this simple one it fails:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <InputLocale>en-US</InputLocale>
    <SystemLocale>en-US</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <UILanguageFallback>en-US</UILanguageFallback>
    <UserLocale>nl-NL</UserLocale>
    </component>
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <UserAccounts>
    <AdministratorPassword>
    <Value>UABhAHMAcwB3AG8AcgBkACEAQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value>
    <PlainText>false</PlainText>
    </AdministratorPassword>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value>UABhAHMAcwB3AG8AcgBkACEAUABhAHMAcwB3AG8AcgBkAA==</Value>
    <PlainText>false</PlainText>
    </Password>
    <Description>Admin</Description>
    <DisplayName>Admin</DisplayName>
    <Group>Administrators</Group>
    <Name>Admin</Name>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <HideLocalAccountScreen>true</HideLocalAccountScreen>
    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
    <NetworkLocation>Work</NetworkLocation>
    <ProtectYourPC>3</ProtectYourPC>
    <SkipMachineOOBE>true</SkipMachineOOBE>
    <SkipUserOOBE>true</SkipUserOOBE>
    </OOBE>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:d:/=%20software/iso&apos;s/lic/en_windows_8_enterprise_x64_dvd_917522/sources/install.wim#Windows 8 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    Everything goes fine, until is comes to the deployment of the VDI machines and the answer file is called. It fails with the following error:
    PS N:\> \\dc01\isos\New-VirtualDesktopCollection.ps1
    Unable to retrieve the details of the virtual desktop collection.
    + CategoryInfo : WriteError: (:) [Start-RDVMRollout], RDManagementException
    + FullyQualifiedErrorId : StartRDVirtualMachineRollout,Microsoft.RemoteDesktopServices.Management.Cmdlets.StartRDVirtualMachineRo
    lloutCommand
    + PSComputerName : localhost
    CollectionName Type Size PercentInUse
    Pooled Managed... PooledManaged 0 0
    writeErrorStream : True
    OriginInfo : localhost
    Exception : System.Management.Automation.RemoteException: Unable to retrieve the details of the virtual desktop
    collection.
    TargetObject :
    CategoryInfo : WriteError: (:) [Start-RDVMRollout], RDManagementException
    FullyQualifiedErrorId : StartRDVirtualMachineRollout,Microsoft.RemoteDesktopServices.Management.Cmdlets.StartRDVirtualMachineRolloutCo
    mmand
    ErrorDetails :
    InvocationInfo :
    ScriptStackTrace :
    PipelineIterationInfo : {}
    PSMessageDetails :
    Without the answer file parameter is runs perfectly, BUT the VDI machines get the OOBE.... That's not what we want off course....
    This link (http://support.microsoft.com/kb/2747656?wa=wsignin1.0) and other sources tell me that when i set the regkeys i can find a log in c:\windows\logs, but there is
    nothing. I looked on the management server and the connection broker.
    The only thing i could find in the event viewer was this:
    The XML input specified for the VM Provisioning job is not in a valid format. Error: 0xC00CEE03
    Input XML:
    <?xml version="1.0"?>
    <rdvp:RDVProvisioning xmlns:rdvp="http://www.microsoft.com/rdv/2010/05/">
    <rdvp:ProvisionPoolRequest><rdvp:Job>
    <rdvp:Action>Create</rdvp:Action>
    <rdvp:OnError>Stop</rdvp:OnError></rdvp:Job>
    <rdvp:Pool><rdvp:Name>Pooled_Managed_W</rdvp:Name>
    <rdvp:Type></rdvp:Type>
    <rdvp:VhdType>DiffDisk</rdvp:VhdType>
    <rdvp:SaveDelay></rdvp:SaveDelay>
    <rdvp:Version></rdvp:Version>
    <rdvp:MARK_HA>No</rdvp:MARK_HA></rdvp:Pool>
    <rdvp:Vm>
    <rdvp:BaseVmLocation>\\RDSCB01\RDVirtualDesktopTemplate\Pooled_Managed_W\IMGS\__3</rdvp:BaseVmLocation>
    <rdvp:LocalVmCreationPath>E:\_VDI</rdvp:LocalVmCreationPath>
    <rdvp:LocalGoldCachePath></rdvp:LocalGoldCachePath>
    <rdvp:SMBShare></rdvp:SMBShare>
    <rdvp:EnableVmStreaming>0</rdvp:EnableVmStreaming>
    <rdvp:RunVMsFromSMB>0</rdvp:RunVMsFromSMB>
    <rdvp:NamingPrefix>Pooled-Win8</rdvp:NamingPrefix>
    <rdvp:NamingStartIndex>1</rdvp:NamingStartIndex>
    <rdvp:Domain>lab.local</rdvp:Domain>
    <rdvp:OU>OU=VDI,OU=Computers,OU=Kamer 2101,DC=lab,DC=local</rdvp:OU>
    <rdvp:ProductKey></rdvp:ProductKey>
    <rdvp:UnattendXml>
    <![CDATA[<?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <HideLocalAccountScreen>true</HideLocalAccountScreen>
    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
    <NetworkLocation>Work</NetworkLocation>
    <ProtectYourPC>3</ProtectYourPC>
    <SkipMachineOOBE>true</SkipMachineOOBE>
    <SkipUserOOBE>true</SkipUserOOBE>
    </OOBE>
    </component>
    </settings>
    </unattend>]]>
    </rdvp:UnattendXml>
    </rdvp:Vm>
    <rdvp:HyperVHosts>
    <rdvp:HyperVHost>
    <rdvp:Name>hyper02.lab.local</rdvp:Name>
    <rdvp:NumberVms>3</rdvp:NumberVms>
    </rdvp:HyperVHost>
    </rdvp:HyperVHosts>
    </rdvp:ProvisionPoolRequest>
    </rdvp:RDVProvisioning>----------------------------------------------------------------------Log Name: Microsoft-Windows-TerminalServices-SessionBroker/Admin
    Source: TerminalServices-SessionBroker
    EventID: 1549
    Level: Error
    User: NETWORK SERVICE
    Task Category: MS VM Provisioning Plugin
    Computer: RDSCB01.lab.local
    I hope we can get this working, thanks in advance everybody!
    Regards,
    Bart

    Hi Bartsp34ks,
    I'm trying to make a powershell script like yours.
    But at some point I receive this error:
    System.Management.Automation.RemoteException: VM ASD-1: The data area passed to a system call is too small. (Exception from HRESULT: 0x8007007A)
    My Powershell script is:
    $CollectionName = Read-Host 'What Name should the Collection have?'
    $Description = Read-Host 'Type a description of the Collection'
    $OU = Read-Host 'In which OU should I put the Collection?'
    $ConnectionBroker = Read-Host 'What is the Connection Broker Name? (use FQDN)'
    $Sysprep = Read-Host 'Type the Unattend file location'
    $DesktopAllocation = Read-Host 'On which RD Virtualization Host server should I create the Collection?'
    $DesktopAllocationNR = Read-Host 'How many Virtual Desktop would you like?'
    $NamePrefix = Read-Host 'What is the Prefix Name?'
    $NameSuffix = Read-Host 'What is the Suffix Name?'
    $UserGroup = Read-Host 'Which User Group can use the Collection?'
    $UserProfile = Read-Host 'How big can the ProfileDisk be?'
    $TemplateServer = Read-Host 'What is the RD Host that has the Virtual Desktop Template? (use FQDN)'
    $TemplateName = Read-Host 'What is the Virtual Desktop Template Name?'
    $UserProfilePath = Read-Host 'What should be the User Profile Path?'
    $StorageType = Read-Host 'How should be stored?'
    $StoragePath = Read-Host 'Type the Path'
    New-RDVirtualDesktopCollection `
    -CollectionName $CollectionName `
    -Description $Description `
    -OU $OU `
    -ConnectionBroker $ConnectionBroker `
    -PooledManaged `
    -CustomSysprepUnattendFilePath $Sysprep `
    -VirtualDesktopAllocation @{$DesktopAllocation=$DesktopAllocationNR} `
    -VirtualDesktopNamePrefix $NamePrefix `
    -UserGroups $UserGroup `
    -MaxUserProfileDiskSizeGB $UserProfile `
    -VirtualDesktopTemplateHostServer $TemplateServer `
    -VirtualDesktopTemplateName $TemplateName `
    -UserProfileDiskPath $UserProfilePath `
    -StorageType LocalStorage `
    -LocalStoragePath $StoragePath `
    -Force `
    -Debug
    $error[0]|format-list -force
    Thanks for help

  • Collect -h crashes JVM

    I installed Sun Studio Express 07/08 on my Niagara2 machine. When I ran collect with options -j and -h to measure cache misses of Java programs, the JVM crashed with segmentation fault. Without -h option, it works fine. But with any HW counters and with any Java programs, JVM crashes.
    # uname -sri
    SunOS 5.10 SUNW,SPARC-Enterprise-T5220
    # /disk2/StudioExpress/SUNWspro/bin/collect -V
    collect: Sun Ceres Analyzer 7.7 SunOS_sparc 2008/07/10
    # /disk2/StudioExpress/SUNWspro/bin/collect -j on -h ecdm,10007 -d /tmp /opt/jdk1.6.0_07/bin/java -jar /opt/jdk1.6.0_07/demo/jfc/Java2D/Java2Demo.jar
    Creating experiment database /tmp/test.139.er ...
    Segmentation Fault (core dumped)
    # dbx /opt/jdk1.6.0_07/bin/java core
    For information about new features see `help changes'
    To remove this message, put `dbxenv suppress_startup_message 7.6' in your .dbxrc
    Reading java
    core file header read successfully
    Reading ld.so.1
    Reading libcollector.so
    Reading libthread.so.1
    Reading libjli.so
    Reading libdl.so.1
    Reading libc.so.1
    Reading libc_psr.so.1
    Reading libcpc.so.1
    Reading libpctx.so.1
    Reading libnvpair.so.1
    Reading libdevinfo.so.1
    Reading libproc.so.1
    Reading libnsl.so.1
    Reading libsec.so.1
    Reading libgen.so.1
    Reading librtld_db.so.1
    Reading libelf.so.1
    Reading libctf.so.1
    Reading libavl.so.1
    Reading libjvm.so
    Reading libsocket.so.1
    Reading libsched.so.1
    Reading libm.so.1
    Reading libCrun.so.1
    Reading libdoor.so.1
    Reading libm.so.2
    Reading libscf.so.1
    Reading libuutil.so.1
    Reading libmd_psr.so.1
    Reading libmp.so.2
    t@1 (l@1) program terminated by signal SEGV (no mapping at the fault address)
    0xff336aac: update_map_segments+0x068c: ld [%l3], %i4
    (dbx) where
    current thread: t@1
    =>[1] update_map_segments(0x13, 0xfe7b7fc0, 0xff353aa0, 0xff369b18, 0x0, 0xfde81eb8), at 0xff336aac
    [2] dlopen(0xff031490, 0x800, 0x938, 0xffbfef74, 0x0, 0x102), at 0xff337eec
    [3] LoadJavaVM(0xffbfef74, 0xffbfef6c, 0xffbff374, 0x10e0a8, 0x10e4f0, 0x2a7f4), at 0x170c8
    [4] main(0x0, 0xffbff7e4, 0x42e, 0x5, 0x14, 0xff2c0140), at 0x116fc
    (dbx) quit
    dbx: internal warning: td_ta_clear_event() failed -- debugger service failed
    dbx: internal warning: td_ta_sync_tracking_enable(0) failed -- debugger service failed
    Is this a bug, or I did something wrong?

    Thank you for the report! Unfortunately I don't have access to a Niagara-2 system right now.
    I tried to run a similar test on Niagara-1 system, but it did not help to reproduce the problem.
    Probably it is important to use JDK 1.6.0_07 (I have JDK 1.6.0_06 on my Niagara-1 system),
    or the problem is caused by "-h ecdm,10007" option. This type of HWC is not available on
    Niagara-1 system, only these 2 are available:
    Well-known HW counters available for profiling:
    insts[1],9999991 (`Instructions Executed', alias for Instr_cnt; events)
    Raw HW counters available for profiling:
    Instr_cnt[1],1000003 (events)
    I'll try to find a Niagara-2 system and let you know if I see the same problem.
    BTW, can you try to run the same test with JDK 1.6.0_06?
    Thanks,
    Nik

  • When I publish a pdf collection with index to a CD, the index won't load

    I am using acrobat XI pro. I have a pdf collection with 30 chapters, a table of contents that is linked to each chapter, and an index. I have inserted a bookmark for the table of contents in each chatper. There are lots of cross chapter links. It all works beautifully on my computer, I can click links between chapters, go back to table of contents using bookmark on each document, and conduct a search that uses the right index and breaks results down per chapter. But when I burn the folder to a CD and install on another computer, the index won't load and the table of contents link is broken. the index is there on the CD, every file and the file structure looks identical to what is on my computer hard drive. I have tried different methods of burning the disc. They all say they are successfully burned. But when I insert into another computer (have tried a laptop and desktop), I either get an error message about the index or it just create it at all. I deleted the index and all of its associated files and recreated from scratch, associating each of the 30 chapter to the index again, but still does not work. Help, past deadline already!

    I fail to see the issue. You have added crop marks, have you not? For all intents and purposes those are marks that are supposed to be visible and printable for cutting in the real world. If you don't want them, don't use them. Acrobat can generate them on the fly for printing, anyway.
    Mylenium

  • CNA 6 InstallShield Wizard will not install with a JVM not found message

    I ran CNA 5.5 up until last week when Java 7 71 update hit. When I tried to launch, I received JVM Not Found, that was all. So I figured it was time to install CNA 6, however during the install process I now get a pop up box stating  InstallShield Wizard will not install with a JVM not found message. No other error messages, no logs, and the installation ceases. Tried installing CNA 5.8.9.1, and CNA 5.5 again, all stop at the same point with the same message. Anyone else see this issue?

    When you start Network Assistant, Java determines whether the resources it needs are available. If they are not, Java displays the message Could not create Java Virtual machine, and the session ends. To overcome this problem, open the file C:\Program Files\Cisco Systems\CiscoSMB\Cisco Network Assistant\startup\startup.properties (the default installation path), and modify this entry:
    JVM_MAXIMUM_HEAP=1024m
    Replace 1024m with a lower setting that does not exceed the available RAM. There is no way to foresee what value will work. Try 512m , and lower it further if necessary. You can use the dial peer tag range 2500 to 2999 out-of-band to define your own dial peers.
    If the Network Assistant InstallShield wizard fails to start, it is likely that the temporary folder location defined through the environment variables TMP and TEMP has some problem. Assigning a correct temporary folder location can fix such problems.
    Source:  http://www.cisco.com/c/en/us/td/docs/net_mgmt/cisco_network_assistant/version6/relnotes/ol32368.html#pgfId-840748

  • Using remote JARs with the JVM?

    I was wondering if using remote JAR files with the JVM has any impacts on the performance / stabilities of the Java Virtual Machine?
    The thing that concerns me the most is how the JIT compiler works with remote JARs? What about garbage collection?
    I know one thing for sure if that the application startup is slower since the "client" need the download the needed classes locally in order to load them in the local memory.
    The command line would look like this (under Win2000):
    start javaw -cp .;\\192.168.0.1\some_dir\file1.jar;\\192.168.0.1\some_dir\file2.jar SomeClass
    The big PROS is the application deployment since the JAR files are centralized and not install on the client workstation. The CONS... You tell me!
    Thanks in advance,
    - Nik

    1. Performance.I need more details here. Premilinary benchmark shows that only the application startup is affected by the use of remote JARs. Is there anything else I should look for?
    >
    2. If the network is down so is the application.Point granted. But the application need the database to run anyway. And the DB is residing on the server.
    3. If the server is down so is the application.See my previous comment.
    4. If the server is bounced while a class is loading
    it would be a problem.The server are in a datacenter. They shouldn't be to much bouncing happening =)
    The point I want to make here is that using remote JARs simplify a lot the deployment of the application. Unless there's a big drawback to this setup, I think it's a good way to install 2 or 3 tier application on a close LAN.
    Any other thought(s)?

  • Listing RDS 2012 R2 collections from powershell remote fails

    I'm trying to list different informations of a RDS server farm => from a remote client PC <=
    I do following but when typing the last command - I get an error.
    Knowing that that same command runs correctly when launched from an RDS server
    enter-pssession RDS-SERVER-XYZ.contoso.net
    import-module remotedesktop
    get-command -module remotedesktop
     Get-RDSessionCollection -ConnectionBroker RDS-BRK-1.contoso.net
     => fails with message :
     Cannot index into a null array.
     At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\remotedesktop\Utility.psm1:54 char:9
     +     if ($_script_resource[$Id])
     +         ~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : NullArray
     Cannot index into a null array.
     At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\remotedesktop\Utility.psm1:54 char:9
     +     if ($_script_resource[$Id])
     +         ~~~~~~~~~~~~~~~~~~~~~~
         + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
         + FullyQualifiedErrorId : NullArray
     Get-RDSessionCollection :
         + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
         + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-RDSessionCollection
    Listing RDS 2012 R2 collections from powershell remote fails / same commandlet from local RDS serevr works fine
    Am I missing something ?
    MCTS Windows Server Virtualization, Configuration

    Are the Windows Remote Management rules enabled on the inbound firewall of the RDSH server?
    If you are running multiple roles on the RDSH  server you may need to increase the size of the memory available for powershell remoting.
    Run Set-Item WSMan:\localhost\Shell\MaxMemoryPerShellMB 1000 with powershell as an admin and reboot.
    HTH,
    JB

  • Create a site collection with dedicated content db with the help of server object model

    Hi,
     I have a requirement to implement a create a new site collection with dedicated content db. i have got 2 PowerShell scripts which does the same. first i will  create a content  db and then create the sitecollection with contentdb
    parameter with the created contentdb name.
    Now the site collection created must contain few doc libs and few splists with look up columns, people picker data type, multiline of text, single line of text,choice field. hence i am thinking the below approach:
     1) create a web template and include sp doclibs, splists , site columns in this.
     2) i am thinking of a ui design to create the below:
     These are called "projects" which is actually the site collection with the doclibs, splists and must be created by sharepoint admin on click of a link in my landing page.end users access these "projects"  aka 
    "site collections" and uploads the documents into these projects and collaborate.
    so my question is :  On click of a button can I create a site collection with a dedicated content db based on the web template created with the  hel of  server  object model?
    The other approach is on click of this button call the power shell script which accepts the sitecollection name and contentdb name as parameter. is this possible in  server obj.model ?
    passing a paramter from code behind- visual web part ui to power shell ?
    and it should create the site collec based on the web template and create the content db.
    my doubt #3 : will it not throw error "request timed out" when creating the site collec and contentdb from ui ?

    Try below:
    http://sharepoint.stackexchange.com/questions/21606/programmatically-create-a-site-collection-in-an-existing-mounted-content-databa
    PowerShell is just a wrapper for the object model. You shouldn't need to reference PowerShell in your feature, just create the new site collection with C# inside your feature. There's a blog post here that illustrates some code that may get you started.
    http://blog.mastykarz.nl/programmatically-creating-sites-site-collections-custom-web-template/
    http://blogs.msdn.com/b/vesku/archive/2014/06/09/provisioning-site-collections-using-sp-app-model-in-on-premises-with-just-csom.aspx
    # Enable the remote site collection creation for on-prem in web application level
    # If this is not done, unknon object exception is raised by the CSOM code
    $WebApplicationUrl = http://dev.contoso.com
    $snapin = Get-PSSnapin | Where-Object {$_.Name -eq 'Microsoft.SharePoint.Powershell'}
    if ($snapin -eq $null)
    Write-Host "Loading SharePoint Powershell Snapin"
    Add-PSSnapin "Microsoft.SharePoint.Powershell"
    $webapp=Get-SPWebApplication $WebApplicationUrl
    $newProxyLibrary = New-Object "Microsoft.SharePoint.Administration.SPClientCallableProxyLibrary"
    $newProxyLibrary.AssemblyName = "Microsoft.Online.SharePoint.Dedicated.TenantAdmin.ServerStub, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
    $newProxyLibrary.SupportAppAuthentication = $true
    $webapp.ClientCallableSettings.ProxyLibraries.Add($newProxyLibrary)
    $webapp.Update()
    Write-Host "Successfully added TenantAdmin ServerStub to ClientCallableProxyLibrary."
    # Reset the memory of the web application
    Write-Host "IISReset..."
    Restart-Service W3SVC,WAS -force
    Write-Host "IISReset complete."
    If this helped you resolve your issue, please mark it Answered

  • Database, Dataset, Table Adaptors Error "Unable to load, Update requires a valid DeleteCommand when passed DataRow collection with deleted row"

    Microsoft Visual Basic 2010 Express.
    I am new to Visual Basic programing and i am trying to understand the relationships between Datasets, database, table Adaptors. I have to following code that is is giving me the following error" Unable to load, Update requires a valid DeleteCommand
    when passed DataRow collection with deleted rows". 
    I can track the error and its located in "OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)" code. What am i missing?
    It seems that i can delete the data on the DataGridView Table and it only displays the correct data. but my database is not updating, even though the data grid displays differently.I can determine this because, when i save the offset database, i have all
    the previous uploads and all the rows that i wanted to delete are still there.
    My final goal is to be able to import offset data from a CSV file, save this data on the pc, send a copy of this data to a NuermicUpDown so the customer can modify certain numbers. From here they download all the date to a controller.  IF the customer
    needs to modify the imported data, they can go to a tab with a data grid view and modify the table. They will also have to option to save the modified data into a csv file.  
    Im not sure if i am making this overcomplicated or if there is a easier way to program this.
    CODE:
    Private Function LoadOffSetData()
            Dim LoadOffsetDialog As New OpenFileDialog 'create a new open file dialog and setup its parameters
            LoadOffsetDialog.DefaultExt = "csv"
            LoadOffsetDialog.Filter = "csv|*.csv"
            LoadOffsetDialog.Title = "Load Offset Data"
            LoadOffsetDialog.FileName = "RollCoaterOffset.csv"
            If LoadOffsetDialog.ShowDialog() = Windows.Forms.DialogResult.OK Then  'show the dialog and if the result is ok then
                Try
                    Dim myStream As New System.IO.StreamReader(LoadOffsetDialog.OpenFile) 'try to open the file with a stream reader
                    If (myStream IsNot Nothing) Then 'if the file is valid
                        For Each oldRow As MaterionOffsetDataSet.OffsetTableRow In MaterionOffsetDataSet.OffsetTable.Rows
                            oldRow.Delete()                       
    'delete all of the existing rows
                        Next
                        'OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)
                        Dim rowvalue As String
                        Dim cellvalue(25) As String
                        'Reading CSV file content
                        While myStream.Peek() <> -1
                            Dim NRow As MaterionOffsetDataSet.OffsetTableRow
                            rowvalue = myStream.ReadLine()
                            cellvalue = rowvalue.Split(","c) 'check what is ur separator
                            NRow = MaterionOffsetDataSet.OffsetTable.Rows.Add(cellvalue)
                            Me.OffsetTableTableAdapter.Update(NRow)
                        End While
                        Me.OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)
                        MainOffset.Value = OffsetTableTableAdapter.MainOffsetValue          'saves all the table offsets
    to the offset numericUpDown registers in the main window
                        StationOffset01.Value = OffsetTableTableAdapter.Station01Value
                        StationOffset02.Value = OffsetTableTableAdapter.Station02Value
                       myStream.Close() 'close the stream
                        Return True
                    Else 'if we were not able to open the file then
                        MsgBox("Unable to load, check file name and location") 'let the operator know that the file wasn't able to open
                        Return False
                    End If
                Catch ex As Exception
                    MsgBox("Unable to load, " + ex.Message)
                    Return False
                End Try
            Else
                Return False
            End If
        End Function

    Hello SaulMTZ,
    >>I can track the error and its located in "OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)" code. What am i missing?
    This error usually shows that you do not initialize the
    DeleteCommand object, you could check this
    article to see if you get a workaround.
    >> Im not sure if i am making this overcomplicated or if there is a easier way to program this.
    If you are working CSV file, you could use OleDB to read it which would treat the CSV file as a Table:
    http://www.codeproject.com/Articles/27802/Using-OleDb-to-Import-Text-Files-tab-CSV-custom
    which seems to be easier (in my opinion).
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • HT204074 I have our music collection on iTunes Match for my PC, ipad and iphone.  Can I share that music collection with my wife so she can play that with her iphone?  Even though she has a different Apple ID from me?

    I have our music collection on iTunes Match for my PC, ipad and iphone. 
    Can I share that music collection with my wife so she can play that with her iphone?  Even though she has a different Apple ID from me?

    Her iPhone will need to be set up to iTunes Match using your Apple ID to be able to share music via iTunes Match. Otherwise you'll have to download the music to your computer and then copy those tracks into her iTunes library, assuming hers is separate.
    Regards.

  • I have been working on a book and have 418 photos already in my book.  All of a sudden I cannot access the book format to see the multiple view, spread view, or single view.  I can no longer see my book although I still see the collection with 418 photos

    I have been working on a book and have 418 photos already in my book.  All of a sudden I cannot access the book module and clicking on the multiple view, spread view, or single view does not take me back to the book I have been working on.  I can no longer see my book although I still see the collection with 418 photos under collections.  What I do see is a blank template for a new book and I can't find the unfinished book I started with 418 photos.  It is like the new empty template is somehow covering it up.  How do I get back to the book I have been working on?

    Is it possible you mistakenly clicked on a [Clear Layout] button?
    But a great hint is- Always click on the [Create a Saved Book] button, early in your new book design.
    Then you have a permanent link to the book in the Collections panel. (In addition to the standard collection of your selected images)
    Note: a Book Collection shows an icon that looks like a book.
    Every time you come back to edit the book, open the Book Module by clicking on the white arrow that appears on the end of your Book Collection title. (The title as saved)
    Re-opening a book without using the "Saved Book" option can have unpredictable results.
    A "Book" Collection is like a "Smart Collection" because anything you do to the book design, change pages, change images, etc,  is automatically updated in the Saved Book collection.

  • Error in phase 4: Creating node $(DIR_TRANS) with type DIRECTORY failed.

    Hello SAP Gurus,
    when trying to install SAPNW2004sSneakPreviewABAP in phase 4 I get error:
    ERROR 2006-08-08 08:52:40
    CJS-30129  Creating node $(DIR_TRANS) with type DIRECTORY failed. Original exception text was: syslib.filesystem.nodeCreationFailed:
    Unable to create node
    pc05\sapmnt\ with type DIRECTORY: can't create parent node..
    I searched SDN and found as possible error causes: lacking authorization of installation user or users nspadm and SAPServiceNSP, wrong JRE version, but those are not applicable.
    Any other suggestions?
    Simon

    Hello Prince Jose,
    thanks for the reply, it brought me to the solution: I had to de-activate the Windows Firewall and hat to check 'Network users are allowed to change files'.
    I know made it till phase 17, quite a step.
    Best,
    Simon

Maybe you are looking for

  • How can i make my HP stream 14 have more memory?.....

    - i would like to first apologize for my ignorance on this subject. i am a computer noob, and dont really know anything about it .  I have a HP stream 14 amd quad core laptop (with the beats audio)  2mb cache. and it runs on windows 8. has processor

  • Problem burning a DVD

    I just recently got a MacBook, and am loving it so far. However, I have encountered my first problem. I was burning a DVD using iDVD, and after about a minute, it got very, very noisy, and made unusual noises as well, not what I was used to hearing w

  • How to add a clickable url

    Hi All, Could someone please help me on how to add a clickable external link to a 'mixed char' field on a PeopleSoft page? The link should be able to be entered in an instruction field on a page(by a super user) and then the same page should display

  • Document Distrubution Distribution Point

    Hello , I am trying to setup Document Distribution .    Done necessary customization .   When I start Distribution , using CVI8 , then I see error always in log of CVI9.    Error: Recipent could not be generated I tried to see code in Business Object

  • Update Resource Field Form using Post Process.

    Hi all, I need to set a field in a GTC resource form field. I have an ID and need to set the value NAME based in this ID, like this: ID NAME 1 RESOURCE_RESP1 2 RESOURCE_RESP2 This must be done at the time the resource is provisioned. Anyone can help