Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Ola Pessoal,
Estou com um problema de carga em uma aplicação que acredito que o erro está ligado a licença de desenvolvedor.
A carga de uma aplicação especifica sempre da erro, ao analisar o log da carga é informado que o erro ocorreu ao tentar executar o arquivo .qvw, porem somente essa aplicação isso acontece existem varias outras que isso não acontece.
Tentei abrir a aplicação no servidor utilizando uma conta de desenvolvedor e consegui efetuar a carga manualmente, e depois mantive ativa a licença de desenvolvedor nessa maquina, pois bem a carga automática passou a funcionar, mas precisei fazer uma atualização na aplicação, baixei ela na minha maquina na qual tenho também uma outra licença de desenvolvedor fiz a atualização e subi a aplicação para o servidor novamente e novamente o erro da carga ocorreu.
Parece que toda vez que abro essa aplicação em outra maquina esse problema vai ocorrer, mas isso acontece só com essa aplicação.
Alguém já passou por isso ou tem uma dica do que está acontecendo?
Agradeço...
Bom dia Vitor
Por gentileza, poste o arquivo de log para podermos analisar.
Márcio
Vitor, coloca aqui também uma cópia do LOG porque as vezes o erro não é só isso.
Vitor, a carga de uma aplicação no ambiente do QVServer não é realizada através de um QlikView Client autenticado e sim através do próprio QvServer.
Você esta fazendo a recarga de qual forma? Através de um agendamento no Windows Scheduler (agendador do windows)?
Ola Yuri,
Não estou agendando a carga da aplicação direto pelo QvServer mesmo.
Más se o QvServer não precisa de uma licença para efetuar a carga de uma aplicação porque será que esse erro está acontecendo?
Segue o log da carga quando ocorre o erro:
Obs: é citado uma aplicação chamada Recursos Humanos, mas essa aplicação sofre a carga somente com o sucesso da carga da aplicação ETL - Recursos Humanos:
(2015-11-11 10:01:11) Information: Starting task 'Semf/1.Prod/3.Aplicativos/Recursos Humanos.qvw'. Id:d5cf4f28-9ca3-43c3-a485-5ef2c4f58cf2. Triggered by 'ManualStartTrigger'. Id:00000001-0002-0003-0405-0607080a0b0c
(2015-11-11 10:01:11) Information: Entering Task Execution.
(2015-11-11 10:01:11) Information: ClusterID=1
(2015-11-11 10:01:11) Information: QDSID=d6c9c1ee-7c53-6290-1ff3-31685540bcd9
(2015-11-11 10:01:11) Information: TaskID=d5cf4f28-9ca3-43c3-a485-5ef2c4f58cf2
(2015-11-11 10:01:11) Information: MaxRunTime=06:00:00
(2015-11-11 10:01:11) Information: MachineName=PRDSRVQLKVM01
(2015-11-11 10:01:11) Information: Max attempts:1
(2015-11-11 10:01:11) Information: Current Attempt=0
(2015-11-11 10:01:11) Information: Task Dependencies are OK
(2015-11-11 10:01:16) Information: Document is marked to be Reloaded with fresh data. Initializing Reload for Distribution.
(2015-11-11 10:01:16) Information: Opening "C:\QLIKVIEW\SEMF\PAINEIS\1.Prod\3.Aplicativos\Recursos Humanos.qvw"
(2015-11-11 10:01:16) Information: Allocating new QlikView Engine. Current usage count=0 of 2 (of type non-reader).
(2015-11-11 10:01:16) Information: Max retries:5
(2015-11-11 10:01:16) Information: Attempt:01
(2015-11-11 10:01:16) Information: Allocated QlikView Engine successfully. Current usage count=1 of 2 (of type non-reader). Ticket number=1.
(2015-11-11 10:01:16) Information: Loading document "C:\QLIKVIEW\SEMF\PAINEIS\1.Prod\3.Aplicativos\Recursos Humanos.qvw" (3.86 Mb)
(2015-11-11 10:01:17) Information: Loading. LoadTime=00:00:01.0030000
(2015-11-11 10:01:19) Information: Loading. LoadTime=00:00:03.0080000
(2015-11-11 10:01:21) Information: Physical FileSize=3.86 Mb. Memory Allocation Delta for this file=21.47 Mb. Available Physical Memory Before Open=4662.20 Mb. Available Physical Memory After Open=4620.16 Mb. Total Physical Memory=8190.59 Mb.
(2015-11-11 10:01:21) Information: Attempted to load the document without data.
(2015-11-11 10:01:21) Information: The document was loaded successfully.
(2015-11-11 10:01:21) Information: Document was opened successfully
(2015-11-11 10:01:21) Information: Starting reload
(2015-11-11 10:01:21) Information: QlikView->Settings->Document Peferences->Generate Logfile in document is not set.
(2015-11-11 10:01:21) Information: The Source Document is being reloaded. DocumentPath=C:\QLIKVIEW\SEMF\PAINEIS\1.Prod\3.Aplicativos\Recursos Humanos.qvw
(2015-11-11 10:01:22) Information: Reloading.
(2015-11-11 10:01:23) Information: Reloading..
(2015-11-11 10:01:24) Information: Reloading...
(2015-11-11 10:01:25) Information: Reloading....
(2015-11-11 10:01:26) Information: Reloading.....
(2015-11-11 10:01:27) Information: Reloading......
(2015-11-11 10:01:28) Information: Reloading.......
(2015-11-11 10:01:29) Information: Reloading........
(2015-11-11 10:01:30) Information: Reloading.........
(2015-11-11 10:01:31) Information: Reloading..........
(2015-11-11 10:01:32) Information: Slow down logging. Log every <2> seconds.
(2015-11-11 10:01:32) Information: Reloading
(2015-11-11 10:01:34) Information: Reloading.
(2015-11-11 10:01:36) Information: Reloading(2015-11-11 10:05:56) Information: Reloading..
(2015-11-11 10:07:40) Information: Reloading...
(2015-11-11 10:08:47) Information: Reloading....
(2015-11-11 10:09:49) Information: Reloading.....
(2015-11-11 10:10:51) Information: Reloading......
(2015-11-11 10:11:53) Information: Reloading.......
(2015-11-11 10:13:13) Information: Reloading........
(2015-11-11 10:14:25) Information: Reloading.........
(2015-11-11 10:14:31) Information: The Source Document reload complete. DocumentPath=C:\QLIKVIEW\SEMF\PAINEIS\1.Prod\3.Aplicativos\Recursos Humanos.qvw
(2015-11-11 10:14:31) Information: Memory Allocation Delta for this file=4512.78 Mb. Available Physical Memory Before Reload=4620.14 Mb. Available Physical Memory After Reload=1621.51 Mb. Total Physical Memory=1621.51 Mb.
(2015-11-11 10:14:37) Error: The Source Document was NOT reloaded successfully. DocumentPath=C:\QLIKVIEW\SEMF\PAINEIS\1.Prod\3.Aplicativos\Recursos Humanos.qvw.
(2015-11-11 10:14:42) Information: Closing the document.
(2015-11-11 10:14:46) Information: Closed the QlikView Engine successfully. ProcessID=3004
(2015-11-11 10:14:49) Error: The task "Semf/1.Prod/3.Aplicativos/Recursos Humanos.qvw" failed. Exception:
(2015-11-11 10:14:49) Error: QDSMain.Exceptions.DistributionFailedException: Distribute failed with errors to follow. ---> QDSMain.Exceptions.ReloadFailedException: Reload failed ---> QDSMain.Exceptions.LogBucketErrorException: The Source Document was NOT reloaded successfully. DocumentPath=C:\QLIKVIEW\SEMF\PAINEIS\1.Prod\3.Aplicativos\Recursos Humanos.qvw.
(2015-11-11 10:14:49) Error: em QDSMain.ReloadTask.VerifyConditions(TaskResult taskResult)
(2015-11-11 10:14:49) Error: em QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)
(2015-11-11 10:14:49) Error: --- Fim do rastreamento de pilha de exceções internas ---
(2015-11-11 10:14:49) Error: em QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)
(2015-11-11 10:14:49) Error: em QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)
(2015-11-11 10:14:49) Error: --- Fim do rastreamento de pilha de exceções internas ---
(2015-11-11 10:14:49) Error: em QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)
(2015-11-11 10:14:49) Error: em QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)
(2015-11-11 10:14:49) Information: Task Execute Duration=00:13:38.1890000
(2015-11-11 10:14:49) Information: TaskResult.status=Finished
(2015-11-11 10:14:49) Information: Notifying all triggers of new state:FinishedWithErrors
(2015-11-11 10:14:50) Information: Notifying all triggers of new state:FinishedWithErrors - completed
(2015-11-11 10:14:50) Information: Saving Task Result
Vitor
Você pode nos enviar o log gerado pela aplicação?
O QvServer precisa de uma licença de server para funcionar (SBE ou EE). O QlikView Cliente precisa de uma licença de acesso Named Call para conseguir abrir as aplicações (.qvw).
Esse log que você postou não diz muita coisa, é necessário que você envie o LOG de recarga da aplicação para entemdermos melhor o que ocorre.
Segue:
Aponta erro de script não encontrando o campo, mas esse erro não ocorre na situação que ja expliquei
18/11/2015 18:30:06: Execution started.
18/11/2015 18:30:06: QlikView Version:11.0.11440.0
18/11/2015 18:30:06: CPU Target x64
18/11/2015 18:30:06: Operating System Windows Server (R) 2008 Standard Service Pack 2 (64 bit edition)
18/11/2015 18:30:06: Wow64 mode Not using Wow64
18/11/2015 18:30:06: MDAC Version 6.0.6002.18005
18/11/2015 18:30:06: MDAC Full Install Version 6.0.6002.18005
18/11/2015 18:30:06: PreferredCompression 2
18/11/2015 18:30:06: EnableParallelReload 1
18/11/2015 18:30:06: ParallelizeQvdLoads 1
18/11/2015 18:30:06: AutoSaveAfterReload 0
18/11/2015 18:30:06: BackupBeforeReload 0
18/11/2015 18:30:06: EnableFlushLog 0
18/11/2015 18:30:06: SaveInfoWhenSavingFile 0
18/11/2015 18:30:06: UserLogfileCharset 0
18/11/2015 18:30:06: OdbcLoginTimeout -1
18/11/2015 18:30:06: OdbcConnectionTimeout -1
18/11/2015 18:30:06: ScriptWantsDbWrite false
18/11/2015 18:30:06: ScriptWantsExe false
18/11/2015 18:30:06: LogFile CodePage Used: 1252
18/11/2015 18:30:06: 0002 SET ThousandSep='.'
18/11/2015 18:30:06: 0003 SET DecimalSep=','
18/11/2015 18:30:06: 0004 SET MoneyThousandSep='.'
18/11/2015 18:30:06: 0005 SET MoneyDecimalSep=','
18/11/2015 18:30:06: 0006 SET MoneyFormat='R$ #.##0,00;-R$ #.##0,00'
18/11/2015 18:30:06: 0007 SET TimeFormat='hh:mm:ss'
18/11/2015 18:30:06: 0008 SET DateFormat='DD/MM/YYYY'
18/11/2015 18:30:06: 0009 SET TimestampFormat='DD/MM/YYYY hh:mm:ss[.fff]'
18/11/2015 18:30:06: 0010 SET MonthNames='jan;fev;mar;abr;mai;jun;jul;ago;set;out;nov;dez'
18/11/2015 18:30:06: 0011 SET DayNames='seg;ter;qua;qui;sex;sáb;dom'
............
18/11/2015 18:30:16: 0239 INNER JOIN (DMEGRH_LocOrgTrab)
18/11/2015 18:30:16: 0240 LOAD [Cod Entidade - Gurhu] AS Entidade_ID,
18/11/2015 18:30:16: 0241 [Cód. Órgão - Gurhu] AS LocOrgTrab_CD,
18/11/2015 18:30:16: 0242 [Cód. Empresa - E-governe] AS Empresa_ID,
18/11/2015 18:30:16: 0243 [Cód. Órgão - E-governe] AS Orgao_CD,
18/11/2015 18:30:16: 0244 [Ano] AS Ano_CD,
18/11/2015 18:30:16: 0245 [Desc Orgão] AS SiglaOrgaoF
18/11/2015 18:30:16: 0246 FROM
18/11/2015 18:30:16: 0247
18/11/2015 18:30:16: Error: Field not found - <Desc Orgão>
18/11/2015 18:30:16: General Script Error
18/11/2015 18:30:16: Execution Failed
18/11/2015 18:30:16: Execution finished.
ele ta dando erro quando tenta le o campo [Desc Orgão] .. já tentou carregar com esse campo comentado pra ver se o erro persiste?
Vitor, o erro informado é que não existe a coluna Desc Orgão.
Veja se realmente existe essa coluna no arquivo
Não existe nenhuma relação com licenciamento de seu Qv com o erro informado