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:
- In Eclipse, go to File > Import.
- In the Import window, expand the General section, select Existing Projects into Workspace, and then click Next.
- In the Import Projects window, browse to the root directory of TRIRIGAAnywhere, select the Copy projects into workspace checkbox, and then click Finish.
- In the Eclipse Project menu, select Build Automatically so that you do not need to run ANT to install the platform and artifacts.
- Start the embedded Worklight® server.
- Select the adapters and then select Run As > Deploy Worklight Adapter.
- 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 - Add "TRIRIGAAnywhere-Apps-Builder-and_Deployer" in Ant and Run "update-eclipse-war" to enable the attachment servlet.
- 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"}}]
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21693433