Jboss

All

Intro

I also do some stuff in Java, and it’s quite powerful and reliable still. Take Jboss for example, deployment is very straightforward and everything pretty much automatic, like deploying in Django/Flask, which I already told about it.

Jboss Deployment

After installation, the deployment is done just by copying the .war file to the standalone application directory. The run the standalone application just run the batch /bin/standalone.sh nothing more.

Jboss logs

One very important thing about JBoss is the console messages that appear on the log message since they are pretty human readable and therefore give the complete path of what is happening beneath the application. The logs below describe the deployment, undeployment of a standalone applicatin called example.war.

16:12:11,764 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of “example.war” (runtime-name: “example.war”)
16:12:12,098 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-4) ISPN000128: Infinispan version: Infinispan ‘Chakra’ 8.2.8.Final-redhat-1
16:12:12,349 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool — 62) WFLYCLINF0002: Started client-mappings cache from ejb container
16:12:12,458 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool — 67) WFLYUT0021: Registered web context: ‘/example’ for server ‘default-server’
16:12:12,503 INFO [org.jboss.as.server] (DeploymentScanner-threads – 1) WFLYSRV0010: Deployed “example.war” (runtime-name : “example.war”)
16:58:49,448 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool — 67) WFLYUT0022: Unregistered web context: ‘/example’ from server ‘default-server’
16:58:49,466 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment example.war (runtime-name: example.war) in 23ms
16:58:49,481 INFO [org.jboss.as.repository] (DeploymentScanner-threads – 1) WFLYDR0002: Content removed from location /home/fdemeloj/EAP-7.1.0/standalone/data/content/cb/e0a3a1e144bf6d37dba6cba8ccbc46000fef39/content
16:58:49,482 INFO [org.jboss.as.server] (DeploymentScanner-threads – 1) WFLYSRV0009: Undeployed “example.war” (runtime-name: “example.war”)

REFs

[1] https://www.youtube.com/watch?v=jP0g6vLeMDQ

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s