Announcement

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

    BuiltInDS.html 404

    I'm attempting run run the demo version of smartgwt in Eclipse 4.4 Luna.

    demo: smartgwtee-5.0p

    Followed the instructions for installing eclipse, and the google plugin with gwt. The builtinds sample imports and builds without error.

    Classpath SGWTEE_HOME points to the head of the sgwtee install.

    Most likely missed something simple.

    Thanks
    Russ Poyner

    #2
    This isn't really enough information to enable anyone to help you.

    Comment


      #3
      Cosole log from "run->un Configurations ->webapplication" in eclipse

      Below is the console log from eclipse running a new configuration of builtinds. Java gives several warnings, of which the seriousness is unclear.

      Initializing App Engine server
      Nov 12, 2014 3:23:02 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
      INFO: Successfully processed /tank0/smartgwt/smartgwtee-5.0p/samples/built-in-ds/war/WEB-INF/appengine-web.xml
      Nov 12, 2014 3:23:02 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
      INFO: Successfully processed /tank0/smartgwt/smartgwtee-5.0p/samples/built-in-ds/war/WEB-INF/web.xml
      Nov 12, 2014 3:23:02 PM com.google.appengine.tools.development.LoggingConfigurationManager loadPropertiesFile
      WARNING: Unable to load properties file, /tank0/smartgwt/smartgwtee-5.0p/samples/built-in-ds/war/WEB-INF/logging.properties
      java.io.FileNotFoundException: /tank0/smartgwt/smartgwtee-5.0p/samples/built-in-ds/war/WEB-INF/logging.properties (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:146)
      at com.google.appengine.tools.development.LoggingConfigurationManager.loadPropertiesFile(LoggingConfigurationManager.java:170)
      at com.google.appengine.tools.development.LoggingConfigurationManager.read(LoggingConfigurationManager.java:78)
      at com.google.appengine.tools.development.ApplicationConfigurationManager.validateAndRegisterGlobalValues(ApplicationConfigurationManager.java:184)
      at com.google.appengine.tools.development.ApplicationConfigurationManager.access$400(ApplicationConfigurationManager.java:32)
      at com.google.appengine.tools.development.ApplicationConfigurationManager$WarModuleConfigurationHandle.readConfiguration(ApplicationConfigurationManager.java:440)
      at com.google.appengine.tools.development.ApplicationConfigurationManager.<init>(ApplicationConfigurationManager.java:159)
      at com.google.appengine.tools.development.ApplicationConfigurationManager.newWarConfigurationManager(ApplicationConfigurationManager.java:101)
      at com.google.appengine.tools.development.ApplicationConfigurationManager.newWarConfigurationManager(ApplicationConfigurationManager.java:87)
      at com.google.appengine.tools.development.DevAppServerImpl.<init>(DevAppServerImpl.java:139)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      at com.google.appengine.tools.development.DevAppServerFactory.doCreateDevAppServer(DevAppServerFactory.java:258)
      at com.google.appengine.tools.development.DevAppServerFactory.access$000(DevAppServerFactory.java:36)
      at com.google.appengine.tools.development.DevAppServerFactory$1.run(DevAppServerFactory.java:226)
      at com.google.appengine.tools.development.DevAppServerFactory$1.run(DevAppServerFactory.java:224)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.google.appengine.tools.development.DevAppServerFactory.createDevAppServer(DevAppServerFactory.java:224)
      at com.google.appengine.tools.development.DevAppServerFactory.createDevAppServer(DevAppServerFactory.java:76)
      at com.google.appengine.tools.development.DevAppServerFactory.createDevAppServer(DevAppServerFactory.java:60)
      at com.google.appengine.tools.development.gwt.AppEngineLauncher.start(AppEngineLauncher.java:84)
      at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:522)
      at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1104)
      at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:844)
      at com.google.gwt.dev.DevMode.main(DevMode.java:322)

      Nov 12, 2014 3:23:02 PM com.google.appengine.tools.development.SystemPropertiesManager setSystemProperties
      INFO: Overwriting system property key 'java.util.logging.config.file', value '/tank0/eclipse/eclipse_4-4_luna/plugins/com.google.appengine.eclipse.sdkbundle_1.9.15/appengine-java-sdk-1.9.15/config/sdk/logging.properties' with value 'WEB-INF/logging.properties' from '/tank0/smartgwt/smartgwtee-5.0p/samples/built-in-ds/war/WEB-INF/appengine-web.xml'
      Nov 12, 2014 3:23:02 PM com.google.apphosting.utils.jetty.JettyLogger info
      INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger
      Nov 12, 2014 3:23:03 PM com.google.apphosting.utils.jetty.JettyLogger info
      INFO: jetty-6.1.x
      Nov 12, 2014 3:23:03 PM com.google.apphosting.utils.jetty.JettyLogger warn
      WARNING: Could not instantiate listener com.isomorphic.base.InitListener
      java.lang.ClassNotFoundException: com.isomorphic.base.InitListener
      at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      at com.google.appengine.tools.development.IsolatedAppClassLoader.loadClass(IsolatedAppClassLoader.java:216)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      at org.mortbay.jetty.handler.ContextHandler.loadClass(ContextHandler.java:1101)
      at org.mortbay.jetty.webapp.WebXmlConfiguration.initListener(WebXmlConfiguration.java:630)
      at org.mortbay.jetty.webapp.WebXmlConfiguration.initWebXmlElement(WebXmlConfiguration.java:368)
      at org.mortbay.jetty.webapp.WebXmlConfiguration.initialize(WebXmlConfiguration.java:289)
      at org.mortbay.jetty.webapp.WebXmlConfiguration.configure(WebXmlConfiguration.java:222)
      at org.mortbay.jetty.webapp.WebXmlConfiguration.configureWebApp(WebXmlConfiguration.java:180)
      at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1247)
      at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
      at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
      at org.mortbay.jetty.Server.doStart(Server.java:224)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      at com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:255)
      at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:288)
      at com.google.appengine.tools.development.AutomaticInstanceHolder.startUp(AutomaticInstanceHolder.java:26)
      at com.google.appengine.tools.development.AbstractModule.startup(AbstractModule.java:87)
      at com.google.appengine.tools.development.Modules.startup(Modules.java:105)
      at com.google.appengine.tools.development.DevAppServerImpl.doStart(DevAppServerImpl.java:258)
      at com.google.appengine.tools.development.DevAppServerImpl.access$000(DevAppServerImpl.java:47)
      at com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:213)
      at com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:211)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:211)
      at com.google.appengine.tools.development.gwt.AppEngineLauncher.start(AppEngineLauncher.java:97)
      at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:522)
      at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1104)
      at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:844)
      at com.google.gwt.dev.DevMode.main(DevMode.java:322)

      Nov 12, 2014 3:23:03 PM com.google.apphosting.utils.jetty.JettyLogger warn
      WARNING: failed com.google.appengine.tools.development.DevAppEngineWebAppContext@6ec171e5{/,/tank0/smartgwt/smartgwtee-5.0p/samples/built-in-ds/war}: java.lang.NoClassDefFoundError: org/hsqldb/Server
      Nov 12, 2014 3:23:03 PM com.google.apphosting.utils.jetty.JettyLogger warn
      WARNING: failed JettyContainerService$ApiProxyHandler@3e06971e: java.lang.NoClassDefFoundError: org/hsqldb/Server
      Nov 12, 2014 3:23:03 PM com.google.apphosting.utils.jetty.JettyLogger warn
      WARNING: Error starting handlers
      java.lang.NoClassDefFoundError: org/hsqldb/Server
      at com.smartgwt.sample.server.listener.HSQLServletContextListener.contextInitialized(HSQLServletContextListener.java:59)
      at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
      at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
      at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
      at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
      at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
      at org.mortbay.jetty.Server.doStart(Server.java:224)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      at com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:255)
      at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:288)
      at com.google.appengine.tools.development.AutomaticInstanceHolder.startUp(AutomaticInstanceHolder.java:26)
      at com.google.appengine.tools.development.AbstractModule.startup(AbstractModule.java:87)
      at com.google.appengine.tools.development.Modules.startup(Modules.java:105)
      at com.google.appengine.tools.development.DevAppServerImpl.doStart(DevAppServerImpl.java:258)
      at com.google.appengine.tools.development.DevAppServerImpl.access$000(DevAppServerImpl.java:47)
      at com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:213)
      at com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:211)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:211)
      at com.google.appengine.tools.development.gwt.AppEngineLauncher.start(AppEngineLauncher.java:97)
      at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:522)
      at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1104)
      at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:844)
      at com.google.gwt.dev.DevMode.main(DevMode.java:322)
      Caused by: java.lang.ClassNotFoundException: org.hsqldb.Server
      at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      at com.google.appengine.tools.development.IsolatedAppClassLoader.loadClass(IsolatedAppClassLoader.java:216)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      ... 28 more

      Nov 12, 2014 3:23:03 PM com.google.apphosting.utils.jetty.JettyLogger info
      INFO: Started SelectChannelConnector@0.0.0.0:8888
      Nov 12, 2014 3:23:03 PM com.google.appengine.tools.development.AbstractModule startup
      INFO: Module instance default is running at http://localhost:8888/
      Nov 12, 2014 3:23:03 PM com.google.appengine.tools.development.AbstractModule startup
      INFO: The admin console is running at http://localhost:8888/_ah/admin
      Nov 12, 2014 3:23:03 PM com.google.appengine.tools.development.DevAppServerImpl doStart
      INFO: Dev App Server is now running

      Comment


        #4
        Despite your previous assertions, Isomorphic .jars are not actually in your classpath.

        Other files are missing too. You should revisit the installation instructions and take it from the top.

        Comment


          #5
          Warnings from the &quot;problems&quot; pane of eclipse

          There are 72 warnings in the problems tab:

          They are all of the form:

          The following classpath entry '/tank0/smartgwt/smartgwtee-5.0p/lib/activation.jar' will not be available on the server's classpath

          repeated for every jar file in smartgwtee-5.0p/lib

          Comment


            #6
            Score

            I had originally just imported the builtinds project. Going back an importing the whole tree, plus some hand fiddling with the class path did the trick.

            Thanks

            Comment


              #7
              BuiltInDS.Html 404 error, but no Eclipse Build problems

              Latest SmartGWT, 5.0. Running in latest Chrome. Using Eclipse latest release (Luna, 4.4.1).

              Running the first example in the User's Guide, I also get this problem (Chome)

              HTTP ERROR 404

              Problem accessing /BuiltInDS.html. Reason:

              Not Found
              Powered by Jetty://


              I get no problems to fix in the Eclipse problems panel. Can you please help. The console indicates:

              Nov 13, 2014 1:03:04 PM java.util.prefs.WindowsPreferences <init>
              WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
              [WARN] Server class 'org.eclipse.jetty.servlet.listener.ELContextCleaner' could not be found in the web app, but was found on the system classpath
              [WARN] Adding classpath entry 'file:/C:/eclipse/eclipse-jee-luna-SR1-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar' to the web app classpath for this session
              For additional info see: file:/C:/eclipse/eclipse-jee-luna-SR1-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/doc/helpInfo/webAppClassPath.html
              [WARN] Server class 'org.slf4j.Logger' could not be found in the web app, but was found on the system classpath
              [WARN] Adding classpath entry 'file:/C:/RadiantOrigins/NPSD/smartgwtee-5.0p/lib/slf4j-api-1.7.7.jar' to the web app classpath for this session
              For additional info see: file:/C:/eclipse/eclipse-jee-luna-SR1-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/doc/helpInfo/webAppClassPath.html
              [WARN] Server class 'org.slf4j.impl.StaticLoggerBinder' could not be found in the web app, but was found on the system classpath
              [WARN] Adding classpath entry 'file:/C:/RadiantOrigins/NPSD/smartgwtee-5.0p/lib/slf4j-log4j12-1.7.7.jar' to the web app classpath for this session
              For additional info see: file:/C:/eclipse/eclipse-jee-luna-SR1-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/doc/helpInfo/webAppClassPath.html
              [WARN] Server class 'org.apache.log4j.Level' could not be found in the web app, but was found on the system classpath
              [WARN] Adding classpath entry 'file:/C:/RadiantOrigins/NPSD/smartgwtee-5.0p/lib/log4j-1.2.15.jar' to the web app classpath for this session
              For additional info see: file:/C:/eclipse/eclipse-jee-luna-SR1-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/doc/helpInfo/webAppClassPath.html
              log4j:WARN No appenders could be found for logger (org.eclipse.jetty.util.log).
              log4j:WARN Please initialize the log4j system properly.
              log4j:WARN No appenders could be found for logger (org.apache.jasper.compiler.JspRuntimeContext).
              log4j:WARN Please initialize the log4j system properly.
              [WARN] 404 - GET /BuiltInDS.html?gwt.codesvr=127.0.0.1:9997 (127.0.0.1) 1379 bytes
              Request headers
              Host: 127.0.0.1:8888
              Connection: keep-alive
              Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
              User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36
              Accept-Encoding: gzip,deflate,sdch
              Accept-Language: en-US,en;q=0.8
              Response headers
              Content-Type: text/html;charset=ISO-8859-1
              Cache-Control: must-revalidate,no-cache,no-store
              Content-Length: 1379

              Comment


                #8
                This is again, way too little information for anyone to help you.

                At the most basic level, you're not telling us where you got the URL you are trying, nor is it clear what sample you are even referring to, or what changes you made to the starter project to break it after you previously reported success.

                Comment

                Working...
                X