Unpredictable loadjava execution duration

We are using the following batch file to run loadjava on Windows clients loading classes to Dec and AIX servers:
if (%OS%) == (Windows_NT) setlocal
SET CLASSPATH=.\serverExtras;.\libraries.jar;.\Alliance.jar;%CLASSPATH%
CALL loadjava -u %1 -v -resolve serverExtras.jar
CALL loadjava -u %1 -v -resolve libraries.jar
CALL loadjava -u %1 -v -f -resolve Alliance.jar
if (%OS%) == (Windows_NT) endlocal
The "serverExtras" and "libraries" files contain all the dependencies of our application code, which is in the "Alliance" jar file.
Loading data to the same instance of Oracle, this script will usually run for 1-2hrs. However, once in a while, it runs for 12-24hrs or more and we wind up killing it.
I'm not sure what to look at to figure out what is going on here. Are there any parameters or circumstances that are likely causing this?
Thanks for any suggestions.

GET RUN TIME FIELD
Basic form 5
GET RUN TIME FIELD f.
Effect
Relative runtime in microseconds. The first call sets (initializes) the field f to zero. For each subsequent call, f contains the runtime in microseconds since the first call. The field f should be of type I.
The ABAP statements that lie between two calls of the GET RUN TIME statement are known as the runtime. The time from the first to the second call is known as the measurement interval.
Notes
Use SET RUN TIME CLOCK RESOLUTION to specify the precision with which the time is to be measured, before you call GET RUN TIME FIELD for the first time. The default setting is high precision.
Example
Measuring Runtime for the MOVE Statement
DATA: T1   TYPE I,
      T2   TYPE I,
      TMIN TYPE I.
DATA: F1(4000), F2 LIKE F1.
TMIN = 1000000.
DO 10 TIMES.
  GET RUN TIME FIELD T1.
    MOVE F1 TO F2.
  GET RUN TIME FIELD T2.
  T2 = T2 - T1.
  IF T2 < TMIN.
    TMIN = T2.
  ENDIF.
ENDDO.
WRITE: 'MOVE of 4000 byte:', TMIN, 'microseconds'.
Note
SAP recommends that you measure the runtime several times and take the minimum result.
Related
To perform runtime measurements of complex processes, use Runtime analysis (Transaction SE30).
Related
SET RUN TIME CLOCK RESOLUTION
Additional help
Measuring Runtimes of Program Segments

