Uploaded image for project: 'Red Hat build of Apache Camel for Spring Boot'
  1. Red Hat build of Apache Camel for Spring Boot
  2. CSB-5748

Camel-CICS - CTG6662E This JavaGateway instance is already open

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • CSB-4.8, CSB-4.4.3
    • None
    • None
    • None
    • Very Likely
    • 0

      The bean of type CICSPooledGatewayFactory has been used to mitigate the hardcoded "tcp" bug in the code and also to implement connection pooling. The component's code is throwing a "java.io.IOException: CTG6662E This JavaGateway instance is already open" error because the CICSProducer class invokes the gw.open() under the processECI method which fails because the "gw" object is already open by the connection pool. There needs to be a check if the gw is already open to not attempt to open it again which causes this error. 

       

            ldemasi Luigi De Masi
            Asouza@redhat.com Angelo Souza
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: