I just installed SmartClient Version v8.3p_2015-03-27/EVAL over a previous version.
My app was working fine until this install. No changes were made to the code. Now I am getting an Invalid column error every time I start the app.
I run Mozilla Firefox 20.0 with Firebug using Windows 7 Premium 64 bit.
Here is the server log.
This is the ds file being used.
Somehow, both the columns with <tableName> entries are now doubled up in the resulting SQL. This is new behavior. The product has been working real well.
Any ideas where the fix goes?
Thanks,
Rick
My app was working fine until this install. No changes were made to the code. Now I am getting an Invalid column error every time I start the app.
I run Mozilla Firefox 20.0 with Firebug using Windows 7 Premium 64 bit.
Here is the server log.
=== 2015-04-06 20:25:25,230 [sor7] INFO SQLDriver - [builtinApplication.Issue_fetch] Executing SQL query on 'PlanetProjectDB': SELECT COUNT(*) FROM (P
roject, IssueImpact, IssueLikelihood, IssueType, Issue) LEFT JOIN Category ON Issue.CategoryID = Category.CategoryID LEFT JOIN TeamMember OwnerMember O
N Issue.OwnerID = OwnerMember.TeamMemberID LEFT JOIN TeamMember OrigMember ON Issue.OwnerID = OrigMember.TeamMemberID WHERE Issue.ProjectID = Project.
ProjectID AND Issue.ImpactID = IssueImpact.ImpactID AND Issue.LikelihoodID = IssueLikelihood.LikelihoodID AND Issue.IssueTypeID = IssueType.IssueTypeID
AND (((Issue.OwnerID = 101 AND Issue.OwnerID IS NOT NULL) AND NOT((Issue.IssueStatus = 'Closed' AND Issue.IssueStatus IS NOT NULL))))
=== 2015-04-06 20:25:25,230 [sor4] DEBUG IDACall - remote user: null
=== 2015-04-06 20:25:25,230 [sor3] DEBUG PoolableSQLConnectionFactory - Passing credentials getConnection separately from JDBC URL
=== 2015-04-06 20:25:25,246 [sor7] DEBUG SQLDataSource - [builtinApplication.Issue_fetch] Using SQL Limit query
=== 2015-04-06 20:25:25,246 [sor7] DEBUG SQLDataSource - [builtinApplication.Issue_fetch] SQL windowed select rows 0->75, result size 75. Query: SELECT
Issue.CategoryID, Category.CategoryName, Issue.ClosedDate, Issue.CommunityID, Issue.Created, Issue.Description, Issue.ImpactID, IssueImpact.ImpactName
, Issue.IssueDueDate, Issue.IssueID, Issue.IssueNumber, Issue.IssueStatus, Issue.IssueTitle, Issue.IssueTypeID, IssueType.IssueTypeName, Issue.Likeliho
odID, IssueLikelihood.LikelihoodTitle, Issue.Log, Issue.LogEntry, Issue.MeetingTopicID, Issue.Modified, Issue.OriginalDueDate, Issue.OriginatorID, Orig
Member.OrigMember.TeamMemberName AS OriginatorName, Issue.OwnerID, OwnerMember.OwnerMember.TeamMemberName AS OwnerName, Issue.Private, Issue.ProjectID,
Project.ProjectNumber, Project.ProjectTitle, Issue.Resolution FROM (Project, IssueImpact, IssueLikelihood, IssueType, Issue) LEFT JOIN Category ON Iss
ue.CategoryID = Category.CategoryID LEFT JOIN TeamMember OwnerMember ON Issue.OwnerID = OwnerMember.TeamMemberID LEFT JOIN TeamMember OrigMember ON Iss
ue.OwnerID = OrigMember.TeamMemberID WHERE Issue.ProjectID = Project.ProjectID AND Issue.ImpactID = IssueImpact.ImpactID AND Issue.LikelihoodID = Issu
eLikelihood.LikelihoodID AND Issue.IssueTypeID = IssueType.IssueTypeID AND (((Issue.OwnerID = 101 AND Issue.OwnerID IS NOT NULL) AND NOT((Issue.IssueSt
atus = 'Closed' AND Issue.IssueStatus IS NOT NULL)))) ORDER BY IssueImpact.ImpactName DESC LIMIT 0, 75
=== 2015-04-06 20:25:25,246 [sor4] DEBUG XML - Parsed XML from (in memory stream): 0ms
=== 2015-04-06 20:25:25,261 [sor2] DEBUG PoolableSQLConnectionFactory - [builtinApplication.Task_fetch] makeObject() created a pooled Connection '13013
827'
=== 2015-04-06 20:25:25,261 [sor2] DEBUG PoolableSQLConnectionFactory - [builtinApplication.Task_fetch] Executing pingTest 'select 1 from dual' on conn
ection 13013827
=== 2015-04-06 20:25:25,261 [sor7] WARN RequestContext - dsRequest.execute() failed:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'OrigMember.OrigMember.TeamMemberName' in 'field list'
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4074)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4006)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2468)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2629)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2713)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2663)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1599)
at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
at com.isomorphic.sql.SQLDataSource.executeWindowedSelect(SQLDataSource.java:1938)
at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1398)
at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:314)
at com.isomorphic.sql.SQLDataSource.executeFetch(SQLDataSource.java:258)
at com.isomorphic.datasource.DataSource.execute(DataSource.java:1367)
at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:723)
at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:658)
at com.isomorphic.application.AppBase.execute(AppBase.java:491)
at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2044)
at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:216)
at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:173)
at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:138)
at com.isomorphic.servlet.IDACall.doPost(IDACall.java:74)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.isomorphic.js.JSSyntaxScannerFilter.doFilter(JSSyntaxScannerFilter.java:242)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:260)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:722)
roject, IssueImpact, IssueLikelihood, IssueType, Issue) LEFT JOIN Category ON Issue.CategoryID = Category.CategoryID LEFT JOIN TeamMember OwnerMember O
N Issue.OwnerID = OwnerMember.TeamMemberID LEFT JOIN TeamMember OrigMember ON Issue.OwnerID = OrigMember.TeamMemberID WHERE Issue.ProjectID = Project.
ProjectID AND Issue.ImpactID = IssueImpact.ImpactID AND Issue.LikelihoodID = IssueLikelihood.LikelihoodID AND Issue.IssueTypeID = IssueType.IssueTypeID
AND (((Issue.OwnerID = 101 AND Issue.OwnerID IS NOT NULL) AND NOT((Issue.IssueStatus = 'Closed' AND Issue.IssueStatus IS NOT NULL))))
=== 2015-04-06 20:25:25,230 [sor4] DEBUG IDACall - remote user: null
=== 2015-04-06 20:25:25,230 [sor3] DEBUG PoolableSQLConnectionFactory - Passing credentials getConnection separately from JDBC URL
=== 2015-04-06 20:25:25,246 [sor7] DEBUG SQLDataSource - [builtinApplication.Issue_fetch] Using SQL Limit query
=== 2015-04-06 20:25:25,246 [sor7] DEBUG SQLDataSource - [builtinApplication.Issue_fetch] SQL windowed select rows 0->75, result size 75. Query: SELECT
Issue.CategoryID, Category.CategoryName, Issue.ClosedDate, Issue.CommunityID, Issue.Created, Issue.Description, Issue.ImpactID, IssueImpact.ImpactName
, Issue.IssueDueDate, Issue.IssueID, Issue.IssueNumber, Issue.IssueStatus, Issue.IssueTitle, Issue.IssueTypeID, IssueType.IssueTypeName, Issue.Likeliho
odID, IssueLikelihood.LikelihoodTitle, Issue.Log, Issue.LogEntry, Issue.MeetingTopicID, Issue.Modified, Issue.OriginalDueDate, Issue.OriginatorID, Orig
Member.OrigMember.TeamMemberName AS OriginatorName, Issue.OwnerID, OwnerMember.OwnerMember.TeamMemberName AS OwnerName, Issue.Private, Issue.ProjectID,
Project.ProjectNumber, Project.ProjectTitle, Issue.Resolution FROM (Project, IssueImpact, IssueLikelihood, IssueType, Issue) LEFT JOIN Category ON Iss
ue.CategoryID = Category.CategoryID LEFT JOIN TeamMember OwnerMember ON Issue.OwnerID = OwnerMember.TeamMemberID LEFT JOIN TeamMember OrigMember ON Iss
ue.OwnerID = OrigMember.TeamMemberID WHERE Issue.ProjectID = Project.ProjectID AND Issue.ImpactID = IssueImpact.ImpactID AND Issue.LikelihoodID = Issu
eLikelihood.LikelihoodID AND Issue.IssueTypeID = IssueType.IssueTypeID AND (((Issue.OwnerID = 101 AND Issue.OwnerID IS NOT NULL) AND NOT((Issue.IssueSt
atus = 'Closed' AND Issue.IssueStatus IS NOT NULL)))) ORDER BY IssueImpact.ImpactName DESC LIMIT 0, 75
=== 2015-04-06 20:25:25,246 [sor4] DEBUG XML - Parsed XML from (in memory stream): 0ms
=== 2015-04-06 20:25:25,261 [sor2] DEBUG PoolableSQLConnectionFactory - [builtinApplication.Task_fetch] makeObject() created a pooled Connection '13013
827'
=== 2015-04-06 20:25:25,261 [sor2] DEBUG PoolableSQLConnectionFactory - [builtinApplication.Task_fetch] Executing pingTest 'select 1 from dual' on conn
ection 13013827
=== 2015-04-06 20:25:25,261 [sor7] WARN RequestContext - dsRequest.execute() failed:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'OrigMember.OrigMember.TeamMemberName' in 'field list'
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4074)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4006)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2468)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2629)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2713)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2663)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1599)
at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
at com.isomorphic.sql.SQLDataSource.executeWindowedSelect(SQLDataSource.java:1938)
at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1398)
at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:314)
at com.isomorphic.sql.SQLDataSource.executeFetch(SQLDataSource.java:258)
at com.isomorphic.datasource.DataSource.execute(DataSource.java:1367)
at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:723)
at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:658)
at com.isomorphic.application.AppBase.execute(AppBase.java:491)
at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2044)
at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:216)
at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:173)
at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:138)
at com.isomorphic.servlet.IDACall.doPost(IDACall.java:74)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.isomorphic.js.JSSyntaxScannerFilter.doFilter(JSSyntaxScannerFilter.java:242)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:260)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:722)
Code:
<DataSource ID="Issue" dataFormat="iscServer" serverType="sql" dataSourceVersion="1" dbName="PlanetProjectDB" schema="PUBLIC" tableName="Issue" autoDeriveSchema="false"> <fields> <field name="IssueID" type="sequence" detail="true" primaryKey="true"/> <field name="ProjectID" type="integer" required="true" title="Project" detail="true" foreignKey="Project.ProjectID"/> <field name="ProjectNumber" type="text" detail="true"> <tableName>Project</tableName> </field> <field name="ProjectTitle" type="text" detail="true"> <tableName>Project</tableName> </field> <field name="CommunityID" type="integer" required="true" title="Community" detail="true" foreignKey="Community.CommunityID"/> <field name="IssueNumber" type="integer" required="false" title="Number" canEdit="true"/> <field name="IssueTitle" type="text" required="true" length="64" title="Issue Title" canEdit="true"/> <field name="CategoryID" type="integer" title="Category" detail="true" canEdit="true" foreignKey="Category.CategoryID"/> <field name="CategoryName" type="text" detail="true"> <tableName>Category</tableName> </field> <field name="IssueTypeID" type="integer" required="true" title="Issue Type" detail="true" canEdit="true" foreignKey="IssueType.IssueTypeID"/> <field name="IssueTypeName" type="text" detail="true"> <tableName>IssueType</tableName> </field> <field name="ImpactID" type="integer" required="true" title="Impact" detail="true" canEdit="true" foreignKey="IssueImpact.IssueImpactID"/> <field name="ImpactName" type="text"> <tableName>IssueImpact</tableName> </field> <field name="LikelihoodID" type="integer" required="true" title="Likelihood" detail="true" canEdit="true" foreignKey="IssueLikelihood.LikelihoodID"/> <field name="LikelihoodTitle" type="text" detail="true"> <tableName>IssueLikelihood</tableName> </field> <field name="OwnerID" type="integer" title="OwnerID" detail="true" canEdit="true" foreignKey="TeamMember.TeamMemberID"/> <field name="OwnerName" type="text" title="Owner" detail="true" canEdit="true"> <nativeName>TeamMemberName</nativeName> <tableName>OwnerMember</tableName> </field> <field name="OriginatorID" type="integer" required="true" title="Originator" detail="true" canEdit="true" foreignKey="TeamMember.TeamMemberID"/> <field name="OriginatorName" type="text" title="Originator" detail="true" canEdit="true"> <nativeName>TeamMemberName</nativeName> <tableName>OrigMember</tableName> </field> <field name="IssueStatus" type="text" required="true" length="16" title="Status" canEdit="true"> <valueMap> <value>Open</value> <value>Selected</value> <value>Deferred</value> <value>Rejected</value> <value>Accepted</value> <value>Analysis</value> <value>Started</value> <value>Waiting</value> <value>Resolved</value> <value>Closed</value> </valueMap> </field> <field name="IssueDueDate" type="date" title="Due" canEdit="true"/> <field name="ClosedDate" type="date" title="Closed" canEdit="true"/> <field name="OriginalDueDate" type="date" title="Originally Due" detail="true" canEdit="true"/> <field name="Resolution" type="text" title="Resolution" detail="true" canEdit="true"/> <field name="Private" type="boolean" required="true" title="Private Issue" canEdit="true" sqlStorageStrategy="integer"/> <field name="Description" type="text" length="2147483647" title="Description" detail="true" canEdit="true"/> <field name="LogEntry" type="text" length="1024" title="Log" detail="true" canEdit="false"/> <field name="Log" type="text" length="2147483647" title="Log" detail="true" canEdit="false"/> <field name="Created" type="creatorTimestamp" title="Created"/> <field name="Modified" type="modifierTimestamp" title="Modified" detail="true"/> <field name="MeetingTopicID" type="integer" hidden="true" foreignKey="MeetingTopic.MeetingTopicID"/> </fields> <operationBindings> <OperationBinding> <operationType>fetch</operationType> <tableClause>(Project, IssueImpact, IssueLikelihood, IssueType, Issue) LEFT JOIN Category ON Issue.CategoryID = Category.CategoryID LEFT JOIN TeamMember OwnerMember ON Issue.OwnerID = OwnerMember.TeamMemberID LEFT JOIN TeamMember OrigMember ON Issue.OwnerID = OrigMember.TeamMemberID </tableClause> <whereClause>Issue.ProjectID = Project.ProjectID AND Issue.ImpactID = IssueImpact.ImpactID AND Issue.LikelihoodID = IssueLikelihood.LikelihoodID AND Issue.IssueTypeID = IssueType.IssueTypeID AND ($defaultWhereClause)</whereClause> </OperationBinding> </operationBindings> <title>Issue</title> <titleField>IssueTitle</titleField> <pluralTitle>Issues</pluralTitle> <generatedBy>SC_SNAPSHOT-2012-01-09_v8.2p/Pro Deployment 2012-01-09</generatedBy> </DataSource>
Any ideas where the fix goes?
Thanks,
Rick
Comment