Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # dev >> [jira] [Created] (KAFKA-893) Unable to access kafka via Tomcat


Copy link to this message
-
[jira] [Created] (KAFKA-893) Unable to access kafka via Tomcat
arathi m created KAFKA-893:
------------------------------

             Summary: Unable to access kafka via Tomcat
                 Key: KAFKA-893
                 URL: https://issues.apache.org/jira/browse/KAFKA-893
             Project: Kafka
          Issue Type: Bug
          Components: tools
         Environment: Apache Tomcat 7
            Reporter: arathi m
Iam using kafka_2.8.0-0.8-SNAPSHOT.jar and Apache Tomcat 7. Upon deploying, the Consumer example (provided at Kafka quickstart) in a Tomcat web app, I get the following error

java.lang.VerifyError: class scala.Tuple2$mcLL$sp overrides final method _1.()Ljava/lang/Object;
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:791)
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2888)
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1172)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)
kafka.consumer.ConsumerConfig.<init>(ConsumerConfig.scala:75)
TestServlet.kafkaconsumer(TestServlet.java:44)
TestServlet.doGet(TestServlet.java:20)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)

Please suggest what should be done to fix this error.

Thanks in advance.
Arathi
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB