Bom dia, tinha 2 ambientes com rest funcionando normal e ao atualizar os mesmos para 2210 e outro 33 (build 7.00.191205P - Oct 14 2022 - 22:54:33)
os REST pararam de subir, mudou alguma configuração?
não tenho a mensagem do REST e só o log fica assim:
Starting Job [HTTPJOB]
[INFO ][SERVER] [MPPORT] Starting Multi Protocol Port in: port 10778
[INFO ][SERVER] [MPPORT] Starting Multi Protocol using default SSL: (totvs_certificate.crt | totvs_certificate_key.pem | -)
[INFO ][SERVER] [MPPORT] Default Rest environment not configured. To enable: [general]app_environment=environment
[INFO ][SERVER] [MPPORT] *** Starting Multi Protocol Port Server ***
[INFO ][SERVER] [Thread 17712] JOB Thread finished [HTTPJOB-HTTP_START]
[INFO ][SERVER] [MPPORT] [Thread 14956] Application Server started on internal port
----------- Services Start Time ----------
JOB MANAGER 0.001 s
TCP 0.702 s
LOCK SERVER 0.001 s
HTTPSERVER - VADER 0.001 s
--- Application Server Start Time: 0.705 s
[29/11/2022 10:48:21] TOTVSVm Server started.
[INFO ][SERVER] [Thread 20376] JOB Thread finished [HTTPJOB-HTTP_START]
[INFO ][SERVER] [Thread 8672] JOB Thread finished [HTTPJOB-HTTP_START]
[INFO ][SERVER] [Thread 10476] JOB Thread finished [HTTPJOB-HTTP_START]
[INFO ][SERVER] [Thread 17396] JOB Thread finished [HTTPJOB-HTTP_START]
[INFO ][SERVER] [Thread 15920] JOB Thread finished [HTTPJOB-HTTP_START]
[INFO ][SERVER] [Thread 7204] JOB Thread finished [HTTPJOB-HTTP_START]
[INFO ][SERVER] [Thread 17168] JOB Thread finished [HTTPJOB-HTTP_START]
[INFO ][SERVER] [Thread 6940] JOB Thread finished [HTTPJOB-HTTP_START]
[INFO ][SERVER] [Thread 6244] JOB Thread finished [HTTPJOB-HTTP_START]
[INFO ][SERVER] [Thread 10336] JOB Thread finished [HTTPJOB-HTTP_START]
[INFO ][SERVER] [Thread 12132] JOB Thread finished [HTTPJOB-HTTP_START]
[INFO ][SERVER] [Thread 11572] JOB Thread finished [HTTPJOB-HTTP_START]
[INFO ][SERVER] [Thread 11856] JOB Thread finished [HTTPJOB-HTTP_START]
[INFO ][SERVER] [Thread 15900] JOB Thread finished [HTTPJOB-HTTP_START]
[INFO ][SERVER] [Thread 17504] JOB Thread finished [HTTPJOB-HTTP_START]
appserver.ini
[R33REST]
SOURCEPATH=C:\Totvs\p12_r33_so\dev\protheus\apo\rest2
ROOTPATH=C:\Totvs\p12_r33_so\dev\protheus_data
RPOCUSTOM=C:\Totvs\p12_r33_so\dev\protheus\apo\rest\RDMAKES.RPO
STARTPATH=\SYSTEM\
X2_PATH=
RPODB=SQL
RPOLANGUAGE=PORTUGUESE
RPOVERSION=120
TRACE=0
LOCALDBEXTENSION=.DTC
PICTFORMAT=DEFAULT
DATEFORMAT=DEFAULT
REGIONALLANGUAGE=BRA
SPECIALKEY=SRVW01R33SODEV
TOPMEMOMEGA=10
TraceStack=0
StartSysInDB=1
CanLogAdvplFunctions=1
[HTTPV11]
Enable=1
Sockets=HTTPREST
[HTTPREST]
Port=10780
IPsBind=
URIs=HTTPURI
Security=1
[HTTPURI]
URL=/rest
PrepareIn=01,01JD0101
Instances=1,10
CORSEnable=1
AllowOrigin=*
[HTTPJOB]
MAIN=HTTP_START
ENVIRONMENT=R33REST
[ONSTART]
jobs=HTTPJOB
RefreshRate=30
[DRIVERS]
ACTIVE=TCP
[TCP]
TYPE=TCPIP
PORT=10778
[DBACCESS]
DATABASE=MSSQL
SERVER=localhost
ALIAS=R33_SO_DEV
PORT=7897
[SERVICE]
NAME=Totvs_Protheus12R33SO_Dev_Rest2
DISPLAYNAME=Protheus 12 - SO - R33 - DEV - Rest2
[GENERAL]
buildkillusers=1
CANACCEPTFSREMOTE=1
CHECKSPECIALKEY=0
CTREEMODE=LOCAL
maxStringSize=50
CONSOLELOG=1
AsyncConsoleLog=1
[LICENSECLIENT]
SERVER=LOCALHOST
PORT=5558
Vinicius, como está a sua configuração do REST. Pelo log, ele parece estar subindo mas as thread estão caindo uma após a outra.
— Daniel Mendes 29 de Nov de 2022adicionei na thread, mas assim, não mexi em nada de uma versão pra outra, só trocar o binário já sobe normal
— VINICIUS GATI 29 de Nov de 2022complica que não dá nenhuma mensagem pra ajudar
— VINICIUS GATI 29 de Nov de 2022