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   Forums 

Creating an application server port

From JPPF 6.0 Documentation

Jump to: navigation, search
Main Page > J2EE Connector > Creating an application server port


If the JPPF resource adapter does not include, out-of-the-box, a port for your application server, or your application server version, this section is for you. Here is a sequence of steps to create your own port:

1. copy one of the existing application server-specific folder in JPPF-x.y.z-j2ee-connector/appserver and give it a name that will distinguish it from the others. This name will be used throughout this process, so please make sure it is both unique and meaningful. For the sake of this exercise, we will use a generic name: "MyServer-1.0"

2. After creating the JPPF-x.y.z-j2ee-connector/appserver/MyServer-1.0 folder, edit the relevant configuration files and deployment descriptors.

3. Open the build.xml build script, in the JPPF-x.y.z-j2ee-connector folder, with a text editor.

4. At the start of the file, you will see the following section:

<!-- ========================================================================= -->
<!-- definition of application server-specific properties                      -->
<!-- the value is used to generate the names of the corresponding EAR and RAR  -->
<!-- ========================================================================= -->

<property name="was"           value="Websphere"/>
<property name="jboss"         value="JBoss"/>
<property name="jboss7"        value="JBoss-7"/>
<property name="wildfly8"      value="Wildfly-8"/>
<property name="oracle"        value="Oracle"/>
<property name="sunas"         value="Glassfish"/>
<property name="weblogic"      value="Weblogic"/>
<property name="geronimo"      value="Geronimo"/>

You can add your own property here, for instance:

<property name="myserver10"    value="MyServer-1.0"/>

The property value must be the name of the folder you just created.

5. (optional) navigate to the Ant target "ear.all" and add your own invocation for generating the demo application EAR:

<build.ear appserver="${myserver10}"/>

You may also remove or comment out those you do not need.

6. Navigate to the Ant target "ear.all" and add your own invocation for generating the resource adapter RAR:

<rar appserver="${myserver10}"/>

You may also remove or comment out those you do not need.

Main Page > J2EE Connector > Creating an application server port

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