Uploaded image for project: 'Kite SDK (READ-ONLY)'
  1. Kite SDK (READ-ONLY)
  2. KITE-739

Not able to successfully add records to sessions table when running the demo example

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.17.0
    • Fix Version/s: None
    • Component/s: Examples
    • Labels:
      None
    • Environment:
      VM cloudera-quickstart-vm-5.1.0-1-virtualbox

      Description

      Probably the pertinent stuff...

      [INFO] Running war on http://localhost:8034/demo
      [INFO] Creating Tomcat server configuration at /home/cloudera/kite-examples/demo/target/tomcat
      [INFO] create webapp with contextPath: /demo
      [INFO] Deploying dependency wars
      [INFO] Deploy warfile: /home/cloudera/.m2/repository/org/kitesdk/examples/demo-logging-webapp/0.17.0/demo-logging-webapp-0.17.0.war to contextPath: /demo-logging-webapp
      [INFO] Deploy warfile: /home/cloudera/.m2/repository/org/kitesdk/examples/demo-reports-webapp/0.17.0/demo-reports-webapp-0.17.0.war to contextPath: /demo-reports-webapp
      Oct 21, 2014 3:14:25 PM org.apache.coyote.AbstractProtocol init
      INFO: Initializing ProtocolHandler ["http-bio-8034"]
      Oct 21, 2014 3:14:25 PM org.apache.catalina.core.StandardService startInternal
      INFO: Starting service Tomcat
      Oct 21, 2014 3:14:25 PM org.apache.catalina.core.StandardEngine startInternal
      INFO: Starting Servlet Engine: Apache Tomcat/7.0.37
      Oct 21, 2014 3:14:33 PM org.apache.catalina.util.SessionIdGenerator createSecureRandom
      INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [5,386] milliseconds.
      Oct 21, 2014 3:14:33 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
      INFO: validateJarFile(/home/cloudera/kite-examples/demo/target/tomcat/webapps/demo-reports-webapp/WEB-INF/lib/servlet-api-2.5-20081211.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
      Oct 21, 2014 3:14:37 PM org.apache.catalina.startup.TaglibUriRule body
      INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
      Oct 21, 2014 3:14:37 PM org.apache.catalina.startup.TaglibUriRule body
      INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
      Oct 21, 2014 3:14:37 PM org.apache.catalina.startup.TaglibUriRule body
      INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
      Oct 21, 2014 3:14:37 PM org.apache.catalina.startup.TaglibUriRule body
      INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
      Oct 21, 2014 3:14:37 PM org.apache.catalina.startup.TaglibUriRule body
      INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
      Oct 21, 2014 3:14:37 PM org.apache.catalina.startup.TaglibUriRule body
      INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
      Oct 21, 2014 3:14:37 PM org.apache.catalina.startup.TaglibUriRule body
      INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
      Oct 21, 2014 3:14:37 PM org.apache.catalina.startup.TaglibUriRule body
      INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
      Oct 21, 2014 3:14:37 PM org.apache.catalina.startup.TaglibUriRule body
      INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
      Oct 21, 2014 3:14:37 PM org.apache.catalina.startup.TaglibUriRule body
      INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
      Oct 21, 2014 3:14:37 PM org.apache.catalina.startup.TaglibUriRule body
      INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
      Oct 21, 2014 3:14:37 PM org.apache.catalina.startup.TaglibUriRule body
      INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
      Oct 21, 2014 3:14:37 PM org.apache.catalina.startup.TaglibUriRule body
      INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
      Oct 21, 2014 3:14:37 PM org.apache.catalina.startup.TaglibUriRule body
      INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
      Oct 21, 2014 3:14:37 PM org.apache.catalina.startup.TaglibUriRule body
      INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
      Oct 21, 2014 3:14:40 PM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["http-bio-8034"]
      log4j:ERROR Could not find value for key log4j.appender.flume.layout
      SLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in [jar:file:/home/cloudera/kite-examples/demo/target/tomcat/webapps/demo-logging-webapp/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/home/cloudera/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
      2014-10-21 15:15:22 WARN NettyAvroRpcClient:620 - Using default maxIOWorkers
      2014-10-21 15:15:22 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 1, "session_id": "52F95DFEF60FA33C6943E51AF460BFA3", "ip": "127.0.0.1", "timestamp": 1413929722783}

      2014-10-21 15:15:28 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 2, "session_id": "52F95DFEF60FA33C6943E51AF460BFA3", "ip": "127.0.0.1", "timestamp": 1413929728453}

      2014-10-21 15:15:37 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 1, "session_id": "52F95DFEF60FA33C6943E51AF460BFA3", "ip": "127.0.0.1", "timestamp": 1413929737018}

      2014-10-21 15:15:48 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 2, "session_id": "52F95DFEF60FA33C6943E51AF460BFA3", "ip": "127.0.0.1", "timestamp": 1413929748122}

      2014-10-21 15:15:56 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 1, "session_id": "52F95DFEF60FA33C6943E51AF460BFA3", "ip": "127.0.0.1", "timestamp": 1413929756184}

      2014-10-21 15:16:11 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 2, "session_id": "52F95DFEF60FA33C6943E51AF460BFA3", "ip": "127.0.0.1", "timestamp": 1413929771192}

      2014-10-21 15:18:22 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 1, "session_id": "01B06768A1A26CD3237E1F34A1BB416A", "ip": "127.0.0.1", "timestamp": 1413929902011}

      2014-10-21 15:18:22 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 1, "session_id": "01B06768A1A26CD3237E1F34A1BB416A", "ip": "127.0.0.1", "timestamp": 1413929902186}

      2014-10-21 15:18:22 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 1, "session_id": "01B06768A1A26CD3237E1F34A1BB416A", "ip": "127.0.0.1", "timestamp": 1413929902835}

      2014-10-21 15:18:23 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 1, "session_id": "01B06768A1A26CD3237E1F34A1BB416A", "ip": "127.0.0.1", "timestamp": 1413929903143}

      2014-10-21 15:18:24 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 1, "session_id": "01B06768A1A26CD3237E1F34A1BB416A", "ip": "127.0.0.1", "timestamp": 1413929904051}

      2014-10-21 15:18:24 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 1, "session_id": "01B06768A1A26CD3237E1F34A1BB416A", "ip": "127.0.0.1", "timestamp": 1413929904681}

      2014-10-21 15:18:25 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 1, "session_id": "01B06768A1A26CD3237E1F34A1BB416A", "ip": "127.0.0.1", "timestamp": 1413929905386}

      2014-10-21 15:18:25 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 1, "session_id": "01B06768A1A26CD3237E1F34A1BB416A", "ip": "127.0.0.1", "timestamp": 1413929905979}

      2014-10-21 15:18:26 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 1, "session_id": "01B06768A1A26CD3237E1F34A1BB416A", "ip": "127.0.0.1", "timestamp": 1413929906962}

      2014-10-21 15:18:27 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 1, "session_id": "01B06768A1A26CD3237E1F34A1BB416A", "ip": "127.0.0.1", "timestamp": 1413929907861}

      2014-10-21 15:18:40 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 2, "session_id": "A12CFB9962F72430BD27B8C40A59CB1F", "ip": "127.0.0.1", "timestamp": 1413929920782}

      2014-10-21 15:18:41 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 2, "session_id": "A12CFB9962F72430BD27B8C40A59CB1F", "ip": "127.0.0.1", "timestamp": 1413929921574}

      2014-10-21 15:18:41 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 2, "session_id": "A12CFB9962F72430BD27B8C40A59CB1F", "ip": "127.0.0.1", "timestamp": 1413929921625}

      2014-10-21 15:18:41 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 2, "session_id": "A12CFB9962F72430BD27B8C40A59CB1F", "ip": "127.0.0.1", "timestamp": 1413929921755}

      2014-10-21 15:18:42 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 2, "session_id": "A12CFB9962F72430BD27B8C40A59CB1F", "ip": "127.0.0.1", "timestamp": 1413929922079}

      2014-10-21 15:18:42 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 2, "session_id": "A12CFB9962F72430BD27B8C40A59CB1F", "ip": "127.0.0.1", "timestamp": 1413929922354}

      2014-10-21 15:18:42 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 2, "session_id": "A12CFB9962F72430BD27B8C40A59CB1F", "ip": "127.0.0.1", "timestamp": 1413929922986}

      2014-10-21 15:18:43 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 2, "session_id": "A12CFB9962F72430BD27B8C40A59CB1F", "ip": "127.0.0.1", "timestamp": 1413929923101}

      2014-10-21 15:18:43 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 2, "session_id": "A12CFB9962F72430BD27B8C40A59CB1F", "ip": "127.0.0.1", "timestamp": 1413929923951}

      2014-10-21 15:18:44 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 2, "session_id": "A12CFB9962F72430BD27B8C40A59CB1F", "ip": "127.0.0.1", "timestamp": 1413929924265}

      ^A2014-10-21 15:28:56 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 1, "session_id": "52F95DFEF60FA33C6943E51AF460BFA3", "ip": "127.0.0.1", "timestamp": 1413930536500}

      2014-10-21 15:31:15 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 1, "session_id": "52F95DFEF60FA33C6943E51AF460BFA3", "ip": "127.0.0.1", "timestamp": 1413930675023}

      2014-10-21 15:31:20 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 2, "session_id": "52F95DFEF60FA33C6943E51AF460BFA3", "ip": "127.0.0.1", "timestamp": 1413930680797}

      2014-10-21 15:31:31 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 2, "session_id": "52F95DFEF60FA33C6943E51AF460BFA3", "ip": "127.0.0.1", "timestamp": 1413930691094}

      2014-10-21 15:31:39 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 1, "session_id": "52F95DFEF60FA33C6943E51AF460BFA3", "ip": "127.0.0.1", "timestamp": 1413930699599}

      2014-10-21 15:31:49 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 2, "session_id": "52F95DFEF60FA33C6943E51AF460BFA3", "ip": "127.0.0.1", "timestamp": 1413930709240}

      2014-10-21 15:31:59 INFO LoggingServlet:55 -

      {"event_initiator": "server_user", "event_name": "web:message", "user_id": 2, "session_id": "52F95DFEF60FA33C6943E51AF460BFA3", "ip": "127.0.0.1", "timestamp": 1413930719432}

      invalidate metadata, select * from sessions, 0 results.

        Attachments

          Activity

            People

            • Assignee:
              ddawson Dennis Dawson
              Reporter:
              ddawson Dennis Dawson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: