Show TOC

Procedure documentationDeploying Applications with Third-Party Deployment Tools Locate this document in the navigation structure

 

If you want to use non-SAP Java EE compatible deployment tools to deploy your Java EE components on AS Java, you have to use the Java EE Deployment library provided with AS Java. It implements the JSR 88: Java EE Application Deployment specification and provides the required APIs to the third-party tools based on J2EE 1.4 or Java EE 5.

Note Note

When you use a non-SAP Java EE compatible deployment tool, you have to consider its functional constraints. You can perform only the deployment operations that are implemented by the third-party deployment tool. We recommend you use the SAP NetWeaver Developer Studio for flawless development process.

End of the note.

Prerequisites

  • The As Java is installed on the host where you want to perform deployment operations.

  • You have access to the Java EE Deployment library on the AS Java host.

Procedure

  1. Save the Java EE Deployment library JAR file (<Installation_directory>/<SID>/<Instance_Number>/j2ee/deployment/lib/sap.com~tc~je~deployment14~impl.jar) in the appropriate directory of the third-party deployment tool.

    Note Note

    For more information about the location of this folder, see the documentation for the deployment tool.

    End of the note.
  2. Open META-INF/MANIFEST.MF file in the Java EE Deployment library JAR file.

    Note Note

    Check whether the element J2EE-DeploymentFactory-Implementation-Class and its value are written on one line without any line breaks.

    End of the note.

    Caution Caution

    If there are any line breaks, you should manually remove them. Otherwise the external and internal tools that use the Java EE Deployment library will not be able to determine the SAP Deployment Manager entry point. This line break appears due to specifics of the used Ant tasks that create the JAR file.

    End of the caution.
  3. Put the following JAR files in the classpath of the deployment tool. You can find them in directories <Installation_Directory>/<SID>/<Instance_Number>/j2ee/deployment/lib and <Installation_Directory>/<SID>/<Instance_Number>/j2ee/j2eeclient.

    • sap.com~tc~je~clientlib~impl.jar

    • sap.com~tc~logging~java~impl.jar

    • sap.com~tc~exception~impl.jar

    • sap.com~tc~je~adminadapter~impl.jar

  4. If you use an external access point you have to specify the value of Deployment Manager URI, which has the following syntax:

    <AS_Java_host>:<P4_port>:AS_Java_Deployer

  5. You have to know the appropriate user and password for the specific AS Java you are going to connect to so that you can enter them when requested. Otherwise, you will not be allowed to perform deployment operations on the AS Java.

Result

Now you can use the deployment tool to manage your applications on AS Java.