Você está vendo a versão antiga da página. Ver a versão atual.

Comparar com o atual Ver Histórico da Página

« Anterior Versão 2 Próxima »


Introducción

En la siguiente guía podrá encontrar los errores más frecuentes que pueden ocurrir en la solución y como solucionarlos

Director Server

Los errores que se listan a continuación están basados en el análisis del log de eventos que utiliza la aplicación para registrar cada suceso. El mismo estará disponible para ser descargado desde la consola de administración o accediendo directamente a la ruta donde se genera.

por defecto la ruta de logs es la siguiente 

[DIR_INSTALACION]/tomcat/logs/

Error de conexión a la base de datos - error de red

Fragmento - stacktrace.log
Caused by: java.lang.NullPointerException
    at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:244)
    at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:234)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206)
    at org.hibernate.cfg.Configuration.buildTypeRegistrations(Configuration.java:1887)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1845)

DESCRIPCIÓN

Este es un error que indica que la aplicación no se puede conectar a la base de datos configurada en el Data Source.

SOLUCIÓN

  • Comprobar que el equipo esté conectado correctamente a la red.
  • Comprobar accesibilidad a la base de datos desde donde esta la instalación de Director Server.
  • comprobar si la IP y puerto configurada en [DIR_INSTALACION]/tomcat/conf/context.xml

Error de conexión a la base de datos - error de credenciales

Fragmento - stacktrace.log
Caused by: java.lang.NullPointerException
    at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:244)
    at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:234)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206)
    at org.hibernate.cfg.Configuration.buildTypeRegistrations(Configuration.java:1887)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1845)

DESCRIPCIÓN

Error de conexión a la base de datos por error de credenciales (usuario y/o contraseña).

SOLUCIÓN

  • Validar las credenciales incluidas al momento de la instalación de Director Server. Estas credenciales se encuentran en el archivo [DIR_INSTALACION]/tomcat/conf/context.xml.

EJEMPLO DE CREDENCIALES

context.xml
<Resource  name="DIRECTOR" auth="Container" type="javax.sql.DataSource"
        maxTotal="100" maxIdle="50" maxWaitMillis="10000" driverClassName="oracle.jdbc.OracleDriver"
        username="bd_director" password="bd_director" validationQuery="SELECT 1 from dual" 
        url="jdbc:oracle:thin:@10.8.8.8:1522:directororacle" jdbcInterceptors="QueryTimeoutInterceptor(queryTimeout=60)"/>   

Error de conexión al agente - error de red

Fragmento - server.log
2019-10-29 12:15:58,891 [https-jsse-nio-8490-exec-8] ERROR model.VersionsService  - Agent is unreachable
org.apache.http.conn.HttpHostConnectException: Connection to https://10.4.11.88:5101 refused
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:158)
    at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:150)
    at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
    at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:575)

DESCRIPCIÓN

Este error sucede cuando desde Director Server se le da una acción de Sincronización o Instalación a una terminal y no se tiene llegada al mismo.

SOLUCIÓN

  • Validar que desde el servidor donde está instalado Director Server, se tenga llegada a la terminal donde esta el agente en cuestión.
  • Abrir el puerto específico (comprobar que el antivirus o firelwall no lo estén bloqueando) en la máquina donde está el agente en cuestión para poder recibir comandos (mensajes HTTPS) desde Director Server.

Error de carga de nueva versión - paquete actualizador erróneo

