JPPF, java, parallel computing, distributed computing, grid computing, parallel, distributed, cluster, grid, cloud, open source, android, .net
JPPF, java, parallel computing, distributed computing, grid computing, parallel, distributed, cluster, grid, cloud, open source, android, .net
JPPF

The open source
grid computing
solution

 Home   About   Features   Download   Documentation   On Github   Forums 

Deployment on JBoss

From JPPF 6.2 Documentation

Jump to: navigation, search

Contents

Main Page > J2EE Connector > Deployment > Deployment on JBoss


1 Deploying the JPPF resource adapter

copy the file "jppf_ra_JBoss.rar" in this folder: <JBOSS_HOME>/server/<your_server>/deploy, where <JBOSS_HOME> is the root installation folder for JBoss, and <your_server> is the server configuration that you use

(JBoss comes with 3 configurations: "default", "minimal" and "all")

2 Creating a connection factory

Create, in the <JBOSS_HOME>/server/<your_server>/deploy folder, a file named jppf-ra-JBoss-ds.xml. Edit this file with a text editor and add this content:

<?xml version="1.0" encoding="UTF-8"?>
<connection-factories>
  <no-tx-connection-factory>
    <jndi-name>eis/JPPFConnectionFactory</jndi-name>
    <application-managed-security/>
    <rar-name>jppf_ra_JBoss.rar</rar-name> 
    <connection-definition>
      javax.resource.cci.ConnectionFactory
    </connection-definition>
    <adapter-display-name>JPPF</adapter-display-name>
    <min-pool-size>0</min-pool-size>
    <max-pool-size>10</max-pool-size>
    <blocking-timeout-millis>50000</blocking-timeout-millis>
    <idle-timeout-minutes>15</idle-timeout-minutes>
  </no-tx-connection-factory>
</connection-factories>

You can also download this file.

3 Deploying the demo application

Copy the file “JPPF_J2EE_Demo_JBoss-4.0.ear” in the <JBOSS_HOME>/server/<your_server>/deploy folder


Main Page > J2EE Connector > Deployment > Deployment on JBoss



JPPF Copyright © 2005-2020 JPPF.org Powered by MediaWiki