TFS 2012 CodeActivity Executing System.Diagnostics.Process Issue

I have a fairly complicated build process that involves a modified workflow template, various custom workflow tasks, and code activity tasks executing in a TFS 2012 environment.
This complex process boils down to creating a self extracting self executing archive using 7zip's command line tool.  I've created a custom C# CodeActivity that takes in various parameters on what to compress, where to put the output, etc.
The activity uses the System.Diagnostics.Process object to start a synchronous process for invoking the command line tool.  Here's s snip-it of the code:
string Invoke7Zip(string sevenZipExeFilename, string workingDirectory)
if (File.Exists(Path.Combine(workingDirectory, TEMP_ARCHIVE_FILENAME)))
File.Delete(Path.Combine(workingDirectory, TEMP_ARCHIVE_FILENAME));
ProcessStartInfo pInfo = new ProcessStartInfo(sevenZipExeFilename, string.Format("a -t7z {0} * -m0=BCJ2 -m1=LZMA:d25:fb255 -m2=LZMA:d19 -m3=LZMA:d19 -mb0:1 -mb0s1:2 -mb0s2:3 -mx", TEMP_ARCHIVE_FILENAME));
pInfo.WorkingDirectory = workingDirectory;
pInfo.StandardOutputEncoding = System.Text.Encoding.GetEncoding(System.Globalization.CultureInfo.InstalledUICulture.TextInfo.OEMCodePage);
pInfo.RedirectStandardError = pInfo.RedirectStandardOutput = true;
pInfo.UseShellExecute = false;
pInfo.CreateNoWindow = true;
Process p = new Process();
p.StartInfo = pInfo;
p.Start();
p.WaitForExit();
string stdOutput = p.StandardOutput.ReadToEnd();
string stdError = p.StandardError.ReadToEnd();
if (string.IsNullOrEmpty(stdError))
stdError = "NO ERRORS REPORTED";
return string.Format(COMPRESSION_REPORT_FORMAT, Path.Combine(workingDirectory, TEMP_ARCHIVE_FILENAME), stdOutput, stdError);
I have a test project in which I invoke these activities in order to unit test them.  On my local dev machine the activity executes correctly. When run from TFS it appears to hang on p.WaitForExit();. I'll remote into the build machine and see the process
opened but not using any resources (sitting idle consuming no processor unlike my dev machine test which uses a large amount of CPU).
Is there a limitation from invoking processes from activities involved with a team build?
EDIT:
I should note that I am migrating away from the use of InvokeProcess activity so that I can generate reports. When using the InvokeProcess activity it would take about ~6min to complete the compression. I've let it sit for 30min in this activity without
any progress.

Hello John,
Thank you for responding. I think you may have missed part of my explaination.  You are correct stating that I did say that my code activity correctly runs in a test project on my local machine.  However please see this quote from the original
question:
I have a test project in which I invoke these activities in order to unit test them.  On my local dev machine the activity executes
correctly. When run from TFS it appears to hang on p.WaitForExit();.
After verifying a correct run in the test project on my local machine I've pushed the custom assembly into the BuildAssemblies folder of TFS (which is where the controllers point to) and started a build in which the code activity is to be executed. 
When the build gets to the code activity it essentially hangs. I've let it sit for over a half hour in just this one task. That's longer than a previously successful build would run. If I RDP into the build machine I can see the process running under the
build controller's account and can terminate it. This will cause the build to continue.  To be clear, this does not happen in my local testing project.
As an additional piece of information I would like to point out that all dependencies of the console application are in source control and are part of the workspace which is created during the build (again, invoking this process does work when using the
InvokeProcess task).
I appreciate your follow-up and finding someone to help me further with this issue. It's kind of frustrating that I have not been able to figure out what is exactly causing this to happen.
Regards,
Mike G.