Fragmento - server.log
2019-10-29 12:15:58,891 [https-jsse-nio-8490-exec-7] INFO  model.ReleaseController  - About to uncompress DummyDirector-installer-1.0.4-SNAPSHOT-update.zip into c:\synthesis\jmc_director\tmp\201910291215891-0300
2019-10-29 12:15:58,893 [https-jsse-nio-8490-exec-7] DEBUG model.ReleaseService  - Unziping file [c:\synthesis\jmc_director\tmp\DummyDirector-installer-1.0.4-SNAPSHOT-update.zip] into [c:\synthesis\jmc_director\tmp\201910291215891-0300]
2019-10-29 12:15:59,000 [quartzScheduler_Worker-10] INFO  scheduleJob.CoreDataBaseMaintenanceJob  - Starting to work job: CoreDataBaseMaintenanceJob - on: Tue Oct 29 12:15:59 ART 2019
2019-10-29 12:15:59,000 [quartzScheduler_Worker-10] INFO  scheduleJob.CoreDataBaseMaintenanceJob  - Fineshed work job: CoreDataBaseMaintenanceJob - on: Tue Oct 29 12:15:59 ART 2019 ::: Total time Job 0 ms
2019-10-29 12:15:59,156 [https-jsse-nio-8490-exec-7] DEBUG model.ReleaseService  - Unzipped ok
2019-10-29 12:15:59,156 [https-jsse-nio-8490-exec-7] INFO  model.ReleaseService  - Validating release file directory struture: [app, meta-data, scripts, docs, batch, legal] in dir c:\synthesis\jmc_director\tmp\201910291215891-0300
2019-10-29 12:15:59,166 [https-jsse-nio-8490-exec-7] INFO  model.ReleaseService  - Directory meta-data does not exists. Release structure is not valid
2019-10-29 12:15:59,166 [https-jsse-nio-8490-exec-7] INFO  model.ReleaseService  - Directory legal does not exists. Release structure is not valid
2019-10-29 12:15:59,168 [https-jsse-nio-8490-exec-7] WARN  model.ReleaseController  - there was an error with the structure

DESCRIPCIÓN

Este error sucede cuando se quiere cargar una nueva versión de un producto en particular y el paquete actualizador tiene una estructura invalida.

SOLUCIÓN

  • Validar con servicio al cliente dicho paquete actualizador del producto.

Error de carga de nueva versión - paquete sin cambios

Fragmento - server.log
2019-10-29 12:22:50,131 [https-jsse-nio-8490-exec-9] INFO  model.ReleaseController  - status 200
2019-10-29 12:22:50,131 [https-jsse-nio-8490-exec-9] INFO  sincronization.AgentService  - GIT temp directory c:\synthesis\jmc_director\tmp\201910291222918-0300_git
2019-10-29 12:22:54,310 [https-jsse-nio-8490-exec-9] INFO  sincronization.AgentService  - checkout head complet
2019-10-29 12:22:54,312 [https-jsse-nio-8490-exec-9] INFO  model.ReleaseService  - cleanDir directory => c:\synthesis\jmc_director\tmp\201910291222918-0300_git exclude => [.git] params => [name:PDDIGUAL, product:1021, dir:c:\synthesis\jmc_director\tmp\201910291222918-0300, termsDataJson:[{"name":"weg","email":"[email protected]","file":"LICENSE-STS.txt"}], controller:release, format:null, action:handleAccepted]
2019-10-29 12:22:54,326 [https-jsse-nio-8490-exec-9] DEBUG model.ReleaseService  - Copying files from source [c:\synthesis\jmc_director\tmp\201910291222918-0300] to [c:\synthesis\jmc_director\tmp\201910291222918-0300_git]. Params[[name:PDDIGUAL, product:1021, dir:c:\synthesis\jmc_director\tmp\201910291222918-0300, termsDataJson:[{"name":"weg","email":"[email protected]","file":"LICENSE-STS.txt"}], controller:release, format:null, action:handleAccepted]]
2019-10-29 12:22:54,449 [https-jsse-nio-8490-exec-9] INFO  model.ReleaseController  - There are no change between version in git and the new one
2019-10-29 12:22:54,493 [https-jsse-nio-8490-exec-9] ERROR model.ReleaseController  - java.lang.Exception: There are no change between version in git and the new one

DESCRIPCIÓN

Este error sucede cuando se quiere cargar una nueva versión de un producto en particular y el paquete actualizador no tiene cambios respecto a la versión anterior.

SOLUCIÓN

  • Validar de que dicha versión no haya sido cargada previamente.
  • Validar con servicio al cliente dicho paquete actualizador del producto.

Error modelo de red / configuración - no existe compañía

