Announcement

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

    transactions and standalone datasource

    Smartclient v8.2p_2012-04-13/PowerEdition

    I'm using SqlDatasource's API in a class which will be exposed as a Web Service (which will be called by a third party - non smartclient - application).

    So I'm in a "Standalone DataSource" use case.

    Is it possible to join transactions? I'm doing a couple of updates on different datasources and it doesn't rollback the first update if the second update goes wrong.

    #2
    There's not currently a way to do this in the absence of a servletRequest and response, although if you can use the RestDataSource approach, the RESTHandler Servlet does support transactions.

    Comment


      #3
      now I'm facing another problem.
      The web service method uses a DMI call on a dataSource with lookupStyle="spring", and I got this error:
      Code:
      2013-05-22 11:13:15,006 DEBUG DeclarativeSecurity Processing security checks for DataSource null, field null 
      2013-05-22 11:13:15,006 INFO  ServerObject DMI on Spring bean: utentiMailingDMI 
      2013-05-22 11:13:15,006 DEBUG [org.apache.axis.i18n.ProjectResourceBundle] - <org.apache.axis.i18n.resource::handleGetObject(toAxisFault00)>
      2013-05-22 11:13:15,006 DEBUG [org.apache.axis.enterprise] - <Mapping Exception to AxisFault>
      ...
      <snip>
      ...
      RequestContext is missing the ServletContext.  Please ensure you privide either a PageContext, a Servlet, or a ServletContext to your RequestContex.instance() call.
      	at com.isomorphic.rpc.ServerObject.&lt;init&gt;(ServerObject.java:225)
      	at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:218)
      	at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
      	at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2030)
      I've added the standalone.spring.applicationContext setting in server.properties, but it doesn't work either.
      Last edited by claudiobosticco; 22 May 2013, 01:13.

      Comment


        #4
        This seems like it just indicates that Init hasn't run - have you seen this discussion?

        Comment


          #5
          Originally posted by Isomorphic View Post
          This seems like it just indicates that Init hasn't run - have you seen this discussion?
          yes, the InitListener is in the web.xml.

          and Calling ISCInit.go() logs:
          Code:
          2013-05-24 11:02:27,891 INFO  ISCInit Isomorphic SmartClient/SmartGWT Framework initialization called from [No class name provided] 
          2013-05-24 11:02:27,891 INFO  ISCInit Isomorphic SmartClient/SmartGWT Framework is already initialized
          anyway, I solved the problem setting the RequestContext on the dsRequest:
          Code:
          dsRequest.setRequestContext(requestContext);
          where the requestContext instance is constructed using HttpServlet, HttpServletRequest and HttpServletResponse found using Axis API:
          Code:
          import org.apache.axis.MessageContext;
          import org.apache.axis.transport.http.HTTPConstants;
          
              private HttpServletRequest findHttpServletRequest() {
                  MessageContext mycontext = MessageContext.getCurrentContext();
                  HttpServletRequest httpServletRequest = (HttpServletRequest) mycontext.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);
                  return httpServletRequest;
              }
          
              private HttpServletResponse findHttpServletResponse() {
                  MessageContext mycontext = MessageContext.getCurrentContext();
                  HttpServletResponse httpServletResponse = (HttpServletResponse) mycontext.getProperty(HTTPConstants.MC_HTTP_SERVLETRESPONSE);
                  return httpServletResponse;
              }
          
              private HttpServlet findHttpServlet() {
                  MessageContext mycontext = MessageContext.getCurrentContext();
                  HttpServlet httpServlet = (HttpServlet) mycontext.getProperty(HTTPConstants.MC_HTTP_SERVLET);
                  return httpServlet;
              }
          do you think it's the correct approach or there's a simpler solution?

          Comment


            #6
            If Init.go() has run there's no way to see this message about not having a ServletContext. So it seems like the only explanation is that you have two copies of the Server Framework in memory - in one, Init.go() ran, in the other, it did not.

            This kind of thing can happen due to duplicate .jars in the classpath, or classloader issues where some other framework (Spring probably) has caused duplicate copies of the classes to be loaded.

            Comment


              #7
              mh...with verbose:class enabled on tomcat startup, I see only one com/isomorphic/base/InitListener loading for each application deployed, so it seems right.

              Comment


                #8
                Using Spring in a standalone application

                I've got the same problem with a quartz-scheduled job which must use a datasource with a DMI method in a spring-configured bean, so I'm trying to make a simple test case outside of a servletContainer.

                SmartClient Version: v8.3p_2013-05-26/PowerEdition Deployment (built 2013-05-26)

                Test case, main method:
                Code:
                    public static void main(String[] args) throws Exception {
                        ISCInit.go();
                        DSRequest dsRequest = new DSRequest("JPC_TEST_SPRING_DMI", "fetch");
                        dsRequest.setOperationId("fetchSpringDMI");
                        DSResponse dsResponse = dsRequest.execute();
                        List dataList = dsResponse.getDataList();
                    }
                this is the dataSource:
                Code:
                <DataSource
                            ID="JPC_TEST_SPRING_DMI"
                            tableName="JPC_ACCOUNTS"
                            schema="DBSALES"
                            dbName="dbJpcEP"
                            serverType="sql"
                            requiresAuthentication="false"
                        >
                    <fields>
                        <field sqlType="decimal" primaryKey="true" name="ID_REC" type="sequence" hidden="true">
                            <sequenceName>SEQUENCE_ID_REC</sequenceName>
                        </field>
                        <field sqlType="varchar" sqlLength="20" name="USER_ID" length="20" type="text"></field>
                        <field sqlType="varchar" sqlLength="200" name="EMAIL" length="20" type="text"></field>
                        <field sqlType="varchar" sqlLength="200" name="TELEFONO" length="20" type="text"></field>
                        <field sqlType="varchar" sqlLength="200" name="NOME" length="20" type="text"></field>
                        <field sqlType="varchar" sqlLength="200" name="COGNOME" length="20" type="text"></field>
                    </fields>
                    <operationBindings>
                        <operationBinding operationType="fetch" operationId="fetchSpringDMI" serverMethod="fetchSpringDMI">
                            <serverObject lookupStyle="spring" bean="testSpringDMI"/>
                            <selectClause>$defaultSelectClause</selectClause>
                            <tableClause>$defaultTableClause</tableClause>
                            <whereClause>$defaultWhereClause</whereClause>
                        </operationBinding>
                    </operationBindings>
                </DataSource>
                server.properties:
                Code:
                webRoot: /Users/bosticco/iscSDK/tools/visualBuilder/workspace/JpcEP/out/artifacts/JpcEP_war_exploded
                
                isomorphicPathRootRelative: isomorphic
                
                project.datasources: $webRoot/shared/ds,$webRoot/shared/ds/jabbo,$webRoot/shared/ds/txril,$webRoot/shared/ds/tdt
                project.ui: $webRoot/shared/ui
                project.apps: $webRoot/shared/app
                
                standalone.spring.applicationContext: $webRoot/WEB-INF/classes/accounts.xml
                
                sql.dbJpcEP.database.type: oracle
                sql.dbJpcEP.interface.type: dataSource
                sql.dbJpcEP.driver: oracle.jdbc.pool.OracleDataSource
                sql.dbJpcEP.driver.driverType: thin
                sql.dbJpcEP.driver.databaseName: dbdev
                sql.dbJpcEP.driver.serverName: myHost
                sql.dbJpcEP.driver.portNumber: 1521
                sql.dbJpcEP.driver.user: myUser
                sql.dbJpcEP.driver.password: secret
                accounts.xml:
                Code:
                <?xml version="1.0" encoding="UTF-8"?>
                <beans xmlns="http://www.springframework.org/schema/beans"
                       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
                       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
                
                    <bean id="testSpringDMI" class="com.juve.FetchSpringDMI"/>
                </beans>
                FetchSpringDMI.java:
                Code:
                public class FetchSpringDMI {
                
                    public DSResponse fetchSpringDMI(DSRequest dsRequest) throws Exception {
                        return dsRequest.execute();
                    }
                }
                and this is the complete log:
                Code:
                /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -classpath /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/deploy.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/dt.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/javaws.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/jconsole.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/management-agent.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/plugin.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/sa-jdi.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext/apple_provider.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext/dnsns.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext/localedata.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext/sunjce_provider.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext/sunpkcs11.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/JpcEP/out/production/JpcEP:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/org.springframework.transaction-3.0.5.RELEASE.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/org.springframework.web-3.0.5.RELEASE.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/org.springframework.expression-3.0.5.RELEASE.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/org.springframework.test-3.0.5.RELEASE.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/org.springframework.web.servlet-3.0.5.RELEASE.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/org.springframework.aop-3.0.5.RELEASE.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/org.springframework.context-3.0.5.RELEASE.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/org.springframework.core-3.0.5.RELEASE.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/org.springframework.asm-3.0.5.RELEASE.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/org.springframework.beans-3.0.5.RELEASE.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/spring-context-support-3.0.5.RELEASE.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/spring-security-config-3.0.5.RELEASE.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/spring-security-core-3.0.5.RELEASE.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/spring-security-ldap-3.0.5.RELEASE.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/spring-security-web-3.0.5.RELEASE.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/spring-security-cas-client-3.0.5.RELEASE.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/groovy-all-1.8.0.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/jstl-api-1.2.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/jstl-impl-1.2.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/slf4j-api-1.6.1.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/jcl-over-slf4j-1.6.1.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/slf4j-log4j12-1.6.1.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/datedFileAppender-1.0.2.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/UserAgentUtils-1.2.3.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/jtidy-r938.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/jxl-2.6.10.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/dom4j-1.6.1.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/iText-2.1.7.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/poi-ooxml-3.7-20101029.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/poi-ooxml-schemas-3.7-20101029.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/poi-3.7-20101029.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/jasperreports-4.6.0.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/jasperreports-javaflow-4.6.0.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/jasperreports-fonts-4.6.0.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/opencsv-2.3.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/core-renderer-R8-isomorphic.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/batik-anim.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/batik-awt-util.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/batik-bridge.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/batik-css.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/batik-dom.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/batik-ext.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/batik-gvt.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/batik-parser.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/batik-script.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/batik-svg-dom.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/batik-util.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/batik-xml.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/spring-ldap-core-1.3.1.RELEASE.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/xmlsec-20050514.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/velocity-1.6.1.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/xbean.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/objenesis-1.2.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/validation-api-1.0.0.GA.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/joda-time-2.0.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/mail.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/hsqldb-1.8.0.10.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/hibernate-validator-4.1.0.Final.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/cloning-1.7.8.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/pojava-2.8.0.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/NCSO.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/xom-1.2.9.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/urlrewritefilter-4.0.3.jar:/usr/local/apache-tomcat-7.0.32/lib/servlet-api.jar:/usr/local/apache-tomcat-7.0.32/lib/log4j-1.2.15.jar:/usr/local/apache-tomcat-7.0.32/lib/ojdbc6_g.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/json-lib-2.4-jdk15.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/ezmorph-1.0.6.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/production/juveModule:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/iscModule/web/WEB-INF/lib/isomorphic_assembly.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/iscModule/web/WEB-INF/lib/isomorphic_contentexport.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/iscModule/web/WEB-INF/lib/isomorphic_compression.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/iscModule/web/WEB-INF/lib/isomorphic_sql.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/iscModule/web/WEB-INF/lib/isomorphic_core_rpc.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/iscModule/web/WEB-INF/lib/isomorphic_spring.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/iscModule/web/WEB-INF/lib/isomorphic_tools.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/iscModule/web/WEB-INF/lib/isc-jakarta-oro-2.0.6.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/commons-lang-2.5.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/commons-beanutils-1.8.0.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/commons-codec-1.3.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/commons-jxpath-1.3.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/commons-digester-1.7.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/commons-httpclient-3.1.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/commons-fileupload-1.2.1.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/commons-collections-3.2.1.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/commons-dbcp-1.2.2.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/commons-vfs-1.0.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/commons-logging-1.1.1.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/commons-pool-1.4.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/commons-cli-1.1.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/commons-discovery-0.2.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/commons-io-2.3.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/commons-validator-1.4.0.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/cas-client-core-3.2.1.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/juveModule/web/WEB-INF/lib/opensaml-1.1.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/Eleven/out/production/iscModule:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/JReport/out/production/JReport:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/WebServices/web/WEB-INF/lib/axis.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/WebServices/web/WEB-INF/lib/jaxrpc.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/WebServices/web/WEB-INF/lib/saaj.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/WebServices/web/WEB-INF/lib/wsdl4j-1.5.1.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/WebServices/web/WEB-INF/lib/commons-discovery-0.2.jar:/Applications/Leda-IU-129.60.app/lib/idea_rt.jar:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/JpcEP/out/artifacts/JpcEP_war_exploded/WEB-INF/classes -Didea.launcher.port=7532 -Didea.launcher.bin.path=/Applications/Leda-IU-129.60.app/bin -Dfile.encoding=UTF-8 com.intellij.rt.execution.application.AppMain com.juve.TestRestHandler
                ISC: Configuring log4j from: file:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/JpcEP/out/artifacts/JpcEP_war_exploded/WEB-INF/classes/log4j.isc.config.xml
                2013-05-30 15:54:31,318 INFO  ISCInit Isomorphic SmartClient/SmartGWT Framework initialization called from [No class name provided] 
                2013-05-30 15:54:31,319 INFO  ISCInit Isomorphic SmartClient/SmartGWT Framework - Initializing 
                2013-05-30 15:54:31,327 INFO  ConfigLoader Attempting to load framework.properties from CLASSPATH 
                2013-05-30 15:54:31,434 INFO  ConfigLoader Successfully loaded framework.properties from CLASSPATH at location: jar:file:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/iscModule/web/WEB-INF/lib/isomorphic_core_rpc.jar!/framework.properties 
                2013-05-30 15:54:31,434 INFO  ConfigLoader Attempting to load project.properties from CLASSPATH 
                2013-05-30 15:54:31,435 INFO  ConfigLoader Unable to locate project.properties in CLASSPATH 
                2013-05-30 15:54:31,440 INFO  ConfigLoader Successfully loaded isc_interfaces.properties from CLASSPATH at location: jar:file:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/iscModule/web/WEB-INF/lib/isomorphic_core_rpc.jar!/isc_interfaces.properties 
                2013-05-30 15:54:31,440 INFO  ConfigLoader Attempting to load server.properties from CLASSPATH 
                2013-05-30 15:54:31,441 INFO  ConfigLoader Successfully loaded server.properties from CLASSPATH at location: file:/Users/bosticco/iscSDK/tools/visualBuilder/workspace/JpcEP/out/artifacts/JpcEP_war_exploded/WEB-INF/classes/server.properties 
                2013-05-30 15:54:31,448 INFO  Logger Logging system started. 
                2013-05-30 15:54:31,449 INFO  ISCInit Isomorphic SmartClient/SmartGWT Framework (v8.3p_2013-05-26/PowerEdition Deployment 2013-05-26) - Initialization Complete 
                2013-05-30 15:54:31,450 INFO  ISCInit Using Configured webRoot: /Users/bosticco/iscSDK/tools/visualBuilder/workspace/JpcEP/out/artifacts/JpcEP_war_exploded 
                2013-05-30 15:54:31,471 INFO  ISCInit Isomorphic SmartClient/SmartGWT Framework initialization called from com.isomorphic.base.Base 
                2013-05-30 15:54:31,471 INFO  ISCInit Isomorphic SmartClient/SmartGWT Framework is already initialized 
                2013-05-30 15:54:31,522 DEBUG XML Parsed XML from /Users/bosticco/iscSDK/tools/visualBuilder/workspace/JpcEP/out/artifacts/JpcEP_war_exploded/isomorphic/system/schema/builtinTypes.xml: 10ms 
                2013-05-30 15:54:31,544 INFO  PoolManager SmartClient pooling disabled for 'simpleTypes' objects 
                2013-05-30 15:54:31,609 DEBUG XML Parsed XML from /Users/bosticco/iscSDK/tools/visualBuilder/workspace/JpcEP/out/artifacts/JpcEP_war_exploded/shared/ds/JPC_TEST_SPRING_DMI.ds.xml: 3ms 
                2013-05-30 15:54:31,617 DEBUG XML Parsed XML from /Users/bosticco/iscSDK/tools/visualBuilder/workspace/JpcEP/out/artifacts/JpcEP_war_exploded/isomorphic/system/schema/DataSource.ds.xml: 7ms 
                2013-05-30 15:54:31,673 DEBUG XML Parsed XML from /Users/bosticco/iscSDK/tools/visualBuilder/workspace/JpcEP/out/artifacts/JpcEP_war_exploded/isomorphic/system/schema/DataSourceField.ds.xml: 7ms 
                2013-05-30 15:54:31,700 DEBUG XML Parsed XML from /Users/bosticco/iscSDK/tools/visualBuilder/workspace/JpcEP/out/artifacts/JpcEP_war_exploded/isomorphic/system/schema/OperationBinding.ds.xml: 6ms 
                2013-05-30 15:54:31,716 DEBUG XML Parsed XML from /Users/bosticco/iscSDK/tools/visualBuilder/workspace/JpcEP/out/artifacts/JpcEP_war_exploded/isomorphic/system/schema/ServerObject.ds.xml: 2ms 
                2013-05-30 15:54:31,760 DEBUG DeclarativeSecurity Processing security checks for DataSource null, field null 
                2013-05-30 15:54:31,764 INFO  ServerObject DMI on Spring bean: testSpringDMI 
                Exception in thread "main" java.lang.Exception: RequestContext is missing the ServletContext.  Please ensure you privide either a PageContext, a Servlet, or a ServletContext to your RequestContex.instance() call.
                	at com.isomorphic.rpc.ServerObject.<init>(ServerObject.java:225)
                	at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:218)
                	at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
                	at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2030)
                	at com.juve.TestRestHandler.main(TestRestHandler.java:30)
                	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                	at java.lang.reflect.Method.invoke(Method.java:597)
                	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
                it seems that the property standalone.spring.applicationContext is ignored ?!
                Last edited by claudiobosticco; 30 May 2013, 06:14.

                Comment


                  #9
                  Originally posted by Isomorphic View Post
                  If Init.go() has run there's no way to see this message about not having a ServletContext. So it seems like the only explanation is that you have two copies of the Server Framework in memory - in one, Init.go() ran, in the other, it did not.

                  This kind of thing can happen due to duplicate .jars in the classpath, or classloader issues where some other framework (Spring probably) has caused duplicate copies of the classes to be loaded.
                  About this error in the web service which calls a DMI with lookupStyle="spring", I've verified the logs at server startup and the ISCInit runs exactly once.
                  I've also verified with JVM option -verbose:class that all framework classes are loaded only once.
                  If you would I could post entire logs - they're pretty long.

                  but trying to execute the same code of the standalone case of my previous post:
                  Code:
                  DSRequest req = new DSRequest("JPC_TEST_SPRING_DMI", "fetch");
                  req.setOperationId("fetchSpringDMI");
                  req.execute();
                  gives the same error about the RequestContext not having a servletContext - it doesn't even try to instantiate the bean I think. Am I right?

                  maybe is the same problem of this poster:
                  http://forums.smartclient.com/showpo...45&postcount=9
                  ?

                  Comment


                    #10
                    I don't see replies from Isomorphic, but I'm still investigating...

                    I've reproduced the 'spring DMI serverObject in a Web Service' problem in the SDK (SmartClient_v83p_2013-05-26/smartclientSDK).

                    I've copied my (compiled) web service class under WEB-INF/classes/com/juve/jpcep:

                    Code:
                    package com.juve.jpcep.ws;
                    
                    import com.isomorphic.datasource.DSRequest;
                    
                    public class ApprovazioneContratto  {
                        public boolean approva(String uuid, String emailApprovatore) throws Exception {
                            return execute(uuid, "APPROVAZIONE", true, emailApprovatore);
                        }
                    
                        public boolean rifiuta(String uuid, String note, String emailApprovatore) throws Exception {
                            return execute(uuid, "RIFIUTO", false, emailApprovatore);
                        }
                    
                        private boolean execute(String uuid, String note, Boolean approva, String emailApprovatore) throws Exception {
                            DSRequest req = new DSRequest("TEST_SPRING_DMI", "fetch");
                            req.setOperationId("fetchSpringDMI");
                            req.execute();
                            return false;
                        }
                    
                    
                    }
                    then I've copied the dataSource under shared/ds:
                    Code:
                    <DataSource
                            ID="TEST_SPRING_DMI"
                            tableName="TEST"
                            dbName="HSQLDB"
                            serverType="sql"
                    >
                            
                        <fields>
                            <field sqlType="decimal" primaryKey="true" name="id" type="sequence" hidden="true"/>
                            <field sqlType="varchar" sqlLength="20" name="test" length="20" type="text"></field>
                        </fields>
                        <operationBindings>
                            <operationBinding operationType="fetch" operationId="fetchSpringDMI">
                                <serverObject lookupStyle="spring" bean="testSpringDMI"/>
                            </operationBinding>
                        </operationBindings>
                    </DataSource>
                    I replaced the existing smartclientSDK/WEB-INF/server-config.wsdd with mine:
                    Code:
                    <?xml version="1.0" encoding="UTF-8"?>
                    <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
                      <globalConfiguration>
                        <parameter name="sendMultiRefs" value="true"/>
                        <parameter name="disablePrettyXML" value="true"/>
                        <parameter name="adminPassword" value="admin"/>
                    
                        <parameter name="dotNetSoapEncFix" value="true"/>
                        <parameter name="enableNamespacePrefixOptimization" value="false"/>
                        <parameter name="sendXMLDeclaration" value="true"/>
                        <parameter name="sendXsiTypes" value="true"/>
                        <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/>
                        <requestFlow>
                          <handler type="java:org.apache.axis.handlers.JWSHandler">
                            <parameter name="scope" value="session"/>
                          </handler>
                          <handler type="java:org.apache.axis.handlers.JWSHandler">
                            <parameter name="scope" value="request"/>
                            <parameter name="extension" value=".jwr"/>
                          </handler>
                        </requestFlow>
                      </globalConfiguration>
                    
                      <handler name="LocalResponder" type="java:org.apache.axis.transport.local.LocalResponder"/>
                      <handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper"/>
                      <handler name="Authenticate" type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
                      <service name="AdminService" provider="java:MSG">
                        <parameter name="allowedMethods" value="AdminService"/>
                        <parameter name="enableRemoteAdmin" value="false"/>
                        <parameter name="className" value="org.apache.axis.utils.Admin"/>
                        <namespace>http://xml.apache.org/axis/wsdd/</namespace>
                      </service>
                    
                      <service name="Version" provider="java:RPC">
                        <parameter name="allowedMethods" value="getVersion"/>
                        <parameter name="className" value="org.apache.axis.Version"/>
                      </service>
                      <service name="SOAPMonitorService" provider="java:RPC">
                        <parameter name="allowedMethods" value="publishMessage"/>
                        <parameter name="scope" value="Application"/>
                        <parameter name="className" value="org.apache.axis.monitor.SOAPMonitorService"/>
                      </service>
                        <service name="ApprovazioneContratto" provider="java:RPC" style="rpc" use="literal">
                            <parameter name="className" value="com.juve.jpcep.ws.ApprovazioneContratto"/>
                            <parameter name="allowedMethods" value="*"/>
                            <parameter name="scope" value="Application"/>
                            <namespace>http://ws.jpcep.juve.com</namespace>
                            <typeMapping qname="ns:HttpServletRequest" xmlns:ns="http://ws.jpcep.juve.com"
                                         languageSpecificType="java:javax.servlet.http.HttpServletRequest"
                                         serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
                                         deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
                                         encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                            <typeMapping qname="ns:Boolean" xmlns:ns="http://ws.jpcep.juve.com"
                                         languageSpecificType="java:java.lang.Boolean"
                                         serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
                                         deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
                                         encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                            <typeMapping qname="ns:Object" xmlns:ns="http://ws.jpcep.juve.com"
                                         languageSpecificType="java:java.lang.Object"
                                         serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
                                         deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
                                         encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                            <typeMapping qname="ns:Map" xmlns:ns="http://ws.jpcep.juve.com"
                                         languageSpecificType="java:java.util.Map"
                                         serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
                                         deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
                                         encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                        </service>
                        <handler name="soapmonitor" type="java:org.apache.axis.handlers.SOAPMonitorHandler">
                        <parameter name="wsdlURL" value="/axis/SOAPMonitorService-impl.wsdl"/>
                        <parameter name="serviceName" value="SOAPMonitorService"/>
                        <parameter name="namespace" value="http://tempuri.org/wsdl/2001/12/SOAPMonitorService-impl.wsdl"/>
                        <parameter name="portName" value="Demo"/>
                     </handler>
                      <transport name="http">
                        <requestFlow>
                          <handler type="URLMapper"/>
                          <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
                    
                            <!--comment following line for REMOVING wsdl spying via SOAPMonitor-->
                            <handler type="soapmonitor"/>
                        </requestFlow>
                        <responseFlow>
                          <!--comment following line for REMOVING wsdl spying via SOAPMonitor-->
                            <handler type="soapmonitor"/>
                        </responseFlow>
                        <parameter name="qs:list" value="org.apache.axis.transport.http.QSListHandler"/>
                        <parameter name="qs:wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
                        <parameter name="qs.list" value="org.apache.axis.transport.http.QSListHandler"/>
                        <parameter name="qs.method" value="org.apache.axis.transport.http.QSMethodHandler"/>
                        <parameter name="qs:method" value="org.apache.axis.transport.http.QSMethodHandler"/>
                        <parameter name="qs.wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
                      </transport>
                      <transport name="local">
                        <responseFlow>
                          <handler type="LocalResponder"/>
                        </responseFlow>
                      </transport>
                    </deployment>
                    then invoke the WS:
                    Code:
                    http://localhost:8080/isomorphic/services/1.0/ApprovazioneContratto?method=approva
                    server logs:
                    Code:
                    === 2013-06-03 09:32:58,811 [main] INFO  PreCache - Isomorphic PreCache complete (442ms)
                    === 2013-06-03 09:32:58,870 [main] INFO  Http11BaseProtocol - Initializing Coyote HTTP/1.1 on http-8082
                    === 2013-06-03 09:32:58,886 [main] INFO  Http11BaseProtocol - Starting Coyote HTTP/1.1 on http-8082
                    === 2013-06-03 09:32:59,685 [sor4] INFO  RequestContext - URL: '/isomorphic/services/1.0/ApprovazioneContratto', User-Agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36': Safari with Accept-Encoding header
                    === 2013-06-03 09:32:59,788 [sor4] DEBUG XML - Parsed XML from /Users/bosticco/librerie/isc/8.3/SmartClient_v83p_2013-05-26/smartclientSDK/shared/ds/TEST_SPRING_DMI.ds.xml: 0ms
                    === 2013-06-03 09:32:59,793 [sor4] DEBUG XML - Parsed XML from /Users/bosticco/librerie/isc/8.3/SmartClient_v83p_2013-05-26/smartclientSDK/isomorphic/system/schema/OperationBinding.ds.xml: 2ms
                    === 2013-06-03 09:32:59,802 [sor4] DEBUG XML - Parsed XML from /Users/bosticco/librerie/isc/8.3/SmartClient_v83p_2013-05-26/smartclientSDK/isomorphic/system/schema/ServerObject.ds.xml: 1ms
                    === 2013-06-03 09:32:59,834 [sor4] DEBUG DeclarativeSecurity - Processing security checks for DataSource null, field null
                    === 2013-06-03 09:32:59,839 [sor4] INFO  ServerObject - DMI on Spring bean: testSpringDMI
                    and the web service returns 'RequestContext is missing the ServletContext' error:
                    Code:
                    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <soapenv:Body>
                    <soapenv:Fault>
                    <faultcode>soapenv:Server.userException</faultcode>
                    <faultstring>
                    java.lang.Exception: RequestContext is missing the ServletContext. Please ensure you privide either a PageContext, a Servlet, or a ServletContext to your RequestContex.instance() call.
                    </faultstring>
                    <detail>
                    <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">MacBook-Pro-di-Claudio.local</ns1:hostname>
                    </detail>
                    </soapenv:Fault>
                    </soapenv:Body>
                    </soapenv:Envelope>

                    Comment


                      #11
                      this time I've dropped the code of the test case at post #8 http://forums.smartclient.com/showpo...74&postcount=8
                      in the SDK of smartclient 9.0:
                      SmartClient_SNAPSHOT_v90d_2013-06-04
                      then executing the main:
                      java -classpath "/usr/local/apache-tomcat-7.0.32/lib/*:../lib/*:." com/juve/TestCase -verbose

                      gives this error log:
                      Code:
                      MacBook-Pro-di-Claudio:classes bosticco$ java -classpath "/usr/local/apache-tomcat-7.0.32/lib/*:../lib/*:."  com/juve/TestCase -verbose
                      ISC: Configuring log4j from: file:/Users/bosticco/librerie/isc/9.0/SmartClient_SNAPSHOT_v90d_2013-06-04/smartclientSDK/WEB-INF/classes/log4j.isc.config.xml
                      === 2013-06-05 16:04:52,094 [main] INFO  ISCInit - Isomorphic SmartClient/SmartGWT Framework - Initializing
                      === 2013-06-05 16:04:52,099 [main] INFO  ConfigLoader - Attempting to load framework.properties from CLASSPATH
                      === 2013-06-05 16:04:52,216 [main] INFO  ConfigLoader - Successfully loaded framework.properties from CLASSPATH at location: jar:file:/Users/bosticco/librerie/isc/9.0/SmartClient_SNAPSHOT_v90d_2013-06-04/smartclientSDK/WEB-INF/lib/isomorphic_core_rpc.jar!/framework.properties
                      === 2013-06-05 16:04:52,217 [main] INFO  ConfigLoader - Attempting to load project.properties from CLASSPATH
                      === 2013-06-05 16:04:52,217 [main] INFO  ConfigLoader - Unable to locate project.properties in CLASSPATH
                      === 2013-06-05 16:04:52,221 [main] INFO  ConfigLoader - Successfully loaded isc_interfaces.properties from CLASSPATH at location: jar:file:/Users/bosticco/librerie/isc/9.0/SmartClient_SNAPSHOT_v90d_2013-06-04/smartclientSDK/WEB-INF/lib/isomorphic_core_rpc.jar!/isc_interfaces.properties
                      === 2013-06-05 16:04:52,221 [main] INFO  ConfigLoader - Attempting to load server.properties from CLASSPATH
                      === 2013-06-05 16:04:52,223 [main] INFO  ConfigLoader - Successfully loaded server.properties from CLASSPATH at location: file:/Users/bosticco/librerie/isc/9.0/SmartClient_SNAPSHOT_v90d_2013-06-04/smartclientSDK/WEB-INF/classes/server.properties
                      === 2013-06-05 16:04:52,230 [main] INFO  Logger - Logging system started.
                      === 2013-06-05 16:04:52,231 [main] INFO  ISCInit - Using Configured webRoot: /Users/bosticco/librerie/isc/9.0/SmartClient_SNAPSHOT_v90d_2013-06-04/smartclientSDK
                      === 2013-06-05 16:04:52,232 [main] INFO  ISCInit - Isomorphic SmartClient/SmartGWT Framework (SNAPSHOT_v9.0d_2013-06-04/EVAL Deployment 2013-06-04) - Initialization Complete
                      === 2013-06-05 16:04:52,298 [main] DEBUG XML - Parsed XML from /Users/bosticco/librerie/isc/9.0/SmartClient_SNAPSHOT_v90d_2013-06-04/smartclientSDK/isomorphic/system/schema/builtinTypes.xml: 10ms
                      === 2013-06-05 16:04:52,359 [main] INFO  PoolManager - SmartClient pooling started for 'simpleTypes' objects
                      === 2013-06-05 16:04:52,431 [main] DEBUG XML - Parsed XML from /Users/bosticco/librerie/isc/9.0/SmartClient_SNAPSHOT_v90d_2013-06-04/smartclientSDK/shared/ds/JPC_TEST_SPRING_DMI.ds.xml: 2ms
                      === 2013-06-05 16:04:52,439 [main] DEBUG XML - Parsed XML from /Users/bosticco/librerie/isc/9.0/SmartClient_SNAPSHOT_v90d_2013-06-04/smartclientSDK/isomorphic/system/schema/DataSource.ds.xml: 7ms
                      === 2013-06-05 16:04:52,506 [main] DEBUG XML - Parsed XML from /Users/bosticco/librerie/isc/9.0/SmartClient_SNAPSHOT_v90d_2013-06-04/smartclientSDK/isomorphic/system/schema/DataSourceField.ds.xml: 8ms
                      === 2013-06-05 16:04:52,547 [main] DEBUG XML - Parsed XML from /Users/bosticco/librerie/isc/9.0/SmartClient_SNAPSHOT_v90d_2013-06-04/smartclientSDK/isomorphic/system/schema/OperationBinding.ds.xml: 4ms
                      === 2013-06-05 16:04:52,575 [main] DEBUG XML - Parsed XML from /Users/bosticco/librerie/isc/9.0/SmartClient_SNAPSHOT_v90d_2013-06-04/smartclientSDK/isomorphic/system/schema/ServerObject.ds.xml: 2ms
                      === 2013-06-05 16:04:52,617 [main] DEBUG DeclarativeSecurity - Processing security checks for DataSource null, field null
                      === 2013-06-05 16:04:52,622 [main] INFO  ServerObject - DMI on Spring bean: testSpringDMI
                      Exception in thread "main" java.lang.Exception: RequestContext is missing the ServletContext.  Please ensure you privide either a PageContext, a Servlet, or a ServletContext to your RequestContex.instance() call.
                      	at com.isomorphic.rpc.ServerObject.<init>(ServerObject.java:225)
                      	at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:218)
                      	at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
                      	at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2363)
                      	at com.juve.TestCase.main(TestCase.java:21)
                      so, upgrading to 9.0 is not an option :-|
                      Last edited by claudiobosticco; 5 Jun 2013, 06:12.

                      Comment


                        #12
                        also, the sample of post #10 http://forums.smartclient.com/showpost.php?p=105298&postcount=10 gives same error under 9.0 SDK...

                        Comment


                          #13
                          I'm asking for a comment on this issue.
                          Is it a bug? Is it low priority?

                          Are my test cases in the SDK not valid/clear/reproducible ?
                          Am I missing something?

                          Comment

                          Working...
                          X