Deployment on Glassfish
From JPPF 6.2 Documentation
|
Main Page > J2EE Connector > Deployment > Deployment on Glassfish |
1 Deploying the Resource Adapter
- in Sun AS console, go to "Applications > Connector modules"
- click on "Deploy"
- step 1: browse to the "jppf_ra_Glassfish.rar" file
- click "next"
- step 2: leave all default settings and click "Finish"
2 Creating a connector connection pool
- in the console tree on the left, go to "Resources > Connectors > Connector Connection Pools"
- click on "New"
- step 1: enter "JPPFConnectionPool" as the connection pool name and select "jppf_ra_Glassfish" for the resource adapter
- click "next"
- step 2: set the pool parameters, select "NoTransaction" for transaction support
- click "Finish"
3 Creating a connection factory
- in the console tree on the left, go to "Resources > Connectors > Connector Resources"
- click on "New"
- for the jndi name, enter "eis/JPPFConnectionFactory"
- for the connection pool, select "JPPFConnectionPool"
- click "OK"
- restart the application server
4 Deploying the demo application
- in SunAS console, go to "Applications > Enterprise Applications"
- click on "Deploy"
- step 1: browse to the file "JPPF_J2EE_Demo_Glassfish.ear"
- click "next"
- step 2: leave all default values
- click "Finish"
- restart the application server
Main Page > J2EE Connector > Deployment > Deployment on Glassfish |