Hi Bradley,
Thanks for your reply. Yes, we are running WebSphere 8.x.
As you suggested for WAS 8.x, I checked the web.xml inside MaximoAnywhere.war. It has the necessary attachment servlet.
Also your MF version seems out of synch - May I know why do you say this?
System info from maximo and worklight console is copied below for your reference.
System InformationApp Server
IBM WebSphere Application Server 8.5.5.17
Version
Tivoli's process automation engine 7.6.0.8 Build 20170512-0100 DB Build V7608-63
IBM TPAE Integration Framework 7.6.0.8 Build 20170510-2330 DB Build V7608-43
TPAE OSLC Object Structure 7.6.3.1 Build 20200603_010812-0400 DB Build V7631-04
IBM Maximo Asset Management Scheduler 7.6.5.0 Build 20170512-0100 DB Build V7650-98
IBM Maximo Anywhere 7.6.3.1 Build 20200603_010844-0400 DB Build V7631-05
IBM Maximo Asset Management Work Centers 7.6.0.2 Build 20170509-0906 DB Build V7602-57
IBM Maximo Asset Management 7.6.0.8 Build 20170512-0100 DB Build V7604-01
Server OS Windows Server 2012 R2 6.3
Server DB Oracle 11.2 (Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production With the OLAP option)
(c) Copyright IBM Corp. 2017
MaximoAnywhere > Support InformationServer version: 7.1.0.00.20190329-1256
Project WAR version: 7.1.0.00.20190211-0925
Adapter name: Inspection_NotificationGenericAdapter, Size: 1.8 KB, Version: 7.1.0.00.20190211-0925
Adapter name: OSLCGenericAdapter, Size: 4.59 KB, Version: 7.1.0.00.20190211-0925
Adapter name: OSLCSpatialAdapter, Size: 5.71 KB, Version: 7.1.0.00.20190211-0925
Adapter name: WorkExecution_NotificationGenericAdapter, Size: 1.83 KB, Version: 7.1.0.00.20190211-0925
Application: ServiceRequest-iphone-7.6.3.1, Size: 8.93 MB, Version: 7.1.0.00.20190211-0925
Application: ServiceRequest-iphone-7.6.3, Size: 8.71 MB, Version: 7.1.0.00.20171101-1704
Application: ServiceRequest-iphone-7.6.2, Size: 8.93 MB, Version: 7.1.0.00.20171101-1704
Application: ServiceRequest-android-7.6.3.1, Size: 8.91 MB, Version: 7.1.0.00.20190211-0925
Application: ServiceRequest-android-7.6.3, Size: 13.38 MB, Version: 7.1.0.00.20190329-1256
Application: ServiceRequest-android-7.6.2, Size: 8.91 MB, Version: 7.1.0.00.20171101-1704
Application: WorkExecution-android-7.6.3.1, Size: 10.36 MB, Version: 7.1.0.00.20190211-0925
Application: WorkExecution-android-7.6.3, Size: 10.28 MB, Version: 7.1.0.00.20190329-1256
Application: WorkExecution-android-7.6.2, Size: 10.36 MB, Version: 7.1.0.00.20171101-1704
Application: WorkExecution-iphone-7.6.3.1, Size: 10.38 MB, Version: 7.1.0.00.20190211-0925
Application: WorkExecution-iphone-7.6.3, Size: 10.3 MB, Version: 7.1.0.00.20190329-1256
Application: WorkExecution-iphone-7.6.2, Size: 10.38 MB, Version: 7.1.0.00.20171101-1704
------------------------------
>>>>>>>>>>>>>>>
Samvid Shivram
Sigma IT
<<<<<<<<<<<<<<<
------------------------------
Original Message:
Sent: Mon October 12, 2020 10:52 AM
From: Bradley Downing
Subject: Maximo Anywhere 7631 - 404 error upon attachment download
Samvid, errr. just a sanity check here.... You are running WebSphere 7.x? The MaximoAnywhere-2.4 is for WAS 7.x only. I f you are running WAS 8 or higher then the you need to use the MaximoAnywhere.war. Also you MF version seems out of synch. What does the rest of your product stack look like?
------------------------------
Bradley K. Downing , MBA
IBM Certified Adv. Deployment Prof. Maximo v7.6.1
IBM
Bakersfield CA
Original Message:
Sent: Wed October 07, 2020 09:26 AM
From: Samvid Shivram
Subject: Maximo Anywhere 7631 - 404 error upon attachment download
Hi,
You receive a 404 error when uploading or downloading an attachment.
1. I have checked this technote and web.xml in the MaximoAnywhere.war has the attachment servlet.
2. One difference I have observed is that, the web.xml in the MaximoAnywhere-2.4.war has the attachment servlet but the below xml section is missing.
<multipart-config>
<!-- defaults to no location -->
<location/>
<!-- defaults to 5MB -->
<max-file-size>5242880</max-file-size>
<!-- defaults to 6MB -->
<max-request-size>6291456</max-request-size>
<!-- default to 1MB -->
<file-size-threshold>1048576</file-size-threshold>
</multipart-config>
3. Also, running the URL http://<hostname>:<port>/MaximoAnywhere/anywhereAttachment
returns the response
Error 404: javax.servlet.ServletException: java.io.FileNotFoundException: SRVE0190E: File not found: /anywhereAttachment
4. I have also confirmed the timestamps in the worklight console, they check out pretty good.
5. Mobilefirst version is 7.1.0.00-20190329-1256
6. WorkExecution App build is successful. And the app is built for Android 28 API. (https://www.ibm.com/support/pages/building-maximo-anywhere-applications-android-28-api)
Please suggest what could be done to resolve this. Thanks!
------------------------------
Samvid Shivram
------------------------------
#Maximo
#AssetandFacilitiesManagement
#MaximoAnywhere