Similar Messages

  • System.Diagnostics.Process.Start and UI 2004

    Can anyone tell me if (how) I can use System.Diagnostics.Process.Start to spawn external applications from a trapped item event in my add-on?
    My application model is the standard startup/sub main.  It looks like this:
    Module Startup
        Sub Main()
            Dim oAV As MyObject
            oAV = New MyObject
            ' Startup
            System.Windows.Forms.Application.Run()
        End Sub
    End Module
    MyObject contains a "New()" that sets the SBO_Application object etc.  It also contains a few subs that capture events in the sbo UI such as button presses.  Now, the trick - how do I set up my threading model correctly to allow me to launch an external application like calculator from within the UI?
    Thanks in advance!
    Ty Babcox

    It sounds like you are having a problem becuase you are launching your application (calc.exe in example) under a thread that is then closing.  You can use the invoke delegate to launch from the 'parent' thread.  You will probably have to make a delegate function and call that with me.invoke(delegate)
    Look at 'invoke' in the msdn.

  • Upgraded TFS 2010 SP1 to TFS 2012 but "Test-SPContentDatabase" throws error while upgrading SP2010 to SP2013

    Hello All,
    Executed the following command in the SP 2013 management shell as administrator:
    "Test-SPContentDatabase -Name WSS_CONTENT -WebApplication http://tfs2010"
    Errors:
    1. Category        : MissingSetupFile
    Error           : True
    UpgradeBlocking : False
    Message         : File [Features\ReportServer\ReportViewer.dwp] is referenced
                      [2] times in the database [WSS_CONTENT], but is not
                      installed on the current farm. Please install any
                      feature/solution which contains this file.
    2. Category        : MissingSetupFile
    Error           : True
    UpgradeBlocking : False
    Message         : File [Features\TfsDashboardAgileReports\Reports\Report
                      Template.xltx] is referenced [2] times in the database
                      [WSS_CONTENT], but is not installed on the current farm.
                      Please install any feature/solution which contains this file.
    3. Category        : MissingSetupFile
    Error           : True
    UpgradeBlocking : False
    Message         : File [Features\TfsDashboardCmmiReports\Reports\Report
                      Template.xltx] is referenced [2] times in the database
                      [WSS_CONTENT], but is not installed on the current farm.
                      Please install any feature/solution which contains this file.
    4. Category        : Configuration
    Error           : False
    UpgradeBlocking : False
    Message         : The [SharePoint - 80] web application is configured with
                      claims authentication mode however the content database you
                      are trying to attach is intended to be used against a
                      windows classic authentication mode.
    Tried for the error 4: New-SPWebApplication -Name "TFSWEBAPP" -ApplicationPool "SharePoint Web Services System" -AuthenticationMethod "NTLM" -ApplicationPoolAccount
    (Get-SPManagedAccount "XXX\spservice") -Port 80 -URL "http://tfs2010
    After executing the above command I was getting ">>",
    didn't got any other reply for long time. Is there any power shell command to convert "claims mode" to "classic mode"
    Can someone help on the above mentioned errors.
    Thanks ,
    Rajukumar

    Hi Charles,
    Thanks for the reply.
    Environment  details:
    OS: Windows server 2008 R2
    Database: SQL Server 2008 R2
    TFS: TFS 2010 with SP1
    SharePoint: SharePoint 2010 with SP2
    Upgrade Environment details:
    OS: Windows server 2012
    Database: SQL Server 2012 with SP1
    TFS: TFS 2012
    SharePoint: SharePoint 2013
    Steps followed by me for upgradation:
    1. Stopped all the services of TFS and IIS
    2. Took backup of TFS and SP databases from SQL server 
    3. Installed the new environment and restored databsases to new Database server
    4. Upgraded to TFS 2012
    5. Installed and configured SP 2013
    6. Upgraded to SP 2013
    Go the errors mentioned in earlier message during up-gradation. I queried the files from ALLDOCS table of WSS_Content and deleted those.
    7. Upgraded successfully with minor issues ( reports are not available for the old Team project in the report manager URL)
    8. I updated the reports manually.
    Question: Please let me know is there any script to update reports in all the team projects.
    Thanks,
    Rajukumar

  • TFS 2012 Test Agent keep alternating status Online/Disconnected

    TFS 2012 environment
    Test Controller and Agent Update 3.  
    We are using a shadow account to connect the Agent (not on domain) to the Controller (on domain).
    The problem I'm having is that the Test Agent Status alternates constantly between Online and Disconnected. 
    I have all TCP and UDP ports open in the Firewall on the Agent and Controller (can't just turn it off because of policy settings).  
    I have created an environment in Lab Center and can kick off a Lab Template based build definition to execute an automated test.  The process get to a point of wait for the the test environment to be ready, starts a test execution, and completes the
    test run with a Warning: "An error occurred while communicating with Agent vstfs:///LabManagement/TestMachine/###", where ### is a three digit number.
    If I just sit and watch the Test Agent status, with no test runs running, the status will show Online for about 10-15 seconds and then show Disconnected for about 30-60 seconds.  And then it repeats.  
    Another thing to mention, the Test Controller for this effort was cloned from a previous Test Controller that was used for another project.  The previous Controller was on the domain at the time of being cloned and had issues of being the same computer
    name on the network and then other issues because the Controller was already assigned to a collection.  Another person here went through a process of fixing by uninstalling the controller software and then deleting some XML files that were left behind
    after uninstalling the controller software.  I feel that a new controller should be created from scratch because I feel that there is still some conflicts between the old and new Controllers.
    Any assistance would be greatly appreciated.

    I have additional information to supply to this thread for the benefit of others who may come across this issue.
    The main issue of using the same version of Test Manager with the version of TFS you have running is the first part.
    After this post, I added additional testing environments and virtual machines in SCVMM and started having the "Online/Disconnected" issue again.  With more research, I figured out that I had to add the IP address and host name of
    the Test Controller to the hosts file on the Test Agents (path to the
    hosts file "C:\Windows\System32\drivers\etc\").  Just open this file in NotePad (or the editor of your choice) and add a line at the end with the IP and host name.
    Example hosts file:
    # Copyright (c) 1993-2009 Microsoft Corp.
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    # For example:
    # 102.54.94.97 rhino.acme.com # source server
    # 38.25.63.10 x.acme.com # x client host
    # localhost name resolution is handled within DNS itself.
    # 127.0.0.1 localhost
    # ::1 localhost
    123.456.78.9 computername.domain.com
    I have used this several times and it has worked every time (so far) where I use shadow accounts in the TFS test environments.  Hope this helps!

  • TFS 2012 - TFS Cube - at beginning of new month it is missing in field "Work Item.System_CreatedDate__HierarchyByMonth"

    We query TFS Cube via Pivot in Excel, and among other, we use the field Work Item.System_CreatedDate__HierarchyByMonth, to filter the result the Cube Pivot Report.
    On the first day of each month, we manually change the value of this field in the pivot filter, from previous month to current month. but strangely the current month does not appear in the tree of values for selection, only the previous month is shown. This
    is so for roughly half of the first day of the month, and then the current month begins to appear for selection.
    The update rate of the TFS Cube in our TFS installation is defined as 2 hours, thus we would expect the current month to appear there for selection already early in the morning...   Also to note it is the same after new WIs are defined during the
    morning of the first day as above.
    Thank u.

    Hi Moital,  
    Thanks for your post.
    This issue only happened in your custom Excel pivot report? And all your TFS default reports working fine?
    You can try to rebuild warehouse and cube from TFS Admin Console>>Application Tier>>Reporting>>click Start Rebuild option. Or try to manually process your TFS 2012 warehouse and analysis cube, ensure you can process successfully.
    https://msdn.microsoft.com/en-us/library/ff400237.aspx (similar with TFS 2012)
    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.

  • Error while executing the compilation process

    Hi,
    ISA Framework: com.sap.engine.services.servlets_jsp.server.jsp.exceptions.CompilingException: Error while executing the compilation process:  javac: invalid flag: "/usr/sap/CJP/J06/j2ee/cluster/server2/apps/sap.com/crm~isauseradm/servlet_jsp/isauseradm/work/jsp_login XXXXXXXXXXX.java" Usage: javac <options> <source files> where possible options include: -g Generate all debugging info -g:none Generate no debugging info -g:{lines,vars,source} Generate only some debugging info -nowarn Generate no warnings -verbose Output messages about what the compiler is doing -deprecation Output source locations where deprecated APIs are used -classpath <path> Specify where to find user class files -sourcepath <path> Specify where to find input source files -bootclasspath <path> Override location of bootstrap class files -extdirs <dirs> Override location of installed extensions -d <directory> Specify where to place generated class files -encoding <encoding> Specify character encoding used by source files -source <release> Provide source compatibility with specified release -target <release> Generate class files for specific VM version -help Print a synopsis of standard options ].
    We get this message periodically then we login to isauseradm-application or shopadmin-application.
    How we can solve this issue? Why it's appears in system?
    /nwa shows this error:
    Process after commit failed - may be hanging internal locks mut be removed manually.
    Where I can see hanging internal locks ?
    Denis

    to add some information,
    in runtime workbench, component monitoring, performance monitoring and all other thing except message monitoring is OK.

  • Optical Drive is not recognised in Windows 8.1 (x64), or in UEFI System Diagnostics.

    Description of Issue:
    Optical Drive is not recognised in Windows 8.1 (x64), or in UEFI System Diagnostics.
    Steps to Recreate:
    UEFI:
    Boot PC into UEFI System Diagnositcs (F2 at POST)
    Component Checks
    Optical Drive
    Sequential Check
    Error: Not Optical Drive Installed.
    Windows 8.1 (x64):
    Run Device Manager
    Error: No DVD/CD Drives section.
    Scanning for new hardware changes nothing.
    Relevent System Specifications:
    Laptop: HP Pavilion 15-n023sa (Vanilla build)
    Optical Drive: HP DVDRAM gu70n
    Steps Already Taken to Solve:
    Replaced DVD drive with one from similar spec HP Pavilion. The gn70n hotswapped perfectly in the other machine. No change on problem laptop. Conclusion: DVD Drive is working, and there are no issues with Windows 8.1 (x64).
    Removed DVD Drive. Rebooted computer. Log into Windows. Shutdown. Refit DVD Drive. Boot laptop. This attempts to solve hardware glitches with PnP devices; as well as helping to fix any intermittent loose connection problems. Conclusion: No change.
    Ran Troubleshooting for Hardware and Devices, via the Control Panel. Issue Found: Hardware changes might not have been detected. Exploring more options just takes you through to http://social.answers.microsoft.com/search/en-us/?query=hardware+device, this is a 404 error page. Conclusion: Windows Help and Support is severely lacking. They show no more information than just that something has been detected as being wrong.
    Ran the Microsoft FixIt Optical Drive Troubleshooter and Automatic Repairer. (http://download.microsoft.com/download/F/5/8/F586FB7C-78E0-40EB-AF41-4C925F803CAF/CDDVDWin8.meta.dia... The troubleshooter reported that the device could not be found. It recommended removing all power cables, switching the device off and various other things that have no relevence to laptop hardware troubleshooting. It then said if the problem still persists, contact the manufacturer. Conclusion: Windows Troubleshooting cannot fix the problem.
    Run Windows Update to ensure all updates and definitions have been installed. Conclusion: Windows is fully up to date.
    Run a full Rootkit and heuristic Malware scan, using Sbybot S&D 2.3; as well as a signature based scan using Windows Defender. Conclusion: Laptop is clean of rootkits and malware, to the best of my knowledge.
    Notes:
    The DVD Drive is NOT showing up in the Device Manager, OR in This PC.
    The DVD Drive is NOT being detected by the UEFI System Diagnostics.
    There is NO reference to the DVD Drive in BIOS, other than as a boot option, which is generic.
    The DVD Drive, itself, DOES work, and has been verified on a different machine.
    This question was solved.
    View Solution.

    Oh ok, that's fine. I was expecting to go through a first response resolution process. Once the gate keepers realise they're talking to someone who actually knows what they're talking about, it's usually pretty simple to skip through a lot of the script. Once you've got past the gate keepers once, it's usually easy to get a direct number for the actual resolution department.
    Will they question why I've opened up the case to exchange a 1TB HDD for an 80GB HDD? (The only physical spare I have, atm). I know they'll understand, I'm only worried about giving them any reason to deny the warranty on such an extensive fix.

  • System Start up issue in my ABAP + JAVA system

    HI,
    when i try to start up my SAP (ABAP+JAVA) system, server processes fail to start. Below is the trace file.
    Though it says missing file jvmx.jar, not sure if this is the reason for the start up issue.
    Thanks to check and assist.
    trc file: "D:\usr\sap\P1D\DVEBMGS00\work\dev_server1", trc level: 1, release: "700"
    node name   : ID3944951
    pid         : 7752
    system name : P1D
    system nr.  : 00
    started at  : Wed May 05 13:27:07 2010
    arguments   :
       arg[00] : D:\usr\sap\P1D\DVEBMGS00\exe\jlaunch.exe
       arg[01] : pf=D:\usr\sap\P1D\SYS\profile\P1D_DVEBMGS00_blrkec115278d
       arg[02] : -DSAPINFO=P1D_00_server
       arg[03] : pf=D:\usr\sap\P1D\SYS\profile\P1D_DVEBMGS00_blrkec115278d
       arg[04] : -DSAPSTART=1
       arg[05] : -DCONNECT_PORT=1243
       arg[06] : -DSAPSYSTEM=00
       arg[07] : -DSAPSYSTEMNAME=P1D
       arg[08] : -DSAPMYNAME=blrkec115278d_P1D_00
       arg[09] : -DSAPPROFILE=D:\usr\sap\P1D\SYS\profile\P1D_DVEBMGS00_blrkec115278d
       arg[10] : -DFRFC_FALLBACK=ON
       arg[11] : -DFRFC_FALLBACK_HOST=localhost
    [Thr 7756] Wed May 05 13:27:07 2010
    [Thr 7756] *** WARNING => INFO: Unknown property [instance.box.number=P1DDVEBMGS00blrkec115278d] [jstartxx.c   841]
    [Thr 7756] *** WARNING => INFO: Unknown property [instance.en.host=blrkec115278d] [jstartxx.c   841]
    [Thr 7756] *** WARNING => INFO: Unknown property [instance.en.port=3201] [jstartxx.c   841]
    [Thr 7756] *** WARNING => INFO: Unknown property [instance.system.id=0] [jstartxx.c   841]
    JStartupReadInstanceProperties: read instance properties [D:\usr\sap\P1D\DVEBMGS00\j2ee\cluster\instance.properties]
    -> ms host    : blrkec115278d
    -> ms port    : 3901
    -> OS libs    : D:\usr\sap\P1D\DVEBMGS00\j2ee\os_libs
    -> Admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Used property files
    -> files [00] :
    -> D:\usr\sap\P1D\DVEBMGS00\j2ee\cluster\instance.properties
    Instance properties
    -> ms host    : blrkec115278d
    -> ms port    : 3901
    -> os libs    : D:\usr\sap\P1D\DVEBMGS00\j2ee\os_libs
    -> admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Bootstrap nodes
    -> [00] bootstrap            : D:\usr\sap\P1D\DVEBMGS00\j2ee\cluster\instance.properties
    -> [01] bootstrap_ID3944900  :
    -> D:\usr\sap\P1D\DVEBMGS00\j2ee\cluster\instance.properties
    -> [02] bootstrap_ID3944950  :
    -> D:\usr\sap\P1D\DVEBMGS00\j2ee\cluster\instance.properties
    -> [03] bootstrap_ID3944951  :
    -> D:\usr\sap\P1D\DVEBMGS00\j2ee\cluster\instance.properties
    Worker nodes
    -> [00] ID3944900            : D:\usr\sap\P1D\DVEBMGS00\j2ee\cluster\instance.properties
    -> [01] ID3944950            : D:\usr\sap\P1D\DVEBMGS00\j2ee\cluster\instance.properties
    -> [02] ID3944951            : D:\usr\sap\P1D\DVEBMGS00\j2ee\cluster\instance.properties
    [Thr 7756] JLaunchRequestQueueInit: create named pipe for ipc [Thr 7756] JLaunchRequestQueueInit: create pipe listener thread [Thr 7776] WaitSyncSemThread: Thread 7776 started as semaphore monitor thread.
    [Thr 7764] JLaunchRequestFunc: Thread 7764 started as listener thread for np messages.
    [Thr 7756] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202) [Thr 7756] CPIC (version=700.2005.12.02)
    [Thr 7756] *** WARNING => Maximum Java heap size specified twice (through maxHeapSize and in javaParameters) - using -Xmx1024m [jstartxx.c   2604]
    [Thr 7756] [Node: server1] java home is set by profile parameter  Java Home: C:\j2sdk1.4.2_21 [Thr 7756] JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\P1D\DVEBMGS00\exe\jvmx.jar
    JStartupIReadSection: read node properties [ID3944951]
    -> node name          : server1
    -> node type          : server
    -> node execute       : yes
    -> jlaunch parameters :
    -> java path          : C:\j2sdk1.4.2_21
    -> java parameters    : -Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy -Dorg.xml.sax.driver=com.sap.engine.lib.xml.parser.SAXParser -verbose:gc -Djco.jarm=1 -XX:PermSize=256m -XX:MaxPermSize=256m -XX:NewSize=160m -XX:MaxNewSize=160m -XX:SurvivorRatio=2 -XX:TargetSurvivorRatio=90 -XX:PrintGCTimeStamps -XX:UseTLAB -XX:SoftRefLRUPolicyMSPerMB=1 -Dsun.io.useCanonCaches=false -Djava.awt.headless=true -XX:+UseParNewGC
    -> java vm version    : 1.4.2_21-b03
    -> java vm vendor     : Java HotSpot(TM) Server VM (Sun Microsystems Inc.)
    -> java vm type       : server
    -> java vm cpu        : x86
    -> heap size          : 1024M
    -> init heap size     : 1024M
    -> root path          : D:\usr\sap\P1D\DVEBMGS00\j2ee\cluster\server1
    -> class path         : .\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
    -> OS libs path       : D:\usr\sap\P1D\DVEBMGS00\j2ee\os_libs
    -> main class         : com.sap.engine.boot.Start
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : D:\usr\sap\P1D\DVEBMGS00\exe\jstartup.jar;D:\usr\sap\P1D\DVEBMGS00\exe\jvmx.jar
    -> shutdown class     : com.sap.engine.boot.Start
    -> parameters         :
    -> debuggable         : no
    -> debug mode         : no
    -> debug port         : 50026
    -> shutdown timeout   : 120000
    [Thr 7756] JLaunchISetDebugMode: set debug mode [no] [Thr 7792] JLaunchIStartFunc: Thread 7792 started as Java VM thread.
    JHVM_LoadJavaVM: VM Arguments of node [server1]
    -> stack   : 262144 Bytes
    -> arg[  0]: exit
    -> arg[  1]: abort
    -> arg[  2]: vfprintf
    -> arg[  3]: -Djava.security.policy=./java.policy
    -> arg[  4]: -Djava.security.egd=file:/dev/urandom
    -> arg[  5]: -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
    -> arg[  6]:
    -> -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonP
    -> roxy arg[  7]:
    -> -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.Por
    -> tableRemoteObjectProxy arg[  8]:
    -> -Dorg.xml.sax.driver=com.sap.engine.lib.xml.parser.SAXParser
    -> arg[  9]: -verbose:gc
    -> arg[ 10]: -Djco.jarm=1
    -> arg[ 11]: -XX:PermSize=256m
    -> arg[ 12]: -XX:MaxPermSize=256m
    -> arg[ 13]: -XX:NewSize=160m
    -> arg[ 14]: -XX:MaxNewSize=160m
    -> arg[ 15]: -XX:SurvivorRatio=2
    -> arg[ 16]: -XX:TargetSurvivorRatio=90
    -> arg[ 17]: -XX:+PrintGCTimeStamps
    -> arg[ 18]: -XX:+UseTLAB
    -> arg[ 19]: -XX:SoftRefLRUPolicyMSPerMB=1 arg[ 20]:
    -> -Dsun.io.useCanonCaches=false arg[ 21]: -Djava.awt.headless=true arg[
    -> 22]: -XX:+UseParNewGC arg[ 23]:
    -> -Dsys.global.dir=D:\usr\sap\P1D\SYS\global
    -> arg[ 24]: -Dapplication.home=D:\usr\sap\P1D\DVEBMGS00\exe
    -> arg[ 25]: -Djava.class.path=D:\usr\sap\P1D\DVEBMGS00\exe\jstartup.jar;D:\usr\sap\P1D\DVEBMGS00\exe\jvmx.jar;.\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
    -> arg[ 26]:
    -> -Djava.library.path=C:\j2sdk1.4.2_21\jre\bin\server;C:\j2sdk1.4.2_21\
    -> jre\bin;C:\j2sdk1.4.2_21\bin;D:\usr\sap\P1D\DVEBMGS00\j2ee\os_libs;D:
    -> \oracle\product\10.2.0\db_1\bin;C:\SYSROOT\system32;C:\SYSROOT;C:\SYS
    -> ROOT\System32\Wbem;C:\Program
    -> Files\CA\SharedComponents\ScanEngine;C:\Program
    -> Files\CA\SharedComponents\CAUpdate\;C:\Program
    -> Files\CA\SharedComponents\ThirdParty\;C:\Program
    -> Files\CA\SharedComponents\SubscriptionLicense\;C:\Program
    -> Files\CA\eTrustITM;C:\Program Files\Windows
    -> Imaging\;D:\usr\sap\P1D\SYS\exe\uc\NTI386
    -> arg[ 27]: -Dmemory.manager=1024M
    -> arg[ 28]: -Xmx1024M
    -> arg[ 29]: -Xms1024M
    -> arg[ 30]: -DLoadBalanceRestricted=no
    -> arg[ 31]: -Djstartup.mode=JCONTROL
    -> arg[ 32]: -Djstartup.ownProcessId=7752 arg[ 33]:
    -> -Djstartup.ownHardwareId=N1596875852
    -> arg[ 34]: -Djstartup.whoami=server
    -> arg[ 35]: -Djstartup.debuggable=no
    -> arg[ 36]: -DSAPINFO=P1D_00_server
    -> arg[ 37]: -DSAPSTART=1
    -> arg[ 38]: -DCONNECT_PORT=1243
    -> arg[ 39]: -DSAPSYSTEM=00
    -> arg[ 40]: -DSAPSYSTEMNAME=P1D
    -> arg[ 41]: -DSAPMYNAME=blrkec115278d_P1D_00 arg[ 42]:
    -> -DSAPPROFILE=D:\usr\sap\P1D\SYS\profile\P1D_DVEBMGS00_blrkec115278d
    -> arg[ 43]: -DFRFC_FALLBACK=ON
    -> arg[ 44]: -DFRFC_FALLBACK_HOST=localhost arg[ 45]: -DSAPSTARTUP=1
    -> arg[ 46]: -DSAPSYSTEM=00 arg[ 47]: -DSAPSYSTEMNAME=P1D arg[ 48]:
    -> -DSAPMYNAME=blrkec115278d_P1D_00 arg[ 49]: -DSAPDBHOST=blrkec115278d
    -> arg[ 50]: -Dj2ee.dbhost=blrkec115278d
    CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
    CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
    CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
    CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
    CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
    CompilerOracle: exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue
    CompilerOracle: exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode
    CompilerOracle: exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode
    CompilerOracle: exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType loadInto [Thr 7792] JHVMLoadJavaVM: Java VM created OK.
    JHVM_BuildArgumentList: main method arguments of node [server1]
    [Thr 7872] Wed May 05 13:27:08 2010
    [Thr 7872] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes
    [Thr 7872] Wed May 05 13:27:09 2010
    [Thr 7872] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
    [Thr 7872] JLaunchISetClusterId: set cluster id 3944951 [Thr 7872] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)] [Thr 7872] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
    Wed May 05 13:27:13 2010
    5.640: [ParNew 81920K->5980K(1007616K), 0.0258446 secs]
    Wed May 05 13:27:17 2010
    9.773: [ParNew 87893K->13835K(1007616K), 0.0529425 secs]
    Wed May 05 13:27:21 2010
    13.293: [ParNew 95755K->17179K(1007616K), 0.0572638 secs]
    Wed May 05 13:27:23 2010
    15.634: [ParNew 99099K->17958K(1007616K), 0.0419008 secs]
    [Thr 6392] Wed May 05 13:27:26 2010
    [Thr 6392] JHVM_RegisterNatives: registering methods in com.sap.mw.rfc.driver.CpicDriver [Thr 6392] JHVM_RegisterNatives: registering methods in com.sap.i18n.cp.ConverterJNI
    [Thr 6392] Wed May 05 13:27:29 2010
    [Thr 6392] JHVM_RegisterNatives: registering methods in com.sap.mw.rfc.engine.Compress
    [Thr 7804] Wed May 05 13:27:33 2010
    [Thr 7804] JLaunchIExitJava: exit hook is called (rc = -11113) [Thr 7804] **********************************************************************
    ERROR => The Java VM terminated with a non-zero exit code.
    Please see SAP Note 943602 , section 'J2EE Engine exit codes'
    for additional information and trouble shooting.
    [Thr 7804] JLaunchCloseProgram: good bye (exitcode = -11113)

    Have you changed your java administrator password recently? If so, have you changed it in the configtool as well?
    Kind regards,
    Mark

  • Reducing time required for ABAP-only copyback (system copy) process

    Our company is investigating how to reduce the amount of time it takes to perform a copyback (system copy) from a production ABAP system to a QA system.  We use a similar process for all ABAP-only systems in our landscape, ranging from 3.1h systems to ECC6.0 ABAP-only systems on both DB2 and Oracle database platforms, and the process takes approximately two weeks of effort from end-to-end (this includes time required to resolve any issues encountered). 
    Here is an overview of the process we use:
    u2022     Create and release backup transports of key system tables and IDu2019s (via client copy) in the QA system to be overwritten (including RFC-related tables, partner profile and IDOC setup-related tables,  scheduled background jobs, archiving configuration, etc.).
    u2022     Reconfigure the landscape transport route to remove QA system from transport landscape.
    u2022                    Create a virtual import queue attached to the development system to capture all transports released from development during the QA downtime.
    u2022     Take a backup of the target production database.
    u2022     Overwrite the QA destination database with the production copy.
    u2022     Localize the database (performed by DBAu2019s).
    u2022     Overview of Basis tasks (for smaller systems, this process can be completed in one or two days, but for larger systems, this process takes closer to 5 days because of the BDLS runtime and the time it takes to import larger transport requests and the user ID client copy transports):
    o     Import the SAP license.
    o     Execute SICK to check the system.
    o     Execute BDLS to localize the system.
    o     Clear out performance statistics and scheduled background jobs.
    o     Import the backup transports.
    o     Import the QA client copy of user IDu2019s.
    o     Import/reschedule background jobs.
    o     Perform any system-specific localization (example: for a CRM system with TREX, delete the old indexes).
    u2022     Restore the previous transport route to include the QA system back into the landscape.
    u2022     Import all transports released from the development system during the QA system downtime.
    Our companyu2019s procedure is similar to the procedure demonstrated in this 2010 TechEd session:
    http://www.sapteched.com/10/usa/edu_sessions/session.htm?id=825
    Does anyone have experience with a more efficient process that minimizes the downtime of the QA system?
    Also, has anyone had a positive experience with the system copy automation tools offered by various companies (e.g., UC4, Tidal)?
    Thank you,
    Matt

    Hi,
    > One system that immediately comes to mind has a database size of 2TB.  While we have reduced the copyback time for this system by running multiple BDLS sessions in parallel, that process still takes a long time to complete.  Also, for the same system, importing the client copy transports of user ID's takes about 8 hours (one full workday) to complete.
    >
    For BDLS run, I agree with Olivier.
    > The 2 weeks time also factors in time to resolve any issues that are encountered, such as issues with the database restore/localization process or issues resulting from human error.  An example of human error could be forgetting to request temporary ID's to be created in the production system for use in the QA system after it has been initially restored (our standard production Basis role does not contain all authorizations required for the QA localization effort).
    >
    For the issues that you encounter because of system copy, you can minimize this time period as you would be doing it on periodic basis (making some task list) and you can make a note of issues that you faced in previous run. So, normally i don't count it as system copy time
    Thanks
    Sunny

  • TFS 2012 Scheduled Backups - Permission error

    Hi All,
    I am trying to configure auto backup using the Schedule Backups wizard.  However, I get the below erros during the Readiness Checks step.  I have check the SQL databases but couldn't figure out which one is having issue.  Need some help.  Thanks
    [Info   @20:37:34.839] +-+-+-+-+-| Running VerifySqlServerPermissionsGranted: Verifying TFS Job Agent has permissions to create and alter databases |+-+-+-+-+-
    [Info   @20:37:34.839] 
    [Info   @20:37:34.839] +-+-+-+-+-| Verifying TFS Job Agent has permissions to create and alter databases |+-+-+-+-+-
    [Info   @20:37:34.839] Starting Node: ALTERCREATEDATABASE
    [Info   @20:37:34.839] NodePath : Container/Progress/ALTERCREATEDATABASE
    [Info   @20:37:34.846] Node returned: Error
    [Error  @20:37:34.846] User does not have permission to perform this action.
    [Info   @20:37:34.846] Completed VerifySqlServerPermissionsGranted: Error
    [Info   @20:37:34.846] -----------------------------------------------------

    Hi Ultragc88, 
    Thanks for your post.
    What’s the detailed version of your TFS 2012?
    To create Backup plan, you must be a member of both of the following groups:
    1       
    The Administrators security group on the server that is running the administration console for Team Foundation.
    2       
    The SQL Server System Administrator security group. In addition, the service account for TFS (TFSService) must have
    SQL Server Perform Back Up and Create Maintenance Plan permissions set to
    Allow on each instance of SQL Server that hosts the databases that you want to back up.
    3       
    The Farm Administrators group in SharePoint Foundation 2010, or an account with the permissions required to back up the farm.
    If you ensure you have the above permissions correctly, but still occur the same error, please share the full backup plan creating log here.
    For more information about create TFS 2012 backup plan, please refer to this document:
    http://msdn.microsoft.com/en-us/library/vstudio/hh561429.aspx.
    John Qiao [MSFT]
    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

  • System Idle process at Exchange server too high

    Hi there everyone,
    I am having an issue since a long period of time regarding the usage of CPU by system idle process at my exchange server 2010.I am hereby attaching the screenshots for more details.
    What might be the issue guys as per your experience?
    Regards,
    Sufiyan

    This one may help.
    http://blogs.technet.com/b/maliks/archive/2012/04/25/exchange-2010-store-exe-service-takes-high-memory-utilization.aspx
    or ask them more over here.
    https://social.technet.microsoft.com/Forums/exchange/en-US/home?forum=exchange2010
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Report/Process Issue

    Getting close to finishing this project but ran into a new issue. When the user performs a search, a report (non-interactive) is generated and displays a Cart icon if the item is In; this is also a link to add the item to your cart for ordering. The link takes the user to the Cart page, and makes a Request for the ADDCART process, which is an conditional On Demand process loading before the header to fire an Application Process ADDTOCART, based on two values set in the same link.
    However, the process isn't running at all. The instructions in the ADDTOCART process are used on another page, so we know the commands are correct, but the tables aren't updated. Here's the link from the report field:
    SELECT Case CODATA_INDEX.STATUS
       WHEN 'In' then '<a_href="f?p=&APP_ID.:11:&SESSION.:ADDCART:::P5_ITEM,P5_TAX:'||ITEMCODE||','||TAXID||'">
        <img src="#APP_IMAGES#order_i.gif"></a>'
       ELSE Null
    END as "CART", ...The link takes the user to Page 11 correctly, but there's no indication it has even attempted to execute the ADDCART process. The P5 variables are set as directed, but strangely the process doesn't appear to be called. Any suggestions?
    (Note: We're running ApEx 4.0 on IE)

    I ran Debug on the link but didn't see anything that stood out. Also, I'm not sure how to create a button within the Report (I found myself wishing I could do that when making the original report!), but I'm open to suggestions...
    Meanwhile, I've got a recreation of the problem set up on apex.oracle.com
    Workspace: CPATE
    Username: TESTER
    Pass: testing
    On the Page 2, you'll see the report with the cart icon described in the original post. Clicking on the links next to it takes you to Page 3, the Details page, and from there you can add an item to the cart.
    However, when you click the cart icon on Page 2, it goes to page 4 and assigns the values as directed, but doesn't execute the ADDCART page process (which should be executing the ADDTOCART application process).

  • Can I move a Virtual Domain Controller from one host(Win Server 2008 R2) to another (Win Server 2012 R2) ? Are there any issues?

    Can I move a Virtual Domain Controller from one host(Win Server 2008 R2) to another (Win Server 2012 R2) ? Are there any issues?

    I also had this error: "Setup cannot continue. Your computer will now restart, and your previous version of Windows will be restored."
    trying to do a in-place upgrade of a Domain Controller Windows 2008 R2 to Windows 2012 R2.
    The problem was the separated System Reserved Partition. After I removed using this instructions:
    http://jacobackerman.blogspot.com/2012/12/how-to-remove-system-reserved-partition.html
    The upgrade ran ok, and now have my DC as Windows 2012 R2.
    Hope that helps!.

  • System.Diagnostics.EventLog - A device attached to the system is not functioning

    I was getting an error ....
    System.ComponentModel.Win32Exception was caught
      ErrorCode=-2147467259
      HResult=-2147467259
      Message=A device attached to the system is not functioning
      NativeErrorCode=31
      Source=System
      StackTrace:
           at System.Diagnostics.EventLogInternal.InternalWriteEvent(UInt32 eventID, UInt16 category, EventLogEntryType type, String[] strings, Byte[] rawData, String currentMachineName)
           at System.Diagnostics.EventLogInternal.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData)
           at System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType type)
           at VB_Braums_ClassLib.LogIt.WriteEventLog(String Entry, EventLogEntryType eventType, String Source) in \\Corp01\Vol1\Mis\Pccode\Ms.net\ProductionLibs\ProductionLibs\ProdLibCommon.vb:line 3666
      InnerException: 
    This code is in a library, so I create a "hello world" to demonstrate the issue. I will post it at the end. This .net 4 framework and it's been around for a while in our code. We are starting to upgrade from XP to Win 7. Basically event log sizes
    are limited to the 32667 number. So we had a test, if the string is bigger than that, then we would write it in 32000 byte chucks. On two different win7 boxes we get the "device attached" error message. Run the same code on a XP box and it works.
    Oh, and the Win 7 boxes are 64 bit.  I wonder if the win 7 32 bit would have the same issue? Can others duplicate it? The tmpsize seems to be different numbers, but if you play with it, you can get it down to number x works and (x+1) does not.
    Here the code .....
    Module Module1
        Sub Main()
            Dim logName As String = "BraumsLog"
            Dim objEventLog As New System.Diagnostics.EventLog()
            Dim needCreate As Boolean = False
            Dim Source As String = ""
            If Source.Length = 0 Then Source = "Test"
            Dim Entry As String = "".PadLeft(64000, "1"c)
            'Register the App as an Event Source
            If EventLog.SourceExists(Source) Then
                Dim slog As String = EventLog.LogNameFromSourceName(Source, ".")
                If slog <> logName Then EventLog.DeleteEventSource(Source) : needCreate = True
            Else
                needCreate = True
            End If
            If needCreate Then EventLog.CreateEventSource(Source, logName)
            objEventLog.Source = Source
            '*********** New Code ****************
            objEventLog.MaximumKilobytes = 20480
            objEventLog.ModifyOverflowPolicy(OverflowAction.OverwriteAsNeeded, 0)
            'WriteEntry is overloaded; this is one
            'of 10 ways to call it
            Dim tmp As String = ""
            Dim tmpSize As Integer = 32000 '31890 works 31891 does not
            Do While Entry.Length > tmpSize
                tmp = Entry.Substring(0, tmpSize - 1)
                objEventLog.WriteEntry(tmp, EventLogEntryType.Information)
                Debug.WriteLine(tmp.Length.ToString)
                Entry = Entry.Substring(tmpSize)
            Loop
            tmp = Entry
            objEventLog.WriteEntry(tmp, EventLogEntryType.Information)
        End Sub
    End Module

    Run the same code on an XP 64 bit box and it works? XP comes in multiple flavors.
    Perhaps you should compile to x86 CPU and see if it works on Win 7 64 bit. Win 7 comes in 32 and 64 bit also.
    On the other hand Win 7 service pack 1 mainstream support ended on the 13th of this month. Extended support ends in 2020 supposedly. Perhaps you should upgrade to Win 8.1 instead. Win 10 is coming soon enough.
    Windows lifecycle fact sheet
    Microsoft Product Lifecycle Search - Windows 7 result
    La vida loca

  • Error while executing master data process chian

    hi,
    I'm trying to execute Master Data Process Chain in BI 7.0. But i'm getting errors at the DTP process of two info objects. The error message is like "equest 357 is already being processed  and Exception CX_RSBK_REQUEST_LOCKED logged."
    Can anyone tell the reason and how to resolve this issue?
    Thanks
    Hima

    Hi Hima
    Check if there is any other loads, fetching the same Request OR you can goto SM37 and goto Job log and check the status of the JOB... if it is finished, then check the status of the request too.You can repeat the locked request, if the previous req is either successfully completed or failed...wait until the dependent request is finished
    just check this and repeat the req.. it should get successful now...
    Regards
    Rohit

Maybe you are looking for

  • Problems associating device to Apple ID/user account on my mac

    Hiya, I'm trying to help a friend out by backing up her devices (iPad and iPhone) to my computer so I can update the OS on both. I had previously sync'd her iPad to my iTunes to back it up, but I then figured afterward it'd be better to create a new

  • European Power Adapter Question

    So I'm traveling to France next week and will be there for three weeks. I bought the global travel pack which has an adapter for European power. However, is using this adapter all I have to do? I don't have to "flip a switch" on the computer itself?

  • Downpayment against Internal Order

    I have created a statistical internal order for Asset Under Construction and assigne iin Asset Master Record. Budget is also allocated. At the time of migo system give POP UP if value exceeded from budget. Client requirement is : 1. Downpayment again

  • How do I purchase AppleCare for my iMac?

    Should I wait until near the end of the standard 1 year Warranty? Or should I purchase it the moment I buy it?

  • Invoice no. for reversed pymnt

    HI, I would like to know how I can get invoice no. of paymnt which is reversed, i.e. returned cheque,  as I do not get the entry in kidno of BSAD/BSID/BSEG/BKPF with BLART as 'DA'. The paymnt was full payment for the invoice. I am creating a return c