Dear All
I have got an error message.
ExecuteProcess("E:\Program Files (x86)\VisualCron\\PowerShell\TaskPowerShell.exe" 530033)->System.NotSupportedException: La méthode spécifiée n'est pas prise en charge. à System.Management.Automation.Internal.PSDataCollectionPipelineReader`2.ReadToEnd()
à TaskPowerShell.PowerShellTaskClass.Run(ProcessPowerShellTaskInfoClass ti, StringBuilder& sbStandardOut, StringBuilder& sbStandardError, Boolean& bolResult) ExecuteProcess("E:\Program Files (x86)\VisualCron\\PowerShell\TaskPowerShell.exe" 530033)->Unhandled execution error: System.NotSupportedException: La méthode spécifiée n'est pas prise en charge. à TaskPowerShell.PowerShellTaskClass.Run(ProcessPowerShellTaskInfoClass ti, StringBuilder& sbStandardOut, StringBuilder& sbStandardError, Boolean& bolResult) à uItrrm9KtCA0Khlu9M.zsa7jJi7yQYiglHwN3.rE2lacFjI(String[] )
Here you can see the content of the powershell script:
The VCRON task executes remotely the following Powershell script :
# Execution path
$scriptpath = $MyInvocation.MyCommand.Path
$dir = Split-Path $scriptpath
Set-Location $dir
# java variables
$classpath="../lib/systemRoutines.jar;../lib/userRoutines.jar;.;main_1_1.jar;posttreatment_1_1.jar;geskofiles_1_1.jar;mazediafiles_1_1.jar;datasummury_1_1.jar;../lib/activation.jar;../lib/bcprov-jdk15on-1.54.jar;../lib/boScheduling.jar;../lib/commons-codec-1.9.jar;../lib/commons-lang-2.4.jar;../lib/commons-logging-1.2.jar;../lib/dom4j-1.6.1.jar;../lib/edtftpj.jar;../lib/filecopy.jar;../lib/fluent-hc-4.5.1.jar;../lib/httpclient-4.5.1.jar;../lib/httpclient-cache-4.5.1.jar;../lib/httpclient-win-4.5.1.jar;../lib/httpcore-4.4.3.jar;../lib/httpmime-4.5.1.jar;../lib/jakarta-oro-2.0.8.jar;../lib/jasypt-1.9.2.jar;../lib/jna-4.1.0.jar;../lib/jna-platform-4.1.0.jar;../lib/jtds-1.2.5.jar;../lib/jxl.jar;../lib/log4j-1.2.15.jar;../lib/mail-1.4.jar;../lib/ojdbc7.jar;../lib/openkeepass-0.5.0.jar;../lib/snmp4j-2.3.3.jar;../lib/talend-oracle-timestamptz.jar;../lib/talend_DB_mssqlUtil.jar;../lib/talend_file_enhanced_20070724.jar;../lib/thashfile.jar;../lib/tns.jar;"
$ctx="PROD"
# Program execution
java -Xms256M -Xmx1024M -cp "$classpath" etl004_geskocamensuels_e.main_1_1.main --context=$ctx #$args 2>&1 | Out-Null
# Return code
$LASTEXITCODE
Do you know the reason why?
Best Regards,
Edited by user
2016-06-14T10:04:35Z
|
Reason: Not specified