In 6.1 it seems that capitalization of the db2iSeries database type has changed to db2iseries (lower case 's'). If I change my server.properties entries to this newer form all works as expected. If I don't, I get failures when trying to execute datasource requests - sample stack trace:
However, following this modified standard will mean we need to reconfigure all existing implementations.
Current documentation at https://www.smartclient.com/smartgwt...lSettings.html indicates that the value should be cased as db2iSeries.
Will you be changing the documentation to suit the new requirement, or changing the code to suit the documentation (and prior implementations)?
Code:
=== 2017-12-13 15:39:22,347 [op-1] INFO SQLDataSource - [builtinApplication.null] Performing fetch operation with criteria: {name:"IPMS"} values: {name:"IPMS"} java.lang.Exception: Invalid database type: db2iSeries at com.isomorphic.sql.DBType.fromString(DBType.java:102) at com.isomorphic.sql.SQLDriver.initSqlConfig(SQLDriver.java:669) at com.isomorphic.sql.SQLDriver.configure(SQLDriver.java:456) at com.isomorphic.sql.SQLDriver.getSqlConfig(SQLDriver.java:462) at com.isomorphic.sql.SQLDriver.instance(SQLDriver.java:415) at com.isomorphic.sql.SQLDataSource.getDriver(SQLDataSource.java:495) at com.isomorphic.sql.SQLSelectClause.getSQLString(SQLSelectClause.java:172) at com.isomorphic.sql.SQLDataSource.getClausesContext(SQLDataSource.java:3184) at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1697) at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:439) at com.isomorphic.sql.SQLDataSource.executeFetch(SQLDataSource.java:384) at com.isomorphic.datasource.DataSource.execute(DataSource.java:2228) at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:638) at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:548) at com.isomorphic.application.AppBase.execute(AppBase.java:491) at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2813) at com.islandpacific.gui.security.domain.IpApplicationManager.findByName(IpApplicationManager.java:30) at com.islandpacific.gui.security.IpAuthenticationManager.install(IpAuthenticationManager.java:611) at com.islandpacific.gui.server.IpInit.init(IpInit.java:40) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1183) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1099) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:989) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4903) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5213) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Current documentation at https://www.smartclient.com/smartgwt...lSettings.html indicates that the value should be cased as db2iSeries.
Will you be changing the documentation to suit the new requirement, or changing the code to suit the documentation (and prior implementations)?
Comment