How to set a watch for a deletion of a node?
Is there way to watch for a deletion of a child node? The callback thus contains the node path which is being deleted. The only way I would see it to work is to load a list of the children and when a...
View Articleprogrammatic way to shutdown cxf jaxrs bus or endpoint?
I have a cxf jaxrs application configured using java config similar to this post http://stackoverflow.com/questions/13520821/autodiscover-jax-rs-resources-with-cxf-in-a-spring-application. However, I...
View ArticleHow to create a Mojo that doesn't require the pom.xml file
Hi I want to create a Maven Plugin Mojo that doesn't requiere the pom.xml file to run like mvn archetype:create. How do I do this? Regards, Néstor
View ArticleHelp request regarding simple DefaultNestedTree implementation
Hi guys, I'm having trouble implementing the AdvancedTreePage-example from Wicket Examples. As the example is equipped with a dropdown to choose from different content presentations and a dropdown to...
View ArticleSingleton under plugin execution
Hi, I am planning to create a singleton ( via plexus component ) which has it own internal states. to be used by my plugin. The question is that would the my singleton instance shared across - multiple...
View ArticleIssue - waiting for namespace handlers
Tried to expose activemq as OSGI service in activemq.xml and tried to reference it in blueprint. But I am getting the waiting for namespace issue. Have the spring-osgi.* jars in maven dependencies...
View Articlemonitoring a 'blocked queue'
We have a server application using active mq 5.9.0. When load testing that application sometimes the client doesn't get a response from the server any more, while the server claims it has put a...
View ArticlePoll multiple ftp locations at the same time and perform some action
*Requirement*: Poll multiple ftp locations at the same time and perform some action. My application (Java based) should keep on polling all available ftp’s and perform some action. For Example: Say I...
View ArticleChanging sort type
Hi, We have a Flex4 DataGrid, which is totally dynamic, so I don't know in advance number of columns or their types. It is sorted on the first column, which we know is numeric: 1,2,3,4,... But users...
View ArticleHow to prevent multiple inserts of same item (by some criteria)
Hi, Is there a way to prevent JPA/OpenJPA from doing multiple inserts? I have a somewhat inconvenient database design, whereby some types held in a table only allow a single instance to be created...
View ArticleImplementing a SecureForm to avoid CSRF attacks
I'm trying to implement a SecureForm (extends Form) which dynamically adds a hidden field to prevent CSRF attacks as described here:...
View ArticleMessageDatabase.recover() log messages on broker start-up
Hi, we are running an embedded Active MQ 5.9.0 broker within Jboss. Currently seeing lots of the following entries in the broker logs : 20140610 15:35:00.911 INFO [Starting ActiveMQ Broker]...
View ArticleAjaxFormLoop losing field data with validation error while nested in form zone.
Hi guys, I have an ajax from with a nested AjaxFormLoop. When ever there is a validation error within the field, I lose the field data completely. This does not happen when the form is not nested in a...
View ArticleLink in repeaters
Hi Friends , I have successfully generated the view using repeaters using the following code. HTML: <body> Name Id </body> HelloWorld.java public HelloWorld(){ List<Persons> list =...
View Articlebuild-helper-maven-plugin 1.9 Released
Hi, The Mojo team is pleased to announce the release of the build-helper-maven-plugin version 1.9. This plugin contains various small independent goals to assist with Maven build lifecycle....
View ArticleNaive Bayes Classifier + Servlets
Hello, Everybody i am trying to make a Naive Bayes Classifier available via a Servlet using Jetty mixing what is available at...
View ArticleMaven Exec Plugin 1.3.1 Released
Hi, The Mojo team is pleased to announce the release of the exec-maven-plugin version 1.3.1. This plugin provides 2 goals to help execute system and Java programs....
View Articlezookeeper needs 3 nodes to support 1 failure
hi all a quick question that you would find stupid but... Looking at Zookeeper, you need 3 nodes to support 1 node failure. Looking at in memory data grid (coherence co...), with 2 replicas, you can...
View ArticlejQuery-File-Upload integration
Did anybody successfully implement https://github.com/blueimp/jQuery-File-Upload on T5.4? I can't make dependencies work. - addModuleConfigurationCallback can't be used for component inside a Zone - I...
View ArticleApache ActiveMQ 5.10.0
The Apache ActiveMQ team is proud to announce the release of Apache ActiveMQ 5.10.0. This release addresses over 200 issues and introduces many improvements particularly in MQTT and AMQP support. Full...
View Article