Fragmento - server.log
2019-10-29 12:31:16,729 [https-jsse-nio-8490-exec-2] INFO  sincronization.AgentController  - New status received from Agent. Info: AdvAgentInfo{ip='10.4.11.88', host='VM-VTOLTEST1', listeningPort='5101', companyId='CIAEJ', storeId='T01', terminalId='TERMYPF', deviceType='StoreServer', date='20191029123100-0300', info=[memory.free:6505963520, java.arch:64, java.vendor:Oracle Corporation, java.version:1.8.0_25, os.arch:amd64, os.name:Windows Server 2012 R2, memory.total:12607610880, disk.total:536501809152, measure.unit:bytes, disk.free:492286500864, os.version:6.3], agentVersion=1.0.4-SNAPSHOT, product=AdvProduct{code='PDD', version='0', synchronizedVersion='0', description='DummyDirector Prueba', lastUpdate='19691231210000-0300', lastInstall='19691231210000-0300', status='00', taskUUID='null', task='null', taskStatus='null', isAlivePort='null', detail='app running', appIsRunning='true'}}
2019-10-29 12:31:16,729 [https-jsse-nio-8490-exec-2] INFO  sincronization.AgentService  - Validating message company [CIAEJ] store [T01] node [TERMYPF]
2019-10-29 12:31:16,749 [https-jsse-nio-8490-exec-2] INFO  base.CoreNodeService  - CoreNodeService return node code: null becuase company CIAEJ do not exist
2019-10-29 12:31:16,749 [https-jsse-nio-8490-exec-2] ERROR sincronization.AgentController  - Can not process agent status request because company do not exist CIAEJ
2019-10-29 12:31:16,749 [https-jsse-nio-8490-exec-2] INFO  sincronization.AgentController  - Agent status processed in 20ms

DESCRIPCIÓN

El siguiente error sucede cuando un agente envía un mensaje de status a Director Server, cuando el server valida el mensaje de status registra que dicha compañia no existe en el server.

SOLUCIÓN

  • Dar de alta, o habilitar, dicha compañía en Director Server.


Error modelo de red / configuración - no existe producto

Fragmento - server.log
2019-10-29 12:42:21,225 [https-jsse-nio-8490-exec-4] INFO  sincronization.AgentController  - New status received from Agent. Info: AdvAgentInfo{ip='10.4.11.88', host='VM-VTOLTEST1', listeningPort='5101', companyId='Synthesis', storeId='T01', terminalId='TERMYPF', deviceType='StoreServer', date='20191029124204-0300', info=[memory.free:6525476864, java.arch:64, java.vendor:Oracle Corporation, java.version:1.8.0_25, os.arch:amd64, os.name:Windows Server 2012 R2, memory.total:12607610880, disk.total:536501809152, measure.unit:bytes, disk.free:492286447616, os.version:6.3], agentVersion=1.0.4-SNAPSHOT, product=AdvProduct{code='CAH', version='0', synchronizedVersion='0', description='DummyDirector Prueba', lastUpdate='19691231210000-0300', lastInstall='19691231210000-0300', status='00', taskUUID='null', task='null', taskStatus='null', isAlivePort='null', detail='app running', appIsRunning='true'}}
2019-10-29 12:42:21,230 [https-jsse-nio-8490-exec-4] INFO  sincronization.AgentService  - Validating message company [Synthesis] store [T01] node [TERMYPF]
2019-10-29 12:42:21,245 [https-jsse-nio-8490-exec-4] INFO  base.CoreNodeService  - The coreStore code: T01 was found.
2019-10-29 12:42:21,280 [https-jsse-nio-8490-exec-4] INFO  base.CoreNodeService  - The CoreNode code: TERMYPF was found.
2019-10-29 12:42:21,280 [https-jsse-nio-8490-exec-4] INFO  base.CoreNodeService  - CoreNodeService return node code: TERMYPF.
2019-10-29 12:42:21,280 [https-jsse-nio-8490-exec-4] DEBUG sincronization.AgentController  - Node exist [TERMYPF], validating product code [CAH]
2019-10-29 12:42:21,296 [https-jsse-nio-8490-exec-4] WARN  sincronization.AgentController  - Product [CAH] not found or it is not enabled. Please check system configuration

DESCRIPCIÓN

El siguiente error sucede cuando un agente envía un mensaje de status a Director Server, cuando este valida el mensaje de status registra que dicho producto no existe en el server.

SOLUCIÓN

  • Dar de alta, o habilitar, dicho producto en Director Server.


Error con repositorio de versiones GIT - credenciales inválidas

Fragmento - server.log
2019-10-29 14:17:19,712 [https-jsse-nio-8490-exec-9] ERROR model.ReleaseController  - org.eclipse.jgit.api.errors.TransportException: http://10.4.11.88/Bonobo.Git.Server/PDDMASIVO.git: authentication not supported

