Open topic with navigation

TIBCO GridServer® 7.1.0

# Deployment and Grid Libraries

Once the class is written and compiled, it must be deployed as a Grid Library.

Grid Libraries are the method of deploying resources to Engines. They are an archive containing a set of resources and properties necessary to run a Grid Service, along with configuration information that describes how those resources are to be used.

To create and deploy a Grid Library:

| 1. | Create a JAR file containing the necessary class file (`JavaAdder.class`).

| 2. | Create a `grid-library.xml` file, like the one below:

    <?xml version="1.0" encoding="UTF-8"?>
    <grid-library>
        <grid-library-name>adder</grid-library-name>
        <grid-library-version>1.0.0.1</grid-library-version>
        <jar-path>
            <pathelement>jars</pathelement>
        </jar-path>
    </grid-library>

| 3. | Create an `adder` directory in a temporary location, and place the `grid-library.xml` file in it.

| 4. | Create a `jars` directory within the `adder` directory, and place the JAR file containing the class in it.

| 5. | Zip all contents under `adder` directory, making sure the directory `adder` is not included in the ZIP archive, to create an `adder-1.0.0.1.zip` Grid Library. If you’re using UNIX, you can also create a `tar.gz` file of the directory instead (such as `adder-1.0.0.1.tar.gz` or `adder-1.0.0.1.tgz`).

| 6. | Log in to the GridServer Administration Tool and go to Services > Services > Grid Libraries.

| 7. | At the top right corner of the page, click Upload Grid Library, browse to and select your Grid Library file, then click Upload.

| 8. | Select your Grid Library in the list and click Deploy.

More information about Grid Libraries and the deployment process is described the TIBCO GridServer® Administration and the TIBCO GridServer® Developer's Guide.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO GridServer®

Copyright © 2001-2022. TIBCO Software Inc. All Rights Reserved.