158
votes
1answer
2k views

Steps to make an existing JNDI HornetQ service as HA?

TL;DRWhat are the steps to configure a HA-JNDI service with a HornetQ setup? I believe the documentation is a little scattered. I have read through the docs here but doesn't seem to illustrate in ...
37
votes
1answer
521 views

Android PackageStats gives negative Values

I am using PackageStats and on printing the PackageStats's codeSize, cacheSize, dataSize, some data is coming as negative.A few questions:How is this possible?What are the scenarios when codeSize ...
35
votes
1answer
584 views

Trying to style SwingNodes in JavaFX with GTKLookAndFeel freezes application

We have a Java application that used Swing, but we are migrating it to JavaFX. Therefore, we wrap the old Swing code into SwingNodes and replace them step-by-step.Before migrating, the Swing ...
34
votes
3answers
6k views

ViewRootImpl: ViewPostImeInputStage processPointer 0 on OnItemClick of Listview in android

I have a cart_layout like this:<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="match_parent"...
30
votes
2answers
4k views

Coverage view shows 0.0% in Intellij when using Jacoco

As discussed in Open JaCoCo report in Intellij IDEA, when I gather code coverage statistics using Jacoco (rather than native IntelliJ tracing) 0.0% (i.e. "no" coverage) is always shown in the coverage ...
27
votes
1answer
295 views

Vertica VerticaDayTimeInterval precision is stored wrongly

EDIT: Please point out if others are not seeing this issue, and I am doing something wrong.I am trying to add rows to a table containing single VerticaDayTimeInterval column through the ...
27
votes
4answers
4k views

Eclipse Maven Projects get rid of wb-resource warnings

My maven projects in Eclipse Luna are giving me this two warnings:Broken single-root rule: Only one element with a deploy path of "/" is allowed for a web project or an EAR projectandBroken ...
26
votes
1answer
3k views

FileObserver does not work on external storage in Android 6.0 Marshmallow (API 23)

I have an app that observes a public directory on external storage with FileObserver.It works fine on Lollipop devices. I want to add support for Marshmallow, so I set up a Nexus 9 tablet with it....
25
votes
1answer
216 views

Subtract Blend Mode using ColorMatrixFilter in Android?

I have the following ColorMatrixFilter. But I want to use it as a mask for Subtract-Blend mode, instead of using it directly. How do I go about achieving this? ColorMatrix: colorMatrix[0....
23
votes
1answer
385 views

RythmEngine and TemplateClassManager the Biggest Objects of the heap : memory leak problems

In my company, we are using Rythm due to its facility and easy use in a project.In our project, we are sending several e-mails (1000-2000 emails by day); the e-mail template is a Rythm template with ...
22
votes
0answers
1k views

How to add a custom mime type to tika and override a default extension pattern?

I am trying to add a custom mime type to Apache Tika.I have the following custom-mimetypes.xml document in org.apache.tika.mime :<?xml version="1.0" encoding="UTF-8"?><mime-info>&...
21
votes
2answers
300 views

Project segregation in Sonar Qube

I have a projects structure like as shown below.Cloud projects folder are having four type projects (eco-projects, evn-projects, met-projects, svn-projects)Each type of projects contains again ...
20
votes
1answer
307 views

Java 9: Why does it keep lib/modules locked? (Windows)

When I launch any third-party application, e.g. Notepad (but you could take anything else), from a Java 9 application and then exit the Java application:import java.io.*;public class LaunchNotepad ...
20
votes
1answer
2k views

Flexible Space in Android

Using this tutorial to implement Flexible Space pattern (the one with the collapsing toolbar).I'm trying to achieve a similar effect as in the Lollipop Contacts activity, which at the beginning when ...
19
votes
3answers
3k views

Getting Error in SOAP POST request using Apache CXF but curl works

I'm having a very strange problem. I'm trying to do a SOAP POST request over HTTPS. When I'm sending the request from my code, I'm getting HTTP 500 error. Now from the cxf log if I copy the same SOAP ...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,