DESCRIPCIÓN

El siguiente error sucede cuando hay un error en las credenciales de la URL remota para GIT.

SOLUCIÓN

  • Validar en la configuración de propiedades de Director Server, que la URL, el usuario y contraseña del repositorio remoto GIT sean correctos. De no serlo, se deberán corregir.

EJEMPLO DE CONFIGURACIÓN DE PROPIEDADES DE GIT


Error con repositorio de versiones GIT - error de red

Fragmento - server.log
2019-10-29 14:36:37,771 [https-jsse-nio-8490-exec-9] ERROR model.ReleaseController  - org.eclipse.jgit.api.errors.TransportException: http://10.4.11.88/Bonobo.Git.Server/PDDMASIVO.git: cannot open git-upload-pack

DESCRIPCIÓN

El siguiente error sucede cuando hay un error de conexión al GIT remoto (Bonobo).

SOLUCIÓN

  • Validar que el repositorio remoto (Bonobo) esté disponible (debe estar iniciado en el Administrador de Internet Information Services (IIS)).
  • Validar que desde el servidor donde esta Director Server instalado se tenga acceso a la URL del repositorio.



Agente

Los errores que se listan a continuación están basados en el análisis del log de eventos que utiliza la aplicación para registrar cada suceso. El mismo estará disponible en la ruta donde se genera.

por defecto la ruta de logs es la siguiente

[DIR_INSTALACION]/sdagent/logs/

Error de conexión a Director Server

Fragmento - advAgent.log
2019-10-29 12:44:44,930 DEBUG [ServerConnect       ] [StatusSenderThread] POST to advServer (+OAUTH2): https://10.4.30.56:8490/director/agent/status  query:[product:CAH, version:0]
2019-10-29 12:44:49,826 ERROR [ServerConnect       ] [StatusSenderThread] Cannot connect to advServer https://10.4.30.56:8490/ at  director/agent/status
org.apache.http.NoHttpResponseException: The target server failed to respond
    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:95)
    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:62)
    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:254)

Descripción

El siguiente error sucede cuando un agente envía un mensaje de status a Director Server y no se tiene conexión con el mismo.

Solución

  • Validar que Director Server este en activo y en correcto funcionamiento.
  • Validar que la configuración del agente tenga correctamente la url correspondiente a Director Server. Dicha configuración se encuentra en el archivo [DIR_INSTALACION]/sdagent/advagent.properties.

Ejemplo de CONFIGURACIÓN (advagent.properties)

Fragmento - advagent.properties
#URL (ej: http://ip:puerto) donde escucha director server
advserver.url=https://10.4.30.56:8490/
advserver.status.path=director/agent/status

Error de conexión a Director Server - La compañía no existe

Fragmento - advAgent.log
2019-10-29 12:31:13,948 DEBUG [ServerConnect       ] [StatusSenderThread] POST to advServer (+OAUTH2): https://10.4.30.56:8490/director/agent/status  query:[product:PDD, version:0]
2019-10-29 12:31:18,966 INFO  [ServerConnect       ] [StatusSenderThread] POST result: connection to advserver OK, but node or product invalid, statusCode:404

Descripción

El siguiente error sucede cuando el agente envía un mensaje de status a Director Server, el mismo valida y registra el error de que dicha compañía no existe en el server.

Solución

  • Dar de alta la compañía en Director Server


Error de conexión a Director Server - El producto no existe

Fragmento - advAgent.log
2019-10-29 12:42:23,512 DEBUG [ServerConnect       ] [StatusSenderThread] POST to advServer (+OAUTH2): https://10.4.30.56:8490/director/agent/status  query:[product:CAH, version:0]
2019-10-29 12:42:28,547 INFO  [ServerConnect       ] [StatusSenderThread] POST result: connection to advserver OK, but node or product invalid, statusCode:404

Descripción

El siguiente error sucede cuando el agente envía un mensaje de status a Director Server, el mismo valida y registra el error de que dicho producto no existe en el server.

Solución

  • Dar de alta el producto en Director Server.


Error de descarga de una nueva versión - credenciales de GIT

