Skip to main content

Posts

Showing posts with the label Middleware Application

Shift your Data into Virtualization

A single approach to data management that allows an application or user to retrieve and manipulate data without knowing any technical details about the data. That approach called Data Virtualization. Data Virtualization is different than traditional virtualization like - VMWare, Hypervisor, KVM, etc. because we already learned how to do virtualization of OS, Hardware and Storage, now time to add some more into virtualization, which is DATA. What is Data Virtualization? Data virtualization is a single window used to describe any approach to data management that allows an application to retrieve and manipulate data without requiring technical details about the data, such as how it is formatted, or where it is physically located. Why use Data Virtualization? Data virtualization promotes efficiency in data usage and processing and accelerates time to market on projects with complex data storage infrastructure. The purpose is to allow data to be accessed without creating extra ...

How to configure a Datasource in JBoss / WildFly as a JAR Deployment

JDBC drivers can be installed as a JAR deployment using either the management CLI or the management console. As long as the driver is JDBC 4-compliant, it will automatically be recognized and installed as a JDBC driver upon deployment. 1. Download the appropriate JDBC driver from your database vendor. 2. Start the JBoss EAP/WildFly server. 3. Now most of the drivers coming with JDBC 4-compliant, but in case If the JDBC driver JAR is not JDBC 4-compliant, it can be made deployable using the following steps. i) Create a directory structure META-INF/services on your local system. $ mkdir -p META-INF/services    ii) Create a file inside META-INF/services/java.sql.Driver. $ touch META-INF/services/java.sql.Driver   iii) Add one line in the file to indicate the fully-qualified class name of the JDBC driver. $ echo “com.mysql.jdbc.Driver” > META-INF/services/java.sql.Driv...

How to configure a Datasource in JBoss / WildFly as a Module

JDBC (Java Database Connectivity) is a Java API to connect and execute the query with the database. It is a part of JavaSE (Java Standard Edition). JDBC API uses JDBC drivers to connect with the database. The JDBC driver converts the application code to the database language. This means that if the correct driver is installed, an application can be used with any supported database.  Install a JDBC Driver as a Module JDBC drivers can be installed as a core module using the management CLI using the following steps. 1. Download the appropriate JDBC driver from your database vendor. 2. Start the JBoss EAP/WildFly server. 3. Launch the management CLI with--connect argument to connect to the running instance. $ EAP_HOME/bin/jboss-cli.sh --connect And you will get the below cli [standalone@localhost:9990 /] 4. Use the module add management CLI command to add the new core module. Syntax :- module add --name=<MODULE_NAME> --resources=<PATH...

How to setup Jboss Wildfly in Domain Mode with Remote Host Controllers ?

Domain mode feature of JBoss allows to manage multiple server instances from a single control point. The server configuration of the domain is centralized in the domain.xml file of the domain controller. The domain.xml is located at domain/configuration/. It includes the main configuration for all server instances. This file is only required for the domain controller. In the domain.xml file, this file will use to define the server group configuration (which can be anyway changed at runtime). All the server groups which we will create or already created that will be define here. <server-groups> <server-group name="main-server-group" profile="full"> <jvm name="default"> <heap size="64m" max-size="512m"/> </jvm> <socket-binding-group ref="full-sockets"/> </server-group> ...

Migrate Jboss Application Server - JBoss EAP 7.0 to JBoss EAP 7.1

INTRODUCTION This post describes how to migrate your application server configuration using the JBoss Server Migration Tool from a previous release of JBoss EAP 7.0 to JBoss EAP 7.1. What is JBoss Server Migration Tool? The JBoss Server Migration Tool is a Java application which ships with JBoss EAP 7.1 and that automatically migrates JBoss EAP server configurations with minimal or no interaction required. The JBoss Server Migration Tool reads your existing source server configuration files and adds configurations for any new subsystems, updates the existing subsystem configurations with new features, and removes any obsolete subsystem configurations. Pre-Migration Tasks Download the Jboss eap 7.1 and setup on your linux machine. For example- I’m using the EAP_HOME /opt/RH/TestApp_JB7.1 for jboss eap 7.1 and /opt/RH/TestApp_JB7.0 for jboss eap 7.0 Running the JBoss Server Migration Tool You can run the JBoss Server Migration Tool in either of the fol...