Chapter 7. Running

7.1. Starting the container

The JBoss JCA container is started by entering the bin/ directory

cd jboss-jca-1.0.0/bin
     

and executing

./run.sh
     

on a Un*x based system or

run.bat
     

on Windows.

The command takes an optional -b argument to define the binding address of the naming server

./run.sh -b 192.168.0.199
     

Once the container has started you should see a log entry like

13:33:10,999 INFO  [Main] Server started in 941ms
     

in the console where the command was executed.

After the container has started you can browse to

http://localhost:8080
     

to view the project documentation and use the administration console.

7.2. Command line interface

The JBoss JCA container can be controlled by a command line interface.

7.2.1. Deploy

You can deploy a resource adapter archive (.rar) using

java -jar fungal-cli.jar deploy <file>
        

where file specifies the resource adapter archive.

7.2.2. Undeploy

You can undeploy a resource adapter archive (.rar) using

java -jar fungal-cli.jar undeploy <file>
        

where file specifies the resource adapter archive.

7.2.3. Shutdown

You can shutdown the JBoss JCA environment by

java -jar fungal-cli.jar shutdown