Unable to create/upload new bundle for jboss-eap-6.4.19-patch and later to JBoss ON
Issue
-
While uploading the zip file via JBoss ON Bundle it fails with the below:
[Distribution File] Failed to upload bundle distribution file : javax.ejb.EJBTransactionRolledbackException:Transaction rolled back -> javax.transaction.RollbackException:ARJUNA016053: Could not commit transaction. -> javax.persistence.PersistenceException:org.hibernate.exception.DataException: could not execute batch -> org.hibernate.exception.DataException:could not execute batch -> java.sql.BatchUpdateException:Batch entry 0 insert into RHQ_PACKAGE (CLASSIFICATION, NAME, PACKAGE_TYPE_ID, ID) values (NULL, 'jboss-eap-6.4.10.CP#jboss-eap-6.4.11.CP#jboss-eap-6.4.12.CP#jboss-eap-6.4.13.CP#jboss-eap-6.4.14.CP#jboss-eap-6.4.15.CP#jboss-eap-6.4.16.CP#jboss-eap-6.4.17.CP#jboss-eap-6.4.18.CP#jboss-eap-6.4.19.CP.zip', 10091, 10321) was aborted. Call getNextException to see the cause.[SQLException=Batch entry 0 insert into RHQ_PACKAGE (CLASSIFICATION, NAME, PACKAGE_TYPE_ID, ID) values (NULL, 'jboss-eap-6.4.10.CP#jboss-eap-6.4.11.CP#jboss-eap-6.4.12.CP#jboss-eap-6.4.13.CP#jboss-eap-6.4.14.CP#jboss-eap-6.4.15.CP#jboss-eap-6.4.16.CP#jboss-eap-6.4.17.CP#jboss-eap-6.4.18.CP#jboss-eap-6.4.19.CP.zip', 10091, 10321) was aborted. Call getNextException to see the cause. -> ERROR: value too long for type character varying(200)(error-code=0,sql-state=22001)]
Environment
- Red Hat JBoss Operations Network (ON) 3.3
- Red Hat Enterprise Application Platform (EAP) 6.4 Management Plug-in for JBoss ON
- Creating JBoss EAP 6.4 Update 19 or later patch bundle in JBoss ON provisioning bundles subsystem
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.