Announcement

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

    Problem launching from Eclipse Oxygen

    I am using SmartGWT version v11.1p_2018-02-21/PowerEdition Deployment. This may not be a SmartGWT issue but I will ask nonetheless because I have not been able to find a solution elsewhere.

    I am trying to launch my SmartGWT application from Eclipse. I have just upgraded to Eclipse Oxygen. When I launch, I get the following exception and I am not sure how to fix it.

    Any advice would be greatly appreciated.

    Runing CodeServer with parameters: [-noprecompile, -port, 9876, -sourceLevel, 1.7, -bindAddress, 127.0.0.1, -launcherDir, C:\Users\kh\projects\client\war, -logLevel, INFO, com.test.thin.tm, com.test.customplugin.CustomPluginModule]
    Super Dev Mode starting up
    workDir: C:\Users\KENHOW~1\AppData\Local\Temp\gwt-codeserver-5700024831910321378.tmp
    Loading Java files in com.test.thin.tm.
    Starting Jetty on port 8888
    [WARN] FAILED org.eclipse.jetty.security.ConstraintSecurityHandler@694a79a6: java.lang.ArrayStoreException
    java.lang.ArrayStoreException
    at org.eclipse.jetty.util.LazyList.addToArray(LazyList.java:455)
    at org.eclipse.jetty.server.handler.ContextHandler.addEventListener(ContextHandler.java:599)
    at org.eclipse.jetty.security.SecurityHandler.doStart(SecurityHandler.java:300)
    at org.eclipse.jetty.security.ConstraintSecurityHandler.doStart(ConstraintSecurityHandler.java:453)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
    at org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:115)
    at org.eclipse.jetty.server.session.SessionHandler.doStart(SessionHandler.java:124)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
    at org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:115)
    at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:763)
    at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
    at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
    at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:541)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
    at org.eclipse.jetty.server.handler.RequestLogHandler.doStart(RequestLogHandler.java:162)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
    at org.eclipse.jetty.server.Server.doStart(Server.java:282)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:740)
    at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:632)
    at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1054)
    at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:836)
    at com.google.gwt.dev.DevMode.main(DevMode.java:413)
    [WARN] FAILED org.eclipse.jetty.server.session.SessionHandler@8758e228: java.lang.ArrayStoreException




    #2
    Do you get the same error if you attempt to run our sample SGWT EE project, BuiltInDS, or the SGWT EE Showcase?

    Comment


      #3
      If I try to run BuiltInDS I see the following output but I never get a URL to launch.

      === 2018-07-24 16:58:15,871 [main] INFO ISCInit - Isomorphic SmartClient/SmartGWT Framework (v11.1p_2018-07-21/PowerEdition Deployment 2018-07-21) - Initialization Complete
      [WARN] Server class 'com.isomorphic.compression.ServletCompression' could not be found in the web app, but was found on the system classpath
      [WARN] Adding classpath entry 'file:/C:/smartgwtpower-6.1p/smartgwtpower-6.1p/lib/isomorphic_compression.jar' to the web app classpath for this session
      For additional info see: file:/C:/eclipse/plugins/com.gwtplugins.gwt.eclipse.sdkbundle.gwt27_2.7.0.201710131939/gwt-2.7.0/doc/helpInfo/webAppClassPath.html
      log4j:WARN No appenders could be found for logger (org.apache.jasper.compiler.JspRuntimeContext).
      log4j:WARN Please initialize the log4j system properly.
      log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
      Linking modules
      Bootstrap link for command-line module 'com.smartgwt.sample.BuiltInDS'
      Linking module 'builtinds'
      Invoking Linker Cross-Site-Iframe
      Ignoring the following script tags in the gwt.xml file
      sc/initsc.js
      sc/modules/ISC_Core.js?isc_version=11.1p_2018-07-21.js
      sc/modules/ISC_Foundation.js?isc_version=11.1p_2018-07-21.js
      sc/modules/ISC_Containers.js?isc_version=11.1p_2018-07-21.js
      sc/modules/ISC_Grids.js?isc_version=11.1p_2018-07-21.js
      sc/modules/ISC_Forms.js?isc_version=11.1p_2018-07-21.js
      sc/modules/ISC_RichTextEditor.js?isc_version=11.1p_2018-07-21.js
      sc/modules/ISC_Calendar.js?isc_version=11.1p_2018-07-21.js
      sc/modules/ISC_DataBinding.js?isc_version=11.1p_2018-07-21.js
      sc/skins/Enterprise/load_skin.js

      Invoking Linker SmartGwtScriptInjector
      Creating loadScriptTagFiles.js to manually load the following script tags:
      sc/initsc.js
      sc/modules/ISC_Core.js?isc_version=11.1p_2018-07-21.js
      sc/modules/ISC_Foundation.js?isc_version=11.1p_2018-07-21.js
      sc/modules/ISC_Containers.js?isc_version=11.1p_2018-07-21.js
      sc/modules/ISC_Grids.js?isc_version=11.1p_2018-07-21.js
      sc/modules/ISC_Forms.js?isc_version=11.1p_2018-07-21.js
      sc/modules/ISC_RichTextEditor.js?isc_version=11.1p_2018-07-21.js
      sc/modules/ISC_Calendar.js?isc_version=11.1p_2018-07-21.js
      sc/modules/ISC_DataBinding.js?isc_version=11.1p_2018-07-21.js
      sc/skins/Enterprise/load_skin.js

      Comment


        #4
        Actually, I did get the launch URL eventually. However, when I click on it I see the following in the browser window: Can't load DataSources - SmartClient runtime not loaded.

        Comment


          #5
          If you haven't already, please try running the project using the legacy GWT development mode once [no need to actually load the page once the URL comes up], then shut that down and try again in normal GWT development mode. This step is sometimes required to ensure resources are properly expanded from the shipped SmartGWT module files.
          We'd also recommend you take a look through the FAQs here: https://forums.smartclient.com/forum...-smart-gwt-faq, and the linked setup documentation

          Regards
          Isomorphic Software

          Comment


            #6
            Thanks. I was able to get it working.

            Comment


              #7
              For the benefit of other users, can you clarify which suggested step resolved the problem?

              Comment


                #8
                The problem was fixed by running the project using the legacy GWT development mode.

                Comment

                Working...
                X