Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

WSDL import fails with an SQL exception

SA-99779

Summary

User imports a WSDL file for updating some changes in one of the existing SOAP Connectors. The WSDL import fails with an SQL exception.


Error Messages

Caused by: 
com.pega.pegarules.pub.PRRuntimeException: caught db exception: There was a problem getting a list: code: -302 SQLState: 22001 Message: DB2 SQL Error: SQLCODE=-302, SQLSTATE=22001, SQLERRMC=null, DRIVER=127.0.0.1
at com.pega.pegarules.data.internal.dictionary.PropertyInfoConclusionImpl._initialize(PropertyInfoConclusionImpl.java:964)
at com.pega.pegarules.data.internal.dictionary.PropertyInfoConclusionImpl.initialize(PropertyInfoConclusionImpl.java:919)
at com.pega.pegarules.exec.internal.basic.dictionary.ConclusionCacheImpl.getOrCreate(ConclusionCacheImpl.java:933)
at com.pega.pegarules.exec.internal.basic.dictionary.ConclusionCacheImpl.getOrCreate(ConclusionCacheImpl.java:971)
at com.pega.pegarules.data.internal.dictionary.DictionaryCacheImpl.getPropertyInfoConclusion(DictionaryCacheImpl.java:274)
at com.pega.pegarules.data.internal.clipboard.DirectStreamEncoder$PageSection.addProperty(DirectStreamEncoder.java:903)
at com.pega.pegarules.data.internal.clipboard.DirectStreamEncoder$PageSection.addPage(DirectStreamEncoder.java:678)
at com.pega.pegarules.data.internal.clipboard.DirectStreamEncoder$PageSection.addProperty(DirectStreamEncoder.java:968)
at com.pega.pegarules.data.internal.clipboard.DirectStreamEncoder$PageSection.addPage(DirectStreamEncoder.java:678)
at com.pega.pegarules.data.internal.clipboard.DirectStreamEncoder.encode(DirectStreamEncoder.java:301)
at com.pega.pegarules.data.internal.clipboard.StorageStreamCommonImpl.encode(StorageStreamCommonImpl.java:759)
at com.pega.pegarules.data.internal.clipboard.StorageStreamCommonImpl.encode(StorageStreamCommonImpl.java:728)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getStreamForm(ClipboardPageImpl.java:2838)
at com.pega.pegarules.data.internal.access.PageDatabaseMapperImpl.getStreamFormOfPage(PageDatabaseMapperImpl.java:1263)
at com.pega.pegarules.data.internal.access.DatabaseImpl.preprocessInstancesBeforeCriticalCommitSection(DatabaseImpl.java:3217)


Steps to Reproduce

Import the attached WSDL using a SOAP connector. It fails with a data base issue.
 

Root Cause



A third-party product issue. The issue stems from code that attempts to select a column on the PR4_RULE_PROPERTY table. The host variable is too long for the column width. Hence, DB2 causes the error.

Resolution



Perform the following local-change:
  1. Alter the PR4_RULE_PROPERTY database table to increase the size of the PXINSID column (to 255 in this case) to be large enough to accomodate the host variable that is used.
  2. Consult the database administrator
  3. Back up the PegaRULES database as per the requirement
  4. Run the Alter statement
Example for Alter statement,
ALTER TABLE PRPC.PR4_RULE_PROPERTY ALTER COLUMN PXINSID SET DATA TYPE VARCHAR(255)






 

Published January 28, 2020 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us