The Risks Of Big-Bang Deployments And Techniques For Step-wise Deployment

If you ever need to persuade management why it might be better to deploy a larger change in multiple stages and push it to customers gradually, read on. A deployment of many changes is risky. We want therefore to deploy them in a way which minimizes the risk of harm to our customers and our companies. TheContinue reading “The Risks Of Big-Bang Deployments And Techniques For Step-wise Deployment”

Using Java as Native Linux Apps – Calling C, Daemonization, Packaging, CLI (Brian McCallister)

This is a summary of the excellent JavaZone 2012 talk Going Native (vimeo) by Brian McCallister. Content: Using native libraries in Java and packaging them with Java apps, daemonization, trully executable JARs, powerful CLI, creating manpages, packaging natively as deb/rpm. 1. Using Native Libs in Java Calling Native Libs Calling native libraries such as CContinue reading “Using Java as Native Linux Apps – Calling C, Daemonization, Packaging, CLI (Brian McCallister)”

Releasing a project to Maven Central repository via Sonatype

If you have an open-source project and want it published into the Maven Central repository – even if it itself isn’t build with maven – to make it visible to all Maven users without any special effort (at least once you set everything up), read on. This is excatly what I wanted to do withContinue reading “Releasing a project to Maven Central repository via Sonatype”

WAS 6.0 ant tasks: Install an app with an external Ant

There are special ant taks to install/start/.. an application to a WebSphere App Server 6.0. It’s easy to run them with WAS’s ant script (<was>/bin/was_ant.bat) but not so trivial to get them working with an external ant, which may be necessary because WAS has an old version of ant. So lets see how to doContinue reading “WAS 6.0 ant tasks: Install an app with an external Ant”

Redeploy an application (ear/war/…) on JBoss

A) Via JMX-console find jboss.system:service=MainDeployer invoke listDeployed – find something like: org.jboss.deployment.DeploymentInfo@d78e875f { url=file:/C:/jboss-3.2.3/server/default/deploy/tap.ear }   copy the url, go back and invoke Redeploy with the url (file:/C:/…) as the parameter. B) From the command line The operations that can be invoked via the JBoss JMX console can also be invoked by the cmd lineContinue reading “Redeploy an application (ear/war/…) on JBoss”