Fragmento - advAgent.log
2019-10-29 14:56:04,886 ERROR [CheckoutJGit        ] [Thread-5] error git clone http://10.4.11.88/Bonobo.Git.Server/PDDMASIVO.git: authentication not supported
org.eclipse.jgit.api.errors.TransportException: http://10.4.11.88/Bonobo.Git.Server/PDDMASIVO.git: authentication not supported
    at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:254)
    at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:306)
    at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:200)
    at com.synthesis.advagent.CheckoutJGit.clonRepo(CheckoutJGit.groovy:179)

DESCRIPCIÓN

El siguiente error sucede cuando hay un error en las credenciales de la URL remota para GIT (Bonobo) configuradas en Director Server.

SOLUCIÓN

  • Validar en la configuración de propiedades de Director Server, que la URL, el usuario y contraseña del repositorio remoto GIT sean correctos. De no serlo, se deberán cambiar por los correctos.

EJEMPLO DE CONFIGURACIÓN DE PROPIEDADES DE GIT


Error de descarga de una nueva versión - transferencia de binarios

Fragmento - advAgent.log
2019-10-29 15:06:41,942 ERROR [CheckoutJGit        ] [Thread-5] error git clone Read timed out after 45.000 ms
org.eclipse.jgit.api.errors.TransportException: Read timed out after 45.000 ms
    at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:254)
    at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:306)


2019-10-29 15:08:11,143 ERROR [CheckoutJGit        ] [Thread-5] error git clone http://10.4.11.88/Bonobo.Git.Server/PDDMASIVO.git: cannot open git-upload-pack
org.eclipse.jgit.api.errors.TransportException: http://10.4.11.88/Bonobo.Git.Server/PDDMASIVO.git: cannot open git-upload-pack
    at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:254)
    at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:306)

DESCRIPCIÓN

El siguiente error sucede cuando hay un error de transferencia de binarios desde el repositorio GIT al repositorio local del agente.

SOLUCIÓN

  • Vuelva a intentar la sincronización de la versión a la terminal.
  • Verifique que las políticas del Firewall del sistema no estén impidiendo la transferencia de los binarios hacia el agente.


Error de instalación de nueva versión - archivos en uso

Fragmento - advAgent.log
2019-10-29 16:18:39,035 ERROR [Services            ] [Thread-8] cant delete file: [DummyDirector-Project-1.0.4-SNAPSHOT.jar]. Aborting process
2019-10-29 16:18:39,035 ERROR [Services            ] [Thread-8] Errors trying to delete directoy [C:\synthesis\DummysVarios\Dummys1.0\DummyYPF\DummyDirector\lib]. Aborting process
2019-10-29 16:18:39,035 DEBUG [Agent               ] [Thread-8] clean app directory 'C:/synthesis/DummysVarios/Dummys1.0/DummyYPF/DummyDirector'  false
2019-10-29 16:18:39,035 DEBUG [Agent               ] [Thread-8] infoTaskStatus --> AgentStatus=02 TaskUUID=ad33563a-0e9f-4548-aeb5-235d94a5fdc1 Task=07 TaskStatus=99 Detail=
2019-10-29 16:18:39,035 INFO  [Agent               ] [Thread-8] Doing Files System Restore. TaskUUID [ad33563a-0e9f-4548-aeb5-235d94a5fdc1]
2019-10-29 16:18:39,036 WARN  [FileUtils           ] [Thread-8] cant delete file: [DummyDirector-Project-1.0.4-SNAPSHOT.jar]
2019-10-29 16:18:39,051 ERROR [FileUtils           ] [Thread-8] Can not copy C:\synthesis\DummysVarios\Dummys1.0\DummyYPF\backup\ad33563a-0e9f-4548-aeb5-235d94a5fdc1\app\lib\DummyDirector-Project-1.0.4-SNAPSHOT.jar to C:\synthesis\DummysVarios\Dummys1.0\DummyYPF\DummyDirector\lib\DummyDirector-Project-1.0.4-SNAPSHOT.jar
java.nio.file.FileSystemException: C:\synthesis\DummysVarios\Dummys1.0\DummyYPF\DummyDirector\lib\DummyDirector-Project-1.0.4-SNAPSHOT.jar: El proceso no tiene acceso al archivo porque está siendo utilizado por otro proceso.

    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
    at sun.nio.fs.WindowsFileCopy.copy(WindowsFileCopy.java:165)
    at sun.nio.fs.WindowsFileSystemProvider.copy(WindowsFileSystemProvider.java:278)
    at java.nio.file.Files.copy(Files.java:1274)
    at global.napse.director.agent.util.FileUtils.copyDirectory(FileUtils.groovy:178)
    at global.napse.director.agent.util.FileUtils.copyDirectory(FileUtils.groovy:169)
    at global.napse.director.agent.util.FileUtils.copyDirectory(FileUtils.groovy:169)
    at com.synthesis.advagent.Agent.restoreFS(Agent.groovy:430)
    at com.synthesis.advagent.Agent$3.run(Agent.groovy:318)
