Hi Isomorphic,
please I'm in the process of switching to 5.1d (v10.1d_2015-03-25-SNAPSHOT) in order to use the new BatchUploader facilities.
I hit a very basic problem with my ds.xml files (working fine in 5.0p 2015-03-25).
Please try to load employees.ds.xml with the following short 3-field list:
As you can see the field name="userOrder" points to db-column nativeName="ReportsTo" which already has its own field name="ReportsTo".
This leads to following exception on startup:
Best regards,
Blama
please I'm in the process of switching to 5.1d (v10.1d_2015-03-25-SNAPSHOT) in order to use the new BatchUploader facilities.
I hit a very basic problem with my ds.xml files (working fine in 5.0p 2015-03-25).
Please try to load employees.ds.xml with the following short 3-field list:
Code:
<field name="userOrder" title="userOrder" [B]nativeName="ReportsTo"[/B] type="integer" canEdit="false" hidden="true"/> <field name="EmployeeId" title="Employee ID" type="integer" primaryKey="true" required="true"/> <field name="ReportsTo" title="Manager" type="integer" required="true" />
This leads to following exception on startup:
Code:
=== 2015-03-27 12:49:51,291 [ec-7] ERROR DataSourceLoader - BaseServlet Global Exception javax.servlet.ServletException: DataSource 'MYDS' failed to load due to an exception on the server: [B]java.util.ArrayList cannot be cast to java.lang.String [/B]See the server-side log for additional details. at com.isomorphic.servlet.DataSourceLoader.processRequest(DataSourceLoader.java:270) at com.isomorphic.servlet.DataSourceLoader.doGet(DataSourceLoader.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.lmscompany.lms.server.MimeTypeFilter.doFilter(MimeTypeFilter.java:23) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260) at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Blama
Comment