Announcement

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

    Upgrading from Pro to Power Issues

    My application was running perfect with SmartClient Pro version 8.3.
    I've upgraded and downloaded the Power edition v 8.3 and copied the following directories:
    smartclientRuntime\isomorphic to war\isomorphic
    and
    smartclientRuntime\WEB-INF\lib to war\WEB-INF\lib
    smartclientRuntime\WEB-INF\lib-iTextAltenate to war\WEB-INF\lib-iTextAltenate
    smartclientRuntime\WEB-INF\lib-WebDriverSupport to war\WEB-INF\lib-WebDriverSupport

    This seems not to have all the jar files since I got ClassNotFound exceptions for SQLDataSource.
    I then copied the jar files from smartclientSDK\WEB-INF\lib to war\WEB-INF\lib.

    This solved the issue, but now I get a JavaScript error of:
    TypeError: Cannot read property 'ownerDocument' of null
    The ownerDocument varaible is in isomorphic JavaScript.

    Please help me upgrade. I thought smartclientRuntime files is the way to go?

    #2
    Use the installation instructions rather than just copying selected .jars.

    Clear your browser cache to avoid loading a mixture of resources from different versions (probable cause of the "ownerDocument" issue).

    Comment


      #3
      Thank you, but I did follow the instructions, I quote from the manual:
      The smartclientRuntime directory contains just the client and server components of the SmartClient product - use the contents of this directory when deploying SmartClient into your application environment.
      So, I used the jars from this folder.

      Just to make sure I re-installed again as per installation guide and got the following exception:
      java.lang.ClassNotFoundException: com.isomorphic.sql.SQLDataSource

      I do use the SQL data source.

      Comment


        #4
        Well, you've followed part of the install instructions, now you need to look at the Java Module Dependencies topic, right next to the topic you're quoting from.

        Comment


          #5
          My problem is that isomorphic_sql.jar is missing. The following jars came with smartclientRuntime\WEB-INF\lib:

          activation.jar
          ant.jar
          commons-cli-1.1.jar
          commons-codec-1.3.jar
          commons-collections-3.2.1.jar
          commons-fileupload-1.2.1.jar
          commons-httpclient-3.1.jar
          commons-jxpath-1.3.jar
          commons-lang-2.4.jar
          commons-pool-1.4.jar
          commons-vfs-1.0.jar
          groovy-all-1.8.7.jar
          hibernate-validator-4.1.0.Final.jar
          isc-jakarta-oro-2.0.6.jar
          isomorphic_assembly.jar
          isomorphic_compression.jar
          isomorphic_core_rpc.jar
          isomorphic_js_parser.jar
          log4j-1.2.15.jar
          mail.jar
          poi-3.6-20091214.jar
          poi-ooxml-3.6-20091214.jar
          poi-ooxml-schemas-3.6-20091214.jar
          validation-api-1.0.0.GA.jar
          velocity-1.6.1.jar
          xbean.jar
          xercesImpl.jar
          xml-apis.jar

          Comment


            #6
            Yes. And the remaining .jars are in smartclientSDK.. but you already found that.. so what is your question?

            Comment


              #7
              Well, when I then used the jars in the SDK (all of them) I get a JavaScript error as per the first post, so - how do I upgrade? Which jars should I use?
              I thought that all of them are in Runtime.

              Comment


                #8
                Now you need to revisit post #2 (clear cache).

                Comment


                  #9
                  OK, the clear cache did the thing. Thank you.
                  My original confusion started when Runtime folder did not had all the jars - as was expected.
                  Anyway, thanks again.

                  Comment

                  Working...
                  X