Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Problem with BuiltInDS (HSQLServletContextListener class not found)

$
0
0
Hi Isomorphic,

I'm trying to prepare a testcase (v9.1p_2014-09-12) and found that BuiltInDS does not start any more. Did you change anything here recently (since 8th Sep 2014 most likely) that could have caused this error?

Server Log:
Code:

Starting Jetty on port 8888
  [WARN] Could not instantiate listener com.smartgwt.sample.server.listener.HSQLServletContextListener
java.lang.ClassNotFoundException: com.smartgwt.sample.server.listener.HSQLServletContextListener
        at java.lang.ClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:407)
        at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383)
        at org.eclipse.jetty.server.handler.ContextHandler.loadClass(ContextHandler.java:1528)
        at org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitListener(StandardDescriptorProcessor.java:1864)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:85)
        at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:72)
        at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:367)
        at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240)
        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: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)
[WARN] Server resource 'log4j.isc.config.xml' could not be found in the web app, but was found on the system classpath
  [WARN] Adding classpath entry 'file:/C:/Users/myUser/workspace/lib/smartgwtee-4.1p/samples/built-in-ds/src/' to the web app classpath for this session
  For additional info see: file:/C:/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.1/gwt-2.6.1/doc/helpInfo/webAppClassPath.html
ISC: Configuring log4j from: file:/C:/Users/myUser/workspace/lib/smartgwtee-4.1p/samples/built-in-ds/src/log4j.isc.config.xml
=== 2014-09-12 14:36:10,835 [main] INFO  ISCInit - Isomorphic SmartClient/SmartGWT Framework - Initializing
=== 2014-09-12 14:36:10,848 [main] INFO  ConfigLoader - Attempting to load framework.properties from CLASSPATH
=== 2014-09-12 14:36:11,089 [main] INFO  ConfigLoader - Successfully loaded framework.properties from CLASSPATH at location: jar:file:/C:/Users/myUser/workspace/lib/smartgwtee-4.1p/samples/built-in-ds/war/WEB-INF/lib/isomorphic_core_rpc.jar!/framework.properties
=== 2014-09-12 14:36:11,089 [main] INFO  ConfigLoader - Attempting to load project.properties from CLASSPATH
=== 2014-09-12 14:36:11,090 [main] INFO  ConfigLoader - Unable to locate project.properties in CLASSPATH
=== 2014-09-12 14:36:11,099 [main] INFO  ConfigLoader - Successfully loaded isc_interfaces.properties from CLASSPATH at location: jar:file:/C:/Users/myUser/workspace/lib/smartgwtee-4.1p/samples/built-in-ds/war/WEB-INF/lib/isomorphic_core_rpc.jar!/isc_interfaces.properties
=== 2014-09-12 14:36:11,100 [main] INFO  ConfigLoader - Attempting to load server.properties from CLASSPATH
=== 2014-09-12 14:36:11,105 [main] INFO  ConfigLoader - Successfully loaded server.properties from CLASSPATH at location: file:/C:/Users/myUser/workspace/lib/smartgwtee-4.1p/samples/built-in-ds/src/server.properties
=== 2014-09-12 14:36:11,117 [main] INFO  Logger - Logging system started.
=== 2014-09-12 14:36:11,123 [main] INFO  ISCInit - Auto-detected webRoot - using: C:\Users\myUser\workspace\lib\smartgwtee-4.1p\samples\built-in-ds\war
=== 2014-09-12 14:36:11,126 [main] INFO  ISCInit - Isomorphic SmartClient/SmartGWT Framework (v9.1p_2014-09-12/EVAL Deployment 2014-09-12) - Initialization Complete
log4j:WARN No appenders could be found for logger (org.apache.jasper.compiler.JspRuntimeContext).
log4j:WARN Please initialize the log4j system properly.

I did a build.xml->libs and started then in GWT 2.6.1 Development Mode with Eclipse Luna.
SGWTEE_HOME\lib\hsqldb-2.2.9.jar is in the build path and the file is available in the file system.

Best regards,
Blama

Viewing all articles
Browse latest Browse all 4756

Trending Articles