Similar Messages

  • Execution duration

    I'd like to display the execution duration of some abap statement in abap program ...
    Look like this...
    program started at .......
    program ended at ....
    But it is for performance issue thus MUST BE VERY PRECISE!
    Use of sy-uzeit only if no better solution!
    Thanks for the reply

    GET RUN TIME FIELD
    Basic form 5
    GET RUN TIME FIELD f.
    Effect
    Relative runtime in microseconds. The first call sets (initializes) the field f to zero. For each subsequent call, f contains the runtime in microseconds since the first call. The field f should be of type I.
    The ABAP statements that lie between two calls of the GET RUN TIME statement are known as the runtime. The time from the first to the second call is known as the measurement interval.
    Notes
    Use SET RUN TIME CLOCK RESOLUTION to specify the precision with which the time is to be measured, before you call GET RUN TIME FIELD for the first time. The default setting is high precision.
    Example
    Measuring Runtime for the MOVE Statement
    DATA: T1   TYPE I,
          T2   TYPE I,
          TMIN TYPE I.
    DATA: F1(4000), F2 LIKE F1.
    TMIN = 1000000.
    DO 10 TIMES.
      GET RUN TIME FIELD T1.
        MOVE F1 TO F2.
      GET RUN TIME FIELD T2.
      T2 = T2 - T1.
      IF T2 < TMIN.
        TMIN = T2.
      ENDIF.
    ENDDO.
    WRITE: 'MOVE of 4000 byte:', TMIN, 'microseconds'.
    Note
    SAP recommends that you measure the runtime several times and take the minimum result.
    Related
    To perform runtime measurements of complex processes, use Runtime analysis (Transaction SE30).
    Related
    SET RUN TIME CLOCK RESOLUTION
    Additional help
    Measuring Runtimes of Program Segments

  • Discrepancy in report execution duration

    Hello,
    Everyday we are executing audit reports which tells us report execution time for all our daily scheduled reports. Here we have observed some discrepancy between the time shown in the instance history verses auditing report's data. For example, if XYZ report took 120 seconds to execute, our auditing report shows 110 seconds only (-10 sec difference); however instance status in report history shows 120 sec only.
    Here are environment details:
    Product: SAP BI 4.0 SP6 Patch 6
    Server OS: Windows Server 2008 R2
    CMS DB: Oracle 11g R2
    Auditing DB: Oracle 11g R2
    We would like to know why there is a difference? Please advise!
    Regards,
    Daya Jha

    Issue resolved after doing multiple activity.
    - Adding 2 new cluster in PRD environment, After refering Server sizing Guide from SAP
    - Adding 4 new Web Intelligence Processing Server in PRD environment
    - Assign Static port in all 4 Nodes, Previously it was Dynamic Ports
    - Proper spiliting of APS as per SAP APS Sliting KBA (1792286 ,1694041)
    - Change Maximum Connection Paremeter in Web Intelligence Processing Server, Because we have more Web Intelligence Business user to view the Web Intelligence reports.By Default SAP provided 50 Connections.
    - Change in Tomcat Parameters like
    Parameter                Old Value      New Value
    XX:MaxPermSize      384 M          512 M
    Maximum Memory     2,048           4,096
    maxThreads              200              900
    Thanks,
    Daya

  • System update 5.06.0024 failed

    I execueted System Update V5.06.0024 on Windows 7 Professional, clicked the Next button, then the message "An error occurred in the package download procedure." in Japanese when the Lenovo Help Center (1 of 1) was procedured.
    The log is as follows:
    Info    2015-01-27 , 10:33:23
        at Tvsu.Engine.Task.Task.Start()
        Message: Executing the PostProcess HelpCenterQuestProcess
    Severe    2015-01-27 , 10:33:23
        at Tvsu.Engine.Task.Task.StartExecution()
        Message: An error occurred while the task: ApplicableUpdatesTask executed the process: HelpCenterQuestProcessthe message from exception isException of type 'Tvt.FileDownloader.DownloadException' was thrown.
        Exception:
            Message: Exception of type 'Tvt.FileDownloader.DownloadException' was thrown.
            Type: Tvt.FileDownloader.DownloadException
               at Tvsu.Engine.Task.Task.Start()
       at Tvsu.Engine.Task.Task.StartExecution()
    Info    2015-01-27 , 10:33:23
        at Tvsukernel.CustomControls.Step.<>c__DisplayClass7.<set_Image>b__6()
        Message: Setting FAILED status.
    Info    2015-01-27 , 10:33:23
        at Tvsukernel.Logic.GUIController.ShowErrorMessage(Exception e)
        Message: Error while downloading packages.
        Exception:
            Message: Exception of type 'Tvt.FileDownloader.DownloadException' was thrown.
            Type: Tvt.FileDownloader.DownloadException
               at Tvsu.Engine.Task.Task.StartExecution()
       at Tvsu.Sdk.SuSdk.GetApplicableUpdates(searchingFolderDelegate spd, showErrMsgDelegate sed)
       at Tvsukernel.Logic.ProgressThread.InitSearch()
    Info    2015-01-27 , 10:33:23
        at Tvsukernel.Dialogs.Messages.ShowStaticMessage(String message, String title, MessageType t, Boolean check)
        Message: Showing ERROR Message: < パッケージのダウンロード中にエラーが発生しました。 >
    Info    2015-01-27 , 10:33:25
        at Tvsu.Egather.EgatherExecutor.ExecuteEgather(String fileOutput, String args)
        Message: RC eGatherer: 0
    Info    2015-01-27 , 10:33:34
        at Tvsukernel.Logic.GUIController.BackToMain()
        Message: Setting Welcome screen...
    Info    2015-01-27 , 10:33:34
        at Tvsukernel.FlowScreens.MainFrame.SetScreen(String screen, RoutedEventHandler[] eh)
        Message: Loading Welcome screen on Action pane.
     What shall I do ?

    Thank you for your rapid reply.
    My machine type and model number is Thinkcenter E73 10AU009WJP.
    This is a new machine. I have already execueted Microsoft Update.
    No antivirus software is not yet installed.
    No versions, preinstalled version and downloaded version 5.06 run successsfully.
    Version 5.06 fails every run.
    I checked the reliabilty reports, but I didn't discover anything about System Update.
    I don't want to use any file sharing software in order to send the logs. What shall I do ?
    I paste the TvsuCommandLauncher.log and  only as follows:
    Severe    2015-01-28 , 12:01:22
        Message: Digital signature validation failed! :C:\Program Files\Lenovo\System Update\egather\ia.exe
    Info    2015-01-28 , 12:01:22
        Message: The current user is a Vista Administrator, the request will be handled by suservice -System context-
    Info    2015-01-28 , 12:01:25
        Message: Command execution duration was: 274 Miliseconds
    The service.log is as follows:
     Info    2015-01-28 , 12:01:23
        Message: /execute ia.exe /arguments -filename"C:\Program Files\Lenovo\System Update\egather\sysreco" -silent -local -section SYSTEM_SUMMARY REGIONAL_SETTINGS SMBIOS_INFORMATION Firmware_Information Installed_Software SMBIOS_INFORMATION DEVICE_DRIVERS_AND_SERVICES IDE_DEVICE_INFORMATION DEVICE_MANAGER_SETTINGS -p device_manager enable_hardwareid /directory "C:\Program Files\Lenovo\System Update\egather\" /type COMMAND /timeout 300000
    Info    2015-01-28 , 12:01:23
        Message: "C:\Program Files\Lenovo\System Update\egather\"
    ia.exe
    -filename"C:\Program Files\Lenovo\System Update\egather\sysreco" -silent -local -section SYSTEM_SUMMARY REGIONAL_SETTINGS SMBIOS_INFORMATION Firmware_Information Installed_Software SMBIOS_INFORMATION DEVICE_DRIVERS_AND_SERVICES IDE_DEVICE_INFORMATION DEVICE_MANAGER_SETTINGS -p device_manager enable_hardwareid
    COMMAND
    Info    2015-01-28 , 12:01:23
        Message: Directory 1: C:\Program Files\Lenovo\System Update\egather\
    Info    2015-01-28 , 12:01:23
        Message: If directory 1 exists: C:\Program Files\Lenovo\System Update\egather\
    Info    2015-01-28 , 12:01:23
        Message: The parameters directory and command stay as follows:
    command: ia.exe
    directory: C:\Program Files\Lenovo\System Update\egather\
    Info    2015-01-28 , 12:01:23
        Message: Type hidden
    Info    2015-01-28 , 12:01:23
        Message: C:\Program Files\Lenovo\System Update\egather\ ia.exe -filename"C:\Program Files\Lenovo\System Update\egather\sysreco" -silent -local -section SYSTEM_SUMMARY REGIONAL_SETTINGS SMBIOS_INFORMATION Firmware_Information Installed_Software SMBIOS_INFORMATION DEVICE_DRIVERS_AND_SERVICES IDE_DEVICE_INFORMATION DEVICE_MANAGER_SETTINGS -p device_manager enable_hardwareid COMMAND 300000
    Info    2015-01-28 , 12:01:23
        Message: Hidden
    Info    2015-01-28 , 12:01:25
        Message: 0
    Some of the tvsu_150128120117.log is as follows:
     [Lenovo System Update build: 2014-11-04 5.06.0024]    2015/01/28 12:01:17
    Severe    2015-01-28 , 12:01:21
        at Tvsu.FileDownloader.HttpsDownload.Init(FileDownloadInfo fileInfo)
        Message: Debug Log: Init method:GET
    Severe    2015-01-28 , 12:01:21
        at Tvsu.FileDownloader.HttpsDownload.doDownloadByHttps(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)
        Message: Debug Log: doDownloadByHttps InterExcpetion content stringystem.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
       at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
       at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
       at System.Net.TlsStream.CallProcessAuthentication(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
       at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.ConnectStream.WriteHeaders(Boolean async) uri:https://download.lenovo.com/ibmdl/pub/pc/pccbbs/agent/SSClientCommon/HelloLevel_9_13_00.xml
    Severe    2015-01-28 , 12:01:21
        at Tvsu.FileDownloader.HttpsDownload.doDownloadByHttps(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)
        Message: Debug Log: doDownloadByHttps InterExcpetion is not WebExcpetion StackTrace:    at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
       at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
       at System.Net.TlsStream.CallProcessAuthentication(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
       at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.ConnectStream.WriteHeaders(Boolean async)
    Severe    2015-01-28 , 12:01:21
        at Tvsu.FileDownloader.HttpsDownload.doDownloadByHttps(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)
        Message: Debug Log: doDownloadByHttps InterExcpetion is not WebExcpetion message: The remote certificate is invalid according to the validation procedure.
    Severe    2015-01-28 , 12:01:21
        at Tvsu.FileDownloader.HttpsDownload.doDownloadByHttps(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)
        Message: Debug Log: doDownloadByHttps InterExcpetion is not WebExcpetion Source: System
    Severe    2015-01-28 , 12:01:21
        at Tvsu.FileDownloader.HttpsDownload.doDownloadByHttps(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)
        Message: Debug Log doDownloadByHttps webException message:The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
    Info    2015-01-28 , 12:01:21
        at Tvsu.FileDownloader.HttpsDownload.StartDownload(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)
        Message: An exception ocurred while downloading https://download.lenovo.com/ibmdl/pub/pc/pccbbs/agent/SSClientCommon/HelloLevel_9_13_00.xml
        Status set to FAILED
        Exception:
            Message: Error at DirectFileDownloader when validating certificates, or a secure channel cannot be established.
            Type: Tvt.FileDownloader.CertificateValidationException
               at Tvsu.FileDownloader.HttpsDownload.doDownloadByHttps(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)
       at Tvsu.FileDownloader.HttpsDownload.StartDownload(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)
    Severe    2015-01-28 , 12:01:21
        at Tvsu.Engine.Process.HelloProcess.DownloadUDF(String helloClientLevel)
        Message: An exception ocurred while downloading the UDF file, the Hello process will continue.
        Exception:
            Message: Failed to connect to SUPPORTCENTER Repository.
            Type: Tvt.FileDownloader.ConnectException
               at Tvsu.FileDownloader.GeneralDownloader.Download(FileToDownloadBean bean, downloadingDelegate downDelegate)
       at Tvsu.Engine.Process.HelloProcess.DownloadUDF(String helloClientLevel)
    Info    2015-01-28 , 12:01:21
        at Tvsu.Engine.Process.HelloProcess.Start()
        Message: UDF download status is -> Failed
    Severe    2015-01-28 , 12:01:21
        at Tvsu.Engine.Process.HelloProcess.Start()
        Message: Could't connect to the HelloServer, no UDF file was downloaded
    Info    2015-01-28 , 12:01:21
        at Tvsu.Egather.EgatherManager.GetEgatherParser(String type)
        Message: Running egather minimal.....
    Info    2015-01-28 , 12:01:21
        at Tvsu.Egather.EgatherExecutor.RunAsWindowsService(String directory, String command, String arguments)
        Message:  /execute ia.exe /arguments -filename$C:\Program Files\Lenovo\System Update\egather\sysrecomin$ -probes REGIONAL_SETTINGS GATHERER_INFORMATION SYSTEM_SUMMARY -local /directory $C:\Program Files\Lenovo\System Update\egather\$ /type COMMAND /securitycode a0d844b92f93538b51c98c1cd301a63c2ba4818b /timeout 300000
    Info    2015-01-28 , 12:01:21
        at Tvsu.Egather.EgatherExecutor.RunAsWindowsService(String directory, String command, String arguments)
        Message: FileName Path: C:\Program Files\Lenovo\System Update\TvsuCommandLauncher.exe

  • System Update 5 Fails

    Hi All,
    I posted this in the ThinkStation forum as well, but thought it more appropriate in this forum when I found it...
    I am trying to run System Update 5 (9/27/12) on my D30/Windows 7 Pro without success. The splash screen shows for a moment and then stops. I see that the SUService is up and running (that seemed to be a problem in other forums).
    The UACSdk file contains:
    TSS(L) 0: 09:23:12:0853 uacsdk.cpp(170): User: ADMIN
    TSS(L) 0: 09:23:12:0853 uacsdk.cpp(171): TempRegFile:
    TSS(L) 0: 09:23:12:0853 uacsdk.cpp(172): ComdLine:
    TSS(L) 0: 09:23:12:0853 uacsdk.cpp(180): ComdLine tvsukernel: C:\Program Files (x86)\Lenovo\System Update\\Tvsukernel.exe
    TSS(L) 0: 09:23:12:0853 uacsdk.cpp(190): Vista admin
    TSS(L) 0: 09:23:12:0854 vista.cpp(62): StartUIOnVistaWithAdminLongon ComdLine: C:\Program Files (x86)\Lenovo\System Update\\Tvsukernel.exe
    TSS(L) 0: 09:23:12:0854 vista.cpp(70): WTSGetActiveConsoleSessionId dwSessionId: 1
    TSS(L) 0: 09:23:12:0855 vista.cpp(74): WTSQueryUserToken failed!
    TSS(L) 0: 09:23:12:0855 vista.cpp(159): CreateProcessAsUser failed!
    The service_log contains:
    Info 2012-10-17 , 09:23:11 at Tvsu.Service.Client.CommandLauncher.ExecuteCommand​Line(String command) Message: The current user is a Vista Administrator, the request will be handled by suservice -System context-
    Info 2012-10-17 , 09:23:12 at Tvsu.Service.Server.PipeManager.HandleRequest(Stri​ng request) Message: Installing under the service context
    Info 2012-10-17 , 09:23:12 at Tvsu.Service.Common.CommandExecutor.Executor.Execu​teCommand(String dir, String cmd, String args, String _installType, Int64 timeOut, Boolean hide) Message: Directory 1: C:\Program Files (x86)\Lenovo\System Update
    Info 2012-10-17 , 09:23:12 at Tvsu.Service.Common.CommandExecutor.Executor.Execu​teCommand(String dir, String cmd, String args, String _installType, Int64 timeOut, Boolean hide) Message: If directory 1 exists: C:\Program Files (x86)\Lenovo\System Update
    Info 2012-10-17 , 09:23:12 at Tvsu.Service.Common.CommandExecutor.Executor.Execu​teCommand(String dir, String cmd, String args, String _installType, Int64 timeOut, Boolean hide) Message: The parameters directory and command stay as follows: command: uacsdk.exe directory: C:\Program Files (x86)\Lenovo\System Update
    Info 2012-10-17 , 09:23:12 at Tvsu.Service.Common.CommandExecutor.Executor.Execu​teCommand(String dir, String cmd, String args, String _installType, Int64 timeOut, Boolean hide) Message: hide window: False
    Fine 2012-10-17 , 09:23:12 at Tvsu.Service.Common.CommandExecutor.Executor.AddEn​vironmentVariables(String fileName) Message: Add environment variables for C:\Program Files (x86)\Lenovo\System Update\uacsdk.exe
    Fine 2012-10-17 , 09:23:12 at Tvsu.Service.Common.CommandExecutor.Executor.AddEn​vironmentVariables(String fileName) Message: C:\Program Files (x86)\Lenovo\System Update\uacsdk.exe is a 32-bit application.
    Info 2012-10-17 , 09:23:12 at Tvsu.Service.Common.CommandExecutor.Executor.Execu​teCommand(String dir, String cmd, String args, String _installType, Int64 timeOut, Boolean hide) Message: -1
    Info 2012-10-17 , 09:23:12 at Tvsu.Service.Client.CommandLauncher.ExecuteCommand​Line(String command) Message: Command execution duration was: 73 Miliseconds
    The tvsu_exe file contains:
    TSS(R) 2: 09:23:11:0304 tvsu.cpp(1825): Installdir: C:\Program Files (x86)\Lenovo\System Update
    TSS(R) 2: 09:23:11:0344 tvsu.cpp(1754): Installdir: C:\Program Files (x86)\Lenovo\System Update
    TSS(R) 2: 09:23:11:0344 tvsu.cpp(1775): szCmd: C:\Program Files (x86)\Lenovo\System Update\TvsuCommandLauncher.exe
    TSS(R) 2: 09:23:11:0728 tvsu.cpp(579): StartTvsukernel : admin
    TSS(R) 2: 09:23:11:0728 tvsu.cpp(586): Begin InvokeUacSdkViaService
    TSS(R) 2: 09:23:11:0739 tvsu.cpp(431): Installdir: C:\Program Files (x86)\Lenovo\System Update
    TSS(R) 2: 09:23:11:0740 tvsu.cpp(466): szCmd: C:\Program Files (x86)\Lenovo\System Update\TvsuCommandLauncher.exe
    I have tried assigning a specific user id for the service to log in with, but that didn't have any effect.
    Any thoughts are welcome!
    Thanks, Mike
    Solved!
    Go to Solution.

    For closure, I was working with someotherguy and though I ended up finding the solution myself (apparently it is our own network authority issue) I want to post my reply to him and commend him for his consistent attention.  I  really do appreciate it!!
    Best to all,  Michael
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Hi Again,
    I have figured out what is going on with my SU 5 anomaly… it is because I am remote-consoling in to the computer on which I am running it.  My computer configuration is a Lenovo laptop that I take back and forth to work each day, and the new D30 that I have been talking about.  When I am at home I remote in to the D30 and can do my development work with no loss of power due to processor or network connectivity issues.  When I am at work I drop the laptop in to an expansion station and enjoy my full scale monitors and keyboard, still remoting into the D30 to do my work.
    I had a different authority related issue for services because of accessing via remote console and it occurred to me that this could be the same thing and indeed it is.  What I don’t understand is that I am logged in to my laptop with my domain id and I remote connect to the D30 using the same domain id, and I have problems with the SU updates.  When I log in directly to the D30 using my domain id it works fine.  Perhaps it is an issue to raise with my network administrators but it makes no sense to me.
    Thank you again for your consistent attention and concern.  I truly appreciate it and would be happy to know that you forwarded this commendation to your supervisor on my behalf.
    Best Regards,
    Michael 

  • Poor Performance in ETL SCD Load

    Hi gurus,
    We are facing some serious performance problems during an UPDATE step, which is part of a SCD type 2 process for Assets (SIL_Vert/SIL_AssetDimension_SCDUpdate). The source system is Siebel CRM. The tools for ETL processing are listed below:
    Informatica PowerCenter 9.1.0 HotFix2 0902 357 (R181 D90)
    Oracle BI Data Warehouse Administration Console (Dac Build AN 10.1.3.4.1.patch.20120711.0516)
    The OOTB mapping for this step is a simple SELECT command - which retrieves historical records from the Dimension to be updated - and the Target table (W_ASSET_D), with no UPDATE Strategy. The session is configured to always perform UPDATEs. We also have set $$UDATE_ALL_HISTORY to "N" in DAC: this way we are only selecting the most recent records from the Dimension history, and the only columns that are effectively updated are the system columns of SCD (EFFECTIVE_FROM_DT, EFFECTIVE_TO_DT, CURRENT_FLG, ...).
    The problem is that the UPDATE command is executed individually by Informatica Powercenter, for each record in W_ASSET_D. For a number of 2.486.000 UPDATEs, we had ~2h of processing - a very poor performance for only one ETL step. Our W_ASSET_D has ~150M records today.
    Some questions for the above:
    - is this an expected average execution duration for this number of records?
    - updates record by record are not optimal, this could be easily overcome by a BULK COLLECT/FORALL method. Is there a way to optimize the method used by Informatica or we need to write our own PL-SQL script and run it in DAC?
    Thanks in advance,
    Guilherme

    Hi,
    Thank you for posting in Windows Server Forum.
    Initially please check the configuration & requirement part for RemoteFX. You can follow below article for further research.
    RemoteFX vGPU Setup and Configuration Guide for Windows Server 2012
    http://social.technet.microsoft.com/wiki/contents/articles/16652.remotefx-vgpu-setup-and-configuration-guide-for-windows-server-2012.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • Scheduled job does not stop even after the scheduling window closes

    We have written custom stats gathering job whose duration has been set as 14 hours in the schedule. This job starts daily at 6:00 PM and expected to complete upto 8:00 AM next day. But the problem is that this job continues to execute even after 14 hours. If we look at the dba_scheduler_job_run_details table, then its execution duration is about 16 - 19 hours daily. We could not understand as why it is not closed when scheduling window closes? Is there any problem with the scheduler configuration?
    select job_name
          ,program_name
          ,schedule_name
          ,schedule_type
          ,stop_on_window_close
      from dba_scheduler_jobs
    where job_name = 'GATHER_STATS_STD_JOB';
    Output:
    JOB_NAME
    PROGRAM_NAME
    SCHEDULE_NAME
    SCHEDULE_TYPE
    STOP_ON_WINDOW_CLOSE
    GATHER_STATS_STD_JOB
    GATHER_STATS_STD_PROGRAM
    GATHER_STATS_STD_SCHEDULE
    NAMED
    TRUE
    SELECT window_name
          ,schedule_owner
          ,schedule_name
          ,schedule_type
          ,start_date
          ,repeat_interval
          ,end_date
          ,duration
          ,window_priority
          ,next_start_date
          ,last_start_date
          ,enabled
          ,active
      FROM dba_scheduler_windows;
    window_name
    schedule_owner
    schedule_name
    schedule_type
    start_date
    repeat_interval
    end_date
    duration
    window_priority
    next_start_date
    last_start_date
    enabled
    active
    GATHER_STATS_STD_WINDOW
    sys
    GATHER_STATS_STD_SCHEDULE
    named
    +00 14:00:00.000000
    high
    23-feb-15 06.00.10.000000 pm +02:00
    23-feb-15 06.00.10.095878 pm +02:00
    TRUE
    TRUE
    We are using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod on Linux platform.
    Message was edited by: Moazzam

    Straight out of the docs 83 DBMS_SCHEDULER
    stop_on_window_close
    This attribute only applies if the schedule of a job is a window or a window group. Setting this attribute to TRUE implies that the job should be stopped once the associated window is closed. The job is stopped using the stop_job procedure with force set to FALSE.
    Having said that, stop_job with force applies to whether information about the job is gathered - you would have to test, but I believe that the statistics gather will be terminated in the middle of whatever it's doing.
    Update: force says:
    force
    If force is set to FALSE, the Scheduler tries to gracefully stop the job using an interrupt mechanism. This method gives control back to the slave process, which can update the status of the job in the job queue to stopped. If this fails, an error is returned.
    If force is set to TRUE, the Scheduler will immediately terminate the job slave. Oracle recommends that STOP_JOB with force set to TRUE be used only after a STOP_JOBwith force set to FALSE has failed.

  • Aggregation level includes filter objects...

    Hi,
    We are using a BO universe on top of a BEX query to create WebI reports.
    We now run into the following problem when filtering on a certain characteristic in the BO query.
    The result set of rows is limited to the correct values, but not aggregated up to the requested aggregation level. The problem exists whether the key figure is defined as having an aggregation to be database delegated or sum.
    In the query results we see the number of rows being pulled back is too high, the results displayed are correct (because aggregated by WebI). In the example below we selected three stores, but not store as a result object.
    *** Query Name:Query 1 ***
    ** Query Properties:
    Universe:Retail Sales and Stock
    Last Refresh Date:9/2/10 2:29 PM
    Last Execution Duration: 33
    Number of rows: 4,947
    Retrieve Duplicate Row: ON
    ** Query Definition:
    Result Objects: Style Code, NSLS @ PCS
    Filters ( Only RMS Billing Documents Infoprovider
    AND Given Legacy Division Set
    AND Given Currency Conversion Type
    AND Store Key In List { 1001; 1002; 1003 }
    AND NSLS @ PCS Not Equal 0
    We cannot attach a document, but the actual amount of rows should have been 2,856,
    the number of different style in these 3 stores.
    When we include the store object in the results, we can see the number of rows stays the same (proof that it did indeed return rows on a store level and not aggregated upt to the style code...
    *** Query Name:Query 1 ***
    ** Query Properties:
    Universe:Retail Sales and Stock
    Last Refresh Date:9/2/10 2:09 PM
    Last Execution Duration: 13
    Number of rows: 4,947
    Retrieve Duplicate Row: ON
    ** Query Definition:
    Result Objects: Style Code, Store Key, NSLS @ PCS
    Filters ( Only RMS Billing Documents Infoprovider
    AND Given Legacy Division Set
    AND Given Currency Conversion Type
    AND Store Key In List { 1001; 1002; 1003 }
    AND NSLS @ PCS Not Equal 0
    Is this behaviour fixed in any fix pack? Or did noone address this problem?
    The problem becomes a real problem when the user wants to select everything u/i a certain date.
    The number of rows are then pulled back on a style/store/day combination and easily reached 100.000 rows.
    Thanks for any insight you can give on this,
    Marianne

    Hi Rik,
    Thanks for at least trying
    I didn't try this before, so I just did, despite the fact that the aggregation level only has something to do with the way data aggregates within webi. (I'm that desperate)
    No difference, other then the fact that I now get #MULTIVALUE in the cells with multiple underlying rows.
    Anyone else?
    Marianne

  • Archivelog mode during upgrade

    HI All,
    During upgrading the database from 10g to 11g... I will put my database from noarchivelog mode to archivelog mode to save the disk space.
    Does this task improves or speedsup the process of upgradation or any impact.
    Suggestions please.
    regards,
    TEJAS

    when DB is archivelog mode and you put DB in startup upgrade mode.. and execute catupgrd.sql script it starts updating dictionary objects and generates archivelogs ..
    Hence i put the DB in noarchive log mode..
    Any performance impact by putting the upgrade process in noarchivelog mode in terms of time duration the backup is performed.No performance impact, But recommended to put in Archivelog mode, even though if you have good backup.
    Also apart from this thread, have a question, The catupgrd.sql script execution duration depends upon the data disctionary contents right not on the DB size ? i am having this question. plz answer.The upgrade script creates and alters certain data dictionary tables. It also upgrades or installs the following database components in the new Oracle Database 11g Release 2 (11.2) database:
    Source:-
    Answer is here in detail.. http://docs.oracle.com/cd/E11882_01/server.112/e10819/upgrade.htm#sthref184

  • Ppds Planned order quantity is taken back to DP for analysis

    Hi Guru,
                Can any one explaine in step by step how i can release my order quantity from PPDS to DP to do my further analysis?
    Please it will be really great if any one can guide me.
    Thanks & Regards,
    Kumar.

    Kumar,
    Can you explain a little more what you are asking?
    DP is demand planning.  Here you are managing and deciding what your demand will be (predicting what you will sell is one of the more common outputs of DP)
    PPDS is detailed supply planning.  Here you are creating your supply elements, determining exactly how you actually intend to procure or build the product.  In this plan, you have the opportunity to take into consideration capacity, execution duration, and the availability of lower level materials. In many (but not all)  cases, the PPDS plan is built after the Demand plan has been turned into a final production demand forecast, and released to production for execution, prior to actually receiving the actual sales orders.  In some cases, companies also may create an intermediate supply plan, which would usually be at a simpler level of detail (SNP).
    Now you say you wish to 'release my order quantity from PPDS to DP' for some kind of analysis.  I am not sure what this means.  Supply and demand are two different things. 
    Companies that wish to, say, compare the demand plan to the supply plan typically don't do it in DP.  Some will write custom reports, others build custom infocubes in a BW and perform their analyses there.  It is definitely possible to extract supply elements (or just about any other type of data) into some kind of data structure, and place these elements into a DP planning book, if there is a business requirement.  This would definitely be non-standard, and would have to be designed and built from scratch.
    If you are looking for a transaction that will 'releases the order quantity from PPDS to DP', I don't believe it exists.  If you wish to pull data from PPDS or SNP or ERP into DP in general, I would say you should talk to your local BW and DP experts to see what they can design for you.
    Rgds,
    DB49

  • Executing reports offline

    Hi,
    Is there anyway for us to generate an oracle report offline without using the report builder in PDF format?
    I tried to generate it as PDF using report builder but the report seems to be too large for that - that the report builder just closes itself after generating for a while without giving me any output.
    I tried to generate the report using UTL_HTTP.request_pieces (through a plsql) with the report URL passed in but there seems to be some problem of timeout.
    Please advice if there are any other ways.
    Thank you.
    Regards,
    Wongly

    Hello,
    If the problem is related to the timeout because the execution duration, you can use BACKGROUND=YES in the parameters in order to
    execute the Reports asynchronously
    Regards

  • PriorityProcessor's timeout ignored

    Dear all,
    I can't get the PriorityProcessor timeout working with Coherence 3.5.3/465 invoking on long EntryProcessor on a partionned/distributed cache. The timeout (both unlimited and MAX_LONG) seem to be ignored, after about 30 seconds, my entry processor is interrupted by an InterruptedException and Coherence emmits the following error message :
    2010-05-21 12:44:00.385/36.954 Oracle Coherence GE 3.5.3/465 <Error> (thread=Cluster, member=1):
       Attempting recovery (due to soft timeout) of Guard{Daemon=DistributedCache}Does anyone knows how to prevent timeouts on an entry processor ?
    Thanks,
    Cyrille
    Cyrille Le Clerc
    [email protected]
    Here is a test case to reproduce this InterruptedTimeout.
    import org.junit.Test;
    import com.tangosol.net.CacheFactory;
    import com.tangosol.util.InvocableMap.Entry;
    import com.tangosol.util.processor.AbstractProcessor;
    import com.tangosol.util.processor.PriorityProcessor;
    * @author Cyrille Le Clerc
    public class PriorityProcessorTest {
      public static class SleepProcessor extends AbstractProcessor {
        private final long sleepDurationInMillis;
        public SleepProcessor(long sleepDurationInMillis) {
          super();
          this.sleepDurationInMillis = sleepDurationInMillis;
        @Override
        public Object process(Entry entry) {
          try {
            Thread.sleep(sleepDurationInMillis);
          } catch (InterruptedException e) {
            throw new RuntimeException(e);
          return null;
      @Test
      public void testPriorityProcessorWithLongRunningEntryProcessor() {
        System.setProperty("tangosol.coherence.wka", "localhost");
        long threeMinutesInMillis = 3 * 60 * 1000;
        SleepProcessor sleepProcessor = new SleepProcessor(threeMinutesInMillis);
        PriorityProcessor priorityProcessor = new PriorityProcessor(sleepProcessor);
        priorityProcessor.setExecutionTimeoutMillis(2 * threeMinutesInMillis);
        priorityProcessor.setRequestTimeoutMillis(2 * threeMinutesInMillis);
        long timeBefore = System.currentTimeMillis();
        try {
          CacheFactory.getCache("dist-test").invoke("test", priorityProcessor);
        } finally {
          System.out.println("Execution duration: " + (System.currentTimeMillis() - timeBefore) +
            " ms, expected duration: " + threeMinutesInMillis + " ms");
    }The output is :
    2010-05-21 12:44:00.385/36.954 Oracle Coherence GE 3.5.3/465 <Error> (thread=Cluster, member=1):
       Attempting recovery (due to soft timeout) of Guard{Daemon=DistributedCache}
    Execution duration: 36563 ms, expected duration: 180000 ms
    (Wrapped: Failed request execution for DistributedCache service on Member(...))
       java.lang.RuntimeException: java.lang.InterruptedException: sleep interrupted
      at c.t.util.Base.ensureRuntimeException(Base.java:293)
      at c.t.c.c.util.daemon.queueProcessor.service.Grid.tagException(Grid.CDB:36)
      at c.t.c.c.util.daemon.queueProcessor.service.grid.DistributedCache.onInvokeRequest(DistributedCache.CDB:80)
      at c.t.c.c.util.daemon.queueProcessor.service.grid.DistributedCache$InvokeRequest.run(DistributedCache.CDB:1)
      at c.t.c.c.net.message.requestMessage.DistributedCacheKeyRequest.onReceived(DistributedCacheKeyRequest.CDB:12)
      at c.t.c.c.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:9)
      at c.t.c.c.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:136)
      at c.t.c.c.util.daemon.queueProcessor.service.grid.DistributedCache.onNotify(DistributedCache.CDB:3)
      at c.t.c.c.util.Daemon.run(Daemon.CDB:42)
      at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.RuntimeException: java.lang.InterruptedException: sleep interrupted
      at PriorityProcessorTest$SleepProcessor.process(PriorityProcessorTest.java:28)
      at c.t.util.processor.PriorityProcessor.process(PriorityProcessor.java:77)
      at c.t.c.c.util.daemon.queueProcessor.service.grid.DistributedCache$Storage.invoke(DistributedCache.CDB:20)
      at c.t.c.c.util.daemon.queueProcessor.service.grid.DistributedCache.onInvokeRequest(DistributedCache.CDB:50)
      ... 7 more
    Caused by: java.lang.InterruptedException: sleep interrupted
      at java.lang.Thread.sleep(Native Method)
      at PriorityProcessorTest$SleepProcessor.process(PriorityProcessorTest.java:26)
      ... 10 more

    Thanks Mark,
    You solved my problem. I din't declare a thread pool on my Cache configuration and the timeout was ignored. This makes sense as my request was running on the service thread.
    If fixed this adding a "<thread-count>" element to my distributed "<distributed-scheme>". It looks like :
    [xml]<distributed-scheme>
    <scheme-name>example-distributed</scheme-name>
    <service-name>DistributedCache</service-name>
    <!-- THREAD-COUNT IS REQUIRED TO BENEFIT OF PRIORITY_PROCESSOR.TIMEOUT -->
    <thread-count>50</thread-count>
    <backing-map-scheme>
    <local-scheme>
    <scheme-ref>example-binary-backing-map</scheme-ref>
    </local-scheme>
    </backing-map-scheme>
    <autostart>true</autostart>
    </distributed-scheme>[xml]
    Thanks for your help,
    Cyrille

  • Optimizer Doubts

    Hi experts,
    We are working with Characteristic depending planning (CDP) together with setup matrixes based on characteristics.
    First, we run an heuristic process that organizes the operation sequence .This is followed by the optimizer execution. The optimizer run lasts 5 minutes. However, the results obtained are not adjusted to the ones suggested by the matrix.
    Unfortunately after the optimizer run, a manual adjustment must be done followed by a next run. This activity must be iterated until the desired result is reached.
    I need some advise cause I need to clarify some doubts.
    -Are the optimization results linked to the execution duration?
    - Is it usual to make manual adjustments?
    Regards,
    Analía Nahmías

    the optimizer results are of course linked to the calculation duration. the longer the better the results. you can enter a maximum run time in the optimizer profile.
    general recommendation: 500 activities = 1 minute
    if you increase this the optimzer will create more iterations and will get closer to the objective functions minimum.
    it is unusual to adjust optiimizer results manually because any manual interaction destroys the optimizer result. it is like scales which have been delicately balanced with a lot of small weights on both sides. if you manually move one small weight to the other side the scale is out of balance.
    If you work with set up matrices I recommend to check the set up costs and times of the transitions again. this is what the optimizer uses to schedule the activities.
    for the optimizer, setup times and costs from the setup matrix are interpreted as follows:
    in objective function:
         setup costs = 10 is comparable to a setup time of 10 seconds
         setup costs = 1000 is comparable to a setup time of 16 minutes
    Use grouping functionality in the setup maintenance to group setup keys: Define setup groups and setup keys.
    Do not just put everything in one big setup matrix using only individual setup keys.

  • ToolTips in JTree

    Hi, i am trying to use tooltips in a JTree,
    I ve tryied some ways but not having fun.
    My code is as folow...
    String Graphs = "Graphs";
    DefaultMutableTreeNode root =
    new DefaultMutableTreeNode(Graphs);
    createNodes(root);
    //Create a tree that allows one selection at a time.
    jTree1 = new JTree(root);
    jTree1.getSelectionModel().setSelectionMode
    (TreeSelectionModel.SINGLE_TREE_SELECTION);
         jTree1.addTreeSelectionListener(this);
    jTabbedPane1.addTab(Graphs, jTree1);
    private void createNodes(DefaultMutableTreeNode root) {
    DefaultMutableTreeNode grandFather = null;
    DefaultMutableTreeNode father = null;
    DefaultMutableTreeNode son = null;
    grandFather = new DefaultMutableTreeNode("Execution Duration");
    root.add(grandFather);
    father = new DefaultMutableTreeNode("Jobs");
    grandFather.add(father);
    father = new DefaultMutableTreeNode("Tasks");
    grandFather.add(father);
    son = new DefaultMutableTreeNode("Job");
    father.add(son);
    son = new DefaultMutableTreeNode("Machine");
    father.add(son);
    father = new DefaultMutableTreeNode("Machines");
    grandFather.add(father);
    How is the easiest way to use tool tips here ?
    thanks a lot.
    Glauco

    Don't forget to register your JTree to the TooltipManager.
    You can either :
    - override getTooltipText(MouseEvent e) and use the Point to determine the text.
    - use setTooltip in your TreeCellRenderer (that is, on the component returned by getTreeCellRendererComponent)

  • When I use SSIS for extract from OLAP Database, then the error random occurred,Error Code = 0x80040E05

     I have tired for this!
    When I use SSIS for extract data from ssas, that means,I use mdx query.
    then random error occured.
    Hope some one can understand my poor English....
    And the Error Info show below.
    Code Snippet
    Error: 0xC0202009 at Data Flow Task - For Individual User Tech Points, OLE DB Source 1 1 [31]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E05.
    An OLE DB record is available.  Source: "Microsoft OLE DB Provider for Analysis Services 2005"  Hresult: 0x00000001  Description: "Error Code = 0x80040E05, External Code = 0x00000000:.".
    Error: 0xC004701A at Data Flow Task - For Individual User Tech Points, DTS.Pipeline: component "OLE DB Source 1 1" (31) failed the pre-execute phase and returned error code 0xC0202009.

    I have had the same error on SQL2008 and now on SQL2012 SSIS, but have been able to eliminate / workaround.
    We have a Loop Container in our Control flow that contains a data-flow task with an MDX source. The MDX query for the data-flow source is dynamically built (via an expression) on each iteration of the Loop container (however it always returns the "same shaped"
    results - only the filters in the WHERE clause are different).
    We've found the error to be somewhat intermittent - sometimes the package will complete successfully, other times it will fail with the 0x80040E05 error at varying iterations thru the container loop.
    To alleviate the problem we setup the SQL Agent job-step for this package to re-try on failure for up to 5 retries - not an ideal workaround, but it helped to improve the success rate of the Job.
    We have no idea why this error is occurring or what is causing it, however it appears to be timing-related in some way and I have only seen the issue when using a SSAS OLE-DB data source with a dynamically generated MDX query. I have managed to virtually
    eliminate the error from occurring with a not ideal workaround in the SSIS package - no idea why this works/helps (hopefully Microsoft will be able to work it out and resolve the issue as it's been plaguing us since SQL2008 and is still here in SQL2012
    SP1...
    Workaround for MDX causing 0x80040E05 error:
    Within our loop container we have added a Script task with OnSuccess precedent constraint to the data-flow task that contains the dynamically generated MDX source query. The script task simply introduces a WAIT in the processing immediately after the
    data-flow task completes of about 5 seconds, before allowing SSIS to continue with the next iteration (e.g. System.Threading.Thread.Sleep(5000)).
    With this delay in place we have had much more stable SSIS package executions - dont know why, but that's what we havce observed. Also note that when we migrated to SQL2012 SSIS packages the 0x80040E05 error returned, however we were able to eliminate it
    once more by increasing the WAIT time to 10 seconds on this script task.
    Now waiting for 10 seconds is not an ideal solution / workaround to this problem - particularly when it is contained within a Loop Container (in our case it has added nearly 30 minutes of "WAIT time" to the package execution duration), however this workaround
    is better than having the package fail 80%+ of the time...
    regards,
    Piquet

Maybe you are looking for