IBM Support

Additional WAR file deployment steps to support attachments

Troubleshooting


Problem

The attachment servlet is not included in the WAR file that is generated by install-anywhere-platform and build-and-deploy-all-native processes.

Resolving The Problem

If you are using the Eclipse environment and you want to deploy the project console WAR file that supports attachments from IBM® TRIRIGA® Anywhere, you must copy the project into the workspace when you import TRIRIGAAnywhere to Eclipse. To do this, complete the following steps:

  1. In Eclipse, go to File > Import.

  2. In the Import window, expand the General section, select Existing Projects into Workspace, and then click Next.
  3. In the Import Projects window, browse to the root directory of TRIRIGAAnywhere, select the Copy projects into workspace checkbox, and then click Finish.
  4. In the Eclipse Project menu, select Build Automatically so that you do not need to run ANT to install the platform and artifacts.
  5. Start the embedded Worklight® server.
  6. Select the adapters and then select Run As > Deploy Worklight Adapter.
  7. Select the mobile app and then select Run As > Run on Worklight Server. You should receive a file not found error message when you go to this URL:
    //localhost:10080/TRIRIGAAnywhere/anywhereAttachment
  8. Add "TRIRIGAAnywhere-Apps-Builder-and_Deployer" in Ant and Run "update-eclipse-war" to enable the attachment servlet.
  9. Restart the embedded Worklight server, and then go to the //localhost:10080/TRIRIGAAnywhere/anywhereAttachment URL again. This time the message should indicate that the attachment servlet is running.

[{"Product":{"code":"SSFLV5","label":"IBM TRIRIGA Anywhere Workplace Operations"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"--","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.4.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSVNWU","label":"IBM TRIRIGA Anywhere"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
17 June 2018

UID

swg21693433