I have an old Smartclient 8.2 application (not GWT). I wanted some bug fixes, so I've downloaded 8.3 Pro, and have overwritten the old libraries with the new ones. (Was there anything else I was supposed to do?)
The problem is that now, I'm getting a server-side stack trace the first time I try to call a method on a DSRequest. I'm calling dsReq.getCriteria().
The message in the tomcat console says that I should install the Init servlet, because it can'ts find builtinTypes.xml. But that doesn't make sense to me. Isn't that a GWT thing? Is this something different between 8.2 and 8.3?
I should mention that I verified that my webapps/isomorphic directory has the complete system directory including schema/builtinTypes.xml.
Here's the exact text from the console:
Problem loading builtinTypes.xml
Exception when loading from __USE_CONTAINER__/isomorphic/system/schema/builtinTypes.xml:
java.io.IOException: Configured for containerIO, but servletContext not available! You need to install the Init servlet
at com.isomorphic.io.ISCFile.<init>(ISCFile.java:140)
at com.isomorphic.xml.XML.getXMLDocument(XML.java:286)
at com.isomorphic.xml.XML.toDSRecords(XML.java:294)
at com.isomorphic.xml.XML.toDSRecords(XML.java:298)
at com.isomorphic.xml.XML.toDSRecords(XML.java:301)
at com.isomorphic.datasource.DataSource.<clinit>(DataSource.java:581)
at com.isomorphic.datasource.DSRequest.getCriteria(DSRequest.java:806)
at com.isomorphic.datasource.DSRequest.getCriteria(DSRequest.java:799)
The problem is that now, I'm getting a server-side stack trace the first time I try to call a method on a DSRequest. I'm calling dsReq.getCriteria().
The message in the tomcat console says that I should install the Init servlet, because it can'ts find builtinTypes.xml. But that doesn't make sense to me. Isn't that a GWT thing? Is this something different between 8.2 and 8.3?
I should mention that I verified that my webapps/isomorphic directory has the complete system directory including schema/builtinTypes.xml.
Here's the exact text from the console:
Problem loading builtinTypes.xml
Exception when loading from __USE_CONTAINER__/isomorphic/system/schema/builtinTypes.xml:
java.io.IOException: Configured for containerIO, but servletContext not available! You need to install the Init servlet
at com.isomorphic.io.ISCFile.<init>(ISCFile.java:140)
at com.isomorphic.xml.XML.getXMLDocument(XML.java:286)
at com.isomorphic.xml.XML.toDSRecords(XML.java:294)
at com.isomorphic.xml.XML.toDSRecords(XML.java:298)
at com.isomorphic.xml.XML.toDSRecords(XML.java:301)
at com.isomorphic.datasource.DataSource.<clinit>(DataSource.java:581)
at com.isomorphic.datasource.DSRequest.getCriteria(DSRequest.java:806)
at com.isomorphic.datasource.DSRequest.getCriteria(DSRequest.java:799)
Comment