Skip to main content

Hanlon server can now run on Java

Hanlon server code is migrated / refactored to run on JRuby so that hanlon server can be deployed on Java Application Servers. This blog outline the process to create hanlon.jar file for JAS deployment

Dependencies

1. OpenJDK 7
2. Jruby

Hanlon Jar Creation

Assuming hanlon git repo is cloned and a suitable dev environment setup. (ref. Setting up Hanlon Development Environment for further details)

1. Create hanlon.jar

# go to hanlon home directory
cd scripts
./create_war.sh

create_war.sh download necessary dependencies (xxx_jdbc.jar, ruby gems etc.,) and includes them into the war file

 

2. Deploy war

Created war file can be found under builds directory of hanlon home directory. This file can be deployed onto your favorite java application server. It is tested on tomcat, jboss and glassfish. If you get a chance to test on other JAS containers, please post your feedback for any improvements

Comments

Popular posts from this blog

Infra store – the next IT marketplace

We are all familiar with the Apple App Store or Google Play Store we visit every day to download apps, games and necessary updates for our phones and tablets. The app store model revolutionized the marketplace idea, making it easy for both software vendors and consumers to publish and install software without the hassles of software building, distribution and deployment. Read further on CSC HyperThink

Do we know the enterprise IT challenges...???

Last night during the dinner chat with one of my old school pal, we stumbled on the topic of current issues that enterprises are stuck with. It went on almost for 30 mins. But what made it less interesting to me is that whole discussion was around cost cutting, our sourcing, rationalization etc., It is really boring, we are still taking about the tip of iceberg. But the question is due we really know what the real challenges are. I am not talking about a laundry list with 30/40/50 items. I am looking why we really have those items? (whatever the count is). I could not get this out of mind and started listing, order, consolidating, prioritizing those items to make sure I am completely confident that as a consultant I am doubly sure about them. Of course, it is debatable. But this is what I think are core problem and rest of list is the symptoms. 1. Dynamic market conditions are forcing business to adopt rapidly while IT is able to respond to this 2. Day by day IT is becoming exp

Machine learning challenges with Imbalanced Data

For many real world machine learning problem we see an imbalance in the data where one class under represented in relative to others. This leads to mis-classification of elements between classes. The cost of mis-classification is often unknown at learning time and can be far too high. We often see this type of imbalanced classification scenarios in fraud/intrusion detection, medical diagnosis/monitoring, bio-informatics, text categorization and et al. To better understand the problem, consider the “Mammography Data Set,” a collection of images acquired from a series of mammography examinations performed on a set of distinct patients. For such a data set, the natural classes that arise are “Positive” or “Negative” for an image representative of a “cancerous” or “healthy” patient, respectively. From experience, one would expect the number of noncancerous patients to exceed greatly the number of cancerous patients; indeed, this data set contains 10,923 “Negative” (majority class) and