Announcement

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

    Not able to upgrade to SmartGWT power

    Hi,

    I am trying to upgrade to SmartGWT power.
    but the isc.showConsole() shows SmartClient Version: v11.0p_2017-01-18/LGPL Development Only (built 2017-01-18) .

    My Project framework: SmartGWT +Spring+Hibernate

    I followed below steps to setup SmartGWT power:


    1. Downloaded smartgwtpower-6.0p from isomorphic.
    2. installed below jars to local maven:

    smartgwtpower
    smartgwt-skins
    isomorphic_core_rpc
    isomorphic_compression
    isomorphic_tools
    isc-jakarta-oro
    commons-jxpath
    commons-fileupload
    commons-pool
    isomorphic_spring
    isomorphic_hibernate

    3. My gwt.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <module rename-to='pricebook'>
    <!-- Inherit the core Web Toolkit stuff. -->
    <inherits name='com.google.gwt.user.User' />

    <!-- Inherit the default GWT style sheet. You can change -->
    <!-- the theme of your GWT application by uncommenting -->
    <!-- any one of the following lines. -->
    <!-- <inherits name='com.google.gwt.user.theme.standard.Standard' /> -->
    <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
    <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> -->

    <inherits name='com.google.gwt.user.User'/>
    <inherits name="com.smartgwt.tools.SmartGwtTools"/>

    <inherits name="com.smartgwtee.SmartGwtEE"/>
    <inherits name="com.smartgwtee.tools.Tools"/>
    <!-- <inherits name='com.smartclient.theme.silverwave.SilverWave' /> -->

    <!-- Other module inherits -->


    <!-- Specify the app entry point class. -->
    <entry-point class='com.assaabloy.pricebook.client.Main' />

    <!-- Specify the paths for translatable code -->
    <source path='client' />
    <source path='shared' />


    <add-linker name="xsiframe"/>
    </module>


    4. My Web.xml:


    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
    http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">


    <display-name>Price Book Application</display-name>

    <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>classpath:/META-INF/applicationContext.xml</param-value>
    </context-param>

    <listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>

    <servlet>
    <servlet-name>SpringMVCDispatcherServlet</servlet-name>
    <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
    <init-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>classpath:/META-INF/dispatcher-servlet.xml</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet-mapping>
    <servlet-name>SpringMVCDispatcherServlet</servlet-name>
    <url-pattern>/</url-pattern>
    </servlet-mapping>

    <listener>
    <listener-class>com.isomorphic.base.InitListener</listener-class>
    </listener>

    <servlet>
    <servlet-name>FileDownload</servlet-name>
    <servlet-class>com.isomorphic.servlet.FileDownload</servlet-class>
    </servlet>

    <servlet>
    <servlet-name>IDACall</servlet-name>
    <servlet-class>com.isomorphic.servlet.IDACall</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>DataSourceLoader</servlet-name>
    <servlet-class>com.isomorphic.servlet.DataSourceLoader</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>DataSourceLoader</servlet-name>
    <url-pattern>/pricebook/sc/DataSourceLoader</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
    <servlet-name>IDACall</servlet-name>
    <url-pattern>/pricebook/sc/IDACall/*</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
    <servlet-name>FileDownload</servlet-name>
    <url-pattern>/pricebook/sc/skins/*</url-pattern>
    </servlet-mapping>

    <!-- serve ISC modules compressed, with expires headers -->
    <servlet-mapping>
    <servlet-name>FileDownload</servlet-name>
    <url-pattern>/pricebook/sc/system/modules/*</url-pattern>
    </servlet-mapping>

    <!-- serve ISC development modules compressed, with expires headers -->
    <servlet-mapping>
    <servlet-name>FileDownload</servlet-name>
    <url-pattern>/pricebook/sc/system/development/*</url-pattern>
    </servlet-mapping>

    <servlet>
    <servlet-name>Init</servlet-name>
    <servlet-class>com.isomorphic.base.Init</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet>
    <servlet-name>HttpProxy</servlet-name>
    <servlet-class>com.isomorphic.servlet.HttpProxyServlet</servlet-class>
    </servlet>

    <servlet-mapping>
    <servlet-name>HttpProxy</servlet-name>
    <url-pattern>/pricebook/sc/HttpProxy/*</url-pattern>
    </servlet-mapping>


    <!-- server skin assets with expires headers -->
    <servlet-mapping>
    <servlet-name>FileDownload</servlet-name>
    <url-pattern>/pricebook/sc/system/reference/skin/*</url-pattern>
    </servlet-mapping>

    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <!-- Default page to serve -->
    <welcome-file-list>
    <welcome-file>pricebook.html</welcome-file>
    </welcome-file-list>

    </web-app>

    5. Added Server.properties

    I followed the steps here: https://www.smartclient.com/smartgwt...wtEESetup.html.

    Could you please tell what I am doing wrong here.









    #2
    Follow the installation instructions, don't skip steps.

    Check the troubleshooting section at the bottom as well. You will see the (perhaps too obvious) advice to clear your browser cache.

    The GWT unitCache may also need to be cleared.

    Comment

    Working...
    X