The CreatorCon Call for Content is officially open! Get started here.

Issue with Remote file import after washington upgrade

Sangeetha Harin
Tera Contributor

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

1 ACCEPTED SOLUTION

napatil24
Tera Expert

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

View solution in original post

26 REPLIES 26

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.

This worked! thank you so much. What did the mid_server role have to do?

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.

scottangehr
Giga Guru

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.

Did you deactivate the 'CSMIDServerRemoteFileImport' mid server script include and reactivate it. It didn't work for me until i did.