- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2024 07:23 AM
Hi Everyone,
We are using Remote file import to fetch the csv file from Mid-server and processing the record to update user table. It stopped working after washington upgrade. Getting the below error.
var remoteFileImport = new CSMIDServerRemoteFileImport();
remoteFileImport.getRemoteFileAndUploadToInstance()
Root cause of JavaScriptException: java.lang.IllegalAccessException
Any lead will be really helpful.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2024 07:45 AM
Update the MID server Wrapper file with Below 2 line
in file --- agent/conf/wrapper.conf file
---------------------- Below 2 line add --------------------------------------
wrapper.java.additional.201=--add-opens=java.base/sun.net.www.protocol.https=ALL-UNNAMED
wrapper.java.additional.202=--add-opens=java.base/sun.net.www.http=ALL-UNNAMED
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2024 06:59 PM
On top of adding those 2 lines to wrapper-override.conf, we also need to add the "mid_server" role to the "Table API" REST_Endpoint ACL. Then go to MID Server > Script Includes > Open "CSMIDServerRemoteFileImport" > Inactivate then reactivate this script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2024 12:26 PM
This worked! thank you so much. What did the mid_server role have to do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2024 10:18 PM
We were troubleshooting some MID Server Script Include errors we saw in audit.log with Support the other day. It turned out that the suggested role fix also solved the CSMIDServerRemoteFileImport error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2024 09:53 AM
I'm still having this issue after completing the above. I edited the wrapper_override.config file adding the 2 lines to the very bottom of the file. I added the mid_server role to Table API. I restarted the midserver and also revalidated it after.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2024 11:34 AM
Did you deactivate the 'CSMIDServerRemoteFileImport' mid server script include and reactivate it. It didn't work for me until i did.