Perguntas Workflow
- jmfrolim
- Autor do Tópico
- Desconectado
- Membro Sénior
Menos
Mais
- Postagens: 52
- Obrigados Recebidos: 1
8 anos 1 mês atrás - 8 anos 1 mês atrás #31262
por jmfrolim
Pessoal alguém pode me dizer onde estou errando a configuração do workflow:
Segue a config do ini APPSERVER
[pn]
SOURCEPATH=G:\Protheus11\apo\workflow\apo1
;SOURCEPATH=G:\Protheus11\apo\PNF\20150814
ROOTPATH=G:\Protheus11\protheus_data
STARTPATH=\system\
RPODB=Top
RPOLANGUAGE=portuguese
RPOVERSION=110
LOCALFILES=ads
TRACE=0
LOCALDBEXTENSION=.dbf
PICTFORMAT=DEFAULT
DATEFORMAT=DEFAULT
REGIONALLANGUAGE=BRA
TOPDATABASE=MSSQL
TOPSERVER=192.168.110.24
TOPALIAS=PRODUCAO
PROTHEUSONLY=0
HELPSERVER=help.outsourcing.com.br/p11
INACTIVETIMEOUT=600
[ONSTART]
jobs=SchedulerWF
[SchedulerWF]
Main=WFONSTART
Environment=pn
nParms= 4
parm1= 02
parm2= 02
parm3= pn
parm4= T
;[http]
;enable=1
;path=G:\Protheus11\apo\producao\apo_wsdl
;port=8085
;Environment=WEBSERVICE
;INSTANCENAME=WS
;RESPONSEJOB=JOB_WS_0202
;DEFAULTPAGE=wsindex.apw
;[ONSTART]
;RefreshRate=120
;jobs=JOB_WS_0202
;[JOB_WS_0202]
;TYPE=WEBEX
;ENVIRONMENT=WEBSERVICE
;INSTANCES=2,20
;SIGAWEB=WS
;INSTANCENAME=WS
;ONSTART=__WSSTART
;ONCONNECT=__WSCONNECT
;PREPAREIN=02,02
[Drivers]
ACTIVE=TCP
[TCP]
TYPE=TCPIP
PORT=1235
[MAIL]
PROTOCOL=POP3
EXTENDSMTP=1
AUTHLOGIN=1
AUTHNTLM=1
AUTHPLAIN=1
[LICENSECLIENT]
SERVER=localhost
PORT=5555
[TDS] AllowApplyPatch=*
[TDS]
ALLOWEDIT=*
[SERVICE]
NAME=.Protheus11ProducaoWEB
Quando eu executo fica apresentando esse erro:
[INFO ][SERVER] [Thread 8884] Application Server started on port 1235
[21/10/2016 15:46:44] Server started.
Starting Job [SchedulerWF]
*** Loading dbapi.dll
Loading Ctree Local [ctreestd.dll]
*** Loading ace32.dll - Version: 8.00 (8.0.0.0)
*** Loading dbapi.dll
[21/10|15:46][WFPREPENV] Inicializaτπo de ambiente
[21/10|15:46][WFPREPENV] Empresa: 02
[21/10|15:46][WFPREPENV] Filial: 02
[21/10|15:46][WFPREPENV] Funτπo: WFScheduler
*******************************************************************************
* TOTVS S/A * Scheduler Protheus * wf0202576680.ctl * 15:46 *
*******************************************************************************
[21/10|15:46][WFPREPENV] Inicializaτπo de ambiente
[21/10|15:46][WFPREPENV] Empresa: 02
[21/10|15:46][WFPREPENV] Filial: 02
[21/10|15:46][WFPREPENV] Funτπo: WFAReact
[21/10|15:47]Executando tarefa='WFRET' Acao='wfreturn' Ambiente='ENVIRONMENT'
Session [ENVIRONMENT] not found in appserver.ini. Verify the "Environment in the
Server"
[FATAL][SERVER] [Thread 7992] [THROW] Session [ENVIRONMENT] not found in appserv
er.ini. Verify the "Environment in the Server" at file .\config.cpp line 78
[21/10|15:47]Executando tarefa='WFREC' Acao='wfreturn' Ambiente='ENVIRONMENT'
Session [ENVIRONMENT] not found in appserver.ini. Verify the "Environment in the
Server"
Segue os arquivos em anexo!
Segue a config do ini APPSERVER
[pn]
SOURCEPATH=G:\Protheus11\apo\workflow\apo1
;SOURCEPATH=G:\Protheus11\apo\PNF\20150814
ROOTPATH=G:\Protheus11\protheus_data
STARTPATH=\system\
RPODB=Top
RPOLANGUAGE=portuguese
RPOVERSION=110
LOCALFILES=ads
TRACE=0
LOCALDBEXTENSION=.dbf
PICTFORMAT=DEFAULT
DATEFORMAT=DEFAULT
REGIONALLANGUAGE=BRA
TOPDATABASE=MSSQL
TOPSERVER=192.168.110.24
TOPALIAS=PRODUCAO
PROTHEUSONLY=0
HELPSERVER=help.outsourcing.com.br/p11
INACTIVETIMEOUT=600
[ONSTART]
jobs=SchedulerWF
[SchedulerWF]
Main=WFONSTART
Environment=pn
nParms= 4
parm1= 02
parm2= 02
parm3= pn
parm4= T
;[http]
;enable=1
;path=G:\Protheus11\apo\producao\apo_wsdl
;port=8085
;Environment=WEBSERVICE
;INSTANCENAME=WS
;RESPONSEJOB=JOB_WS_0202
;DEFAULTPAGE=wsindex.apw
;[ONSTART]
;RefreshRate=120
;jobs=JOB_WS_0202
;[JOB_WS_0202]
;TYPE=WEBEX
;ENVIRONMENT=WEBSERVICE
;INSTANCES=2,20
;SIGAWEB=WS
;INSTANCENAME=WS
;ONSTART=__WSSTART
;ONCONNECT=__WSCONNECT
;PREPAREIN=02,02
[Drivers]
ACTIVE=TCP
[TCP]
TYPE=TCPIP
PORT=1235
[MAIL]
PROTOCOL=POP3
EXTENDSMTP=1
AUTHLOGIN=1
AUTHNTLM=1
AUTHPLAIN=1
[LICENSECLIENT]
SERVER=localhost
PORT=5555
[TDS] AllowApplyPatch=*
[TDS]
ALLOWEDIT=*
[SERVICE]
NAME=.Protheus11ProducaoWEB
Quando eu executo fica apresentando esse erro:
[INFO ][SERVER] [Thread 8884] Application Server started on port 1235
[21/10/2016 15:46:44] Server started.
Starting Job [SchedulerWF]
*** Loading dbapi.dll
Loading Ctree Local [ctreestd.dll]
*** Loading ace32.dll - Version: 8.00 (8.0.0.0)
*** Loading dbapi.dll
[21/10|15:46][WFPREPENV] Inicializaτπo de ambiente
[21/10|15:46][WFPREPENV] Empresa: 02
[21/10|15:46][WFPREPENV] Filial: 02
[21/10|15:46][WFPREPENV] Funτπo: WFScheduler
*******************************************************************************
* TOTVS S/A * Scheduler Protheus * wf0202576680.ctl * 15:46 *
*******************************************************************************
[21/10|15:46][WFPREPENV] Inicializaτπo de ambiente
[21/10|15:46][WFPREPENV] Empresa: 02
[21/10|15:46][WFPREPENV] Filial: 02
[21/10|15:46][WFPREPENV] Funτπo: WFAReact
[21/10|15:47]Executando tarefa='WFRET' Acao='wfreturn' Ambiente='ENVIRONMENT'
Session [ENVIRONMENT] not found in appserver.ini. Verify the "Environment in the
Server"
[FATAL][SERVER] [Thread 7992] [THROW] Session [ENVIRONMENT] not found in appserv
er.ini. Verify the "Environment in the Server" at file .\config.cpp line 78
[21/10|15:47]Executando tarefa='WFREC' Acao='wfreturn' Ambiente='ENVIRONMENT'
Session [ENVIRONMENT] not found in appserver.ini. Verify the "Environment in the
Server"
Segue os arquivos em anexo!
Ultima edição: 8 anos 1 mês atrás por jmfrolim.
Por favor Acessar ou Registrar para participar da conversa.
- ValdemirAruja
- Desconectado
- Membro Iniciado
Menos
Mais
- Postagens: 4
- Obrigados Recebidos: 0
6 anos 9 meses atrás #32472
por ValdemirAruja
Respondido por ValdemirAruja no tópico Workflow
Boa tarde João
Em toda configuração voce colocou o environment=WEBSERVICE já no scheduleWF colocou como pn...
[SchedulerWF]
Main=WFONSTART
Environment=pn
nParms= 4
parm1= 02
parm2= 02
parm3= pn
parm4= T
Em toda configuração voce colocou o environment=WEBSERVICE já no scheduleWF colocou como pn...
[SchedulerWF]
Main=WFONSTART
Environment=pn
nParms= 4
parm1= 02
parm2= 02
parm3= pn
parm4= T
Por favor Acessar ou Registrar para participar da conversa.
Tempo para a criação da página:0.089 segundos