can't iterate consumed messages when checking errorCode first
Hi all, I'm using Kafka low level consumer api and find in the below codes "iterator.hasNext" always return false. Through debugging, I'm sure the messageSet has the size of "fetchSize" * val consumer...
View Articleshiro.ini with custom realm fuseki2
Not sure if this is correct place but I will ask regardless. I am trying to use a custom realm to authenticate users to the fuseki interface. This is my shiro.ini file but when I hit the fuseki url...
View ArticleWhy is there a picture of a box of software on the ActiveMQ site?
This always bothered me: What’s this? https://cwiki.apache.org/confluence/download/attachments/36041/activemq-5.x-box-reflection.png?version=1&modificationDate=1397503385000&api=v2 Is it a book...
View ArticleAvoiding situations where duplicate classnames are imported?
It looks like I’ve accidentally ended up in a situation where I have duplicate class names in separate .jars with different versions. So I’ll have Foo.class in foo-1.0.0.jar and foo-3.0.0.jar …...
View ArticleHandling channel full exception
Hi , I have started the flume agent with spooling directory source and HDFS sink. how can i know whether connection to HDFS is succeed or not . i have configured log4j.properties to print only error...
View ArticleException in thread "ActiveMQ Broker Scheduler" java.lang.OutOfMemoryError:...
Hi there, I'm using AMQ 5.10.0 with failover transport and I'm getting following exception:- Have following setting:- ACTIVEMQ_OPTS="-Xmx1G -Dorg.apache.activemq.UseDedicatedTaskRunner=false Exception...
View ArticleSend large message using STOMP producer to ActiveMQ broker.
Hi I need to send large message (>100 MB) using stomp producer. Is there a way to do this without fragmenting messages. Currently am able to send messages with size < 100 MB only. Thanks, Pradeep
View Articledeploy ofbiz to jboss
852 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.subunit."ofbiz.ear".".war".POST_MODULE: org.jboss.msc.service.StartException in...
View ArticleUsing larger messages (128k-512k)
What are the downsides to using larger messages with ActiveMQ. Most of my messages now are small. Usually less than 1k … However, I’m considering saving some code state and re-trying some tasks as...
View ArticleHow to setup inter DC replication in Kafka 0.8.1.1
Hi, I want to setup inter DC replication b/w Kafka clusters. Is there any inbuilt tool to do this? I already have tried MirrorMaker tool but the problem is, if MM killed then some messages get...
View ArticleMultiple root apps (tenant)
Hi everybody, I would like to run multiple websites on a single instance using the tenant functionality. In Ofbiz release 13.07 it was working by using virtual hosts: Root mount for virtual host:...
View ArticleResponse not getting encrypted
I have spent the last 2 days trying to find out what the issue actually is, but to no use. Searched Stackoverflow and other forums still not being to figure out the issue. I am using the standard...
View ArticleIF-ELSE
Hi, I know that there is no if-else in pig, but is it possible to implement this logic in some way "if a input parameter is null, skip this filter operation" ? IF ($MONTH != NULL) data_filter_by_month...
View ArticleHow to handle broker disk failure
I'm trying to figure out the best way to handle a disk failure in a live environment. The obvious (and naive) solution is to decommission the broker and let other brokers taker over and create new...
View Articletypo in wiki
In the wiki - there is a statement that a partition must fit on a single machine, while technically true, isn't it so that a partition must fit on a single disk on that machine....
View ArticlePageRenderLinkSource failing in service when called by cron scheduler -...
I'm using T5 beta-25 and I have the following code and I'm noticing when the scheduler fires off my service, my PageRenderLinkSource does not work. If I manually fire it off through the admin with an...
View ArticleCXF library add the unwanted namespace in SOAP outgoing request
Hi, In my implementation, the javax.xml.soap.SOAPMessage object is created and CXF libraries are used for JAX WS implementation and org.apache.cxf.jaxws.DispatchImpl object is created for dispatch, but...
View ArticleFlexmojo + Flex Unit
Hi, I am using flexmojo version 4.2-beta, Flex SDK 4.1 and I wanted to run test cases through maven. I have existing pom file to compile, release, build a same flex library project. Now when I tried to...
View Articleclient proxy conversion exception
Hi. I'm using CXF 3.0.3 together with the CXF client proxy API. For that, I'm using the interfaces (!) from the server side implementation on the client. I tried to convert the proxy into a WebClient...
View ArticleKafka-Storm Integration
Hi, I am runnning a Kafka-storm topology . The topology works exactly as expected in LocalCluster mode. However in Distributed mode the Workers are not starting , supervisor has not started. Only...
View Article