Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Migration from Smart GWT 5.1 to 12: Problems with SQLDatasources

    Hello Smart GWT Community,

    we are planning to update some Smart GWT licences from version 5.1 to 12. To check the compatibility, we recently tried to migrate our web application from Smart GWT 5.1 Power Edition to Smart GWT 12 full-featured evaluation (p20180630).
    After fixing some minor compile time incompatibilities, our application now crashes during one of the first attempts to access data from our sql datasources (see the stack trace below).

    Are there any known incompatibilities between the data source logic of version 5.1 and 12?

    Is there somewhere a migration guide explaining, what changes have to be done to move an application from version 5.1 to 6 or from 6 to 12?

    Annoyingly it is almost impossible to debug an application without having insight into the sources of the used libraries. Is there any way to integrate the Smart GWT sources into our project, so that we can so what's going on inside the framework using the eclipse debugging perspective?

    Thanks for any assistance,

    viadee


    Code:
    2018-07-16 11:38:58,026 [4-63] WARN  DataSourceDMI - Exception while ending transaction connection form DataSourceDMI
    java.lang.Exception: Could not find a DSRequest for a SQLDataSource in getConnection
        at com.isomorphic.sql.SQLTransaction.getConnection(SQLTransaction.java:205)
        at com.isomorphic.sql.SQLTransaction.getConnection(SQLTransaction.java:170)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.isomorphic.base.Reflection._invokeMethod(Reflection.java:580)
        at com.isomorphic.base.Reflection.invokeStaticMethod(Reflection.java:635)
        at com.isomorphic.base.Reflection.invokeStaticMethod(Reflection.java:601)
        at com.isomorphic.datasource.DataSourceDMI.freeResources(DataSourceDMI.java:949)
        at com.isomorphic.datasource.DSRequest.freeResources(DSRequest.java:5168)
        at com.isomorphic.datasource.DSRequest.freeResources(DSRequest.java:138)
        at com.isomorphic.datasource.DSTransaction.freeQueueResources(DSTransaction.java:434)
        at com.isomorphic.rpc.RPCManager.completeResponse(RPCManager.java:1921)
        at com.isomorphic.rpc.RPCManager.send(RPCManager.java:715)
        at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:187)
        at de.myproject.frontend.server.servlet.SecureIDACall.processRequest(SecureIDACall.java:222)
        at com.isomorphic.servlet.IDACall._processRequest(IDACall.java:119)
        at com.isomorphic.servlet.IDACall.doPost(IDACall.java:79)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
        at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:176)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
        at de.myproject.frontend.server.filter.ConnectionFilter.doFilter(ConnectionFilter.java:29)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
        at de.myproject.frontend.server.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:39)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
        at de.myproject.frontend.server.filter.SessionLimitFilter$SessionFilter.doFilter(SessionLimitFilter.java:94)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
        at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:95)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
        at org.eclipse.jetty.server.Server.handle(Server.java:499)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
        at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
        at java.lang.Thread.run(Thread.java:748)
Working...
X