2019-10-29 16:18:39,065 ERROR [Agent               ] [Thread-8] --> install finish with errors

DESCRIPCIÓN

El siguiente error sucede cuando el agente hace la copia de los binarios de la nueva versión a la carpeta principal del producto a actualizar y por motivos hay archivos de la aplicación en uso.

SOLUCIÓN

  • Validar que al momento de la instalación, el producto no esté en uso (inicializado).


Error de instalación de nueva versión - ejecución de script

Fragmento - advAgent.log
2019-10-29 16:12:08,369 ERROR [Services            ] [Thread-8] Error running script: alejandro.alberini-create-20160616-74, against server sql  , db C:/synthesis/DummysVarios/Dummys1.0/DummyYPF/DummyDirector/lib/pruebaHSQLDB , usuario no tiene privilegios suficientes o objeto no encontrado: VERSION_DUMMY3
java.sql.BatchUpdateException: usuario no tiene privilegios suficientes o objeto no encontrado: VERSION_DUMMY3
    at org.hsqldb.jdbc.JDBCStatement.executeBatch(Unknown Source)
    at groovy.sql.BatchingStatementWrapper.executeBatch(BatchingStatementWrapper.java:78)
    at groovy.sql.Sql.withBatch(Sql.java:3671)
    at groovy.sql.Sql.withBatch(Sql.java:3615)
Fragmento - advAgent.log
2019-10-29 16:33:16,010 ERROR [Services            ] [Thread-8] Error running script: select CHANGE_SET_ID from STS_DB_CHANGE_LOG where PRODUCT_ID='PDD' and STATUS=0, against server sql  , db C:/synthesis/DummysVarios/Dummys1.0/SCRIPT/DummyDirector/lib/pruebaHSQLDB , usuario no tiene privilegios suficientes o objeto no encontrado: STS_DB_CHANGE_LOG
java.sql.SQLSyntaxErrorException: usuario no tiene privilegios suficientes o objeto no encontrado: STS_DB_CHANGE_LOG
    at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
    at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)

DESCRIPCIÓN

El siguiente error sucede cuando el agente ejecuta los scripts incrementales de la nueva versión a instalar del producto en cuestión.

SOLUCIÓN

  • Validar con servicio al cliente que el script incremental este correctamente creado.
  • Validar que exista la tabla STS_DB_CHANGE_LOG en la base de datos del producto (tabla que registra los scripts ya ejecutados anteriormente).


Error de instalación de nueva versión - backup de base de datos

Fragmento - advAgent.log
2019-10-29 16:51:35,253 ERROR [Services            ] [Thread-8] Error running script: backupDB, against server sql  , db C:/synthesis/DummysVarios/Dummys1.0/SCRIPT2/DummyDirector/lib/pruebaHSQLDB , Sufijo inválido en el nombre del fichero 'bkpDB'.  (sufijos válidos:  .tar, .tar.gz, .tgz) in statement [BACKUP DATABASE TO 'H:/bkpDB']
java.sql.SQLException: Sufijo inválido en el nombre del fichero 'bkpDB'.  (sufijos válidos:  .tar, .tar.gz, .tgz) in statement [BACKUP DATABASE TO 'H:/bkpDB']
    at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
    at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)

DESCRIPCIÓN

El siguiente error sucede cuando el agente ejecuta el backup de la base de datos del producto (siempre que se haya seleccionado la opción "backup" cuando se subió la nueva versión del producto, se ejecutará esta tarea).

SOLUCIÓN

  • Validar que exista la carpeta y que se tenga permisos de escritura en la carpeta indicada para los backups de la base de datos.
  • Sem rótulos