+ New Ticket

Db2 java IO error character conversion gets -4220


1 comment

  • Avatar
    Sergey Vishnevskiy

    Hi Rodger,

    Unfortunately, Aginity Pro does not have an option to pass JVM arguments through UI. We do not recommend making any changes in Aginity Pro’s startup scripts as it may affect the application in unpredictable way. Moreover, startup scripts can be changed anytime in newer versions and your changes will be lost in this case. That being said if you want to add -Ddb2.jcc.charsetDecoderEncoder=3 into the jvm command line you should edit server-start-win.cmd residing at C:\Users\{YOUR_WINDOWS_ACCOUNT_NAME}\AppData\Local\Programs\Aginity Pro\server\bin

    Replace line 20 which is
    "%AMP_RUNNER%" -cp "%CLASSPATH%" "%AMP_SERVER%" server pro/config.yml


    "%AMP_RUNNER%" -Ddb2.jcc.charsetDecoderEncoder=3 -cp "%CLASSPATH%" "%AMP_SERVER%" server pro/config.yml

    All the best,
    Sergey @Aginity Support Team

    Comment actions Permalink

Please sign in to leave a comment.